mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
* elflink.c (elf_gc_mark): Follow indirect and warning syms.
This commit is contained in:
parent
67ab9a76b5
commit
20f0a1ada4
@ -1,3 +1,7 @@
|
||||
2004-04-30 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elflink.c (elf_gc_mark): Follow indirect and warning syms.
|
||||
|
||||
2004-04-30 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* configure.in: Update version to 2.15.91.
|
||||
|
@ -8173,6 +8173,9 @@ elf_gc_mark (struct bfd_link_info *info,
|
||||
|| ELF_ST_BIND (isym[r_symndx].st_info) != STB_LOCAL)
|
||||
{
|
||||
h = sym_hashes[r_symndx - extsymoff];
|
||||
while (h->root.type == bfd_link_hash_indirect
|
||||
|| h->root.type == bfd_link_hash_warning)
|
||||
h = (struct elf_link_hash_entry *) h->root.u.i.link;
|
||||
rsec = (*gc_mark_hook) (sec, info, rel, h, NULL);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user