aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-08-16 03:17:53 +0000
committerAlan Modra <amodra@gmail.com>2005-08-16 03:17:53 +0000
commit23d36e920eb0d0ca229d14e39dafdef0520af107 (patch)
treed7c2308d89ca682540c2a17eaf50f5fc81ce0138 /gas/config/tc-ppc.c
parent2dea415724d78b39d96aaa22c54d4959fbaa4237 (diff)
downloadgdb-23d36e920eb0d0ca229d14e39dafdef0520af107.zip
gdb-23d36e920eb0d0ca229d14e39dafdef0520af107.tar.gz
gdb-23d36e920eb0d0ca229d14e39dafdef0520af107.tar.bz2
* config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on
default cpu.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r--gas/config/tc-ppc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index e0031c6..29b37cd 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -1155,12 +1155,7 @@ ppc_set_cpu ()
else if (strcmp (default_cpu, "rs6000") == 0)
ppc_cpu |= PPC_OPCODE_POWER | PPC_OPCODE_32;
else if (strncmp (default_cpu, "powerpc", 7) == 0)
- {
- if (default_cpu[7] == '6' && default_cpu[8] == '4')
- ppc_cpu |= PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_64;
- else
- ppc_cpu |= PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_32;
- }
+ ppc_cpu |= PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_32;
else
as_fatal (_("Unknown default cpu = %s, os = %s"),
default_cpu, default_os);