2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / config / mips / iris6gas.h
blobe73bfaf019b5d2c2aa77e91adf42310afc2d5c3d
1 /* Definitions of target machine for GNU compiler. IRIX 6 with GNU as. */
3 /* Override mips.h version to match DWARF 2 default. */
4 #undef MDEBUG_ASM_SPEC
5 #define MDEBUG_ASM_SPEC "%{gstabs*|gcoff*:-mdebug} \
6 %{!gstabs*:%{!gcoff*:-no-mdebug}}"
8 /* Override iris6.h version to always use -init/-fini.
10 FIXME: integrate those use separate spec/define for this? */
11 #undef LINK_SPEC
12 #define LINK_SPEC "\
13 %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} %{mips4} \
14 %{bestGnum} %{shared} %{non_shared} \
15 %{call_shared} %{no_archive} %{exact_version} %{w} \
16 %{!shared: %{!non_shared: %{!call_shared:%{!r: -call_shared -no_unresolved}}}} \
17 %{rpath} -init __do_global_ctors -fini __do_global_dtors \
18 %{shared:-hidden_symbol __do_global_ctors,__do_global_ctors_1,__do_global_dtors} \
19 -_SYSTYPE_SVR4 -woff 131 \
20 %{mabi=32: -32}%{mabi=n32: -n32}%{mabi=64: -64}%{!mabi*: -n32}"
22 /* Disable SHF_MERGE support. Even if gas supports it, the IRIX 6 O32 ld
23 does not without a special elspec(5) file.
25 FIXME: Only do this if not using GNU ld. */
26 #if HAVE_GAS_SHF_MERGE
27 #undef HAVE_GAS_SHF_MERGE
28 #define HAVE_GAS_SHF_MERGE (mips_abi != ABI_32)
29 #endif /* HAVE_GAS_SHF_MERGE */
31 /* There's no need to perform collecting with GNU as. */
32 #undef COLLECT_PARSE_FLAG