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

Alexandre Oliva aoliva@redhat.com
Thu Dec 20 09:30:00 GMT 2001


On Dec 18, 2001, Hans-Peter Nilsson <hp@bitrange.com> wrote:

> On 18 Dec 2001, Nick Clifton wrote:
>> > Index: gas/ChangeLog
>> > from  Alexandre Oliva  <aoliva@redhat.com>
>> >
>> > 	* config/tc-sh.c (parse_at): Reject @(r0) and @(r0,).
>> 
>> Approved - please apply.

> Oops, sorry, I should have looked at this.  Alex, could you also
> please add dg test-cases for this to the gas test-suite?  See
> sh/err-*.s; a new file is all that's needed.

Thanks for the pointer.  Here's the patch, with testcase, I'm about to
check in.

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