summary refs log tree commit diff stats
path: root/hw/loader.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-07-27 10:25:37 -0700
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-07-29 08:32:28 +0200
commit8e62a71738bcbefdbb76435d94be5d455b9ee192 (patch)
tree9a19fb25a9515d37e5544acca62ebde72bc79a0c /hw/loader.c
parentb9329d4b5321fbb4784b40bca490fe1446f2d839 (diff)
downloadfocaccia-qemu-8e62a71738bcbefdbb76435d94be5d455b9ee192.tar.gz
focaccia-qemu-8e62a71738bcbefdbb76435d94be5d455b9ee192.zip
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>
Diffstat (limited to 'hw/loader.c')
0 files changed, 0 insertions, 0 deletions