aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ppc.c7
2 files changed, 6 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a17d651..2c0a2a3 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-16 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on
+ default cpu.
+
2005-08-15 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (do_t_mov_cmp): Fix encoding of i16-bit conditional
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);