]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/expr.c
gas 0f handling
authorAlan Modra <amodra@gmail.com>
Thu, 13 Aug 2015 06:27:15 +0000 (15:57 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 13 Aug 2015 06:36:20 +0000 (16:06 +0930)
commit19c2883a9b92e2be695368e19788fd0210d732d4
tree8dd68237b020175b0b08138ec11656712a6e49f1
parentc14c7a8a619ce03a7c8f41d1cfac3af728df453b
gas 0f handling

_start:
 .byte 0f-_start
0:

Fixes
..:2: Error: floating point number invalid
..:2: Error: junk at end of line, first unrecognized character is `_'

* expr.c (operand): Rewrite handling of operands starting with "0f".
If atof_generic only parses "-" or "+", treat as expression.
gas/ChangeLog
gas/expr.c