diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2025-08-18 19:16:00 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-08-19 04:10:02 -0700 |
commit | 985bc55e998d83086c7bf9a1a71a52a2673370c7 (patch) | |
tree | 18fd8d19a45ea96768f9b3f5472b5fe8e79268f0 /gdb/common/array-view.h | |
parent | e067b9d0277039d04698099dc6f42d10c4a2bcb5 (diff) | |
download | binutils-985bc55e998d83086c7bf9a1a71a52a2673370c7.zip binutils-985bc55e998d83086c7bf9a1a71a52a2673370c7.tar.gz binutils-985bc55e998d83086c7bf9a1a71a52a2673370c7.tar.bz2 |
elf: Prune empty generic properties
Prune empty generic properties before discarding empty property note
section and leave processor specific properties to the backend.
bfd/
PR ld/33292
* elf-properties.c (elf_prune_empty_properties): New function.
(_bfd_elf_link_setup_gnu_properties): Call
elf_prune_empty_properties before discarding empty property note
section. Move indirect_extern_access processing before
elf_prune_empty_properties call.
ld/
PR ld/33292
* testsuite/ld-x86-64/pr33292-x32.d: New file.
* testsuite/ld-x86-64/pr33292.d: Likewise.
* testsuite/ld-x86-64/pr33292.s: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Run PR ld/33292 tests.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gdb/common/array-view.h')
0 files changed, 0 insertions, 0 deletions