bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/10924] Bug in objdump when disassembling raw armv4t binari


From: nickc at redhat dot com
Subject: [Bug binutils/10924] Bug in objdump when disassembling raw armv4t binaries
Date: 14 Dec 2009 16:46:12 -0000

------- Additional Comments From nickc at redhat dot com  2009-12-14 16:46 
-------
Hi Chris,

  I have checked in another patch (which should be in tomorrow's tarball) to fix
the new cases you found and also to correct the snafu when post indexed
addressing is used with an immediate offset 15.  (The code was checking for a
register number of 15, but forgot to see if register-indexed or
immediate-indexed addressing was being used).

  I have also added a new testcase to the gas testsuite for the ARM, to check
the disassembly of unpredictable instructions.  One thing I found whilst doing
this is that there are several instructions that GAS itself will happily
assemble, even though they have unpredictable behaviour.  (Eg "mrs pc, cpsr"). 
So I guess I am going to have to start fixing gas as well.  *sigh*

  There are also several situations where unpredictable behaviour results from
the same register being used twice in an instruction.  (Eg the MLA, MUL, UMULL
etc instructions).  Currently the disassembler does not pick these up.  I am not
sure how important it is to detect them, but let me know what you think.

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.




reply via email to

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