mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
2005-07-11 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (_bfd_elf_symbol_refs_local_p): Revert the last change.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2005-07-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* elflink.c (_bfd_elf_symbol_refs_local_p): Revert the last
|
||||
change.
|
||||
|
||||
2005-07-08 Paul Koning <pkoning@equallogic.com>
|
||||
|
||||
* dwarf2.c (read_address): Check sign_extend_vma to handle targets
|
||||
|
@ -2572,10 +2572,8 @@ _bfd_elf_symbol_refs_local_p (struct elf_link_hash_entry *h,
|
||||
if (ELF_COMMON_DEF_P (h))
|
||||
/* Do nothing. */;
|
||||
/* If we don't have a definition in a regular file, then we can't
|
||||
resolve locally unless it has non-default visibility . The sym
|
||||
is either undefined or dynamic. */
|
||||
else if (!h->def_regular
|
||||
&& ELF_ST_VISIBILITY (h->other) == STV_DEFAULT)
|
||||
resolve locally. The sym is either undefined or dynamic. */
|
||||
else if (!h->def_regular)
|
||||
return FALSE;
|
||||
|
||||
/* Forced local symbols resolve locally. */
|
||||
|
Reference in New Issue
Block a user