1 /* Definitions of target machine for GNU compiler, for MIPS running IRIX 6
2 (O32 ABI) using the SGI assembler. */
4 /* Override mips.h default: the IRIX 6 O32 assembler warns about -O3:
6 as: Warning: -O3 is not supported for assembly compiles for ucode
7 compilers; changing to -O2.
9 So avoid passing it in the first place. */
10 #undef SUBTARGET_ASM_OPTIMIZING_SPEC
11 #define SUBTARGET_ASM_OPTIMIZING_SPEC "\
13 %{!noasmopt:%{O|O1|O2|O3:-O2}}"
15 /* Enforce use of O32 linker, irrespective of SGI_ABI environment variable
16 and machine type (e.g., R8000 systems default to -64). Copied from
17 iris5.h, only adding -32. The default options -call_shared -no_unresolved
18 are only passed if not invoked with -r. */
21 %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \
22 %{bestGnum} %{shared} %{non_shared} \
23 %{call_shared} %{no_archive} %{exact_version} \
24 %{static: -non_shared} \
26 %{!shared:%{!non_shared:%{!call_shared:%{!r: -call_shared -no_unresolved}}}}} \