d10v: don't silently turn @-r# into @-sp

Alexandre Oliva aoliva@redhat.com
Tue Dec 4 02:42:00 GMT 2001


On Dec  3, 2001, Nick Clifton <nickc@cambridge.redhat.com> wrote:

> Hi Alexandre,
>> Oops.  Unfortunately, this broke disassembly of sp.  It would come
>> out as r262159, because we wouldn't find sp and num would then be
>> printed with the OPERAND_GPR bit set.  Perhaps num should be masked
>> with the REGISTER_MASK before being printed?

> This would probably be a good idea.

Here it is.  I've verified that it builds, but I don't see how to
actually test it, since it seems to me that all registers are properly
matched.  Ok to install anyway?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: d10v-dis-mask-unmatched-reg.patch
Type: text/x-patch
Size: 774 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20011204/1fcd28aa/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


More information about the Binutils mailing list