diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-07-28 12:58:38 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-07-28 12:58:38 +0000 |
commit | 84ce5ea5c1175d927a7ce5b0cbf72b49917dc5ca (patch) | |
tree | a076c844f39ea122a9797ef89fa8ff945f518efc /gcc/config/mips/netbsd.h | |
parent | 5698dd016bbdf607cfb92372463650ee75c95d6c (diff) | |
download | gcc-84ce5ea5c1175d927a7ce5b0cbf72b49917dc5ca.tar.gz |
(CPP_SPEC): Output -D__mips64 when -mips3, or -mips4, or -mgp64.
Output -U__mips64 when -mgp32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10180 138bc75d-0d04-0410-961f-82ee72b054a4
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 0a0ec845228..b2440c06cff 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}" |