[PATCH] D32072: [AArch64] ILP32 Backend Relocation Support

Joel Jones via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 30 21:22:31 PDT 2017


joelkevinjones updated this revision to Diff 97254.
joelkevinjones edited the summary of this revision.
joelkevinjones added a comment.

- 0x07b is now named R_AARCH64_P32_TLSDESC_ADR_PREL21
- "#include... Debug " removed
- Tests for R_AARCH64_P32_TLSLE_LD128_TPREL_LO12 and ...ST..._NC added
- For R_AARCH64_TLSDESC_ADR_PREL19, documented in summary as definition added, but not implemented.
- Documented as definitions added, but not implemented:  R_AARCH64_P32_TLSGD_ADR_PREL21,   R_AARCH64_P32_TLSGD_ADR_PAGE21,  R_AARCH64_P32_TLSGD_ADD_LO12_NC
- I've added tests to arm{64,32}-{elf,tls}-relocs.s. I've added an  encoding test for LDST128_ABS_LO12_NC to arm{64,32}-elf-relocs.s instead  of where the other encoding tests are, arm{64,32}-tls-relocs.s, as this  relocation isn't for TLS.


https://reviews.llvm.org/D32072

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: D32072.97254.patch
Type: text/x-patch
Size: 79523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170501/2ee8cc5a/attachment-0001.bin>


More information about the llvm-commits mailing list