From: Richard Sandiford Date: Sat, 14 Mar 2009 09:14:57 +0000 (+0000) Subject: bfd/ X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=d19d97e928f5a43ff00c1983224e65490fd6f5d2;p=deliverable%2Fbinutils-gdb.git bfd/ * coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype to 2 for bfd_mach_ppc_620. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 38e761c48d..51544cc6c9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2009-03-14 Richard Sandiford + + * coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype + to 2 for bfd_mach_ppc_620. + 2009-03-14 Richard Sandiford * config.bfd: Treat AIX 6+ in the same way as AIX 5. diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 776b6a22e2..14489176e6 100644 --- a/bfd/coff64-rs6000.c +++ b/bfd/coff64-rs6000.c @@ -1048,6 +1048,8 @@ xcoff64_write_object_contents (abfd) case bfd_arch_powerpc: if (bfd_get_mach (abfd) == bfd_mach_ppc) internal_a.o_cputype = 3; + else if (bfd_get_mach (abfd) == bfd_mach_ppc_620) + internal_a.o_cputype = 2; else internal_a.o_cputype = 1; break;