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: [email protected]
ReportedBy: [email protected]
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.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils