PR ld/11887

* ldlang.c (lang_add_vers_depend): Don't leave version_needed
	uninitialised.
This commit is contained in:
Alan Modra 2010-08-06 01:51:17 +00:00
parent 92d4d42efb
commit 1e0061d22e
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2010-08-06 Alan Modra <amodra@gmail.com>
PR ld/11887
* ldlang.c (lang_add_vers_depend): Don't leave version_needed
uninitialised.
2010-07-28 Alan Modra <amodra@gmail.com>
* ldexp.c (exp_print_tree): Print function-like binary nodes as

View File

@ -7611,6 +7611,7 @@ lang_add_vers_depend (struct bfd_elf_version_deps *list, const char *name)
einfo (_("%X%P: unable to find version dependency `%s'\n"), name);
ret->version_needed = NULL;
return ret;
}