diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-08-19 08:31:02 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-08-19 08:31:02 +0000 |
commit | 11f83b7941ecc764441bf62d672fe279955ee0ca (patch) | |
tree | 857596e2ebfb34b97cd7a9640e2df21281777b34 /llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | |
parent | 8fa30f2829ddbcc5d31b6e810ae3b270acc8c971 (diff) | |
download | bcm5719-llvm-11f83b7941ecc764441bf62d672fe279955ee0ca.tar.gz bcm5719-llvm-11f83b7941ecc764441bf62d672fe279955ee0ca.zip |
[ELF] - Do not change binding of symbols when creating relocatable output.
Spec says "A hidden symbol contained in a relocatable object must be either
removed or converted to STB_LOCAL binding by the link-editor when the
relocatable object is included in an executable file or shared object".
But we previously converted symbols to STB_LOCAL even when -r was specified.
Broken binary was produced, this is PR28967, patch fixes the issue.
Differential revision: https://reviews.llvm.org/D23514
llvm-svn: 279220
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp')
0 files changed, 0 insertions, 0 deletions