On ELF, put PIC jump tables in a non executable section.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 12 Feb 2015 17:46:49 +0000 (17:46 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 12 Feb 2015 17:46:49 +0000 (17:46 +0000)
commit203c5b9f39cbd9bc4ab3538537b36614af3274a8
tree7e779fd92118a64ff6db03ab2236e75148c95b91
parente732052f1661e9760827c18093169cf137c89850
On ELF, put PIC jump tables in a non executable section.

Fixes PR22558.

llvm-svn: 228939
llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
llvm/include/llvm/Target/TargetLoweringObjectFile.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/lib/Target/TargetLoweringObjectFile.cpp
llvm/test/CodeGen/X86/global-sections.ll