Patch boot/common/relocate.S to start kernel at 0x000c

Dale Farnsworth dale at farnsworth.org
Sat Mar 15 04:52:54 EST 2003


On Fri, Mar 14, 2003 at 11:43:17AM +0000, Gabriel Paubert wrote:
> On Thu, Mar 13, 2003 at 03:38:53PM -0700, Dale Farnsworth wrote:
> > -	li	r9,0x0000
> > +	li	r9,0x000c
> >  	mtlr	r9
> >  	blr
>
> Why not "ba 0x000c" instead? Just saves 8 bytes cheaply.
>
> 	Gabriel

Looks good to me.
I didn't consider it because I've never seen ba before. :-)

-Dale

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list