[patch - gas] MIPS: fix problem with mips16 delay branch optimization.

Richard Sandiford richard@codesourcery.com
Tue Sep 6 18:38:00 GMT 2005


David Ung <davidu@mips.com> writes:
>   else if (mips_opts.mips16
> 	   && ! ip->use_extend
> 	   && *reloc_type != BFD_RELOC_MIPS16_JMP)
>     {     
>       if ((pinfo & INSN_UNCOND_BRANCH_DELAY) == 0)
> 	/* Make sure there is enough room to swap this instruction with
> 	   a following jump instruction.  */
> 	frag_grow (6);
>       add_fixed_insn (ip);

Looks good to me, thanks.  [ And sorry again for not reading your earlier
message properly.  It couldn't really have been clearer.  I think I somehow
failed to read it all first time round. ;( ]

Richard



More information about the Binutils mailing list