Re: [PATCH v10 5/8] linux-user/elfload: Adjust iteration over phdr

2020-10-08 Thread Peter Maydell
On Fri, 2 Oct 2020 at 23:00, 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 > --- > linux-user/elfload.

Re: [PATCH v10 5/8] linux-user/elfload: Adjust iteration over phdr

2020-10-03 Thread Philippe Mathieu-Daudé
On 10/2/20 11:59 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 v10 5/8] linux-user/elfload: Adjust iteration over phdr

2020-10-02 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