From 69f36814fe0634a6334bbc45db2feef3235d07c9 Mon Sep 17 00:00:00 2001 From: mkuvyrkov Date: Wed, 18 Jun 2008 08:28:07 +0000 Subject: * config.gcc (mips64el-st-linux-gnu): Use mips/st.h and mips/t-st. * config.host: Use driver-native.o and mips/x-native for mips*-linux*. * config/mips/linux.h (host_detect_local_cpu): Declare, add to EXTRA_SPEC_FUNCTIONS. (MARCH_MTUNE_NATIVE_SPECS, BASE_DRIVER_SELF_SPECS): New macros. (DRIVER_SELF_SPECS): Adjust. * config/mips/linux64.h (DRIVER_SELF_SPECS): Update. * config/mips/st.h, config/mips/t-st: New. * config/mips/driver-native.c, config/mips/x-native: New. * doc/invoke.texi (MIPS): Document 'native' value for -march and -mtune options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136888 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config.host | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gcc/config.host') diff --git a/gcc/config.host b/gcc/config.host index 965288a29f4..d6efc6d730b 100644 --- a/gcc/config.host +++ b/gcc/config.host @@ -104,6 +104,14 @@ case ${host} in ;; esac ;; + mips*-*-linux*) + case ${target} in + mips*-*-linux*) + host_extra_gcc_objs="driver-native.o" + host_xmake_file="${host_xmake_file} mips/x-native" + ;; + esac + ;; esac case ${host} in -- cgit v1.2.1