summaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
authorDominik Vogt <vogt@linux.vnet.ibm.com>2015-06-01 11:38:44 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2015-06-01 11:38:44 +0000
commitcb0edc3993d3b575fe0bcb2e48f492a144dd70e1 (patch)
treecc7f08983662d64218a0f37a8aa58b7418282263 /gcc/config.host
parenta48b05f9112a14754da22a25dcc36ee442436455 (diff)
S390: Support -mtune=native and -march=native.
gcc/ChangeLog 2015-06-01 Dominik Vogt <vogt@linux.vnet.ibm.com> * config/s390/driver-native.c: New file. * config/s390/x-native: New file. * config.host: Add new files for s390. * config/s390/s390.h (DRIVER_SELF_SPECS): Add support for -mtune=native and -march=native * config.gcc: Likewise. * config/s390/s390.opt (march): Likewise; add PROCESSOR_NATIVE * config/s390/s390-opts.h (enum processor_type): Ditto. * config/s390/s390.c (s390_option_override): Catch unhandled PROCESSOR_NATIVE From-SVN: r223934
Diffstat (limited to 'gcc/config.host')
-rw-r--r--gcc/config.host4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config.host b/gcc/config.host
index a8896d1c382..4e456a1b539 100644
--- a/gcc/config.host
+++ b/gcc/config.host
@@ -172,6 +172,10 @@ case ${host} in
;;
esac
;;
+ s390-*-* | s390x-*-*)
+ host_extra_gcc_objs="driver-native.o"
+ host_xmake_file="${host_xmake_file} s390/x-native"
+ ;;
sparc*-*-solaris2*)
case ${target} in
sparc*-*-solaris2*)