aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2002-07-19 21:30:26 +0000
committerThiemo Seufer <ths@networkno.de>2002-07-19 21:30:26 +0000
commitbad9ca53db89e2390fd03169301dda36252fd899 (patch)
tree26af365bcb8f994112864d61911047839ea63321 /gas
parenta37de3d3ffe49a03a47d6c0951ed35ab181f2d69 (diff)
downloadgdb-bad9ca53db89e2390fd03169301dda36252fd899.zip
gdb-bad9ca53db89e2390fd03169301dda36252fd899.tar.gz
gdb-bad9ca53db89e2390fd03169301dda36252fd899.tar.bz2
* config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
instead of S_IS_EXTERN. (md_estimate_size_before_relax): Likewise. (mips_fix_adjustable): Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/config/tc-mips.c7
2 files changed, 11 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 23aa3aa..11ff145 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,12 @@
2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+ * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
+ instead of S_IS_EXTERN.
+ (md_estimate_size_before_relax): Likewise.
+ (mips_fix_adjustable): Likewise.
+
+2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
* config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
2002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz>
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 958dcc4..2ed32d9 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -10863,7 +10863,7 @@ mips_need_elf_addend_fixup (fixP)
return 1;
if (mips_pic != EMBEDDED_PIC
&& (S_IS_WEAK (fixP->fx_addsy)
- || S_IS_EXTERN (fixP->fx_addsy))
+ || S_IS_EXTERNAL (fixP->fx_addsy))
&& !S_IS_COMMON (fixP->fx_addsy))
return 1;
if (symbol_used_in_reloc_p (fixP->fx_addsy)
@@ -12689,7 +12689,8 @@ md_estimate_size_before_relax (fragp, segtype)
/* A global or weak symbol is treated as external. */
&& (OUTPUT_FLAVOR != bfd_target_elf_flavour
|| (! S_IS_WEAK (sym)
- && (! S_IS_EXTERN (sym) || mips_pic == EMBEDDED_PIC)))
+ && (! S_IS_EXTERNAL (sym)
+ || mips_pic == EMBEDDED_PIC)))
#endif
);
}
@@ -12731,7 +12732,7 @@ mips_fix_adjustable (fixp)
/* Prevent all adjustments to global symbols. */
if (OUTPUT_FLAVOR == bfd_target_elf_flavour
&& mips_pic != EMBEDDED_PIC
- && (S_IS_EXTERN (fixp->fx_addsy) || S_IS_WEAK (fixp->fx_addsy)))
+ && (S_IS_EXTERNAL (fixp->fx_addsy) || S_IS_WEAK (fixp->fx_addsy)))
return 0;
#endif
if (fixp->fx_r_type == BFD_RELOC_MIPS16_JMP)