aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/st.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@codesourcery.com>2008-06-18 08:28:07 +0000
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>2008-06-18 08:28:07 +0000
commit900e3ae581fac0fa5fb79b790f4be57501fba319 (patch)
tree08ad1899ff895eecff141825004ddfce771bcfae /gcc/config/mips/st.h
parentb51469a5d825a43e376a647f71cbf1da28149ae1 (diff)
downloadgcc-900e3ae581fac0fa5fb79b790f4be57501fba319.zip
gcc-900e3ae581fac0fa5fb79b790f4be57501fba319.tar.gz
gcc-900e3ae581fac0fa5fb79b790f4be57501fba319.tar.bz2
config.gcc (mips64el-st-linux-gnu): Use mips/st.h and mips/t-st.
* 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. Co-Authored-By: Kazu Hirata <kazu@codesourcery.com> From-SVN: r136888
Diffstat (limited to 'gcc/config/mips/st.h')
-rw-r--r--gcc/config/mips/st.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc/config/mips/st.h b/gcc/config/mips/st.h
new file mode 100644
index 0000000..363e797
--- /dev/null
+++ b/gcc/config/mips/st.h
@@ -0,0 +1,31 @@
+/* ST 2e / 2f GNU/Linux Configuration.
+ Copyright (C) 2008
+ Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3, or (at your option)
+any later version.
+
+GCC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
+
+/* The various C libraries each have their own subdirectory. */
+#undef SYSROOT_SUFFIX_SPEC
+#define SYSROOT_SUFFIX_SPEC \
+ "%{march=loongson2e:/2e ; \
+ march=loongson2f:/2f}"
+
+#undef STARTFILE_PREFIX_SPEC
+#define STARTFILE_PREFIX_SPEC \
+ "%{mabi=32: /usr/local/lib/ /lib/ /usr/lib/} \
+ %{mabi=n32: /usr/local/lib32/ /lib32/ /usr/lib32/} \
+ %{mabi=64: /usr/local/lib64/ /lib64/ /usr/lib64/}"