aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
diff options
context:
space:
mode:
authorCl?ment Chigot <clement.chigot@atos.net>2021-04-22 15:31:02 +0100
committerNick Clifton <nickc@redhat.com>2021-04-22 15:31:02 +0100
commitbdd2aaf69ea2e8c89f431bdf72516e2d6503891a (patch)
treee375a94197aab402fcd6aa091a7b0aff7cf304a5 /bfd/libbfd.h
parent22f80c0f77be6304b9632827d8161e28cb4a195a (diff)
downloadgdb-bdd2aaf69ea2e8c89f431bdf72516e2d6503891a.zip
gdb-bdd2aaf69ea2e8c89f431bdf72516e2d6503891a.tar.gz
gdb-bdd2aaf69ea2e8c89f431bdf72516e2d6503891a.tar.bz2
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.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r--bfd/libbfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index bee1a1f..fba2999 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -766,7 +766,7 @@ extern struct bfd_strtab_hash *_bfd_stringtab_init
/* Create an XCOFF .debug section style string table. */
extern struct bfd_strtab_hash *_bfd_xcoff_stringtab_init
- (void) ATTRIBUTE_HIDDEN;
+ (bool isxcoff64) ATTRIBUTE_HIDDEN;
/* Free a string table. */
extern void _bfd_stringtab_free