[PATCH] D30573: [AARCH64] Add more ILP32 relocation support

Joel Jones via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 3 07:15:40 PST 2017


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

Add support for more ILP32 relocations, along with tests
Add diagnostic tests for LP64 only relocations used in an ILP32 context
Note: This patch relies on:

  https://reviews.llvm.org/D30473
  [AARCH64] Incorrect relocation name TLSDESC_LD64_LO12_NC 


Repository:
  rL LLVM

https://reviews.llvm.org/D30573

Files:
  include/llvm/Support/ELFRelocs/AArch64.def
  lib/Target/AArch64/AArch64AsmPrinter.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h
  test/CodeGen/AArch64/arm64-tls-dynamics.ll
  test/MC/AArch64/adrp-relocation.s
  test/MC/AArch64/arm32-elf-relocs.s
  test/MC/AArch64/arm32-large-relocs.s
  test/MC/AArch64/arm32-tls-relocs.s
  test/MC/AArch64/arm64-elf-reloc-condbr.s
  test/MC/AArch64/arm64-elf-relocs.s
  test/MC/AArch64/arm64-tls-relocs.s
  test/MC/AArch64/elf-reloc-ldrlit.s
  test/MC/AArch64/elf-reloc-pcreladdressing-ilp32.s
  test/MC/AArch64/elf-reloc-tstb.s
  test/MC/AArch64/elf-reloc-uncondbrimm.s
  test/MC/AArch64/error-location.s
  test/MC/AArch64/ilp32-diagnostics.s
  test/MC/AArch64/inline-asm-modifiers.s
  test/MC/AArch64/lp64-diagnostics.s
  test/MC/AArch64/tls-relocs.s
  test/tools/llvm-readobj/reloc-types.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30573.90474.patch
Type: text/x-patch
Size: 64749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170303/999d3c52/attachment.bin>


More information about the llvm-commits mailing list