sh assembler mis-assembles @(r0) and @(r0,)

Alexandre Oliva aoliva@redhat.com
Fri Dec 14 05:53:00 GMT 2001


@(r0) must be spelled @r0, and @(r0,) is clearly incorrect, yet the
assembler would silently parse both of them as @(r0,r0).  This patch
fixes this problem, as well as making sure we report an error should
the comma between the register names in @(r0,r1) be missing.  Ok to
install?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sh-gas-atparr0par.patch
Type: text/x-patch
Size: 1483 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20011214/662b591d/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