preloader: Silence the warning for the low 64k.

This commit is contained in:
Alexandre Julliard 2008-05-05 17:19:24 +02:00
parent dffab36e8b
commit 7a4d575029
1 changed files with 4 additions and 2 deletions

View File

@ -1084,6 +1084,8 @@ void* wld_start( void **stack )
if (wld_mmap( preload_info[i].addr, preload_info[i].size, PROT_NONE, if (wld_mmap( preload_info[i].addr, preload_info[i].size, PROT_NONE,
MAP_FIXED | MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, -1, 0 ) == (void *)-1) 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)
wld_printf( "preloader: Warning: failed to reserve range %p-%p\n", wld_printf( "preloader: Warning: failed to reserve range %p-%p\n",
preload_info[i].addr, (char *)preload_info[i].addr + preload_info[i].size ); preload_info[i].addr, (char *)preload_info[i].addr + preload_info[i].size );
remove_preload_range( i ); remove_preload_range( i );