mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
7cc9c114fe
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.
18 lines
309 B
ArmAsm
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
|