[PATCH] ld -r: Don't merge with member of output section group
Wed Jul 17 20:20:00 GMT 2019
When doing a relocatable link, members of input section group are
placed in their own output sections. We need to make sure that no
input sections are merged with member of output section group.
OK for master and release branches?
* emultempl/elf32.em (elf_orphan_compatible): Return FALSE for
member of output section group when doing a relocatable link.
* testsuite/ld-elf/pr24819.d: New file.
* testsuite/ld-elf/pr24819.s: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2561 bytes
Desc: not available
More information about the Binutils