* opncls.c (_bfd_new_bfd_contained_in): Check return value of
_bfd_new_bfd.
This commit is contained in:
parent
13a393b0d3
commit
301e31397f
@ -1,3 +1,8 @@
|
||||
2002-05-04 Bob Byrnes <byrnes@curl.com>
|
||||
|
||||
* opncls.c (_bfd_new_bfd_contained_in): Check return value of
|
||||
_bfd_new_bfd.
|
||||
|
||||
2002-05-03 H.J. Lu (hjl@gnu.org)
|
||||
|
||||
* elfxx-mips.c (mips_elf_link_hash_entry): Add forced_local.
|
||||
|
@ -93,6 +93,8 @@ _bfd_new_bfd_contained_in (obfd)
|
||||
bfd *nbfd;
|
||||
|
||||
nbfd = _bfd_new_bfd ();
|
||||
if (nbfd == NULL)
|
||||
return NULL;
|
||||
nbfd->xvec = obfd->xvec;
|
||||
nbfd->my_archive = obfd;
|
||||
nbfd->direction = read_direction;
|
||||
|
Loading…
Reference in New Issue
Block a user