summaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-01 11:38:44 +0000
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-01 11:38:44 +0000
commitdb249f379e2e8541fb8771236fd6bb58be93658a (patch)
treecc7f08983662d64218a0f37a8aa58b7418282263 /gcc/config.host
parent5a750b73d49df155bd424c08952379c59eb8266f (diff)
downloadgcc-db249f379e2e8541fb8771236fd6bb58be93658a.tar.gz
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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223934 138bc75d-0d04-0410-961f-82ee72b054a4
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*)