diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2009-03-14 09:14:57 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2009-03-14 09:14:57 +0000 |
commit | d19d97e928f5a43ff00c1983224e65490fd6f5d2 (patch) | |
tree | a1a9d14bcb173b01485a07dee6dfecb6ba0c6197 /bfd/coff64-rs6000.c | |
parent | 9ec59d51e9ad0caf39d28ca85cf4a55bbbbc3929 (diff) | |
download | gdb-d19d97e928f5a43ff00c1983224e65490fd6f5d2.zip gdb-d19d97e928f5a43ff00c1983224e65490fd6f5d2.tar.gz gdb-d19d97e928f5a43ff00c1983224e65490fd6f5d2.tar.bz2 |
bfd/
* coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype
to 2 for bfd_mach_ppc_620.
Diffstat (limited to 'bfd/coff64-rs6000.c')
-rw-r--r-- | bfd/coff64-rs6000.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 776b6a2..1448917 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; |