diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-07-28 08:58:38 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-07-28 08:58:38 -0400 |
commit | 192616a4f0b00801aadfd0d4efc6d3ca80495671 (patch) | |
tree | a076c844f39ea122a9797ef89fa8ff945f518efc /gcc/config/mips/netbsd.h | |
parent | 6cfb8aa520e2c905a50ba22ac1069f63807260e8 (diff) | |
download | gcc-192616a4f0b00801aadfd0d4efc6d3ca80495671.zip gcc-192616a4f0b00801aadfd0d4efc6d3ca80495671.tar.gz gcc-192616a4f0b00801aadfd0d4efc6d3ca80495671.tar.bz2 |
(CPP_SPEC): Output -D__mips64 when -mips3, or -mips4, or -mgp64.
Output -U__mips64 when -mgp32.
From-SVN: r10180
Diffstat (limited to 'gcc/config/mips/netbsd.h')
-rw-r--r-- | gcc/config/mips/netbsd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/mips/netbsd.h b/gcc/config/mips/netbsd.h index 0a0ec84..b2440c0 100644 --- a/gcc/config/mips/netbsd.h +++ b/gcc/config/mips/netbsd.h @@ -1,5 +1,5 @@ /* Definitions for DECstation running BSD as target machine for GNU compiler. - Copyright (C) 1993 Free Software Foundation, Inc. + Copyright (C) 1993, 1995 Free Software Foundation, Inc. This file is part of GNU CC. @@ -87,7 +87,8 @@ Boston, MA 02111-1307, USA. */ %{posix:-D_POSIX_SOURCE} \ %{mlong64:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int} \ %{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \ -%{mips3:-U__mips -D__mips=3}" +%{mips3:-U__mips -D__mips=3 -D__mips64}" +%{mgp32:-U__mips64} %{mgp64:-D__mips64} \ #endif #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}" |