Module Name:    src
Committed By:   isaki
Date:           Sun Nov 25 04:07:00 UTC 2012

Modified Files:
        src/sys/arch/x68k/stand/libsa: putimage.S

Log Message:
Make the end of image address absolute-long.
It allows to locate the end of image higher than 0x10000.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/libsa/putimage.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x68k/stand/libsa/putimage.S
diff -u src/sys/arch/x68k/stand/libsa/putimage.S:1.4 src/sys/arch/x68k/stand/libsa/putimage.S:1.5
--- src/sys/arch/x68k/stand/libsa/putimage.S:1.4	Mon Feb 21 02:31:59 2011
+++ src/sys/arch/x68k/stand/libsa/putimage.S	Sun Nov 25 04:06:59 2012
@@ -1,7 +1,7 @@
 | file: putimage.S
 | author: ITOH Yasufumi
 |
-| $NetBSD: putimage.S,v 1.4 2011/02/21 02:31:59 itohy Exp $
+| $NetBSD: putimage.S,v 1.5 2012/11/25 04:06:59 isaki Exp $
 
 #include <machine/asm.h>
 #include "iocscall.h"
@@ -21,7 +21,7 @@ ENTRY_NOPROFILE(put_image)
 		movel	%a1@+,%a4@+
 
 		lea	%pc@(img_title),%a2
-		moveaw	%a2@+,%a3		| only the lower word is valid
+		moveal	%a2@+,%a3
 
 1:		tstb	%a2@+			| skip human readable comment
 		jne	1b
@@ -98,7 +98,7 @@ Lrxabort:	moveml	%sp@+,%d2-%d7/%a2-%a4
 		rts
 
 img_title:
-	.word	imgend1
+	.long	imgend1
 	| compressed image data
 
 	| BSD Daemon Image, used for NetBSD boot by permission.

Reply via email to