diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-29 18:19:29 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-29 18:19:29 +0000 |
commit | ea3d31769cf585f752316f15b385e72def1b925e (patch) | |
tree | 67f398530eb3bd9aedabefce738b4a513d5ddbab /gcc/config.host | |
parent | 784ad964da5db2b7202645559ad9b309464effb9 (diff) | |
download | gcc-ea3d31769cf585f752316f15b385e72def1b925e.tar.gz |
* config/mips/driver-native.c [__sgi__]: Include <invent.h>,
<sys/sbd.h>.
(cpu_types): New array.
(cputype): New function.
(host_detect_local_cpu): Only define buf, f if !__sgi__.
Use scaninvent instead of /proc/cpuinfo if __sgi__.
* config.host: Also use driver-native.o, mips/x-native on
mips-sgi-irix*.
* config/mips/iris6.h [__mips__] (host_detect_local_cpu):
Declare.
(EXTRA_SPEC_FUNCTIONS, MARCH_MTUNE_NATIVE_SPECS): Define.
(DRIVER_SELF_SPECS): Add MARCH_MTUNE_NATIVE_SPECS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176947 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.host')
-rw-r--r-- | gcc/config.host | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config.host b/gcc/config.host index 771be8c283f..85009d1b45c 100644 --- a/gcc/config.host +++ b/gcc/config.host @@ -118,9 +118,9 @@ case ${host} in ;; esac ;; - mips*-*-linux*) + mips*-*-linux* | mips-sgi-irix*) case ${target} in - mips*-*-linux*) + mips*-*-linux* | mips-sgi-irix*) host_extra_gcc_objs="driver-native.o" host_xmake_file="${host_xmake_file} mips/x-native" ;; |