diff options
author | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-06 23:41:07 +0000 |
---|---|---|
committer | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-06 23:41:07 +0000 |
commit | 6cb9e8e1180766c51992eec0ebfdaeec05200aca (patch) | |
tree | f29808612fac843e248ab26a77442dfc227c95f7 /gcc/config/mips/linux.h | |
parent | 821504b32d119930016aad02940a398ca6cef13e (diff) | |
download | gcc-6cb9e8e1180766c51992eec0ebfdaeec05200aca.tar.gz |
2005-05-06 Eric Christopher <echristo@redhat.com>
* config/mips/mips.opt: Remove -mint64 option.
* config/mips/mips.c (override_options): Remove -mint64
handling.
* config/mips/mips.h (INT_TYPE_SIZE): Define to 32.
* config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Remove
64-bit integer handling.
* doc/invoke.texi (Option Summary): Remove -mint64 for
mips.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99337 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/linux.h')
-rw-r--r-- | gcc/config/mips/linux.h | 49 |
1 files changed, 23 insertions, 26 deletions
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index 47e24b63148..24e4f0b18d9 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -54,48 +54,45 @@ Boston, MA 02111-1307, USA. */ #define TARGET_DEFAULT MASK_ABICALLS #define TARGET_OS_CPP_BUILTINS() \ - do { \ - LINUX_TARGET_OS_CPP_BUILTINS(); \ - if (TARGET_ABICALLS) \ - { \ - builtin_define ("__PIC__"); \ - builtin_define ("__pic__"); \ - } \ - /* The GNU C++ standard library requires this. */ \ - if (c_dialect_cxx ()) \ - builtin_define ("_GNU_SOURCE"); \ - \ - if (mips_abi == ABI_N32) \ + do { \ + LINUX_TARGET_OS_CPP_BUILTINS(); \ + if (TARGET_ABICALLS) \ + { \ + builtin_define ("__PIC__"); \ + builtin_define ("__pic__"); \ + } \ + /* The GNU C++ standard library requires this. */ \ + if (c_dialect_cxx ()) \ + builtin_define ("_GNU_SOURCE"); \ + \ + if (mips_abi == ABI_N32) \ { \ builtin_define ("_ABIN32=2"); \ builtin_define ("_MIPS_SIM=_ABIN32"); \ builtin_define ("_MIPS_SZLONG=32"); \ builtin_define ("_MIPS_SZPTR=32"); \ } \ - else if (mips_abi == ABI_64) \ + else if (mips_abi == ABI_64) \ { \ builtin_define ("_ABI64=3"); \ builtin_define ("_MIPS_SIM=_ABI64"); \ builtin_define ("_MIPS_SZLONG=64"); \ builtin_define ("_MIPS_SZPTR=64"); \ } \ - else \ + else \ { \ - builtin_define ("_ABIO32=1"); \ - builtin_define ("_MIPS_SIM=_ABIO32"); \ + builtin_define ("_ABIO32=1"); \ + builtin_define ("_MIPS_SIM=_ABIO32"); \ builtin_define ("_MIPS_SZLONG=32"); \ builtin_define ("_MIPS_SZPTR=32"); \ } \ - if (TARGET_FLOAT64) \ - builtin_define ("_MIPS_FPSET=32"); \ - else \ - builtin_define ("_MIPS_FPSET=16"); \ - \ - if (TARGET_INT64) \ - builtin_define ("_MIPS_SZINT=64"); \ - else \ - builtin_define ("_MIPS_SZINT=32"); \ -} while (0) + if (TARGET_FLOAT64) \ + builtin_define ("_MIPS_FPSET=32"); \ + else \ + builtin_define ("_MIPS_FPSET=16"); \ + \ + builtin_define ("_MIPS_SZINT=32"); \ + } while (0) #undef SUBTARGET_CPP_SPEC #define SUBTARGET_CPP_SPEC "%{pthread:-D_REENTRANT}" |