https://sourceware.org/bugzilla/show_bug.cgi?id=19317
--- Comment #11 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <[email protected]>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3ff04a474681a3f1ba122802fedcdd22b0ae99e9 commit 3ff04a474681a3f1ba122802fedcdd22b0ae99e9 Author: H.J. Lu <[email protected]> Date: Thu May 28 16:10:19 2026 +0800 riscv: Ignore attributes in empty input file Ignore empty and .note.gnu.build-id sections when merging attributes. The following linker tests now pass for riscv: FAIL: Diagnostics - Wrong magic number mixed with valid CTF sections FAIL: --gc-sections with --defsym FAIL: --gc-sections with KEEP FAIL: --gc-sections with __start_SECTIONNAME FAIL: ld-plugin/lto-10r FAIL: ld-plugin/lto-3r FAIL: ld-plugin/lto-4r-a FAIL: ld-plugin/lto-4r-b FAIL: ld-plugin/lto-4r-c FAIL: ld-plugin/lto-4r-d FAIL: ld-plugin/lto-5r FAIL: PR ld/19317 (2) FAIL: PR ld/19317 (3) PR ld/34185 * elfxx-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Ignore attributes in empty input file Signed-off-by: H.J. Lu <[email protected]> -- You are receiving this mail because: You are on the CC list for the bug.
