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: unassignedb...@nondot.org
          Reporter: ema...@freebsd.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to