This code

------------------------------------------------
.code 32
  ...some ARM code
  ADR   r0, 0f+1
  BX    r0
.code 16
0:
  ...some THUMB code    
------------------------------------------------

causes the error "Error: invalid constant -- `adr r0,0f+1'"

-- 
           Summary: no transition to Thumb with local labels
           Product: binutils
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: axelheider at gmx dot de
                CC: bug-binutils at gnu dot org
  GCC host triplet: i386/cygwin
GCC target triplet: ARM


http://sourceware.org/bugzilla/show_bug.cgi?id=4649

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to