From: Milton Miller Date: Wed, 21 Mar 2007 15:02:53 +0000 (-0600) Subject: [POWERPC] bootwrapper: Allow platforms to call library zImage_start X-Git-Tag: v2.6.22-rc1~1109^2~137 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=160cc3ece727c5158facec9937c2a5b10013bae1;p=linux-2.6-omap-h63xx.git [POWERPC] bootwrapper: Allow platforms to call library zImage_start Some platforms might need to run some code before the zImage start, but could otherwise use the bss clear and relocation code. Export the start address strongly as zImage_start_lib. Signed-off-by: Milton Miller Acked-by: David Gibson Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/boot/crt0.S b/arch/powerpc/boot/crt0.S index 3dc8d8f7849..25ad7453531 100644 --- a/arch/powerpc/boot/crt0.S +++ b/arch/powerpc/boot/crt0.S @@ -19,6 +19,8 @@ _zimage_start_opd: .weak _zimage_start .globl _zimage_start _zimage_start: + .globl _zimage_start_lib +_zimage_start_lib: /* Work out the offset between the address we were linked at and the address where we're running. */ bl 1f