From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9j1b-00057S-S8 for qemu-devel@nongnu.org; Wed, 05 May 2010 14:08:47 -0400 Received: from [140.186.70.92] (port=46876 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9j1O-00050q-CQ for qemu-devel@nongnu.org; Wed, 05 May 2010 14:08:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9j0k-0007Da-5K for qemu-devel@nongnu.org; Wed, 05 May 2010 14:07:55 -0400 Received: from are.twiddle.net ([75.149.56.221]:47556) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9j0j-0007DA-VZ for qemu-devel@nongnu.org; Wed, 05 May 2010 14:07:54 -0400 From: Richard Henderson Date: Wed, 5 May 2010 11:07:36 -0700 Message-Id: <1273082868-13675-1-git-send-email-rth@twiddle.net> In-Reply-To: References: Subject: [Qemu-devel] [PATCH 00/12] Cleanup linux-user/elfload.c, v2 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: paul@codesourcery.com Changes v1->v2: * Drop VDSO loading for the moment; let's concentrate on getting the basic elf loading in shape first. * Fix SH4-EB ELF_DATA definition * Re-base after pbrook's guest_base changes for the main executable. r~ Richard Henderson (12): 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: Define ELF_DATA generically. 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. elf.h | 44 ++ linux-user/elfload.c | 1789 ++++++++++++++++++++---------------------------- linux-user/linuxload.c | 17 +- linux-user/qemu.h | 7 +- 4 files changed, 793 insertions(+), 1064 deletions(-)