On 9/15/20 6:43 AM, Alex Bennée wrote: > On older kernels which don't implement MAP_FIXED_NOREPLACE the kernel > may still fail to give us the address we asked for despite having > already probed the map for a valid hole. Asserting isn't particularly > useful to the user so let us move the check up and expand the > error_report a little to give them a fighting chance of working around > the problem. > > Ameliorates: ee94743034 > Cc: Bug 1895080 <1895...@bugs.launchpad.net> > Signed-off-by: Alex Bennée <alex.ben...@linaro.org> > --- > linux-user/elfload.c | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~