aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd-in.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-in.h
parent22f80c0f77be6304b9632827d8161e28cb4a195a (diff)
downloadbinutils-bdd2aaf69ea2e8c89f431bdf72516e2d6503891a.zip
binutils-bdd2aaf69ea2e8c89f431bdf72516e2d6503891a.tar.gz
binutils-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-in.h')
-rw-r--r--bfd/libbfd-in.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h
index ebcc27d..1ad1af8 100644
--- a/bfd/libbfd-in.h
+++ b/bfd/libbfd-in.h
@@ -761,7 +761,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