You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
538 B
13 lines
538 B
11 months ago
|
--- 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];
|