loader: Don't warn for limited user address space on ARM64.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
André Hentschel 2017-10-20 21:14:52 +02:00 committed by Alexandre Julliard
parent 27e92e550c
commit 0ad8bb4ecf
1 changed files with 5 additions and 1 deletions

View File

@ -1326,7 +1326,11 @@ void* wld_start( void **stack )
MAP_FIXED | MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, -1, 0 ) == (void *)-1)
{
/* don't warn for low 64k */
if (preload_info[i].addr >= (void *)0x10000)
if (preload_info[i].addr >= (void *)0x10000
#ifdef __aarch64__
&& preload_info[i].addr < (void *)0x7fffffffff /* ARM64 address space might end here*/
#endif
)
wld_printf( "preloader: Warning: failed to reserve range %p-%p\n",
preload_info[i].addr, (char *)preload_info[i].addr + preload_info[i].size );
remove_preload_range( i );