Harmonize and improve auxiliary entries support for XCOFF
authorCl?ment Chigot <clement.chigot@atos.net>
Thu, 22 Apr 2021 11:28:50 +0000 (12:28 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 22 Apr 2021 11:28:50 +0000 (12:28 +0100)
commitb11b2969a9a507d9e42c8029cfeb06b9bc41fceb
tree3137d85d940c2357e5f0ecaf383dce391b97d395
parentd018cd835ccdbfcfbc1e144a836974a9b9c385b6
Harmonize and improve auxiliary entries support for XCOFF

bfd/ChangeLog:
* coff-rs6000.c (_bfd_xcoff_swap_aux_in): Add errors for
unsupported storage class or auxialiry entries.
Improve and adapt to new aux structures.
Add C_DWARF support.
(_bfd_xcoff_swap_aux_out): Likewise.
* coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Likewise.
(_bfd_xcoff64_swap_aux_out): Likewise.

binutils/ChangeLog:
* od-xcoff.c (dump_xcoff32_symbols): Adapt to new
aux structures.

include/ChangeLog:
* coff/internal.h (union internal_auxent):
 Add x_sect structure.
* coff/rs6000.h (union external_auxent): Rework to
match official documentation.
* coff/rs6k64.h (union external_auxent): Likewise.
(_AUX_SECT): New define.
bfd/ChangeLog
bfd/coff-rs6000.c
bfd/coff64-rs6000.c
binutils/ChangeLog
binutils/od-xcoff.c
include/ChangeLog
include/coff/internal.h
include/coff/rs6000.h
include/coff/rs6k64.h