[hppa] Fix disassembly of bb condition codes
Nick Hudson
nick.hudson@gmx.co.uk
Fri Aug 14 07:43:00 GMT 2009
On Saturday 04 March 2006 22:15:05 John David Anglin wrote:
> > > Currently binutils doesn't properly differentiate between 32-bit and
> > > 64-bit condition codes for the hppa bb insn, always disassembling the
> > > condition code as a 64-bit condition if it is in pa20 mode. This patch
> > > fixes the problem.
> >
> > I don't believe the change is correct. 'B' is for 64-bit conditions.
> > This affects the printed bit position. So, printing a 32-bit code with
> > a 64-bit position would be wrong.
>
> I've committed the following change. Tested on hppa-unknown-linux-gnu
> and by visually inspecting the disassembly of some bb instructions.
> Let me know if you see any problems.
This breaks, e.g.
sign: .equ 8
bb sign, 0, foo
as FLAG_STRICT is now set on all entries. Not sure what the fix is
Nick
More information about the Binutils
mailing list