[PATCH] D48247: lld: add experimental support for SHT_RELR sections.

Rahul Chaudhry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 29 14:55:42 PDT 2018


rahulchaudhry updated this revision to Diff 153587.
rahulchaudhry added a comment.

Reverted the enum class for --pack-dyn-relocs.
Added class RelativeReloc that is similar to DynamicReloc but only stores relative relocations.
Added class RelrBaseSection that is similar to RelocationBaseSection but stores RelativeRelocs instead of DynamicRelocs.
RelrPackedRelocationSection now inherits from RelrBaseSection.
Updated test to add a relative relocation with odd offset.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D48247

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/LinkerScript.cpp
  ELF/Options.td
  ELF/Relocations.cpp
  ELF/SyntheticSections.cpp
  ELF/SyntheticSections.h
  ELF/Writer.cpp
  test/ELF/pack-dyn-relocs.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48247.153587.patch
Type: text/x-patch
Size: 35143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180629/ada628cc/attachment.bin>


More information about the llvm-commits mailing list