ld: Add --pdb option
authorMark Harmstone <mark@harmstone.com>
Sun, 16 Oct 2022 23:24:18 +0000 (00:24 +0100)
committerAlan Modra <amodra@gmail.com>
Thu, 20 Oct 2022 04:52:37 +0000 (15:22 +1030)
commitf6f30f347bb97898a74e59a841982170e42bb265
tree966ab495055389361fb61cc34836818bc7890bc1
parent97df7412a183b73a1bfaeed55a4d951c2aede7d4
ld: Add --pdb option

Second patch incorporates fixes for endian and UB issues in calc_hash, as per
https://sourceware.org/pipermail/binutils/2022-October/123514.html.
bfd/libpei.h
bfd/peXXigen.c
bfd/peicode.h
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/testsuite/ld-pe/pdb.exp [new file with mode: 0644]
ld/testsuite/ld-pe/pdb1.s [new file with mode: 0644]