aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2001-11-08 19:32:24 +0000
committerThiemo Seufer <ths@networkno.de>2001-11-08 19:32:24 +0000
commitd993a84ec25a1a588ea2ec2f309d112a507c20dc (patch)
tree6d2ed173b35c42c326a931c0fe484367b02f21e8 /gas/config/tc-mips.c
parenteef747c0692b38e9c2a2b8aefeca7866926a31fa (diff)
downloadgdb-d993a84ec25a1a588ea2ec2f309d112a507c20dc.zip
gdb-d993a84ec25a1a588ea2ec2f309d112a507c20dc.tar.gz
gdb-d993a84ec25a1a588ea2ec2f309d112a507c20dc.tar.bz2
* config/tc-mips.c (mips_force_relocation): Remove duplicate code.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r--gas/config/tc-mips.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 283e889..87b665f 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -10149,13 +10149,6 @@ mips_force_relocation (fixp)
|| fixp->fx_r_type == BFD_RELOC_LO16))
return 1;
- if (HAVE_NEWABI
- && S_GET_SEGMENT (fixp->fx_addsy) == bfd_abs_section_ptr
- && (fixp->fx_r_type == BFD_RELOC_MIPS_SUB
- || fixp->fx_r_type == BFD_RELOC_HI16_S
- || fixp->fx_r_type == BFD_RELOC_LO16))
- return 1;
-
return (mips_pic == EMBEDDED_PIC
&& (fixp->fx_pcrel
|| SWITCH_TABLE (fixp)