[PATCH] D112063: [lld][ELF] Add first bits to support relocation relaxations for AArch64

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 19 04:27:14 PDT 2021


alexander-shaposhnikov created this revision.
alexander-shaposhnikov added reviewers: MaskRay, Wilco1.
alexander-shaposhnikov created this object with visibility "All Users".
Herald added subscribers: kristof.beyls, arichardson, emaste.
alexander-shaposhnikov requested review of this revision.
Herald added a project: LLVM.

This diff adds first bits to support relocation relaxations for AArch64
discussed on https://github.com/ARM-software/abi-aa/pull/106 .
In particular, the case of

  adrp x0, :got: symbol
  ldr x0, [x0, :got_lo12: symbol]

is handled.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112063

Files:
  lld/ELF/Arch/AArch64.cpp
  lld/ELF/InputSection.cpp
  lld/ELF/Target.h
  lld/test/ELF/aarch64-adrp-ldr-got.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112063.380640.patch
Type: text/x-patch
Size: 8513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211019/7b1f98ee/attachment.bin>


More information about the llvm-commits mailing list