summaryrefslogtreecommitdiff
path: root/gas/config/tc-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-03-02 13:24:01 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-03-02 13:24:01 +0000
commitfa3f3616117ae2677fe51c5fecc59899473f2e98 (patch)
tree85cf11a08ca0615913be5621266673af4e50455c /gas/config/tc-ppc.c
parent9914c763416d7a639d254d232f77576d17923234 (diff)
downloadbinutils-redhat-fa3f3616117ae2677fe51c5fecc59899473f2e98.tar.gz
* config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r--gas/config/tc-ppc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 6f0b717241..7dab69756b 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -5485,12 +5485,7 @@ ppc_fix_adjustable (fix)
&& fix->fx_r_type != BFD_RELOC_VTABLE_INHERIT
&& fix->fx_r_type != BFD_RELOC_VTABLE_ENTRY
&& !(fix->fx_r_type >= BFD_RELOC_PPC_TLS
- && fix->fx_r_type <= BFD_RELOC_PPC64_DTPREL16_HIGHESTA)
- && (fix->fx_pcrel
- || (fix->fx_subsy != NULL
- && (S_GET_SEGMENT (fix->fx_subsy)
- == S_GET_SEGMENT (fix->fx_addsy)))
- || S_IS_LOCAL (fix->fx_addsy)));
+ && fix->fx_r_type <= BFD_RELOC_PPC64_DTPREL16_HIGHESTA));
}
#endif