diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-11-30 02:38:54 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-11-30 02:38:54 +0000 |
commit | 622874fdeb435c45778a0bd9141da27f08453353 (patch) | |
tree | 7faac06672717af4471bc7fbc06cc5d7cf33a237 | |
parent | 3c6adfb3ec94d2613328c6341c41ff250ac14b5e (diff) | |
download | gcc-622874fdeb435c45778a0bd9141da27f08453353.tar.gz |
(CPP_SPEC): If -msingle-float and not
-msoft-float, pass -D__mips_single_float. Likewise for -m4650 and
not -msoft-float.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10635 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/config/mips/abi64.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/dec-bsd.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/dec-osf1.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/elf64.h | 5 | ||||
-rw-r--r-- | gcc/config/mips/iris3.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/iris5.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/netbsd.h | 4 | ||||
-rw-r--r-- | gcc/config/mips/osfrose.h | 2 |
9 files changed, 21 insertions, 2 deletions
diff --git a/gcc/config/mips/abi64.h b/gcc/config/mips/abi64.h index fc98a304d6a..4dac9ce25cc 100644 --- a/gcc/config/mips/abi64.h +++ b/gcc/config/mips/abi64.h @@ -69,6 +69,8 @@ Boston, MA 02111-1307, USA. */ %{mips3:-U__mips -D__mips=3 -D__mips64} \ %{!mips1:%{!mips2:-U__mips -D__mips=4 -D__mips64}} \ %{mgp32:-U__mips64} %{mgp64:-D__mips64} \ +%{msingle-float:%{!msoft-float:-D__mips_single_float}} \ +%{m4650:%{!msoft-float:-D__mips_single_float}} \ %{EB:-UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ %{!ansi:-DMIPSEB}} \ %{EL:-UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -D_MIPSEL -D__MIPSEL -D__MIPSEL__ %{!ansi:-DMIPSEL}}" diff --git a/gcc/config/mips/dec-bsd.h b/gcc/config/mips/dec-bsd.h index 4aef5dab194..82cb5e74dca 100644 --- a/gcc/config/mips/dec-bsd.h +++ b/gcc/config/mips/dec-bsd.h @@ -53,6 +53,8 @@ Boston, MA 02111-1307, USA. */ %{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \ %{mips3:-U__mips -D__mips=3 -D__mips64} \ %{mgp32:-U__mips64} %{mgp64:-D__mips64} \ +%{msingle-float:%{!msoft-float:-D__mips_single_float}} \ +%{m4650:%{!msoft-float:-D__mips_single_float}} \ %{EB:-UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ %{!ansi:-DMIPSEB}} \ %{EL:-UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -D_MIPSEL -D__MIPSEL -D__MIPSEL__ %{!ansi:-DMIPSEL}}" #endif diff --git a/gcc/config/mips/dec-osf1.h b/gcc/config/mips/dec-osf1.h index 955add7557a..061b0c6469d 100644 --- a/gcc/config/mips/dec-osf1.h +++ b/gcc/config/mips/dec-osf1.h @@ -53,6 +53,8 @@ Boston, MA 02111-1307, USA. */ %{!.S:%{!.s: -D__LANGUAGE_C__ -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}} \ %{mlong64:-D__PTRDIFF_TYPE__=long\\ int} \ %{!mlong64:-D__PTRDIFF_TYPE__=int} \ +%{msingle-float:%{!msoft-float:-D__mips_single_float}} \ +%{m4650:%{!msoft-float:-D__mips_single_float}} \ %{EB:-UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ %{!ansi:-DMIPSEB}} \ %{EL:-UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -D_MIPSEL -D__MIPSEL -D__MIPSEL__ %{!ansi:-DMIPSEL}}" diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h index ab5aee99a84..081266529ce 100644 --- a/gcc/config/mips/elf64.h +++ b/gcc/config/mips/elf64.h @@ -57,7 +57,10 @@ Boston, MA 02111-1307, USA. */ %{!mips1:%{!mips2:-U__mips -D__mips=3 -D__mips64}} \ %{mgp32:-U__mips64} %{mgp64:-D__mips64} \ %{EB:-UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ %{!ansi:-DMIPSEB}} \ -%{EL:-UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -D_MIPSEL -D__MIPSEL -D__MIPSEL__ %{!ansi:-DMIPSEL}}" +%{EL:-UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -D_MIPSEL -D__MIPSEL -D__MIPSEL__ %{!ansi:-DMIPSEL}} \ +%{msingle-float:%{!msoft-float:-D__mips_single_float}} \ +%{m4650:%{!msoft-float:-D__mips_single_float}} \ +" /* Use memcpy, et. al., rather than bcopy. */ #define TARGET_MEM_FUNCTIONS diff --git a/gcc/config/mips/iris3.h b/gcc/config/mips/iris3.h index 42515e8dd4b..e0650910d03 100644 --- a/gcc/config/mips/iris3.h +++ b/gcc/config/mips/iris3.h @@ -41,6 +41,8 @@ Boston, MA 02111-1307, USA. */ %{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \ %{mips3:-U__mips -D__mips=3 -D__mips64} \ %{mgp32:-U__mips64} %{mgp64:-D__mips64} \ +%{msingle-float:%{!msoft-float:-D__mips_single_float}} \ +%{m4650:%{!msoft-float:-D__mips_single_float}} \ %{EB:-UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ %{!ansi:-DMIPSEB}} \ %{EL:-UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -D_MIPSEL -D__MIPSEL -D__MIPSEL__ %{!ansi:-DMIPSEL}}" diff --git a/gcc/config/mips/iris5.h b/gcc/config/mips/iris5.h index 2f3f6a14e76..8c9f20732a9 100644 --- a/gcc/config/mips/iris5.h +++ b/gcc/config/mips/iris5.h @@ -85,6 +85,8 @@ Boston, MA 02111-1307, USA. */ %{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \ %{mips3:-U__mips -D__mips=3 -D__mips64} \ %{mgp32:-U__mips64} %{mgp64:-D__mips64} \ +%{msingle-float:%{!msoft-float:-D__mips_single_float}} \ +%{m4650:%{!msoft-float:-D__mips_single_float}} \ %{EB:-UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ %{!ansi:-DMIPSEB}} \ %{EL:-UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -D_MIPSEL -D__MIPSEL -D__MIPSEL__ %{!ansi:-DMIPSEL}}" diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index cc1c8c84936..83b10a2e486 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -710,6 +710,8 @@ while (0) %{mips3:-U__mips -D__mips=3 -D__mips64} \ %{mips4:-U__mips -D__mips=4 -D__mips64} \ %{mgp32:-U__mips64} %{mgp64:-D__mips64} \ +%{msingle-float:%{!msoft-float:-D__mips_single_float}} \ +%{m4650:%{!msoft-float:-D__mips_single_float}} \ %{EB:-UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ %{!ansi:-DMIPSEB}} \ %{EL:-UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -D_MIPSEL -D__MIPSEL -D__MIPSEL__ %{!ansi:-DMIPSEL}}" #endif diff --git a/gcc/config/mips/netbsd.h b/gcc/config/mips/netbsd.h index e191ffa5159..f5ca028bdf6 100644 --- a/gcc/config/mips/netbsd.h +++ b/gcc/config/mips/netbsd.h @@ -88,7 +88,9 @@ Boston, MA 02111-1307, USA. */ %{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 -D__mips64} \ -%{mgp32:-U__mips64} %{mgp64:-D__mips64}" +%{mgp32:-U__mips64} %{mgp64:-D__mips64} \ +%{msingle-float:%{!msoft-float:-D__mips_single_float}} \ +%{m4650:%{!msoft-float:-D__mips_single_float}}" #endif #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}" diff --git a/gcc/config/mips/osfrose.h b/gcc/config/mips/osfrose.h index b4b811c9ac7..d11db0b6082 100644 --- a/gcc/config/mips/osfrose.h +++ b/gcc/config/mips/osfrose.h @@ -83,6 +83,8 @@ Boston, MA 02111-1307, USA. */ %{!mlong64:-D__PTRDIFF_TYPE__=int} \ %{mips3:-U__mips -D__mips=3 -D__mips64} \ %{mgp32:-U__mips64} %{mgp64:-D__mips64} \ +%{msingle-float:%{!msoft-float:-D__mips_single_float}} \ +%{m4650:%{!msoft-float:-D__mips_single_float}} \ %{EB:-UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ %{!ansi:-DMIPSEB}} \ %{EL:-UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -D_MIPSEL -D__MIPSEL -D__MIPSEL__ %{!ansi:-DMIPSEL}}" |