[PATCH] D57245: [PPC64] Sort .toc sections accessed with small code model relocs close to the .got part 2
Sean Fertile via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 25 09:21:47 PST 2019
sfertile created this revision.
sfertile added reviewers: ruiu, MaskRay, grimar.
Herald added subscribers: jsji, kbarton, arichardson, nemanjai, emaste.
Herald added a reviewer: espindola.
Follow on patch which addresses the other small code model relocation types. For lld we should ignore the small code model relocations that represent offsets to entries in the .got for sorting purpose. Since these relocations don't access the .toc sections they should have no bearing on how we sort the .toc sections, and since we don't sort got entries (they are allocated on demand in order) we don't need to track which objects contain these relocation types.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D57245
Files:
ELF/Arch/PPC64.cpp
ELF/InputFiles.h
ELF/Relocations.cpp
ELF/Target.h
ELF/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57245.183555.patch
Type: text/x-patch
Size: 5138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190125/8a430aff/attachment.bin>
More information about the llvm-commits
mailing list