mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-18 14:53:32 +08:00
c217058957
2015-06-23 Jiong Wang <jiong.wang@arm.com> bfd/ * elfnn-aarch64.c (aarch64_readonly_dynrelocs): New function. (elfNN_aarch64_size_dynamic_sections): Traverse hash table to check relocations against read-only sections. ld/testsuite/ * ld-aarch64/dt_textrel.s: New testcase. * ld-aarch64/dt_textrel.d: New expectation file. * ld-aarch64/aarch64-elf.exp: Run new testcase.
10 lines
117 B
ArmAsm
10 lines
117 B
ArmAsm
.cpu generic+fp+simd
|
|
.global p
|
|
.comm x,4,4
|
|
.section .rodata
|
|
.align 3
|
|
.type p, %object
|
|
.size p, 8
|
|
p:
|
|
.xword x
|