comparison gcc/config/rs6000/aix.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 b7f97abdc517
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
40 #define TARGET_IEEEQUAD 0 40 #define TARGET_IEEEQUAD 0
41 41
42 /* The AIX linker will discard static constructors in object files before 42 /* The AIX linker will discard static constructors in object files before
43 collect has a chance to see them, so scan the object files directly. */ 43 collect has a chance to see them, so scan the object files directly. */
44 #define COLLECT_EXPORT_LIST 44 #define COLLECT_EXPORT_LIST
45
46 /* Issue assembly directives that create a reference to the given DWARF table
47 identifier label from the current function section. This is defined to
48 ensure we drag frame frame tables associated with needed function bodies in
49 a link with garbage collection activated. */
50 #define ASM_OUTPUT_DWARF_TABLE_REF rs6000_aix_asm_output_dwarf_table_ref
45 51
46 /* Handle #pragma weak and #pragma pack. */ 52 /* Handle #pragma weak and #pragma pack. */
47 #define HANDLE_SYSV_PRAGMA 1 53 #define HANDLE_SYSV_PRAGMA 1
48 54
49 /* This is the only version of nm that collect2 can work with. */ 55 /* This is the only version of nm that collect2 can work with. */
118 rs6000_xcoff_file_start will no longer be needed. */ 124 rs6000_xcoff_file_start will no longer be needed. */
119 125
120 /* #define ASM_SPEC "-u %(asm_cpu)" */ 126 /* #define ASM_SPEC "-u %(asm_cpu)" */
121 127
122 /* Default location of syscalls.exp under AIX */ 128 /* Default location of syscalls.exp under AIX */
123 #ifndef CROSS_DIRECTORY_STRUCTURE 129 #define LINK_SYSCALLS_SPEC "-bI:%R/lib/syscalls.exp"
124 #define LINK_SYSCALLS_SPEC "-bI:/lib/syscalls.exp"
125 #else
126 #define LINK_SYSCALLS_SPEC ""
127 #endif
128 130
129 /* Default location of libg.exp under AIX */ 131 /* Default location of libg.exp under AIX */
130 #ifndef CROSS_DIRECTORY_STRUCTURE 132 #define LINK_LIBG_SPEC "-bexport:%R/usr/lib/libg.exp"
131 #define LINK_LIBG_SPEC "-bexport:/usr/lib/libg.exp"
132 #else
133 #define LINK_LIBG_SPEC ""
134 #endif
135 133
136 /* Define the options for the binder: Start text at 512, align all segments 134 /* Define the options for the binder: Start text at 512, align all segments
137 to 512 bytes, and warn if there is text relocation. 135 to 512 bytes, and warn if there is text relocation.
138 136
139 The -bhalt:4 option supposedly changes the level at which ld will abort, 137 The -bhalt:4 option supposedly changes the level at which ld will abort,
150 #define LINK_SPEC "-T512 -H512 %{!r:-btextro} -bhalt:4 -bnodelcsect\ 148 #define LINK_SPEC "-T512 -H512 %{!r:-btextro} -bhalt:4 -bnodelcsect\
151 %{static:-bnso %(link_syscalls) } \ 149 %{static:-bnso %(link_syscalls) } \
152 %{!shared:%{g*: %(link_libg) }} %{shared:-bM:SRE}" 150 %{!shared:%{g*: %(link_libg) }} %{shared:-bM:SRE}"
153 151
154 /* Profiled library versions are used by linking with special directories. */ 152 /* Profiled library versions are used by linking with special directories. */
155 #define LIB_SPEC "%{pg:-L/lib/profiled -L/usr/lib/profiled}\ 153 #define LIB_SPEC "%{pg:-L%R/lib/profiled -L%R/usr/lib/profiled}\
156 %{p:-L/lib/profiled -L/usr/lib/profiled} %{!shared:%{g*:-lg}} -lc" 154 %{p:-L%R/lib/profiled -L%R/usr/lib/profiled} %{!shared:%{g*:-lg}} -lc"
157 155
158 /* Static linking with shared libstdc++ requires libsupc++ as well. */ 156 /* Static linking with shared libstdc++ requires libsupc++ as well. */
159 #define LIBSTDCXX_STATIC "-lstdc++ -lsupc++" 157 #define LIBSTDCXX_STATIC "-lsupc++"
160 158
161 /* This now supports a natural alignment mode. */ 159 /* This now supports a natural alignment mode. */
162 /* AIX word-aligns FP doubles but doubleword-aligns 64-bit ints. */ 160 /* AIX word-aligns FP doubles but doubleword-aligns 64-bit ints. */
163 #define ADJUST_FIELD_ALIGN(FIELD, COMPUTED) \ 161 #define ADJUST_FIELD_ALIGN(FIELD, COMPUTED) \
164 ((TARGET_ALIGN_NATURAL == 0 \ 162 ((TARGET_ALIGN_NATURAL == 0 \