mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
* config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
rather than PPC_OPCODE_32 for powerpc64*.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2002-07-26 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
|
||||||
|
rather than PPC_OPCODE_32 for powerpc64*.
|
||||||
|
|
||||||
2002-07-25 Nick Clifton <nickc@redhat.com>
|
2002-07-25 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* po/es.po: Updated Spanish translation.
|
* po/es.po: Updated Spanish translation.
|
||||||
|
@ -1070,7 +1070,12 @@ ppc_set_cpu ()
|
|||||||
else if (strcmp (default_cpu, "rs6000") == 0)
|
else if (strcmp (default_cpu, "rs6000") == 0)
|
||||||
ppc_cpu = PPC_OPCODE_POWER | PPC_OPCODE_32;
|
ppc_cpu = PPC_OPCODE_POWER | PPC_OPCODE_32;
|
||||||
else if (strncmp (default_cpu, "powerpc", 7) == 0)
|
else if (strncmp (default_cpu, "powerpc", 7) == 0)
|
||||||
|
{
|
||||||
|
if (default_cpu[7] == '6' && default_cpu[8] == '4')
|
||||||
|
ppc_cpu = PPC_OPCODE_PPC | PPC_OPCODE_64;
|
||||||
|
else
|
||||||
ppc_cpu = PPC_OPCODE_PPC | PPC_OPCODE_32;
|
ppc_cpu = PPC_OPCODE_PPC | PPC_OPCODE_32;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
as_fatal (_("Unknown default cpu = %s, os = %s"),
|
as_fatal (_("Unknown default cpu = %s, os = %s"),
|
||||||
default_cpu, default_os);
|
default_cpu, default_os);
|
||||||
|
Reference in New Issue
Block a user