X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=bfd%2Farchive.c;h=dc0400d1cf6bbbe00ca86eb41e066755a04ac901;hb=fd3619828e94a24a92cddec42cbc0ab33352eeb4;hp=ef71e8a79632c0d4306c091ab3d40a2460fc1e58;hpb=89bdc77eabf5ede68322f6e47e003c1dc45b9ccb;p=binutils-gdb.git diff --git a/bfd/archive.c b/bfd/archive.c index ef71e8a7963..dc0400d1cf6 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -1013,7 +1013,7 @@ do_slurp_bsd_armap (bfd *abfd) /* FIXME, we should provide some way to free raw_ardata when we are done using the strings from it. For now, it seems to be allocated on an objalloc anyway... */ - bfd_has_map (abfd) = TRUE; + abfd->has_armap = TRUE; return TRUE; } @@ -1105,7 +1105,7 @@ do_slurp_coff_armap (bfd *abfd) /* Pad to an even boundary if you have to. */ ardata->first_file_filepos += (ardata->first_file_filepos) % 2; - bfd_has_map (abfd) = TRUE; + abfd->has_armap = TRUE; bfd_release (abfd, raw_armap); /* Check for a second archive header (as used by PE). */ @@ -1188,7 +1188,7 @@ bfd_slurp_armap (bfd *abfd) return do_slurp_bsd_armap (abfd); } - bfd_has_map (abfd) = FALSE; + abfd->has_armap = FALSE; return TRUE; }