aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ppc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r--gas/config/tc-ppc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 3b66929..f6ec614 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -4184,10 +4184,8 @@ md_apply_fix3 (fixp, valuep, seg)
case BFD_RELOC_32:
case BFD_RELOC_CTOR:
if (fixp->fx_pcrel)
- {
- fixp->fx_r_type = BFD_RELOC_32_PCREL;
- value += fixp->fx_frag->fr_address + fixp->fx_where;
- } /* fall through */
+ fixp->fx_r_type = BFD_RELOC_32_PCREL;
+ /* fall through */
case BFD_RELOC_RVA:
case BFD_RELOC_32_PCREL: