mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
2002-02-15 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (md_estimate_size_before_relax): Really make sure we treat weak like extern only for ELF. (Fixes patch from 2001-07-25.)
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2002-02-15 Chris Demetriou <cgd@broadcom.com>
|
||||||
|
|
||||||
|
* config/tc-mips.c (md_estimate_size_before_relax): Really
|
||||||
|
make sure we treat weak like extern only for ELF. (Fixes
|
||||||
|
patch from 2001-07-25.)
|
||||||
|
|
||||||
2002-02-15 Ben Elliston <bje@redhat.com>
|
2002-02-15 Ben Elliston <bje@redhat.com>
|
||||||
|
|
||||||
* doc/as.texinfo: Add duplicate directory entry so that "info gas"
|
* doc/as.texinfo: Add duplicate directory entry so that "info gas"
|
||||||
|
@ -12194,8 +12194,8 @@ md_estimate_size_before_relax (fragp, segtype)
|
|||||||
&& !linkonce
|
&& !linkonce
|
||||||
#ifdef OBJ_ELF
|
#ifdef OBJ_ELF
|
||||||
/* 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_EXTERN (sym) || S_IS_WEAK (sym)))
|
|| (! S_IS_EXTERN (sym) && ! S_IS_WEAK (sym)))
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user