Module Name:    src
Committed By:   snj
Date:           Tue Jul 25 02:06:10 UTC 2017

Modified Files:
        src/tests/lib/libc/arch/sh3 [netbsd-8]: return_one.S

Log Message:
Pull up following revision(s) (requested by uwe in ticket #148):
        tests/lib/libc/arch/sh3/return_one.S: revision 1.2
Don't execute random garbage.  Fixes mprotect_mremap_exec test.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.1.34.1 src/tests/lib/libc/arch/sh3/return_one.S

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

Modified files:

Index: src/tests/lib/libc/arch/sh3/return_one.S
diff -u src/tests/lib/libc/arch/sh3/return_one.S:1.1 src/tests/lib/libc/arch/sh3/return_one.S:1.1.34.1
--- src/tests/lib/libc/arch/sh3/return_one.S:1.1	Mon Jul 18 23:16:10 2011
+++ src/tests/lib/libc/arch/sh3/return_one.S	Tue Jul 25 02:06:10 2017
@@ -1,8 +1,10 @@
-/*	$NetBSD: return_one.S,v 1.1 2011/07/18 23:16:10 jym Exp $ */
+/*	$NetBSD: return_one.S,v 1.1.34.1 2017/07/25 02:06:10 snj Exp $ */
 
 #include <machine/asm.h>
 
-.globl	return_one, return_one_end;
-
-return_one: return_one_end:
-	nop
+NENTRY(return_one)
+	rts
+	 mov	#1, r0
+	SET_ENTRY_SIZE(return_one)
+	.globl	return_one_end
+return_one_end:

Reply via email to