Re: [Qemu-devel] [PATCH 11/12] linux-user: Extract load_elf_image from load_elf_interp.

2010-07-28 Thread Richard Henderson
On 07/28/2010 03:00 PM, Edgar E. Iglesias wrote: >> -NEW_AUX_ENT(AT_BASE, (abi_ulong)(interp_load_addr)); >> +NEW_AUX_ENT(AT_BASE, (abi_ulong)(interp_info->load_addr)); > > > Hi Richard, > > I think this part breaks loading of statically linked ELFs (no > interpreter). I beleive Linux se

Re: [Qemu-devel] [PATCH 11/12] linux-user: Extract load_elf_image from load_elf_interp.

2010-07-28 Thread Edgar E. Iglesias
On Tue, Jul 27, 2010 at 10:25:37AM -0700, Richard Henderson wrote: > Moving toward a single copy of the elf binary loading code. > Fill in the details of the loaded image into a struct image_info. > > Adjust create_elf_tables to read from such structures instead > of from a collection of passed ar

[Qemu-devel] [PATCH 11/12] linux-user: Extract load_elf_image from load_elf_interp.

2010-07-27 Thread Richard Henderson
Moving toward a single copy of the elf binary loading code. Fill in the details of the loaded image into a struct image_info. Adjust create_elf_tables to read from such structures instead of from a collection of passed arguments. Don't return error values from load_elf_interp; always exit(-1) wit

[Qemu-devel] [PATCH 11/12] linux-user: Extract load_elf_image from load_elf_interp.

2010-05-05 Thread Richard Henderson
Moving toward a single copy of the elf binary loading code. Fill in the details of the loaded image into a struct image_info. Adjust create_elf_tables to read from such structures instead of from a collection of passed arguments. Don't return error values from load_elf_interp; always exit(-1) wit