]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] elf: Always define elf_addr_t in linux/elf.h
authorMagnus Damm <magnus@valinux.co.jp>
Thu, 7 Dec 2006 04:37:53 +0000 (20:37 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:38 +0000 (08:39 -0800)
commit386d9a7edd9f3492c99124b0a659e9ed7abb30f9
tree6b7f05e1b023f12b113845c23af9a3ba263fef99
parent651971cb7242e8f6d7ebd153e69bd271cb731223
[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>
12 files changed:
arch/ia64/ia32/ia32priv.h
arch/mips/kernel/binfmt_elfn32.c
arch/mips/kernel/binfmt_elfo32.c
arch/mips/kernel/irixelf.c
arch/parisc/kernel/binfmt_elf32.c
arch/s390/kernel/binfmt_elf32.c
arch/sparc64/kernel/binfmt_elf32.c
arch/x86_64/ia32/ia32_binfmt.c
fs/binfmt_elf.c
fs/binfmt_elf_fdpic.c
include/asm-powerpc/elf.h
include/linux/elf.h