[PATCH] D20951: [RFC][ARM][LLD] Initial support for ARM in lld

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 09:49:24 PDT 2016


peter.smith updated this revision to Diff 59741.
peter.smith added a comment.

Changes made in light of review comments:

- always use R_PLT_PC.
- Rely on SignExtend<31> to clear the top bit for R_ARM_PREL31.
- Use uint64_t rather than int64_t.
- sorted in alphabetical order groups of common relocation types in switch statements.


http://reviews.llvm.org/D20951

Files:
  ELF/Driver.cpp
  ELF/InputFiles.cpp
  ELF/Target.cpp
  test/ELF/Inputs/arm-plt-reloc.s
  test/ELF/Inputs/far-arm-abs.s
  test/ELF/Inputs/relocation-copy-arm.s
  test/ELF/arm-abs32-dyn.s
  test/ELF/arm-attributes-remove.s
  test/ELF/arm-branch-error.s
  test/ELF/arm-branch.s
  test/ELF/arm-copy.s
  test/ELF/arm-data-prel.s
  test/ELF/arm-data-relocs.s
  test/ELF/arm-fpic-got.s
  test/ELF/arm-gnu-ifunc-nosym.s
  test/ELF/arm-gnu-ifunc.s
  test/ELF/arm-got-relative.s
  test/ELF/arm-gotoff.s
  test/ELF/arm-mov-relocs.s
  test/ELF/arm-plt-reloc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20951.59741.patch
Type: text/x-patch
Size: 37429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160606/642a7da2/attachment.bin>


More information about the llvm-commits mailing list