[patch] Arm FPA stfpls

Paul Brook paul@codesourcery.com
Thu Sep 1 19:20:00 GMT 2005


The attached patch fixes a bug introduced with the Arm unified assembly syntax 
changes.

The "stfpls" instruction is not parsed correctly. This mnemonic matches both 
an infixed and suffixed instructions (stfs pl and stfp ls respectively).

The problem is that when a conditional suffix matches but is disallowed, the 
parser returnes failure instead of trying an conditional infix.

Tested with cross to arm-none-eabi.
Ok?

Paul

2005-09-01  Paul Brook  <paul@codesourcery.com>

gas/
	* config/tc-arm.c (opcode_lookup): Look for infix opcode when
	incorrect suffix matches.
gas/testsuite/
	* gas/arm/fpa-mem.d: Test "stfpls".
	* gas/arm/fpa-mem.s: Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.gas_fpa
Type: text/x-diff
Size: 2081 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050901/be063c3d/attachment.bin>


More information about the Binutils mailing list