[PATCH] Fix a parsing bug of Blackfin gas

Jie Zhang jie.zhang@analog.com
Fri Aug 22 07:24:00 GMT 2008


The `.' in NUMBER pattern of Blackfin bfin-lex.l was not escaped, which
made it match "0&0". Such that it reported a syntax error for the
following instruction:

$ cat t.s
r0.l = 0 & 0xffff;

$ bfin-elf-as -o t.o t.s
t.s: Assembler messages:
t.s:1: Error: syntax error. Input text was xffff.
t.s:1: Error:

I have committed this patch to fix this bug.


Jie


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-bfin-fix-number-parsing.diff
Type: text/x-patch
Size: 1796 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20080822/f6aa0d8c/attachment.bin>


More information about the Binutils mailing list