[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 <magnus@valinux.co.jp> Cc: Daniel Jacobowitz <drow@false.org> Cc: Roland McGrath <roland@redhat.com> Cc: Jakub Jelinek <jakub@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
651971cb72
commit
386d9a7edd
@@ -330,8 +330,6 @@ struct old_linux32_dirent {
|
||||
void ia64_elf32_init(struct pt_regs *regs);
|
||||
#define ELF_PLAT_INIT(_r, load_addr) ia64_elf32_init(_r)
|
||||
|
||||
#define elf_addr_t u32
|
||||
|
||||
/* This macro yields a bitmask that programs can use to figure out
|
||||
what instruction set this CPU supports. */
|
||||
#define ELF_HWCAP 0
|
||||
|
Reference in New Issue
Block a user