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