OSDN Git Service

* arc.c (output_shift): Use stdio instead of asm_fprintf.
[pf3gnuchains/gcc-fork.git] / gcc / config / mips / iris6-o32-as.h
1 /* Definitions of target machine for GNU compiler, for MIPS running IRIX 6
2    (O32 ABI) using the SGI assembler.  */
3
4 /* Override mips.h default: the IRIX 6 O32 assembler warns about -O3:
5
6    as: Warning: -O3 is not supported for assembly compiles for ucode
7    compilers; changing to -O2.
8    
9    So avoid passing it in the first place.  */
10 #undef SUBTARGET_ASM_OPTIMIZING_SPEC
11 #define SUBTARGET_ASM_OPTIMIZING_SPEC "\
12 %{noasmopt:-O0} \
13 %{!noasmopt:%{O|O1|O2|O3:-O2}}"
14
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.  */
19 #undef LINK_SPEC
20 #define LINK_SPEC "\
21 %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \
22 %{bestGnum} %{shared} %{non_shared} \
23 %{call_shared} %{no_archive} %{exact_version} \
24 %{static: -non_shared} \
25 %{!static: \
26   %{!shared:%{!non_shared:%{!call_shared:%{!r: -call_shared -no_unresolved}}}}} \
27 %{rpath} \
28 -_SYSTYPE_SVR4 \
29 -32"