]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove sframe relocs against discarded sections
authorAlan Modra <amodra@gmail.com>
Thu, 17 Jul 2025 05:12:31 +0000 (14:42 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 18 Jul 2025 08:08:24 +0000 (17:38 +0930)
commit78e9e506dfdb5db14b3ec0e2912a9964405aa196
treebd441eaac8a8503425228e86bb0d1eaa772fc6e6
parent9d3376031aef4ea56750b0b59c3a1e0c4e8e0403
Remove sframe relocs against discarded sections

Commit d7f343eaad3f testsuite change resulted in a regression for
s390x-linux.  This extends the x86_64 fix to other targets.

PR ld/33156
* elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Remove .sframe
relocs too.

(cherry picked from commit fcf7470408aa0508fbe99abb99547757a348383d)
bfd/elf-bfd.h