mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
* 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.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
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>
|
2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
* config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
|
* config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
|
||||||
|
@ -10863,7 +10863,7 @@ mips_need_elf_addend_fixup (fixP)
|
|||||||
return 1;
|
return 1;
|
||||||
if (mips_pic != EMBEDDED_PIC
|
if (mips_pic != EMBEDDED_PIC
|
||||||
&& (S_IS_WEAK (fixP->fx_addsy)
|
&& (S_IS_WEAK (fixP->fx_addsy)
|
||||||
|| S_IS_EXTERN (fixP->fx_addsy))
|
|| S_IS_EXTERNAL (fixP->fx_addsy))
|
||||||
&& !S_IS_COMMON (fixP->fx_addsy))
|
&& !S_IS_COMMON (fixP->fx_addsy))
|
||||||
return 1;
|
return 1;
|
||||||
if (symbol_used_in_reloc_p (fixP->fx_addsy)
|
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. */
|
/* A global or weak symbol is treated as external. */
|
||||||
&& (OUTPUT_FLAVOR != bfd_target_elf_flavour
|
&& (OUTPUT_FLAVOR != bfd_target_elf_flavour
|
||||||
|| (! S_IS_WEAK (sym)
|
|| (! S_IS_WEAK (sym)
|
||||||
&& (! S_IS_EXTERN (sym) || mips_pic == EMBEDDED_PIC)))
|
&& (! S_IS_EXTERNAL (sym)
|
||||||
|
|| mips_pic == EMBEDDED_PIC)))
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -12731,7 +12732,7 @@ mips_fix_adjustable (fixp)
|
|||||||
/* Prevent all adjustments to global symbols. */
|
/* Prevent all adjustments to global symbols. */
|
||||||
if (OUTPUT_FLAVOR == bfd_target_elf_flavour
|
if (OUTPUT_FLAVOR == bfd_target_elf_flavour
|
||||||
&& mips_pic != EMBEDDED_PIC
|
&& 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;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
if (fixp->fx_r_type == BFD_RELOC_MIPS16_JMP)
|
if (fixp->fx_r_type == BFD_RELOC_MIPS16_JMP)
|
||||||
|
Reference in New Issue
Block a user