https://sourceware.org/bugzilla/show_bug.cgi?id=22460
Bug ID: 22460 Summary: ld -r no longer works Product: binutils Version: 2.30 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com CC: amodra at gmail dot com Target Milestone: --- Created attachment 10621 --> https://sourceware.org/bugzilla/attachment.cgi?id=10621&action=edit A testcase commit db4677b8bd90b49f826807352c6c3c7eb0d57814 Author: Alan Modra <amo...@gmail.com> Date: Wed Oct 4 09:53:53 2017 +1030 PR21167, relocation sections not included in groups This fixes a wart I've known about for years, but haven't done anything about because BFD treats relocation sections as an adjunct to the section they relocate. SHF_GROUP on the section thus implicitly applies to its relocation section(s), but it is an error that the reloc sections aren't part of the group. caused: [hjl@gnu-tools-1 build-x86_64-linux]$ /export/build/gnu/binutils/build-x86_64-linux/ld/ld-new -r libio/fileops.os /export/build/gnu/binutils/build-x86_64-linux/ld/ld-new: BFD (GNU Binutils) 2.29.51.20171119 assertion fail /export/gnu/import/git/sources/binutils-gdb/bfd/elf.c:3548 [hjl@gnu-tools-1 build-x86_64-linux]$ -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils