This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH RFA] fix generation of MIPS -membedded-pic jumps
- From: Eric Christopher <echristo at redhat dot com>
- To: cgd at broadcom dot com
- Cc: binutils at sources dot redhat dot com
- Date: 07 Feb 2002 17:24:27 -0800
- Subject: Re: [PATCH RFA] fix generation of MIPS -membedded-pic jumps
- References: <yov5zo2ku678.fsf@broadcom.com>
> 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.