fix string table generation for XCOFF64 .debug section
authorCl?ment Chigot <clement.chigot@atos.net>
Thu, 22 Apr 2021 14:31:02 +0000 (15:31 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 22 Apr 2021 14:31:02 +0000 (15:31 +0100)
commitbdd2aaf69ea2e8c89f431bdf72516e2d6503891a
treee375a94197aab402fcd6aa091a7b0aff7cf304a5
parent22f80c0f77be6304b9632827d8161e28cb4a195a
fix string table generation for XCOFF64 .debug section

bfd * hash.c (struct bfd_strtab_hash): Remove xcoff field.
Add length_field_size field.
(_bfd_stringtab_init): Change prototype.
Adapt to new length_field_size.
(_bfd_xcoff_stringtab_init): Likewise.
(_bfd_stringtab_add): Likewise.
(_bfd_stringtab_emit): Likewise.
* libbfd-in.h (_bfd_xcoff_stringtab_init):
Change prototype.
* libbfd.h: Regenerate.
* xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create):
Call _bfd_xcoff_stringtab_init with isxcoff64 value.
bfd/ChangeLog
bfd/hash.c
bfd/libbfd-in.h
bfd/libbfd.h
bfd/xcofflink.c