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".
This commit is contained in:
tron 1999-02-07 11:36:17 +00:00
parent c9d036d796
commit ad302b9795

View File

@ -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;
}