[PATCH] D30473: [AARCH64] Incorrect relocation name TLSDESC_LD64_LO12_NC

Joel Jones via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 14:22:04 PST 2017


joelkevinjones created this revision.
Herald added a subscriber: aemerson.
Herald added a reviewer: javed.absar.

The document "ELF for the ARM 64-bit Architecture (AArch64)" at http://infocenter.arm.com/help/topic/com.arm.doc.ihi0056c/IHI0056C_beta_aaelf64.pdf
gives the name as R_AARCH64_TLSDESC_LD64_LO12 (NB: without the trailing "_NC").

This patch fixes the naming, adjusts tests, and modifies the asm printer to remove the VK_NC target flag when expanding TLSDESC_CALLSEQ.


Repository:
  rL LLVM

https://reviews.llvm.org/D30473

Files:
  include/llvm/Support/ELFRelocs/AArch64.def
  lib/Target/AArch64/AArch64AsmPrinter.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h
  test/CodeGen/AArch64/arm64-tls-dynamics.ll
  test/MC/AArch64/arm32-elf-relocs.s
  test/MC/AArch64/arm64-elf-relocs.s
  test/MC/AArch64/arm64-tls-relocs.s
  test/MC/AArch64/inline-asm-modifiers.s
  test/MC/AArch64/tls-relocs.s
  test/tools/llvm-readobj/reloc-types.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30473.90083.patch
Type: text/x-patch
Size: 13536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170228/f0788eca/attachment-0001.bin>


More information about the llvm-commits mailing list