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]
Other format: [Raw text]

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



>  	  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.


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