This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Xtensa] add extra check in GAS


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.

Attachment: gas-extui-check.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]