Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/alpha/openbsd.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
15 | 15 |
16 You should have received a copy of the GNU General Public License | 16 You should have received a copy of the GNU General Public License |
17 along with GCC; see the file COPYING3. If not see | 17 along with GCC; see the file COPYING3. If not see |
18 <http://www.gnu.org/licenses/>. */ | 18 <http://www.gnu.org/licenses/>. */ |
19 | 19 |
20 /* We settle for little endian for now. */ | |
21 #define TARGET_ENDIAN_DEFAULT 0 | |
22 | |
23 /* Controlling the compilation driver. */ | 20 /* Controlling the compilation driver. */ |
24 | |
25 /* alpha needs __start. */ | |
26 #undef LINK_SPEC | |
27 #define LINK_SPEC \ | |
28 "%{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp %{assert*}" | |
29 | 21 |
30 /* run-time target specifications */ | 22 /* run-time target specifications */ |
31 #define TARGET_OS_CPP_BUILTINS() \ | 23 #define TARGET_OS_CPP_BUILTINS() \ |
32 do { \ | 24 do { \ |
33 builtin_define ("__OpenBSD__"); \ | 25 OPENBSD_OS_CPP_BUILTINS_ELF(); \ |
34 builtin_define ("__ANSI_COMPAT"); \ | 26 OPENBSD_OS_CPP_BUILTINS_LP64(); \ |
35 builtin_define ("__unix__"); \ | |
36 builtin_assert ("system=unix"); \ | |
37 } while (0) | 27 } while (0) |
38 | 28 |
39 /* Layout of source language data types. */ | 29 /* Layout of source language data types. */ |
40 | 30 |
41 /* This must agree with <machine/ansi.h> */ | 31 /* This must agree with <machine/ansi.h> */ |
50 | 40 |
51 #undef WCHAR_TYPE_SIZE | 41 #undef WCHAR_TYPE_SIZE |
52 #define WCHAR_TYPE_SIZE 32 | 42 #define WCHAR_TYPE_SIZE 32 |
53 | 43 |
54 | 44 |
55 #undef PREFERRED_DEBUGGING_TYPE | |
56 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG | |
57 | |
58 #define LOCAL_LABEL_PREFIX "." | 45 #define LOCAL_LABEL_PREFIX "." |
59 | |
60 /* We don't have an init section yet. */ | |
61 #undef HAS_INIT_SECTION | |
62 | |
63 /* collect2 support (assembler format: macros for initialization). */ | |
64 | |
65 /* Don't tell collect2 we use COFF as we don't have (yet ?) a dynamic ld | |
66 library with the proper functions to handle this -> collect2 will | |
67 default to using nm. */ | |
68 #undef OBJECT_FORMAT_COFF | |
69 #undef EXTENDED_COFF | |
70 | |
71 /* Assembler format: exception region output. */ | |
72 | |
73 /* All configurations that don't use elf must be explicit about not using | |
74 dwarf unwind information. */ | |
75 #ifdef INCOMING_RETURN_ADDR_RTX | |
76 #undef DWARF2_UNWIND_INFO | |
77 #define DWARF2_UNWIND_INFO 0 | |
78 #endif | |
79 | |
80 /* Assembler format: label output. */ | |
81 | |
82 /* alpha ecoff supports only weak aliases. */ | |
83 #undef ASM_WEAKEN_LABEL | |
84 #define ASM_WEAKEN_LABEL(FILE,NAME) ASM_OUTPUT_WEAK_ALIAS (FILE,NAME,0) | |
85 | |
86 #define ASM_OUTPUT_WEAK_ALIAS(FILE,NAME,VALUE) \ | |
87 do { \ | |
88 fputs ("\t.weakext\t", FILE); \ | |
89 assemble_name (FILE, NAME); \ | |
90 if (VALUE) \ | |
91 { \ | |
92 fputs (" , ", FILE); \ | |
93 assemble_name (FILE, VALUE); \ | |
94 } \ | |
95 fputc ('\n', FILE); \ | |
96 } while (0) | |
97 | |
98 |