diff options
author | Michael Meissner <gnu@the-meissners.org> | 1995-11-29 18:17:24 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1995-11-29 18:17:24 +0000 |
commit | 77fa4d98a80a87ae11ab99852efd3807b034c2fa (patch) | |
tree | aef318a4e6b47a502bca02575b188341acbc5e5c /gas/config | |
parent | 5d85ec2d4e2b5bcc6ea947aea6f28c410eeab8b9 (diff) | |
download | gdb-77fa4d98a80a87ae11ab99852efd3807b034c2fa.zip gdb-77fa4d98a80a87ae11ab99852efd3807b034c2fa.tar.gz gdb-77fa4d98a80a87ae11ab99852efd3807b034c2fa.tar.bz2 |
Fix -mrelocatable
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-ppc.c | 6 |
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: |