]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog
Decorated symbols in import libs (BUG 30421)
authorLuca Bacci <luca.bacci@outlook.com>
Wed, 17 May 2023 12:38:14 +0000 (13:38 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 17 May 2023 12:38:14 +0000 (13:38 +0100)
commit80d4e113d7b9af8a5a36e5ea4399bca86050784f
treea471fa8b0176805e795dd73a3a97b5af94630482
parent80b6c32f233ed28607643c4e4e4e2ee3399fdfd7
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
bfd/cofflink.c
bfd/libcoff-in.h
bfd/libcoff.h
ld/ChangeLog
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/pe-dll.c