patch-2.4.23 linux-2.4.23/arch/ppc/boot/common/crt0.S

Next file: linux-2.4.23/arch/ppc/boot/common/util.S
Previous file: linux-2.4.23/arch/ppc/boot/Makefile
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/arch/ppc/boot/common/crt0.S linux-2.4.23/arch/ppc/boot/common/crt0.S
@@ -70,7 +70,7 @@
 	## Set up the stack
 
 	lis	r9,_start@h		# r9 = &_start (text section entry)
-	addi	r9,r9,_start@l
+	ori	r9,r9,_start@l
 	subi	r1,r9,64		# Start the stack 64 bytes below _start
 	clrrwi	r1,r1,4			# Make sure it is aligned on 16 bytes.
 	li	r0,0

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)