bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/12502] New: Assembler implementation for ldrt command is incomp


From: hwoarang at gentoo dot org
Subject: [Bug gas/12502] New: Assembler implementation for ldrt command is incomplete
Date: Sat, 19 Feb 2011 14:19:51 +0000

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

           Summary: Assembler implementation for ldrt command is
                    incomplete
           Product: binutils
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: address@hidden
        ReportedBy: address@hidden


Hello there. I am trying to build the linux kernel in thumb-2 mode

The compilation fails at this file

http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.37.y.git;a=blob;f=arch/arm/nwfpe/entry.S;h=cafa1835433977808d47ce5900d85bbc19a3ea7f;hb=HEAD

with the following error 

"arch/arm/nwfpe/entry.S: Assembler messages:
arch/arm/nwfpe/entry.S:96: Error: cannot use post-indexing with this
instruction -- `ldrt r6,[r5],#4'"

Of course, if I remove this statement and write it as

ldrt r6,[r5]
add r5,[r5],#4

the compilation is successful.

However, the specification for this instruction states clearly that

LDR{T} Rd, <a_mode2> where <a_mode2> can be

[Rn], #+/- 12_bit_offset

among others


I use the latest linux kerne, latest gcc(4.5.2) and latest binutils as well

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]