OSDN Git Service

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