[PATCH] D23661: [ELF] Fix sorting in combrelocs mode and add DT_REL(A)COUNT to .dynamic
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 27 08:05:48 PDT 2016
evgeny777 updated this revision to Diff 69491.
evgeny777 added a comment.
Diff updated
a) Fix bug in calculating number of relative relocs
b) When number of relative relocs is zero DT_REL(A)COUNT is not emitted. This greatly decreased number of patched unit tests
c) For all modified tests, I've added addition check that DET_REL(A)COUNT matches actual number of relative relocs
https://reviews.llvm.org/D23661
Files:
ELF/OutputSections.cpp
ELF/OutputSections.h
test/ELF/gotpc-relax-nopic.s
test/ELF/i386-tls-ie-shared.s
test/ELF/local-got-pie.s
test/ELF/local-got-shared.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23661.69491.patch
Type: text/x-patch
Size: 11405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160827/5435de07/attachment.bin>
More information about the llvm-commits
mailing list