[Xtensa] fix GAS bug aligning loops with wide branches

Bob Wilson bwilson@tensilica.com
Tue Dec 11 21:55:00 GMT 2007


This patch from Sterling Augustine fixes some problems with wide branches inside 
loops.  It also renames some variables for clarity.  I have committed it.

2007-12-11  Sterling Augustine  <sterling@tensilica.com>
	    Bob Wilson  <bob.wilson@acm.org>
	
	* config/tc-xtensa.c (frag_format_size): Handle frags that expand to
	wide branches.
	(get_aligned_diff): For RELAX_ALIGN_NEXT_OPCODE, skip to the next
	non-empty frag to find the LOOP instruction.  Change comma typo to
	a semicolon.
	(relax_frag_immed, convert_frag_immed): Rename wide_insn variable to
	from_widen_insn.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-wide-insn.patch
Type: text/x-diff
Size: 5697 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20071211/e94cc7ef/attachment.bin>


More information about the Binutils mailing list