diff mbox

[7/7] rs6000: Old AIX specs: Use %(asm_default) instead of -mppc.

Message ID 565145fb8c3ab41fd0661439751bebed9e5b367f.1345067650.git.segher@kernel.crashing.org
State New
Headers show

Commit Message

Segher Boessenkool Aug. 15, 2012, 10:29 p.m. UTC
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(-)

Comments

David Edelsohn Aug. 16, 2012, 2:07 a.m. UTC | #1
On Wed, Aug 15, 2012 at 6:29 PM, Segher Boessenkool
<segher@kernel.crashing.org> wrote:
> 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.

This patch is okay.

Thanks, David
diff mbox

Patch

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} \