aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/exclude-file-a.s
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2025-05-15 07:30:06 +0800
committerH.J. Lu <hjl.tools@gmail.com>2025-05-15 08:43:58 +0800
commitd1851edfe9d2469330568c289adb81ee7b128bfe (patch)
treefdf9300927a681a9a7eb69d68db13c9cb46a00df /ld/testsuite/ld-scripts/exclude-file-a.s
parent11e2fe837957c596c3c8868c54968d1646f60447 (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
binutils: Don't complain plugin with all LTO sections removedHEADmaster
When all LTO sections have been removed, the BFD lto_type is set to lto_non_ir_object by bfd_set_lto_type. In this case, don't complain needing a plugin when seeing a LTO slim symbol. bfd/ PR binutils/32967 * archive.c (_bfd_compute_and_write_armap): Call bfd_lto_slim_symbol_p to check LTO slim symbol. * bfd-in2.h: Generated. * bfd.c (bfd_lto_slim_symbol_p): New. binutils/ PR binutils/32967 * nm.c (filter_symbols): Call bfd_lto_slim_symbol_p to check LTO slim symbol. ld/ PR binutils/32967 * testsuite/ld-plugin/lto-binutils.exp: Run PR binutils/32967 tests. * testsuite/ld-plugin/strip-1a-s-all.nd: New file. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'ld/testsuite/ld-scripts/exclude-file-a.s')
0 files changed, 0 insertions, 0 deletions