mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
54d7dae59a
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. PR ld/24819 * 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.
5 lines
104 B
ArmAsm
5 lines
104 B
ArmAsm
.section .data.foo,"awG",%progbits,.group1,comdat
|
|
.byte 0
|
|
.section .data.foo,"aw",%progbits
|
|
.byte 0
|