path: root/fs/binfmt_elf.c
diff options
authorMagnus Damm <>2006-12-06 20:37:53 -0800
committerLinus Torvalds <>2006-12-07 08:39:38 -0800
commit386d9a7edd9f3492c99124b0a659e9ed7abb30f9 (patch)
tree6b7f05e1b023f12b113845c23af9a3ba263fef99 /fs/binfmt_elf.c
parent651971cb7242e8f6d7ebd153e69bd271cb731223 (diff)
[PATCH] elf: Always define elf_addr_t in linux/elf.h
Define elf_addr_t in linux/elf.h. The size of the type is determined using ELF_CLASS. This allows us to remove the defines that today are spread all over .c and .h files. Signed-off-by: Magnus Damm <> Cc: Daniel Jacobowitz <> Cc: Roland McGrath <> Cc: Jakub Jelinek <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'fs/binfmt_elf.c')
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index 68e20d5bfe1..14ea630a857 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -47,10 +47,6 @@ static int load_elf_binary(struct linux_binprm *bprm, struct pt_regs *regs);
static int load_elf_library(struct file *);
static unsigned long elf_map (struct file *, unsigned long, struct elf_phdr *, int, int);
-#ifndef elf_addr_t
-#define elf_addr_t unsigned long
* If we don't support core dumping, then supply a NULL so we
* don't even try.