r176947 - in /trunk/gcc: ChangeLog config.host ...
ro@gcc.gnu.org
ro@gcc.gnu.org
Fri Jul 29 18:19:00 GMT 2011
Author: ro
Date: Fri Jul 29 18:19:29 2011
New Revision: 176947
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176947
Log:
* 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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.host
trunk/gcc/config/mips/driver-native.c
trunk/gcc/config/mips/iris6.h
More information about the Gcc-cvs
mailing list