From: Dave Brolley Date: Thu, 26 Nov 1998 16:25:34 +0000 (+0000) Subject: Thu Nov 26 11:23:48 1998 Dave Brolley X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46530d767a7a6febf8479b3e9d83b844ac848ed1;p=binutils-gdb.git Thu Nov 26 11:23:48 1998 Dave Brolley * config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation of pcrel point. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --- diff --git a/gas/config/tc-fr30.c b/gas/config/tc-fr30.c index 74997fb8f9f..9925e9d40a2 100644 --- a/gas/config/tc-fr30.c +++ b/gas/config/tc-fr30.c @@ -424,7 +424,7 @@ md_pcrel_from_section (fixP, sec) return 0; } - return (fixP->fx_frag->fr_address + fixP->fx_where + 2) & ~1; + return (fixP->fx_frag->fr_address + fixP->fx_where) & ~1; } /* Return the bfd reloc type for OPERAND of INSN at fixup FIXP.