* elflink.h (bfd_elfNN_size_dynamic_sections): Verify that the
bed has a size_dynamic_sections routine before trying to use it.
This commit is contained in:
parent
11ac795258
commit
37b68f729c
@ -1,3 +1,8 @@
|
||||
Thu Sep 3 17:28:50 1998 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* elflink.h (bfd_elfNN_size_dynamic_sections): Verify that the
|
||||
bed has a size_dynamic_sections routine before trying to use it.
|
||||
|
||||
Mon Aug 31 14:49:22 1998 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* elf32-mips.c (elf_mips_gnu_vtentry_howto): Use
|
||||
|
@ -2380,7 +2380,8 @@ NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath,
|
||||
/* The backend must work out the sizes of all the other dynamic
|
||||
sections. */
|
||||
old_dynsymcount = elf_hash_table (info)->dynsymcount;
|
||||
if (! (*bed->elf_backend_size_dynamic_sections) (output_bfd, info))
|
||||
if (bed->elf_backend_size_dynamic_sections
|
||||
&& ! (*bed->elf_backend_size_dynamic_sections) (output_bfd, info))
|
||||
return false;
|
||||
|
||||
if (elf_hash_table (info)->dynamic_sections_created)
|
||||
|
Loading…
x
Reference in New Issue
Block a user