[Xtensa] add extra check in GAS
Bob Wilson
bwilson@tensilica.com
Wed Jul 25 18:25:00 GMT 2007
The Xtensa EXTUI opcode has undefined behavior if its two immediate
operands sum to greater than 32. I've committed this patch from
Sterling Augustine to check for that condition.
2007-07-25 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.c (xtensa_extui_opcode): New.
(xg_expand_assembly_insn): Check for invalid extui operands.
(md_begin): Initialize xtensa_extui_opcode.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-extui-check.patch
Type: application/octet-stream
Size: 1949 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20070725/8df0c98b/attachment.obj>
More information about the Binutils
mailing list