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.
9 lines
117 B
ArmAsm
9 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
|