Changes v1->v2 * Formatting bugs pointed out by malc.
r~ Richard Henderson (14): linux-user: Handle filesz < memsz for any PT_LOAD segment. Add more DT_* and AT_* constants to qemu's copy of elf.h. linux-user: Reindent elfload.c. linux-user: Reduce lseek+reads while loading elf files. linux-user: Fix ELF_DATA for Alpha. linux-user: Clean up byte-swapping in elfload.c. linux-user: Load symbols from the interpreter. linux-user: Improve consistency checking in elf headers. linux-user: Put the stack guard page at the top. linux-user: Remove partial support for a.out interpreters. linux-user: Extract load_elf_image from load_elf_interp. linux-user: Re-use load_elf_image for the main binary. linux-user: Build vdso for x64. linux-user: Load a VDSO for x86-64. Makefile | 3 +- elf.h | 44 ++ linux-user/elfload.c | 1686 +++++++++++++++++++++------------------------ linux-user/linuxload.c | 17 +- linux-user/qemu.h | 7 +- pc-bios/Makefile | 5 + pc-bios/vdso-linux-x64.S | 102 +++ pc-bios/vdso-linux-x64.ld | 81 +++ pc-bios/vdso-linux-x64.so | Bin 0 -> 7515 bytes 9 files changed, 1040 insertions(+), 905 deletions(-) create mode 100644 pc-bios/vdso-linux-x64.S create mode 100644 pc-bios/vdso-linux-x64.ld create mode 100755 pc-bios/vdso-linux-x64.so