binutils-gdb/ld/testsuite/ld-gc/pr20882b.s
H.J. Lu 9e223787a4 GC: Also check the local debug definition section
Extend

commit b7c871edcd
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed May 17 07:57:15 2017 -0700

    Mark debug sections referenced by kept debug sections

to handle the local debug definition section.

bfd/

	PR ld/20882
	* elflink.c (elf_gc_mark_debug_section): Also check the local
	debug definition section.

ld/

	PR ld/20882
	* testsuite/ld-gc/pr20882.d: Also dump and check .debug_abbrev
	section.
	* testsuite/ld-gc/pr20882b.s: Add .debug_abbrev section.
2018-03-14 04:23:40 -07:00

13 lines
219 B
ArmAsm

.section .debug_info,"",%progbits
.hidden t.c.4903c230
.globl t.c.4903c230
t.c.4903c230:
.dc.a .Ldebug_abbrev0
.section .debug_abbrev,"",%progbits
.Ldebug_abbrev0:
.byte 0x61
.byte 0x62
.byte 0x63
.byte 0x64