From 23d36e920eb0d0ca229d14e39dafdef0520af107 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 16 Aug 2005 03:17:53 +0000 Subject: * config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on default cpu. --- gas/ChangeLog | 5 +++++ gas/config/tc-ppc.c | 7 +------ 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 + + * config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on + default cpu. + 2005-08-15 Paul Brook * 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); -- cgit v1.1