OSDN Git Service

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)
commitc3c5d7c2d6e3add269d590b2632dec48634d39cf
tree89a37d312cd7bd89a7399d0cecb8d3fe887f8733
parent8eeedf74d346d6797236544847ebaa45e14d7703
On ELF, put PIC jump tables in a non executable section.

Fixes PR22558.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228939 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
include/llvm/Target/TargetLoweringObjectFile.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
lib/Target/TargetLoweringObjectFile.cpp
test/CodeGen/X86/global-sections.ll