diff options
author | Gavin Romig-Koch <gavin@cygnus.com> | 1998-11-23 14:43:41 +0000 |
---|---|---|
committer | Gavin Romig-Koch <gavin@gcc.gnu.org> | 1998-11-23 14:43:41 +0000 |
commit | a53f72db6c5b94405ec1e84970177aacbf477a7c (patch) | |
tree | 00f89b71d12a0e035d43dfb23e1b21cf939c0023 /gcc/config/mips/iris6.h | |
parent | 6bdb985fc9a573ed779448cf5e31abffe062823e (diff) | |
download | gcc-a53f72db6c5b94405ec1e84970177aacbf477a7c.zip gcc-a53f72db6c5b94405ec1e84970177aacbf477a7c.tar.gz gcc-a53f72db6c5b94405ec1e84970177aacbf477a7c.tar.bz2 |
Separate the 64 bit version of ABI_32 into ABI_O64.
* config/mips/abi.h: Use ABI_O64, duplicating ABI_32 usage.
* config/mips/iris6.h: Same.
* config/mips/mips.md: Same.
* config/mips/mips.c: Same; also add "-mabi=o64" option.
* config/mips/mips.h: Same; also define ABI_O64.
From-SVN: r23809
Diffstat (limited to 'gcc/config/mips/iris6.h')
-rw-r--r-- | gcc/config/mips/iris6.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index 00590132..3a456b5 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -303,7 +303,7 @@ rdata_section () \ { \ if (in_section != in_rdata) \ { \ - if (mips_abi != ABI_32) \ + if (mips_abi != ABI_32 && mips_abi != ABI_O64) \ fprintf (asm_out_file, "%s\n", CONST_SECTION_ASM_OP_64); \ else \ fprintf (asm_out_file, "%s\n", CONST_SECTION_ASM_OP_32); \ @@ -394,7 +394,7 @@ while (0) #define ASM_OUTPUT_ALIGNED_LOCAL(STREAM, NAME, SIZE, ALIGN) \ do \ { \ - if (mips_abi != ABI_32) \ + if (mips_abi != ABI_32 && mips_abi != ABI_O64) \ { \ fprintf (STREAM, "%s\n", BSS_SECTION_ASM_OP); \ mips_declare_object (STREAM, NAME, "", ":\n", 0); \ @@ -455,7 +455,8 @@ do { \ } while (0) #undef LOCAL_LABEL_PREFIX -#define LOCAL_LABEL_PREFIX (mips_abi == ABI_32 ? "$" : ".") +#define LOCAL_LABEL_PREFIX ((mips_abi == ABI_32 || mips_abi == ABI_O64) \ + ? "$" : ".") /* Profiling is supported via libprof1.a not -lc_p as in Irix 3. */ /* ??? If no mabi=X option give, but a mipsX option is, then should depend |