[PATCH RFA] fix generation of MIPS -membedded-pic jumps

Eric Christopher echristo@redhat.com
Thu Feb 7 17:28:00 GMT 2002
>  	  value -= symval;
> -	  if (value != 0 && ! fixP->fx_pcrel)
> +	  if (value != 0
> +	      && (! fixP->fx_pcrel || fixP->fx_r_type == BFD_RELOC_16_PCREL_S2))
>  	    {
>  	      /* In this case, the bfd_install_relocation routine will
>  		 incorrectly add the symbol value back in.  We just want

It seems odd that you've got a PCREL reloc with a fixup that's not
PCREL...

-eric

-- 
I will not use abbrev.



More information about the Binutils mailing list