fix Xtensa assembler for prefixed rsr/xsr/wsr opcodes

Bob Wilson bwilson@tensilica.com
Mon Mar 13 21:52:00 GMT 2006


This patch fixes a stupid mistake in the Xtensa port of GAS.  If the RSR/XSR/WSR 
opcodes are used with an underscore prefix (to disable assembler 
transformation), the assembler may add an extra underscore, causing the opcodes 
not to be recognized.  Tested with an xtensa-elf target and committed on the 
mainline.

2006-03-13  Bob Wilson  <bob.wilson@acm.org>

	* config/tc-xtensa.c (xg_translate_sysreg_op): Remove has_underbar
	flag and avoid double underscore prefixes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xlate-sysregs.diff
Type: text/x-patch
Size: 1079 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060313/0c69c4fa/attachment.bin>


More information about the Binutils mailing list