summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/RenderingSupport.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-01-10 01:21:50 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-01-10 01:21:50 +0000
commitfeb6629d6d74f23b032ca6aab979d5b2c74d230f (patch)
tree7b28d7e0f2484aec685811b0e638432b52008a02 /llvm/tools/llvm-cov/RenderingSupport.h
parent628ec9f193300f9a031f4fa926892f4a9687ccfe (diff)
downloadbcm5719-llvm-feb6629d6d74f23b032ca6aab979d5b2c74d230f.tar.gz
bcm5719-llvm-feb6629d6d74f23b032ca6aab979d5b2c74d230f.zip
ELF: Reserve space for copy relocations of read-only symbols in relro.
When reserving copy relocation space for a shared symbol, scan the DSO's program headers to see if the symbol is in a read-only segment. If so, reserve space for that symbol in a new synthetic section named .bss.rel.ro which will be covered by the relro program header. This fixes the security issue disclosed on the binutils mailing list at: https://sourceware.org/ml/libc-alpha/2016-12/msg00914.html Differential Revision: https://reviews.llvm.org/D28272 llvm-svn: 291524
Diffstat (limited to 'llvm/tools/llvm-cov/RenderingSupport.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud