* coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype
	to 2 for bfd_mach_ppc_620.
This commit is contained in:
Richard Sandiford 2009-03-14 09:14:57 +00:00
parent 9ec59d51e9
commit d19d97e928
2 changed files with 7 additions and 0 deletions

View 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.

View 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;