diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2005-04-17 07:52:22 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2005-04-17 07:52:22 +0000 |
commit | 2adc1e9cb4e0804c0743364e5653729ab9629c7d (patch) | |
tree | 06afbc6317c99a186b01c460955a24c177697f0a | |
parent | 1e6a5d3c8fb33a8add8950191d4bf8c35decd43f (diff) | |
download | gcc-2adc1e9cb4e0804c0743364e5653729ab9629c7d.tar.gz |
iris6.h (DRIVER_SELF_SPECS): Check -march as well as -mipsN before forcing a default of -mips2.
* config/mips/iris6.h (DRIVER_SELF_SPECS): Check -march as well as
-mipsN before forcing a default of -mips2.
From-SVN: r98265
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/iris6.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4698d048c5c..94dc52b65d7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-04-17 Richard Sandiford <rsandifo@redhat.com> + + * config/mips/iris6.h (DRIVER_SELF_SPECS): Check -march as well as + -mipsN before forcing a default of -mips2. + 2005-04-17 Kazu Hirata <kazu@cs.umass.edu> * predict.h (IS_TAKEN): Remove. diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index b64d371b8f3..4e91bca1635 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */ easier to write. Default to the mips2 ISA for the O32 ABI. */ #define DRIVER_SELF_SPECS \ "%{!mabi=*: -mabi=n32}", \ - "%{mabi=32: %{!mips*: -mips2}}" + "%{mabi=32: %{!mips*: %{!march*: -mips2}}}" /* Force the generation of dwarf .debug_frame sections even if not compiling -g. This guarantees that we can unwind the stack. */ |