diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2025-07-13 04:56:16 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-07-15 05:35:35 +0800 |
commit | 5f9bf0cf711a153a0a20d6ff88181e9a6775bdba (patch) | |
tree | 85cd17f436be070fd82566ed83a4f699174ce8bc /gdb/python/py-gdb-readline.c | |
parent | 104a90ece991e599de16b335ef2f001c437b4e19 (diff) | |
download | binutils-5f9bf0cf711a153a0a20d6ff88181e9a6775bdba.zip binutils-5f9bf0cf711a153a0a20d6ff88181e9a6775bdba.tar.gz binutils-5f9bf0cf711a153a0a20d6ff88181e9a6775bdba.tar.bz2 |
sframe: Allow input R_*_NONE relocations
"ld -r" generates R_*_NONE relocations in sframe section if input
relocations in sframe section are against discarded section. Allow
input R_*_NONE relocations if there are more relocation entries than
SFrame entries, instead of assuming number of SFrame entries == number
of relocation entries.
bfd/
PR ld/33127
* elf-sframe.c (sframe_decoder_init_func_bfdinfo): Allow input
R_*_NONE relocations if there are more relocation entries than
SFrame entries.
ld/
PR ld/33127
* testsuite/ld-x86-64/sframe-reloc-2a.s: New file.
* testsuite/ld-x86-64/sframe-reloc-2b.s: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Run PR ld/33127 tests.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gdb/python/py-gdb-readline.c')
0 files changed, 0 insertions, 0 deletions