This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 7/7] rs6000: Old AIX specs: Use %(asm_default) instead of -mppc.
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: dje dot gcc at gmail dot com, meissner at gcc dot gnu dot org, Segher Boessenkool <segher at kernel dot crashing dot org>
- Date: Wed, 15 Aug 2012 15:29:23 -0700
- Subject: [PATCH 7/7] rs6000: Old AIX specs: Use %(asm_default) instead of -mppc.
- References: <cover.1345067650.git.segher@kernel.crashing.org>
- References: <cover.1345067650.git.segher@kernel.crashing.org>
2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
gcc/
* config/rs6000/aix43.h (ASM_CPU_SPEC): Use %(asm_default)
instead of -mppc.
* config/rs6000/aix51.h (ASM_CPU_SPEC): Ditto.
---
gcc/config/rs6000/aix43.h | 2 +-
gcc/config/rs6000/aix51.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/config/rs6000/aix43.h b/gcc/config/rs6000/aix43.h
index 8465c20..c1a69dc 100644
--- a/gcc/config/rs6000/aix43.h
+++ b/gcc/config/rs6000/aix43.h
@@ -49,7 +49,7 @@ do { \
#undef ASM_CPU_SPEC
#define ASM_CPU_SPEC \
"%{!mcpu*: %{!maix64: \
- %{!mpowerpc64: -mppc} \
+ %{!mpowerpc64: %(asm_default)} \
%{mpowerpc64: -mppc64}}} \
%{mcpu=power3: -m620} \
%{mcpu=power4: -m620} \
diff --git a/gcc/config/rs6000/aix51.h b/gcc/config/rs6000/aix51.h
index a140e12..6ea30c1 100644
--- a/gcc/config/rs6000/aix51.h
+++ b/gcc/config/rs6000/aix51.h
@@ -43,7 +43,7 @@ do { \
#undef ASM_CPU_SPEC
#define ASM_CPU_SPEC \
"%{!mcpu*: %{!maix64: \
- %{!mpowerpc64: -mppc} \
+ %{!mpowerpc64: %(asm_default)} \
%{mpowerpc64: -mppc64}}} \
%{mcpu=power3: -m620} \
%{mcpu=power4: -m620} \
--
1.7.7.6