Mon Nov 10 14:32:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't crash if a version dependency could not be found.
This commit is contained in:
parent
20d41979a9
commit
9793236cc3
2 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Nov 10 14:32:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||
|
||||
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't crash if
|
||||
a version dependency could not be found.
|
||||
|
||||
Tue Nov 4 12:05:56 1997 Klaus K"ampf <kkaempf@progis.de>
|
||||
|
||||
* configure.com: Get version info from configure.in
|
||||
|
|
|
@ -2542,6 +2542,13 @@ NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath,
|
|||
|
||||
for (n = t->deps; n != NULL; n = n->next)
|
||||
{
|
||||
if (n->version_needed == NULL)
|
||||
{
|
||||
/* This can happen if there was an error in the
|
||||
version script. */
|
||||
defaux.vda_name = 0;
|
||||
}
|
||||
else
|
||||
defaux.vda_name = n->version_needed->name_indx;
|
||||
if (n->next == NULL)
|
||||
defaux.vda_next = 0;
|
||||
|
|
Loading…
Reference in a new issue