DPRINTF the munmap

modified:   stub/src/i386-linux.elf-main.c
This commit is contained in:
John Reiser 2020-05-25 14:05:58 -07:00 committed by Markus F.X.J. Oberhumer
parent 2315bff280
commit 994da63b4d

View File

@ -685,6 +685,7 @@ do_xmap(int const fdi, Elf32_Ehdr const *const ehdr, Extent *const xi,
reloc = ehdr0;
}
v_brk = phdr0->p_memsz + ehdr0;
DPRINTF("do_xmap munmap [%%p, +%%x)\n", ehdr0, phdr0->p_memsz);
munmap((void *)ehdr0, phdr0->p_memsz);
}
else { // PT_INTERP