Use __u32 for elf_addr_t in <asm-powerpc/elf.h>, not u32. It's user-visible.
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 4 May 2006 11:39:12 +0000 (12:39 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 4 May 2006 11:39:12 +0000 (12:39 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/asm-powerpc/elf.h

index 790a69e473c4fb77f2c0fad2e3188b72bcadca38..99c18b71aa820a4648e9472914d93dc2dbaa076d 100644 (file)
@@ -129,7 +129,7 @@ typedef elf_greg_t32 elf_gregset_t32[ELF_NGREG];
   /* Assumption: ELF_ARCH == EM_PPC and ELF_CLASS == ELFCLASS32 */
   typedef elf_greg_t32 elf_greg_t;
   typedef elf_gregset_t32 elf_gregset_t;
-# define elf_addr_t u32
+# define elf_addr_t __u32
 #endif /* ELF_ARCH */
 
 /* Floating point registers */