2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / config / mips / iris6-o32-gas.h
blobfb540a922cf18461b8649c81031a81982e43bdaa
1 /* Definitions of target machine for GNU compiler, for MIPS running IRIX 6
2 (O32 ABI) using the GNU assembler. */
4 /* Enforce use of O32 linker, irrespective of SGI_ABI environment variable
5 and machine type (e.g., R8000 systems default to -64). Copied from
6 iris5gas.h, only adding -32. The default options -call_shared
7 -no_unresolved are only passed if not invoked with -r. */
8 #undef LINK_SPEC
9 #define LINK_SPEC "\
10 %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \
11 %{bestGnum} %{shared} %{non_shared} \
12 %{call_shared} %{no_archive} %{exact_version} \
13 %{static: -non_shared} \
14 %{!static: \
15 %{!shared:%{!non_shared:%{!call_shared:%{!r: -call_shared -no_unresolved}}}}} \
16 %{rpath} -init __do_global_ctors -fini __do_global_dtors \
17 %{shared:-hidden_symbol __do_global_ctors,__do_global_ctors_1,__do_global_dtors} \
18 -_SYSTYPE_SVR4 \
19 -32"