This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH]: Fix pb in gas 68hc11 with bsr/bra
- To: Stephane Carrez <Stephane dot Carrez at worldnet dot fr>
- Subject: Re: [PATCH]: Fix pb in gas 68hc11 with bsr/bra
- From: Alan Modra <amodra at bigpond dot net dot au>
- Date: Sun, 29 Jul 2001 13:14:51 +0930
- Cc: binutils at sourceware dot cygnus dot com
- References: <3B631377.3162B2B6@worldnet.fr>
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