Patchwork [2/7] rs6000: Fix typo mpower64 -> mpowerpc64 in various spec strings.

login
register
mail settings
Submitter Segher Boessenkool
Date Aug. 15, 2012, 10:29 p.m.
Message ID <fb34fea0fcc61f6140d46533c01ca9c68c399425.1345067650.git.segher@kernel.crashing.org>
Download mbox | patch
Permalink /patch/177867/
State New
Headers show

Comments

Segher Boessenkool - Aug. 15, 2012, 10:29 p.m.
2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/
	* config/rs6000/aix52.h (ASM_CPU_SPEC): Fix typo.
	* config/rs6000/aix53.h (ASM_CPU_SPEC): Ditto.
	* config/rs6000/aix61.h (ASM_CPU_SPEC): Ditto.
	* config/rs6000/driver-rs6000.c (asm_names): Ditto.
---
 gcc/config/rs6000/aix52.h         |    2 +-
 gcc/config/rs6000/aix53.h         |    2 +-
 gcc/config/rs6000/aix61.h         |    2 +-
 gcc/config/rs6000/driver-rs6000.c |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
David Edelsohn - Aug. 15, 2012, 11:53 p.m.
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/aix52.h (ASM_CPU_SPEC): Fix typo.
>         * config/rs6000/aix53.h (ASM_CPU_SPEC): Ditto.
>         * config/rs6000/aix61.h (ASM_CPU_SPEC): Ditto.
>         * config/rs6000/driver-rs6000.c (asm_names): Ditto.

This patch is okay.

Thanks, David

Patch

diff --git a/gcc/config/rs6000/aix52.h b/gcc/config/rs6000/aix52.h
index 206b9fe..eeeb820 100644
--- a/gcc/config/rs6000/aix52.h
+++ b/gcc/config/rs6000/aix52.h
@@ -50,7 +50,7 @@  do {									\
 #define ASM_CPU_SPEC \
 "%{!mcpu*: %{!maix64: \
   %{mpowerpc64: -mppc64} \
-  %{!mpower64: %(asm_default)}}} \
+  %{!mpowerpc64: %(asm_default)}}} \
 %{mcpu=power3: -m620} \
 %{mcpu=power4: -m620} \
 %{mcpu=power5: -m620} \
diff --git a/gcc/config/rs6000/aix53.h b/gcc/config/rs6000/aix53.h
index 44ad5cf..dac0ce0 100644
--- a/gcc/config/rs6000/aix53.h
+++ b/gcc/config/rs6000/aix53.h
@@ -53,7 +53,7 @@  do {									\
 "%{!mcpu*: %{!maix64: \
   %{mpowerpc64: -mppc64} \
   %{maltivec: -m970} \
-  %{!maltivec: %{!mpower64: %(asm_default)}}}} \
+  %{!maltivec: %{!mpowerpc64: %(asm_default)}}}} \
 %{mcpu=native: %(asm_cpu_native)} \
 %{mcpu=power3: -m620} \
 %{mcpu=power4: -mpwr4} \
diff --git a/gcc/config/rs6000/aix61.h b/gcc/config/rs6000/aix61.h
index 1000e11..0518d44 100644
--- a/gcc/config/rs6000/aix61.h
+++ b/gcc/config/rs6000/aix61.h
@@ -53,7 +53,7 @@  do {									\
 "%{!mcpu*: %{!maix64: \
   %{mpowerpc64: -mppc64} \
   %{maltivec: -m970} \
-  %{!maltivec: %{!mpower64: %(asm_default)}}}} \
+  %{!maltivec: %{!mpowerpc64: %(asm_default)}}}} \
 %{mcpu=native: %(asm_cpu_native)} \
 %{mcpu=power3: -m620} \
 %{mcpu=power4: -mpwr4} \
diff --git a/gcc/config/rs6000/driver-rs6000.c b/gcc/config/rs6000/driver-rs6000.c
index e6c7da1..36fc27d 100644
--- a/gcc/config/rs6000/driver-rs6000.c
+++ b/gcc/config/rs6000/driver-rs6000.c
@@ -368,7 +368,7 @@  static const struct asm_name asm_names[] = {
 %{!maix64: \
 %{mpowerpc64: -mppc64} \
 %{maltivec: -m970} \
-%{!maltivec: %{!mpower64: %(asm_default)}}}" },
+%{!maltivec: %{!mpowerpc64: %(asm_default)}}}" },
 
 #else
   { "common",	"-mcom" },