comparison gcc/config/xtensa/elf.h @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents a06113de4d67
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* Xtensa/Elf configuration. 1 /* Xtensa/Elf configuration.
2 Derived from the configuration for GCC for Intel i386 running Linux. 2 Derived from the configuration for GCC for Intel i386 running Linux.
3 Copyright (C) 2001, 2003, 2006, 2007 Free Software Foundation, Inc. 3 Copyright (C) 2001, 2003, 2006, 2007, 2010 Free Software Foundation, Inc.
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify it under 7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free 8 the terms of the GNU General Public License as published by the Free
27 #define ASM_APP_ON "#APP\n" 27 #define ASM_APP_ON "#APP\n"
28 28
29 #undef ASM_APP_OFF 29 #undef ASM_APP_OFF
30 #define ASM_APP_OFF "#NO_APP\n" 30 #define ASM_APP_OFF "#NO_APP\n"
31 31
32 #undef MD_EXEC_PREFIX
33 #undef MD_STARTFILE_PREFIX
34
35 #undef TARGET_VERSION 32 #undef TARGET_VERSION
36 #define TARGET_VERSION fputs (" (Xtensa/ELF)", stderr); 33 #define TARGET_VERSION fputs (" (Xtensa/ELF)", stderr);
34
35 #undef SIZE_TYPE
36 #define SIZE_TYPE "unsigned int"
37
38 #undef PTRDIFF_TYPE
39 #define PTRDIFF_TYPE "int"
37 40
38 #undef WCHAR_TYPE 41 #undef WCHAR_TYPE
39 #define WCHAR_TYPE "short unsigned int" 42 #define WCHAR_TYPE "short unsigned int"
40 43
41 #undef WCHAR_TYPE_SIZE 44 #undef WCHAR_TYPE_SIZE
42 #define WCHAR_TYPE_SIZE 16 45 #define WCHAR_TYPE_SIZE 16
43 46
44 #undef ASM_SPEC 47 #undef ASM_SPEC
45 #define ASM_SPEC \ 48 #define ASM_SPEC \
46 "%{v} \ 49 "%{mtext-section-literals:--text-section-literals} \
47 %{mtext-section-literals:--text-section-literals} \
48 %{mno-text-section-literals:--no-text-section-literals} \ 50 %{mno-text-section-literals:--no-text-section-literals} \
49 %{mtarget-align:--target-align} \ 51 %{mtarget-align:--target-align} \
50 %{mno-target-align:--no-target-align} \ 52 %{mno-target-align:--no-target-align} \
51 %{mlongcalls:--longcalls} \ 53 %{mlongcalls:--longcalls} \
52 %{mno-longcalls:--no-longcalls}" 54 %{mno-longcalls:--no-longcalls}"
77 #define NO_DOT_IN_LABEL 79 #define NO_DOT_IN_LABEL
78 80
79 /* Do not force "-fpic" for this target. */ 81 /* Do not force "-fpic" for this target. */
80 #define XTENSA_ALWAYS_PIC 0 82 #define XTENSA_ALWAYS_PIC 0
81 83
84 #undef DBX_REGISTER_NUMBER
85
82 /* Search for headers in $tooldir/arch/include and for libraries and 86 /* Search for headers in $tooldir/arch/include and for libraries and
83 startfiles in $tooldir/arch/lib. */ 87 startfiles in $tooldir/arch/lib. */
84 #define GCC_DRIVER_HOST_INITIALIZATION \ 88 #define GCC_DRIVER_HOST_INITIALIZATION \
85 do \ 89 do \
86 { \ 90 { \
96 "GCC", PREFIX_PRIORITY_LAST, 0, 1); \ 100 "GCC", PREFIX_PRIORITY_LAST, 0, 1); \
97 add_prefix (&include_prefixes, archdir, \ 101 add_prefix (&include_prefixes, archdir, \
98 "GCC", PREFIX_PRIORITY_LAST, 0, 0); \ 102 "GCC", PREFIX_PRIORITY_LAST, 0, 0); \
99 } \ 103 } \
100 while (0) 104 while (0)
101
102 #define HANDLE_PRAGMA_PACK_PUSH_POP 1