Re: [Qemu-devel] [RFC PATCH] elfload: load PIE executables to right address

2013-07-04 Thread Timo Teras
On Thu, 4 Jul 2013 16:01:23 +0300 Timo Teräs wrote: > PIE images are ET_DYN images. Check first for pinterp_name to make > sure the main executable always is loaded to correct place. > > See below for current behaviour of PIE executables: > > Reserved 0x7f00 bytes of guest address space >

[Qemu-devel] [RFC PATCH] elfload: load PIE executables to right address

2013-07-04 Thread Timo Teräs
PIE images are ET_DYN images. Check first for pinterp_name to make sure the main executable always is loaded to correct place. See below for current behaviour of PIE executables: Reserved 0x7f00 bytes of guest address space host mmap_min_addr=0x1000 guest_base 0x7f7cb41d5000 startend