[Xtensa] fix obscure assembler relaxation bug
Bob Wilson
bwilson@tensilica.com
Tue Feb 5 19:43:00 GMT 2008
I've committed this patch from Sterling Augustine to fix a relaxation bug in
GAS. The problem can't be reproduced with the default Xtensa processor
configuration, but I ran the testsuite to make sure the fix doesn't break
anything else. Apparently this bug has been latent for years, but it only
happens for unusual processor configurations.
--Bob
2008-02-05 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.c (relax_frag_immed): Change internal consistency
checks into assertions. When relaxation produces an operation that
does not fit in the current FLIX instruction, make sure that the
operation is relaxed as needed to account for being placed following
the current instruction.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-relax-wide.patch
Type: text/x-diff
Size: 3115 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20080205/bae0a4b2/attachment.bin>
More information about the Binutils
mailing list