[llvm-bugs] [Bug 37543] New: Provide a way to avoid ADRP instructions to make code 100% position independent.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 21 09:57:04 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37543

            Bug ID: 37543
           Summary: Provide a way to avoid ADRP instructions to make code
                    100% position independent.
           Product: clang
           Version: 6.0
          Hardware: DEC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ericgorr at gmail.com
                CC: llvm-bugs at lists.llvm.org

For environments where code will be executed and cannot meet the page alignment
requirements of ADRP, it would be nice to be able to tell the compiler that
emitting ADRP instructions are not necessary. 

A good option might be to implement 'tiny' for mcmodel

The primary goal is for 100% position independent code.

Please see http://lists.llvm.org/pipermail/llvm-dev/2018-May/123465.html for a
discussion of this issue.

-- 
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/20180521/8c3a79f7/attachment.html>


More information about the llvm-bugs mailing list