diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2025-07-15 10:41:25 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-07-15 22:23:30 -0700 |
commit | d7f343eaad3f34c76657b9996e6253b4f9a218d5 (patch) | |
tree | 38f999e4302e618d21be12c342541558470de42d /gdb/testsuite/gdb.python/py-cmd-exception.py | |
parent | 14c6a06be8e0cdb40262d0b8ae000266d97e74cb (diff) | |
download | binutils-d7f343eaad3f34c76657b9996e6253b4f9a218d5.zip binutils-d7f343eaad3f34c76657b9996e6253b4f9a218d5.tar.gz binutils-d7f343eaad3f34c76657b9996e6253b4f9a218d5.tar.bz2 |
x86-64: Remove sframe relocs against discarded sections
Since unlike eh_frame editing code, sframe editing code keeps
R_X86_64_NONE reloc as is, its r_offset is wrong, we must not
generate R_X86_64_NONE reloc in sframe section against discarded
sections for "ld -r".
bfd/
PR ld/33156
* elf64-x86-64.c (elf_x86_64_relocate_section): Also remove
sframe relocations against discarded sections for "ld -r".
ld/
PR ld/33156
* testsuite/ld-elf/eh-group.exp (as_gsframe): New.
Assemble eh-group.o with $as_gsframe.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-cmd-exception.py')
0 files changed, 0 insertions, 0 deletions