[PATCH] D48247: lld: add experimental support for SHT_RELR sections.
Rahul Chaudhry via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 28 15:52:48 PDT 2018
rahulchaudhry updated this revision to Diff 153417.
rahulchaudhry added a comment.
Added an enum class for the --pack-dyn-relocs flag.
Added another option "android+relr" that implies both "android" and "android-relr" packing.
Another place in Relocations.cpp needed change to add relative relocations in RelrDyn instead of RelaDyn.
Relocations are only added to RelrDyn if "Sec.Alignment >= 2 && Offset % 2 == 0".
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.153417.patch
Type: text/x-patch
Size: 33324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180628/e4be356f/attachment.bin>
More information about the llvm-commits
mailing list