binutils-gdb/ld/testsuite/ld-elf/eh6.s
H.J. Lu 7cc9c114fe Replace .long with .dc.a on my_personality_v0
We should use .dc.a instead of .long to take address of a symbol.

	* testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
	my_personality_v0.
2016-04-20 04:27:47 -07:00

18 lines
309 B
ArmAsm

.section .text.foo, "ax", @progbits
.globl foo
.type foo, @function
foo:
.cfi_startproc simple
.cfi_personality 0x80, indirect_ptr
ret
.cfi_endproc
.size foo, . - foo
.section .data.rel.ro, "a", @progbits
indirect_ptr:
.dc.a my_personality_v0
.globl my_personality_v0
my_personality_v0:
.long 0