mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
2000-06-18 Ulf Carlsson <ulfc@engr.sgi.com>
* elf_bfd.h (struct elf_backend_data): Add info argument to elf_backend_hide_symbol. (_bfd_elf_link_hash_hide_symbol): Likewise. * elf.c (_bfd_elf_link_hash_hide_symbol): Likewise. * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise. * elflink.h (elf_link_add_object_symbols): Likewise. (elf_link_assign_sym_version): Likewise.
This commit is contained in:
@ -1,3 +1,13 @@
|
||||
2000-06-18 Ulf Carlsson <ulfc@engr.sgi.com>
|
||||
|
||||
* elf_bfd.h (struct elf_backend_data): Add info argument to
|
||||
elf_backend_hide_symbol.
|
||||
(_bfd_elf_link_hash_hide_symbol): Likewise.
|
||||
* elf.c (_bfd_elf_link_hash_hide_symbol): Likewise.
|
||||
* elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise.
|
||||
* elflink.h (elf_link_add_object_symbols): Likewise.
|
||||
(elf_link_assign_sym_version): Likewise.
|
||||
|
||||
2000-06-18 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* coff-i386.c (coff_i386_reloc): Don't return in case of
|
||||
|
@ -601,7 +601,7 @@ struct elf_backend_data
|
||||
/* Modify any information related to dynamic linking such that the
|
||||
symbol is not exported. */
|
||||
void (*elf_backend_hide_symbol)
|
||||
PARAMS ((struct elf_link_hash_entry *));
|
||||
PARAMS ((struct bfd_link_info *, struct elf_link_hash_entry *));
|
||||
|
||||
/* The swapping table to use when dealing with ECOFF information.
|
||||
Used for the MIPS ELF .mdebug section. */
|
||||
@ -970,7 +970,7 @@ extern struct bfd_link_hash_table *_bfd_elf_link_hash_table_create
|
||||
extern void _bfd_elf_link_hash_copy_indirect
|
||||
PARAMS ((struct elf_link_hash_entry *, struct elf_link_hash_entry *));
|
||||
extern void _bfd_elf_link_hash_hide_symbol
|
||||
PARAMS ((struct elf_link_hash_entry *));
|
||||
PARAMS ((struct bfd_link_info *, struct elf_link_hash_entry *));
|
||||
extern boolean _bfd_elf_link_hash_table_init
|
||||
PARAMS ((struct elf_link_hash_table *, bfd *,
|
||||
struct bfd_hash_entry *(*) (struct bfd_hash_entry *,
|
||||
|
@ -954,7 +954,8 @@ _bfd_elf_link_hash_copy_indirect (dir, ind)
|
||||
}
|
||||
|
||||
void
|
||||
_bfd_elf_link_hash_hide_symbol(h)
|
||||
_bfd_elf_link_hash_hide_symbol(info, h)
|
||||
struct bfd_link_info *info ATTRIBUTE_UNUSED;
|
||||
struct elf_link_hash_entry *h;
|
||||
{
|
||||
h->elf_link_hash_flags &= ~ELF_LINK_HASH_NEEDS_PLT;
|
||||
|
@ -1307,7 +1307,8 @@ elf64_ia64_hash_copy_indirect (xdir, xind)
|
||||
}
|
||||
|
||||
static void
|
||||
elf64_ia64_hash_hide_symbol (xh)
|
||||
elf64_ia64_hash_hide_symbol (info, xh)
|
||||
struct bfd_link_info *info ATTRIBUTE_UNUSED;
|
||||
struct elf_link_hash_entry *xh;
|
||||
{
|
||||
struct elf64_ia64_link_hash_entry *h;
|
||||
|
@ -1860,7 +1860,7 @@ elf_link_add_object_symbols (abfd, info)
|
||||
case STV_INTERNAL:
|
||||
case STV_HIDDEN:
|
||||
h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
|
||||
(*bed->elf_backend_hide_symbol) (h);
|
||||
(*bed->elf_backend_hide_symbol) (info, h);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -3707,7 +3707,7 @@ elf_link_assign_sym_version (h, data)
|
||||
&& ! sinfo->export_dynamic)
|
||||
{
|
||||
h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
|
||||
(*bed->elf_backend_hide_symbol) (h);
|
||||
(*bed->elf_backend_hide_symbol) (info, h);
|
||||
/* FIXME: The name of the symbol has
|
||||
already been recorded in the dynamic
|
||||
string table section. */
|
||||
@ -3819,7 +3819,7 @@ elf_link_assign_sym_version (h, data)
|
||||
&& ! sinfo->export_dynamic)
|
||||
{
|
||||
h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
|
||||
(*bed->elf_backend_hide_symbol) (h);
|
||||
(*bed->elf_backend_hide_symbol) (info, h);
|
||||
/* FIXME: The name of the symbol has already
|
||||
been recorded in the dynamic string table
|
||||
section. */
|
||||
@ -3841,7 +3841,7 @@ elf_link_assign_sym_version (h, data)
|
||||
&& ! sinfo->export_dynamic)
|
||||
{
|
||||
h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
|
||||
(*bed->elf_backend_hide_symbol) (h);
|
||||
(*bed->elf_backend_hide_symbol) (info, h);
|
||||
/* FIXME: The name of the symbol has already been
|
||||
recorded in the dynamic string table section. */
|
||||
}
|
||||
|
Reference in New Issue
Block a user