[PATCH] D28571: RuntimeDyldELF/AArch64: Implement basic support for PIC relocations

Eugene Leviant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 11 10:21:27 PST 2017


evgeny777 created this revision.
evgeny777 added reviewers: davide, lhames.
evgeny777 added subscribers: llvm-commits, grimar.
evgeny777 set the repository for this revision to rL LLVM.
Herald added subscribers: rengolin, aemerson.

This patch does the following:

- Implements R_AARCH64_ADR_GOT_PAGE and R_AARCH64_LD64_GOT_LO12_NC relocations
- Fills Global Offset Table with absolute address of target symbol.


Repository:
  rL LLVM

https://reviews.llvm.org/D28571

Files:
  lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
  test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_PIC_relocations.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28571.83998.patch
Type: text/x-patch
Size: 11682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170111/e0787be3/attachment.bin>


More information about the llvm-commits mailing list