gcc/
[official-gcc.git] / gcc / config / avr / elf.h
blob5e8c0eb7756d6191fa82c353f06610bf712a2cd2
1 /* Copyright (C) 2011-2013 Free Software Foundation, Inc.
2 Contributed by Georg-Johann Lay (avr@gjlay.de)
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
11 GCC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
21 /* Overriding some definitions from elfos.h for AVR. */
23 #undef PCC_BITFIELD_TYPE_MATTERS
25 #undef PREFERRED_DEBUGGING_TYPE
26 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
28 #undef MAX_OFILE_ALIGNMENT
29 #define MAX_OFILE_ALIGNMENT (32768 * 8)
31 #undef STRING_LIMIT
32 #define STRING_LIMIT ((unsigned) 64)
34 /* Output alignment 2**1 for jump tables. */
35 #undef ASM_OUTPUT_BEFORE_CASE_LABEL
36 #define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE, PREFIX, NUM, TABLE) \
37 ASM_OUTPUT_ALIGN (FILE, 1);
39 /* Be conservative in crtstuff.c. */
40 #undef INIT_SECTION_ASM_OP
41 #undef FINI_SECTION_ASM_OP