fix Xtensa GAS problem with multi-slot instructions

Bob Wilson bwilson@tensilica.com
Fri Nov 5 17:26:00 GMT 2004


This patch fixes a problem in the Xtensa port of GAS that only shows up with 
multi-slot instructions.  For relaxation, the code had been looking at expansion 
associated only with the first slot of each instruction, but other slots may 
also cause expansion.

Tested with an xtensa-elf target.  Committed on the mainline.


2004-11-05  Sterling Augustine  <sterling@tensilica.com>

         * config/tc-xtensa.c (total_frag_text_expansion): New.
         (md_estimate_size_before_relax): Use it.
         (find_address_of_next_align_frag): Likewise.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gas-frag-exp.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20041105/0e4b42a4/attachment.ksh>


More information about the Binutils mailing list