[LLVMbugs] [Bug 9832] New: [MC] Thumb/Thumb-2 are not handled properly in ARM ELF

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 3 00:08:11 PDT 2011


           Summary: [MC] Thumb/Thumb-2 are not handled properly in ARM ELF
           Product: new-bugs
           Version: trunk
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: koansin.tan at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=6525)
 --> (http://llvm.org/bugs/attachment.cgi?id=6525)
a quick patch to make clang generate thumb code in ARM ELF.

We are trying to use clang as a drop-in replacement for the gcc come with
Android NDK. I found that MC/ELF doesn't not handle Thumb functions properly,
e.g., bit 0 of the function name in the .symtab is not set to 1, and some thumb
instructions are not generated correctly, e.g., tBLXr doesn't read it operand.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list