aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix.h
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2007-08-08 19:33:24 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2007-08-08 15:33:24 -0400
commit0eab684046dc0a228233530ed9a01fcaf2220cbe (patch)
treec6cea5c1156edcc4edd8689ae0ccae77a83b7f7a /gcc/config/rs6000/aix.h
parentbe1767b73e150980697a1d88fea543ebe2de7f17 (diff)
downloadgcc-0eab684046dc0a228233530ed9a01fcaf2220cbe.zip
gcc-0eab684046dc0a228233530ed9a01fcaf2220cbe.tar.gz
gcc-0eab684046dc0a228233530ed9a01fcaf2220cbe.tar.bz2
x-rs6000: New file.
* config/rs6000/x-rs6000: New file. * config/rs6000/darwin.h (CC1_SPEC): Add cc1_cpu. * config/rs6000/rs6000.h (EXTRA_SPECS): Add cc1_cpu. (EXTRA_SPEC_FUNCTIONS): Define. (HAVE_LOCAL_CPU_DETECT): Define. (CC1_CPU_SPEC): Define. * config/rs6000/driver-rs6000.c: New file. * config/rs6000/aix.h (CC1_SPEC): Define. * config/rs6000/sysv4.h (CC1_SPEC): Add cc1_cpu. * config.host: Add x-rs6000 to host_xmake_file if host and target are rs6000 or powerpc. From-SVN: r127304
Diffstat (limited to 'gcc/config/rs6000/aix.h')
-rw-r--r--gcc/config/rs6000/aix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h
index 67f83ae..6f91c57 100644
--- a/gcc/config/rs6000/aix.h
+++ b/gcc/config/rs6000/aix.h
@@ -109,6 +109,8 @@
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE}\
%{ansi: -D_ANSI_C_SOURCE}"
+#define CC1_SPEC "%(cc1_cpu)"
+
#undef ASM_DEFAULT_SPEC
#define ASM_DEFAULT_SPEC ""