This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH]: Fix pb in gas 68hc11 with bsr/bra


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]