Re: [PATCH v8 17/17] linux-user: Use zero_bss for PT_LOAD with no file contents too

2023-08-04 Thread Helge Deller
* Richard Henderson : > If p_filesz == 0, then vaddr_ef == vaddr. We can reuse the > code in zero_bss rather than incompletely duplicating it in > load_elf_image. > > Signed-off-by: Richard Henderson Reviewed-by: Helge Deller

Re: [PATCH v8 17/17] linux-user: Use zero_bss for PT_LOAD with no file contents too

2023-08-03 Thread Akihiko Odaki
On 2023/08/04 10:45, Richard Henderson wrote: If p_filesz == 0, then vaddr_ef == vaddr. We can reuse the code in zero_bss rather than incompletely duplicating it in load_elf_image. Signed-off-by: Richard Henderson Reviewed-by: Akihiko Odaki

[PATCH v8 17/17] linux-user: Use zero_bss for PT_LOAD with no file contents too

2023-08-03 Thread Richard Henderson
If p_filesz == 0, then vaddr_ef == vaddr. We can reuse the code in zero_bss rather than incompletely duplicating it in load_elf_image. Signed-off-by: Richard Henderson --- linux-user/elfload.c | 27 +++ 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/linux