[llvm-bugs] [Bug 25408] New: MC doesn't produce errors for thumb branches out of range

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 5 04:52:48 PST 2015


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

            Bug ID: 25408
           Summary: MC doesn't produce errors for thumb branches out of
                    range
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org, tim.northover at arm.com
    Classification: Unclassified

Given

        bl      end
        .space 0x3fffff
end:
        bl      end2
        .space 0x400000
end2:


gas produces an error on the second branch if targeting thumb1.

For thumb2, it produces an error on the second branch of

        bl      end
        .space 0x1ffffff
end:
        bl      end2
        .space 0x2000000
end2:

-- 
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/20151105/134478cf/attachment.html>


More information about the llvm-bugs mailing list