d10v: swapping insns requires swapping relocs

Alexandre Oliva aoliva@redhat.com
Tue Dec 4 04:52:00 GMT 2001


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

> It might be better (and less prone to bit rot in the future) if
> instead of setting a 'swapped' flag in all of the places where
> instruction swapping occurs, you alter the code that tests to see if
> swapping has occurred:

Good idea!  Upon further investigation, I've understood what was going
on with fxs, so I'm pretty confident this patch is correct, while the
previous patch would fail to mark insn2's operands if insns happened
to be swapped.  Ok to install?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: d10v-gas-swap-relocs.patch
Type: text/x-patch
Size: 4098 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20011204/36a177fb/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