Deleted Added
full compact
hpux.h (117395) hpux.h (122180)
1/* Definitions of target machine GNU compiler. IA-64 version.
2 Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3 Contributed by Steve Ellcey <sje@cup.hp.com> and
4 Reva Cuthbertson <reva@cup.hp.com>
5
6This file is part of GNU CC.
7
8GNU CC is free software; you can redistribute it and/or modify

--- 35 unchanged lines hidden (view full) ---

44 builtin_define("__float128=long double"); \
45 if (c_language == clk_cplusplus || !flag_iso) \
46 { \
47 builtin_define("_HPUX_SOURCE"); \
48 builtin_define("__STDC_EXT__"); \
49 } \
50} while (0)
51
1/* Definitions of target machine GNU compiler. IA-64 version.
2 Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3 Contributed by Steve Ellcey <sje@cup.hp.com> and
4 Reva Cuthbertson <reva@cup.hp.com>
5
6This file is part of GNU CC.
7
8GNU CC is free software; you can redistribute it and/or modify

--- 35 unchanged lines hidden (view full) ---

44 builtin_define("__float128=long double"); \
45 if (c_language == clk_cplusplus || !flag_iso) \
46 { \
47 builtin_define("_HPUX_SOURCE"); \
48 builtin_define("__STDC_EXT__"); \
49 } \
50} while (0)
51
52#undef CPP_SPEC
53#define CPP_SPEC \
54 "%{mt|pthread:-D_REENTRANT -D_THREAD_SAFE -D_POSIX_C_SOURCE=199506L}"
55/* aCC defines also -DRWSTD_MULTI_THREAD, -DRW_MULTI_THREAD. These
56 affect only aCC's C++ library (Rogue Wave-derived) which we do not
57 use, and they violate the user's name space. */
58
52#undef ASM_EXTRA_SPEC
53#define ASM_EXTRA_SPEC "%{milp32:-milp32} %{mlp64:-mlp64}"
54
55#undef ENDFILE_SPEC
56
57#undef STARTFILE_SPEC
58#define STARTFILE_SPEC "%{!shared:%{static:crt0%O%s}}"
59
60#undef LINK_SPEC
61#define LINK_SPEC \
62 "+Accept TypeMismatch \
63 %{shared:-b} \
64 %{!shared: \
65 -u main \
66 %{static:-noshared}}"
67
68#undef LIB_SPEC
69#define LIB_SPEC \
70 "%{!shared: \
59#undef ASM_EXTRA_SPEC
60#define ASM_EXTRA_SPEC "%{milp32:-milp32} %{mlp64:-mlp64}"
61
62#undef ENDFILE_SPEC
63
64#undef STARTFILE_SPEC
65#define STARTFILE_SPEC "%{!shared:%{static:crt0%O%s}}"
66
67#undef LINK_SPEC
68#define LINK_SPEC \
69 "+Accept TypeMismatch \
70 %{shared:-b} \
71 %{!shared: \
72 -u main \
73 %{static:-noshared}}"
74
75#undef LIB_SPEC
76#define LIB_SPEC \
77 "%{!shared: \
78 %{mt|pthread:-lpthread} \
71 %{p:%{!mlp64:-L/usr/lib/hpux32/libp} \
72 %{mlp64:-L/usr/lib/hpux64/libp} -lprof} \
73 %{pg:%{!mlp64:-L/usr/lib/hpux32/libp} \
74 %{mlp64:-L/usr/lib/hpux64/libp} -lgprof} \
75 %{!symbolic:-lc}}"
76
77#ifndef CROSS_COMPILE
78#undef LIBGCC_SPEC

--- 50 unchanged lines hidden (view full) ---

129
130/* Tell ia64.c that we are using the HP linker and we should delay output of
131 function extern declarations so that we don't output them for functions
132 which are never used (and may not be defined). */
133
134#undef TARGET_HPUX_LD
135#define TARGET_HPUX_LD 1
136
79 %{p:%{!mlp64:-L/usr/lib/hpux32/libp} \
80 %{mlp64:-L/usr/lib/hpux64/libp} -lprof} \
81 %{pg:%{!mlp64:-L/usr/lib/hpux32/libp} \
82 %{mlp64:-L/usr/lib/hpux64/libp} -lgprof} \
83 %{!symbolic:-lc}}"
84
85#ifndef CROSS_COMPILE
86#undef LIBGCC_SPEC

--- 50 unchanged lines hidden (view full) ---

137
138/* Tell ia64.c that we are using the HP linker and we should delay output of
139 function extern declarations so that we don't output them for functions
140 which are never used (and may not be defined). */
141
142#undef TARGET_HPUX_LD
143#define TARGET_HPUX_LD 1
144
145/* The HPUX dynamic linker objects to weak symbols with no
146 definitions, so do not use them in gthr-posix.h. */
147#define GTHREAD_USE_WEAK 0
148
137/* Put out the needed function declarations at the end. */
138
139#define ASM_FILE_END(STREAM) ia64_hpux_asm_file_end(STREAM)
140
141#undef CTORS_SECTION_ASM_OP
142#define CTORS_SECTION_ASM_OP "\t.section\t.init_array,\t\"aw\",\"init_array\""
143
144#undef DTORS_SECTION_ASM_OP
145#define DTORS_SECTION_ASM_OP "\t.section\t.fini_array,\t\"aw\",\"fini_array\""
146
149/* Put out the needed function declarations at the end. */
150
151#define ASM_FILE_END(STREAM) ia64_hpux_asm_file_end(STREAM)
152
153#undef CTORS_SECTION_ASM_OP
154#define CTORS_SECTION_ASM_OP "\t.section\t.init_array,\t\"aw\",\"init_array\""
155
156#undef DTORS_SECTION_ASM_OP
157#define DTORS_SECTION_ASM_OP "\t.section\t.fini_array,\t\"aw\",\"fini_array\""
158
159/* The init_array/fini_array technique does not permit the use of
160 initialization priorities. */
161#define SUPPORTS_INIT_PRIORITY 0
162
147#undef READONLY_DATA_SECTION_ASM_OP
148#define READONLY_DATA_SECTION_ASM_OP "\t.section\t.rodata,\t\"a\",\t\"progbits\""
149
150#undef DATA_SECTION_ASM_OP
151#define DATA_SECTION_ASM_OP "\t.section\t.data,\t\"aw\",\t\"progbits\""
152
153#undef SDATA_SECTION_ASM_OP
154#define SDATA_SECTION_ASM_OP "\t.section\t.sdata,\t\"asw\",\t\"progbits\""

--- 20 unchanged lines hidden ---
163#undef READONLY_DATA_SECTION_ASM_OP
164#define READONLY_DATA_SECTION_ASM_OP "\t.section\t.rodata,\t\"a\",\t\"progbits\""
165
166#undef DATA_SECTION_ASM_OP
167#define DATA_SECTION_ASM_OP "\t.section\t.data,\t\"aw\",\t\"progbits\""
168
169#undef SDATA_SECTION_ASM_OP
170#define SDATA_SECTION_ASM_OP "\t.section\t.sdata,\t\"asw\",\t\"progbits\""

--- 20 unchanged lines hidden ---