* elfxx-ia64.c (get_dyn_sym_info): Return NULL gracefully for

local symbols that have no dyninfo.
This commit is contained in:
Richard Henderson 2003-03-18 18:57:40 +00:00
parent 3371ccc06e
commit f86b235ae5
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-03-18 Richard Henderson <rth@redhat.com>
* elfxx-ia64.c (get_dyn_sym_info): Return NULL gracefully for
local symbols that have no dyninfo.
2003-03-14 Gene Smith <gene.smith@siemens.com> 2003-03-14 Gene Smith <gene.smith@siemens.com>
* ieee.c (ieee_write_expression): Handle the case where symbol is * ieee.c (ieee_write_expression): Handle the case where symbol is

View File

@ -1965,7 +1965,11 @@ get_dyn_sym_info (ia64_info, h, abfd, rel, create)
struct elfNN_ia64_local_hash_entry *loc_h; struct elfNN_ia64_local_hash_entry *loc_h;
loc_h = get_local_sym_hash (ia64_info, abfd, rel, create); loc_h = get_local_sym_hash (ia64_info, abfd, rel, create);
BFD_ASSERT (loc_h); if (!loc_h)
{
BFD_ASSERT (!create);
return NULL;
}
pp = &loc_h->info; pp = &loc_h->info;
} }