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:
parent
c9d036d796
commit
ad302b9795
1
gnu/dist/bfd/libbfd.c
vendored
1
gnu/dist/bfd/libbfd.c
vendored
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user