]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld: fix coff PE SEH
authorTamar Christina <tamar.christina@arm.com>
Fri, 31 Dec 2021 11:42:07 +0000 (11:42 +0000)
committerTamar Christina <tamar.christina@arm.com>
Fri, 31 Dec 2021 11:42:07 +0000 (11:42 +0000)
commite5b10c4079279db9aa86225a3b4b4c30280c322e
tree60fc29354f1d122d28856a115e01e0c663f5e4d5
parent2e91308fb4b2d19c66203fcc2d8c43241fd101dd
ld: fix coff PE SEH

COFF_WITH_pex64 and COFF_WITH_peAArch64 can't be true at the same time.
That means that two conditionals that control the sorting of the .pdata section
became a falsum.

The testsuite doesn't catch this because the linker does the sorting and to link
you require library support from the unwinder so we can't test from binutils in
isolation.

bfd/ChangeLog:

2021-12-31  Tamar Christina  <tamar.christina@arm.com>

PR ld/28682
* peXXigen.c: Fix conditional.
bfd/peXXigen.c