------- Additional Comments From nickc at redhat dot com  2009-11-18 17:07 
-------
Subject: Re:  Bug in objdump when disassembling raw armv4t
 binaries

Hi Daniel,

> Thoms Schwinge noticed a failure in group-relocations.d:
> 
>     regexp_diff match failure
>     regexp "^    8074:      e1c020d0        ldrd    r2, \[r0\]$"
>     line   "    8074:       e1c020d0        ldrd    r2, [r0, #0]"

Oops, I thought that I had caught all of these.

> Is this change really needed?  I think Chris's point was that we have to print
> "[r0, #-0]" which is a separate instruction from "[r0, #0]".

Actually I think that he was referring to the compulsory presence of the 
offset, even if it is zero, in the pre-indexed form of addressing.

You are correct though, the immediate value is not needed when using 
offset addressing.  I'll create a patch to fix this and post it later.

Cheers
   Nick




-- 


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

------- 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