From ad302b9795f7abed09000b35354e84da0f5c84b6 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 7 Feb 1999 11:36:17 +0000 Subject: [PATCH] Fix a bug in internal resource tracking so that memory map segments really get unmapped when they are no longer required. This should stop "nm" from filling up the kernel's vnode table while building "libc.a". --- gnu/dist/bfd/libbfd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/dist/bfd/libbfd.c b/gnu/dist/bfd/libbfd.c index 042bdeeabdd1..7345dd83b019 100644 --- a/gnu/dist/bfd/libbfd.c +++ b/gnu/dist/bfd/libbfd.c @@ -455,6 +455,7 @@ bfd_get_file_window (abfd, offset, size, windowp, writable) i->size = real_size; windowp->data = (PTR) ((bfd_byte *) i->data + offset2); windowp->size = size; + i->refcount = 1; i->mapped = 1; return true; }