diff -urN yaboot-1.3.13.org/second/yaboot.c yaboot-1.3.13/second/yaboot.c --- yaboot-1.3.13.org/second/yaboot.c 2002-09-15 05:11:44.000000000 +0200 +++ yaboot-1.3.13/second/yaboot.c 2006-05-15 15:52:11.256886135 +0200 @@ -72,6 +72,7 @@ * the ELF header). */ #define KERNEL_LINK_ADDR_PPC32 0xC0000000UL +#define KERNEL_LINK_ADDR_1G_PPC32 0x80000000UL /* Addr used with ENABLE_FULL_1G kernel hack */ #define KERNEL_LINK_ADDR_PPC64 0xC000000000000000ULL typedef struct { @@ -1156,7 +1157,7 @@ * other binary image (eg, zImage). We load vmlinux's at * KERNELADDR and all other binaries at their e_entry value. */ - if (e->e_entry == KERNEL_LINK_ADDR_PPC32) { + if (e->e_entry == KERNEL_LINK_ADDR_PPC32 || e->e_entry == KERNEL_LINK_ADDR_1G_PPC32) { flat_vmlinux = 1; loadaddr = KERNELADDR; } else {