[PATCH] D100490: [ELF] Check the Elf_Rel addends for dynamic relocations

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 28 06:25:50 PDT 2021


arichardson updated this revision to Diff 341173.
arichardson added a comment.

Split the addend checking into a separate review, this now only include fixes for incorrect addends plus the DynamicReloc refactoring.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100490/new/

https://reviews.llvm.org/D100490

Files:
  lld/ELF/InputSection.cpp
  lld/ELF/Relocations.cpp
  lld/ELF/SyntheticSections.cpp
  lld/ELF/SyntheticSections.h
  lld/ELF/Thunks.cpp
  lld/ELF/Writer.cpp
  lld/test/ELF/got32-i386-pie-rw.s
  lld/test/ELF/i386-zrel-zrela.s
  lld/test/ELF/ppc64-abs64-dyn.s
  lld/test/ELF/ppc64-long-branch-pi.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100490.341173.patch
Type: text/x-patch
Size: 28044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210428/105e6324/attachment-0001.bin>


More information about the llvm-commits mailing list