binutils-gdb/ld/testsuite/ld-elf/pr22150b.s
H.J. Lu be2b629f64 Add a test for PR ld/22150
PR ld/22150
	* testsuite/ld-elf/pr22150.vd: New file.
	* testsuite/ld-elf/pr22150.ver: Likewise.
	* testsuite/ld-elf/pr22150a.s: Likewise.
	* testsuite/ld-elf/pr22150b.s: Likewise.
	* testsuite/ld-elf/shared.exp: Run PR ld/22150 tests.
2017-09-22 07:05:53 -07:00

14 lines
223 B
ArmAsm

.section .text._start,"ax",%progbits
.globl _start
.type _start, %function
_start:
.byte 0
.size _start, .-_start
.section .text.bar,"ax",%progbits
.globl foo
.type foo, %function
foo:
.dc.a bar
.size foo, .-foo