]> granicus.if.org Git - llvm/commit
AArch64 ILP32 relocations for assembly and ELF
authorJoel Jones <joelkevinjones@gmail.com>
Mon, 24 Oct 2016 13:37:13 +0000 (13:37 +0000)
committerJoel Jones <joelkevinjones@gmail.com>
Mon, 24 Oct 2016 13:37:13 +0000 (13:37 +0000)
commitf2152944cb90c426c8110f03f723ae5783bb9c31
tree6d960933509577986ef8fba66c105bbf2e5904f8
parent1c01a24b733f436234b8872d0dff0d09747a195b
AArch64 ILP32 relocations for assembly and ELF

Summary:
Add relocations for AArch64 ILP32. Includes:
  - Addition of definitions for R_AARCH32_*
  - Definition of new -target-abi: ilp32
  - Definition of data layout string
  - Tests for added relocations. Not comprehensive, but matches
    existing tests for 64-bit. Renames "CHECK-OBJ" to "CHECK-OBJ-LP64".
  - Tests for llvm-readobj

Reviewers: zatrazz, peter.smith, echristo, t.p.northover

Subscribers: aemerson, rengolin, mehdi_amini

Differential Revision: https://reviews.llvm.org/D25159

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284973 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/Support/ELFRelocs/AArch64.def
lib/Target/AArch64/AArch64TargetMachine.cpp
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h
test/MC/AArch64/arm32-elf-relocs.s [new file with mode: 0644]
test/MC/AArch64/arm64-elf-relocs.s
test/MC/AArch64/arm64-ilp32.s [new file with mode: 0644]
test/MC/AArch64/ilp32-diagnostics.s [new file with mode: 0644]
test/tools/llvm-readobj/Inputs/relocs.obj.elf-aarch64-ilp32 [new file with mode: 0644]
test/tools/llvm-readobj/Inputs/relocs.py