bfd: use default coff_write_object_contents for XCOFF64
authorClément Chigot <clement.chigot@atos.net>
Thu, 11 Mar 2021 10:08:18 +0000 (11:08 +0100)
committerAlan Modra <amodra@gmail.com>
Fri, 12 Mar 2021 02:34:00 +0000 (13:04 +1030)
commit6d4d932867fa8b3c685b3a358bf81f7f6c6ea7d6
tree63250f6accc28da049cb258d140637730ffc5b48
parent8aa2d0236a5cf981aff44cf679515c6031a152bd
bfd: use default coff_write_object_contents for XCOFF64

There is no need for XCOFF64 to have is own write_object_contents.

* coff64-rs6000.c (xcoff64_write_object_contents): Remove.
* coffcode.h (coff_write_object_contents): Add bfd_mach_ppc_620
support for o_cputype field.  Avoid creating an empty a.out header
for XCOFF64.
bfd/ChangeLog
bfd/coff64-rs6000.c
bfd/coffcode.h