[LLVMbugs] [Bug 22558] New: pic jump tables should not be executable on ELF

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 11 21:44:58 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22558

            Bug ID: 22558
           Summary: pic jump tables should not be executable on ELF
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

ELF has relocations to represent

foo:
   bar - foo

even if bar is in another section. This allows for the table to be output in a
non executable section even with -fPIC.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150212/498778df/attachment.html>


More information about the llvm-bugs mailing list