bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Sat, 14 Mar 2009 09:14:57 +0000 (09:14 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Sat, 14 Mar 2009 09:14:57 +0000 (09:14 +0000)
* coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype
to 2 for bfd_mach_ppc_620.

bfd/ChangeLog
bfd/coff64-rs6000.c

index 38e761c48db509dbd3b914177c60a0cc36bd7d04..51544cc6c9f44aa788361def050b5104fda84a12 100644 (file)
@@ -1,3 +1,8 @@
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+       * coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype
+       to 2 for bfd_mach_ppc_620.
+
 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
 
        * config.bfd: Treat AIX 6+ in the same way as AIX 5.
index 776b6a22e2c3b578daa7b94f947745c940b5bceb..14489176e6c9126ed643aa55841a4ab1bf52d5c7 100644 (file)
@@ -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;