mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-09 21:50:35 +00:00
Don't set unique_global for non-ELF hash link table.
2010-08-25 H.J. Lu <hongjiu.lu@intel.com> PR ld/11939 * elflink.c (elf_link_add_object_symbols): Don't set unique_global for non-ELF hash link table.
This commit is contained in:
parent
cd02d79dc8
commit
d64284fea7
@ -1,3 +1,9 @@
|
||||
2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/11939
|
||||
* elflink.c (elf_link_add_object_symbols): Don't set
|
||||
unique_global for non-ELF hash link table.
|
||||
|
||||
2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/11944
|
||||
|
@ -4191,7 +4191,8 @@ error_free_dyn:
|
||||
h = (struct elf_link_hash_entry *) h->root.u.i.link;
|
||||
|
||||
*sym_hash = h;
|
||||
h->unique_global = (flags & BSF_GNU_UNIQUE) != 0;
|
||||
if (is_elf_hash_table (htab))
|
||||
h->unique_global = (flags & BSF_GNU_UNIQUE) != 0;
|
||||
|
||||
new_weakdef = FALSE;
|
||||
if (dynamic
|
||||
|
Loading…
Reference in New Issue
Block a user