old-cross-binutils/ld/testsuite/ld-aarch64/dt_textrel.s
Jiong Wang c217058957 [AArch64] Generate DT_TEXTREL for relocation against read-only section
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.
2015-06-23 12:12:06 +01:00

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