mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
7026832e52
PR 26681 bfd * elflink.c (bfd_elf_gc_sections): Do not arbitrarily keep note sections which are linked to another section. ld * testsuite/ld-elf/pr26681.s: New test. * testsuite/ld-elf/pr26681.d: New test driver. * testsuite/ld-elf/pr26681.l: New test output.
11 lines
136 B
ArmAsm
11 lines
136 B
ArmAsm
.text
|
|
.globl _start
|
|
_start:
|
|
.nop
|
|
|
|
.section .unused1, "ax", %progbits
|
|
.nop
|
|
|
|
.section .gnu.note1, "o", %note, .unused1
|
|
.word 2
|