aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-02-17 13:57:21 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2011-02-17 13:57:21 +0000
commitc6869789666becf60317ba746e06dcdff7699867 (patch)
treed407e01b248ec2ea3aebaa13bba99b3358a861ea
parent11514ce0fbb4ac3a9ef4c651ef22869c89899ed2 (diff)
downloadgcc-c6869789666becf60317ba746e06dcdff7699867.zip
gcc-c6869789666becf60317ba746e06dcdff7699867.tar.gz
gcc-c6869789666becf60317ba746e06dcdff7699867.tar.bz2
linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and -mno-fpu, not -fpu and -no-fpu.
* config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and -mno-fpu, not -fpu and -no-fpu. * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise. * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise. From-SVN: r170246
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/sparc/linux64.h4
-rw-r--r--gcc/config/sparc/sol2-bi.h4
-rw-r--r--gcc/config/sparc/sparc.h2
4 files changed, 12 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cdcfb72..5098e77 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2011-02-17 Joseph Myers <joseph@codesourcery.com>
+
+ * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and
+ -mno-fpu, not -fpu and -no-fpu.
+ * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise.
+ * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise.
+
2011-02-17 Uros Bizjak <ubizjak@gmail.com>
PR target/43653
diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h
index cd7c390..a4c67dc 100644
--- a/gcc/config/sparc/linux64.h
+++ b/gcc/config/sparc/linux64.h
@@ -176,12 +176,12 @@ along with GCC; see the file COPYING3. If not see
#define OPTION_DEFAULT_SPECS \
{"cpu", "%{!m64:%{!mcpu=*:-mcpu=%(VALUE)}}" }, \
{"tune", "%{!mtune=*:-mtune=%(VALUE)}" }, \
- {"float", "%{!msoft-float:%{!mhard-float:%{!fpu:%{!no-fpu:-m%(VALUE)-float}}}}" }
+ {"float", "%{!msoft-float:%{!mhard-float:%{!mfpu:%{!mno-fpu:-m%(VALUE)-float}}}}" }
#else
#define OPTION_DEFAULT_SPECS \
{"cpu", "%{!m32:%{!mcpu=*:-mcpu=%(VALUE)}}" }, \
{"tune", "%{!mtune=*:-mtune=%(VALUE)}" }, \
- {"float", "%{!msoft-float:%{!mhard-float:%{!fpu:%{!no-fpu:-m%(VALUE)-float}}}}" }
+ {"float", "%{!msoft-float:%{!mhard-float:%{!mfpu:%{!mno-fpu:-m%(VALUE)-float}}}}" }
#endif
#if DEFAULT_ARCH32_P
diff --git a/gcc/config/sparc/sol2-bi.h b/gcc/config/sparc/sol2-bi.h
index bd9cd70..d1d62eb 100644
--- a/gcc/config/sparc/sol2-bi.h
+++ b/gcc/config/sparc/sol2-bi.h
@@ -256,12 +256,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define OPTION_DEFAULT_SPECS \
{"cpu", "%{!m64:%{!mcpu=*:-mcpu=%(VALUE)}}" }, \
{"tune", "%{!mtune=*:-mtune=%(VALUE)}" }, \
- {"float", "%{!msoft-float:%{!mhard-float:%{!fpu:%{!no-fpu:-m%(VALUE)-float}}}}" }
+ {"float", "%{!msoft-float:%{!mhard-float:%{!mfpu:%{!mno-fpu:-m%(VALUE)-float}}}}" }
#else
#define OPTION_DEFAULT_SPECS \
{"cpu", "%{!m32:%{!mcpu=*:-mcpu=%(VALUE)}}" }, \
{"tune", "%{!mtune=*:-mtune=%(VALUE)}" }, \
- {"float", "%{!msoft-float:%{!mhard-float:%{!fpu:%{!no-fpu:-m%(VALUE)-float}}}}" }
+ {"float", "%{!msoft-float:%{!mhard-float:%{!mfpu:%{!mno-fpu:-m%(VALUE)-float}}}}" }
#endif
#if DEFAULT_ARCH32_P
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 5137b5c..41c54c8 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -551,7 +551,7 @@ extern enum processor_type sparc_cpu;
#define OPTION_DEFAULT_SPECS \
{"cpu", "%{!mcpu=*:-mcpu=%(VALUE)}" }, \
{"tune", "%{!mtune=*:-mtune=%(VALUE)}" }, \
- {"float", "%{!msoft-float:%{!mhard-float:%{!fpu:%{!no-fpu:-m%(VALUE)-float}}}}" }
+ {"float", "%{!msoft-float:%{!mhard-float:%{!mfpu:%{!mno-fpu:-m%(VALUE)-float}}}}" }
/* sparc_select[0] is reserved for the default cpu. */
struct sparc_cpu_select