summaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-09 15:29:20 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-09 15:29:20 +0000
commit0f533160c7f7ccd1ae421d5bce3850a1a5400bc1 (patch)
tree51ae93ed5e3aacfbbdb93913cbc7c8d727a6cb05 /linux-user
parente163bca720425289b812e5e2c049e6139608c2ea (diff)
downloadqemu-0f533160c7f7ccd1ae421d5bce3850a1a5400bc1.tar.gz
removed unused code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@220 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/elfload.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 5186e55623..2afde77a88 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -17,13 +17,6 @@
#define ELF_START_MMAP 0x80000000
-typedef uint32_t elf_greg_t;
-
-#define ELF_NGREG (sizeof (struct target_pt_regs) / sizeof(elf_greg_t))
-typedef elf_greg_t elf_gregset_t[ELF_NGREG];
-
-typedef struct user_i387_struct elf_fpregset_t;
-
/*
* This is used to ensure we don't load something for the wrong architecture.
*/
@@ -758,7 +751,6 @@ static int load_elf_binary(struct linux_binprm * bprm, struct target_pt_regs * r
}
/* Now read in all of the header information */
-
elf_phdata = (struct elf_phdr *)malloc(elf_ex.e_phentsize*elf_ex.e_phnum);
if (elf_phdata == NULL) {
return -ENOMEM;