mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
753999c1ec
2015-08-19 Jiong Wang <jiong.wang@arm.com> bfd/ * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC. (aarch64_reloc_got_type): Likewise. (elfNN_aarch64_final_link_relocate): Likewise. (elfNN_aarch64_relocate_section): Likewise. * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise. (_bfd_aarch64_elf_resolve_relocation): Likewise. ld/testsuite/ * ld-aarch64/emit-relocs-530.s: New testcase. * ld-aarch64/emit-relocs-92.s: Likewise. * ld-aarch64/emit-relocs-530.d: New expectation file. * ld-aarch64/emit-relocs-92.d: Likewise. * ld-aarch64/aarch64-elf.exp: Run new testcases.
9 lines
211 B
Makefile
9 lines
211 B
Makefile
#source: emit-relocs-92.s
|
|
#as: -mabi=ilp32
|
|
#ld: -m [aarch64_choose_ilp32_emul] -e0 --emit-relocs
|
|
#objdump: -dr
|
|
#...
|
|
.* <.text>:
|
|
.*: 11001134 add w20, w9, #0x4
|
|
.*: R_AARCH64_P32_TLSLD_ADD_DTPREL_LO12_NC v2
|