From b8cd17d9c1a84054cbc3bd003180da7bf7f20159 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Thu, 8 Nov 2001 19:32:24 +0000 Subject: [PATCH] * config/tc-mips.c (mips_force_relocation): Remove duplicate code. --- gas/ChangeLog | 4 ++++ gas/config/tc-mips.c | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index d33b7c1185..8cd407ff7a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2001-11-08 Thiemo Seufer + + * config/tc-mips.c (mips_force_relocation): Remove duplicate code. + 2001-11-06 Thiemo Seufer * config/tc-mips.c (my_getSmallParser): Fix small parser bug. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 283e889e75..87b665ffbd 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) -- 2.11.0