Re: [PATCH v11 06/12] linux-user/elfload: Adjust iteration over phdr

2020-10-17 Thread Philippe Mathieu-Daudé
On 10/16/20 8:42 PM, Richard Henderson wrote: The second loop uses a loop induction variable, and the first does not. Transform the first to match the second, to simplify a following patch moving code between them. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé ---

[PATCH v11 06/12] linux-user/elfload: Adjust iteration over phdr

2020-10-16 Thread Richard Henderson
The second loop uses a loop induction variable, and the first does not. Transform the first to match the second, to simplify a following patch moving code between them. Signed-off-by: Richard Henderson --- linux-user/elfload.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff