summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-08-29 07:27:09 +0000
committerRui Ueyama <ruiu@google.com>2018-08-29 07:27:09 +0000
commit025bb56a86cd9d681171e7033d003b4b76370b5d (patch)
tree7e79b0155fb0d0c74ba9d90632b840f292d1b46f /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent398f81b3b43108fab601d9e30b2c01b2420945bf (diff)
downloadbcm5719-llvm-025bb56a86cd9d681171e7033d003b4b76370b5d.tar.gz
bcm5719-llvm-025bb56a86cd9d681171e7033d003b4b76370b5d.zip
Always add a .note.GNU-stack section if -r.
With this patch, lld creates a .note.GNU_stack and adds that to an output file if it is creating a re-linkable object file (i.e. if -r is given). If we don't do this, and if you use GNU linkers as a final linker, they create an executable whose stack area is executable, which is considered pretty bad these days. Differential Revision: https://reviews.llvm.org/D51400 llvm-svn: 340902
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud