[PATCH] D74604: [LLD][ARM] Fix support for SBREL type relocations

Tamas Petz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 14 04:34:18 PST 2020


tamas.petz created this revision.
tamas.petz added reviewers: ruiu, pcc, peter.smith.
tamas.petz added projects: lld, LLVM.
Herald added subscribers: llvm-commits, MaskRay, arichardson, emaste.
Herald added a reviewer: espindola.

With this patch lld recognizes ARM SBREL relocations.
Furthermore, tests are also added for other *THM_MOV[WT]* relocations for the sake of completeness.
Yet R_ARM_*_MOVW_BREL relocations are not tested because they are not used.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74604

Files:
  lld/ELF/Arch/ARM.cpp
  lld/test/ELF/arm-mov-relocs.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74604.244620.patch
Type: text/x-patch
Size: 11558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200214/1016ee16/attachment.bin>


More information about the llvm-commits mailing list