X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fopncls.c;h=f59786c3f48520c8647fa98ffd303959c868388a;hb=ec892a0718dc47c2d009532865c353daa749eaa1;hp=404b94422a8e5ef1ef3a576778df6fcb0f695174;hpb=db6b071a97893d5c7bf34e7fb171a0b710ea736d;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/opncls.c b/bfd/opncls.c index 404b94422a..f59786c3f4 100644 --- a/bfd/opncls.c +++ b/bfd/opncls.c @@ -1,5 +1,5 @@ /* opncls.c -- open and close a BFD. - Copyright (C) 1990-2014 Free Software Foundation, Inc. + Copyright (C) 1990-2015 Free Software Foundation, Inc. Written by Cygnus Support. @@ -109,6 +109,8 @@ _bfd_new_bfd_contained_in (bfd *obfd) nbfd->my_archive = obfd; nbfd->direction = read_direction; nbfd->target_defaulted = obfd->target_defaulted; + nbfd->lto_output = obfd->lto_output; + nbfd->no_export = obfd->no_export; return nbfd; } @@ -1376,7 +1378,7 @@ find_separate_debug_file (bfd * abfd, } base = get_func (abfd, & crc32); - + if (base == NULL) return NULL;