From 80d4e113d7b9af8a5a36e5ea4399bca86050784f Mon Sep 17 00:00:00 2001 From: Luca Bacci Date: Wed, 17 May 2023 13:38:14 +0100 Subject: Decorated symbols in import libs (BUG 30421) PR 30421 * cofflink.c (_decoration_hash_newfunc): New function. (_bfd_coff_link_hash_table_init): Call it. * libcoff-in.h (struct coff_link_hash_table): Add decoration_hash field. (struct decoration_hash_entry): Declare. (_decoration_hash_newfunc): Prototype. * libcoff.h: Regenerate. * emultempl/pe.em (set_decoration): New function. (pe_fixup_stdcalls): Call the new function. * emultempl/pep.em (set_decoration): New function. (pep_fixup_stdcalls): Call the new function. * pe-dll.c (make_one): Check for decoated symbols. --- bfd/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'bfd/ChangeLog') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index dc4620663b2..76d8a954ae3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,14 @@ +2023-05-17 Luca Bacci + + PR 30421 + * cofflink.c (_decoration_hash_newfunc): New function. + (_bfd_coff_link_hash_table_init): Call it. + * libcoff-in.h (struct coff_link_hash_table): Add decoration_hash + field. + (struct decoration_hash_entry): Declare. + (_decoration_hash_newfunc): Prototype. + * libcoff.h: Regenerate. + 2023-05-16 Oleg Tolmatcev * libcoff-in.h (struct coff_tdata): Add section_by_index and -- cgit v1.2.1