parent
6d125ce6b0
commit
746cae9654
@ -0,0 +1,12 @@
|
||||
--- binutils.orig/bfd/elflink.c 2024-01-25 11:04:09.991925976 +0000
|
||||
+++ binutils-2.35.2/bfd/elflink.c 2024-01-25 11:04:18.164921403 +0000
|
||||
@@ -4913,7 +4913,8 @@ elf_link_add_object_symbols (bfd *abfd,
|
||||
|| h->root.type == bfd_link_hash_warning)
|
||||
h = (struct elf_link_hash_entry *) h->root.u.i.link;
|
||||
|
||||
- if (elf_tdata (abfd)->verdef != NULL
|
||||
+ if (h->versioned != unversioned
|
||||
+ && elf_tdata (abfd)->verdef != NULL
|
||||
&& vernum > 1
|
||||
&& definition)
|
||||
h->verinfo.verdef = &elf_tdata (abfd)->verdef[vernum - 1];
|
Loading…
Reference in new issue