Re: [PATCH 4/8] tools: prelink-riscv: Unmap the ELF image when done

7 Apr
2023
7 Apr
'23
8:29 a.m.
From: Bin Meng bmeng@tinylab.org Sent: Thursday, March 30, 2023 12:20 PM To: u-boot@lists.denx.de Cc: Leo Yu-Chi Liang(梁育齊) ycliang@andestech.com; Rick Jian-Zhi Chen(陳建志) rick@andestech.com Subject: [PATCH 4/8] tools: prelink-riscv: Unmap the ELF image when done
The codes forget to call munmap() to unmap the ELF image that was mapped by previous mmap().
Signed-off-by: Bin Meng bmeng@tinylab.org
tools/prelink-riscv.c | 2 ++ 1 file changed, 2 insertions(+)
Reviewed-by: Rick Chen rick@andestech.com
762
Age (days ago)
762
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rick Chen