[PATCH]: Fix pb in gas 68hc11 with bsr/bra
Alan Modra
amodra@bigpond.net.au
Sat Jul 28 20:47:00 GMT 2001
On Sat, Jul 28, 2001 at 09:33:11PM +0200, Stephane Carrez wrote:
> --- tc-m68hc11.c 2001/07/23 13:03:39 1.18
> +++ tc-m68hc11.c 2001/07/28 19:26:18
> @@ -2595,9 +2595,9 @@ md_estimate_size_before_relax (fragP, se
> necessary for the unresolved symbol address. */
> fragP->fr_opcode[0] = convert_branch (fragP->fr_opcode[0]);
>
> - fragP->fr_fix++;
> - fix_new (fragP, old_fr_fix - 1, 2, fragP->fr_symbol,
> + fix_new (fragP, fragP->fr_fix - 1, 2, fragP->fr_symbol,
> fragP->fr_offset, 0, BFD_RELOC_16);
> + fragP->fr_fix++;
> break;
>
> case STATE_CONDITIONAL_BRANCH:
I can't see that this does anything. Or am I just going senile?
Alan
More information about the Binutils
mailing list