diff options
author | Alan Modra <amodra@gmail.com> | 2002-07-26 04:18:42 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-07-26 04:18:42 +0000 |
commit | dfff24c9bd7924204ba0020cc8ba014ab3984db8 (patch) | |
tree | aae5a32b4de7a0fe3a44dcf795c9cb0450a8fca4 /gas | |
parent | d959a6abc7b6c631643e5557398d8af9c2f40983 (diff) | |
download | gdb-dfff24c9bd7924204ba0020cc8ba014ab3984db8.zip gdb-dfff24c9bd7924204ba0020cc8ba014ab3984db8.tar.gz gdb-dfff24c9bd7924204ba0020cc8ba014ab3984db8.tar.bz2 |
* config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
rather than PPC_OPCODE_32 for powerpc64*.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 17 | ||||
-rw-r--r-- | gas/config/tc-ppc.c | 7 |
2 files changed, 17 insertions, 7 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 10c39b0..240606e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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> * po/es.po: Updated Spanish translation. @@ -82,15 +87,15 @@ * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC. 2002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz> - Nick Clifton <nickc@redhat.com> + Nick Clifton <nickc@redhat.com> * cond.c (s_ifdef): Treat a referenced but not yet defined symbol as if it were undefined, in exactly the same way as .equiv. - * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv - consider referenced bug not yet defined symbols to be - undefined. + * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv + consider referenced bug not yet defined symbols to be + undefined. 2002-07-18 Denis Chertykov <denisc@overta.ru> Frank Ch. Eigler <fche@redhat.com> @@ -112,11 +117,11 @@ * doc/all.texi: Set IP2K * doc/as.texinfo: Add IP2K description. * doc/c-ip2k.texi: New file. - + 2002-07-19 Nick Clifton <nickc@cambridge.redhat.com> * NEWS: Reformat to match style of other NEWS files. - + 2002-07-17 Jan Hubicka <jh@suse.cz> * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers. diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 68f8764..f94cad5 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -1070,7 +1070,12 @@ 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) - ppc_cpu = PPC_OPCODE_PPC | PPC_OPCODE_32; + { + 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; + } else as_fatal (_("Unknown default cpu = %s, os = %s"), default_cpu, default_os); |