[llvm-bugs] [Bug 31769] New: arm __aeabi_read_tp call does not honour -mlong-calls

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 26 05:54:39 PST 2017


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

            Bug ID: 31769
           Summary: arm __aeabi_read_tp call does not honour -mlong-calls
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Found while building LLDB 4.0.0 in the FreeBSD/arm base system. It's necessary
to build with -mlong-calls, but Clang generates bl calls to __aeabi_read_tp.

     260:       fe ff ff eb     bl      #-8 <llvm_regexec+0x260>
                        00000260:  R_ARM_CALL   __aeabi_read_tp

Confirmed with clang version 5.0.0 (http://llvm.org/git/clang.git
b65f3ab1697eeccb98d1b634f99747a9b0c2edcb)

See also https://reviews.freebsd.org/D9348 (required to fix -mlong-calls for
LLVM's .c files in FreeBSD).

-- 
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/20170126/09131be6/attachment.html>


More information about the llvm-bugs mailing list