From 8d15c9d296a1779b2e204657228c8479522e90f4 Mon Sep 17 00:00:00 2001 From: dhewg Date: Fri, 17 Apr 2009 00:44:52 +0200 Subject: [PATCH] Changed an extern to prevent alignment problems --- powerpc_elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/powerpc_elf.c b/powerpc_elf.c index c655686..01737ab 100644 --- a/powerpc_elf.c +++ b/powerpc_elf.c @@ -32,11 +32,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include "memory.h" #include "string.h" -extern u8 __mem2_area_start; +extern u8 __mem2_area_start[]; #define PPC_MEM1_END (0x017fffff) #define PPC_MEM2_START (0x10000000) -#define PPC_MEM2_END ((u32) &__mem2_area_start) +#define PPC_MEM2_END ((u32) __mem2_area_start) #define PHDR_MAX 10