]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: Extract load_elf_image from load_elf_interp.
authorRichard Henderson <rth@twiddle.net>
Tue, 27 Jul 2010 17:25:37 +0000 (10:25 -0700)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Thu, 29 Jul 2010 06:32:28 +0000 (08:32 +0200)
commit8e62a71738bcbefdbb76435d94be5d455b9ee192
tree9a19fb25a9515d37e5544acca62ebde72bc79a0c
parentb9329d4b5321fbb4784b40bca490fe1446f2d839
linux-user: Extract load_elf_image from load_elf_interp.

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) with a message to
stderr.  Collect elf_interpreter handling in load_elf_binary
to a common spot.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
linux-user/elfload.c