diff options
author | Stan Shebs <shebs@apple.com> | 2004-08-23 05:31:15 +0000 |
---|---|---|
committer | Stan Shebs <shebs@apple.com> | 2004-08-23 05:31:15 +0000 |
commit | 3adf1a64cb2030598c2350884e872a2b0fa34269 (patch) | |
tree | 3a897102af021f7bd7df695972da31df395278fc /gcc/config/darwin-driver.c | |
parent | 9093af7afd057cd14e1950768fae13d8603aba44 (diff) |
* config/darwin-driver.c (arch_config): Add ppc64.
(add_arch_options): Similarly.
Reviewed by Mike Stump.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-ppc-branch@86401 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin-driver.c')
-rw-r--r-- | gcc/config/darwin-driver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/darwin-driver.c b/gcc/config/darwin-driver.c index 1fb3154e6e9..8a1faa3e718 100644 --- a/gcc/config/darwin-driver.c +++ b/gcc/config/darwin-driver.c @@ -112,6 +112,7 @@ struct arch_config_guess_map arch_config_map [] = { {"i386", "i686"}, {"ppc", "powerpc"}, + {"ppc64", "powerpc"}, {NULL, NULL} }; @@ -659,6 +660,8 @@ add_arch_options (int index, const char **current_argv, int arch_index) current_argv[arch_index] = "-mcpu=7450"; else if (!strcmp (arches[index], "ppc970")) current_argv[arch_index] = "-mcpu=970"; + else if (!strcmp (arches[index], "ppc64")) + current_argv[arch_index] = "-m64"; else if (!strcmp (arches[index], "i386")) current_argv[arch_index] = "-march=i386"; else if (!strcmp (arches[index], "i486")) |