bug-binutils
[Top][All Lists]
Advanced

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

Re: [Bug binutils/10924] Bug in objdump when disassembling raw armv4t bi


From: Nick Clifton
Subject: Re: [Bug binutils/10924] Bug in objdump when disassembling raw armv4t binaries
Date: Wed, 18 Nov 2009 17:05:59 +0000
User-agent: Thunderbird 2.0.0.23 (X11/20090825)

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






reply via email to

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