Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/tests/lib/libc/arch/sh3 Pull up following revision(s) (re...



details:   https://anonhg.NetBSD.org/src/rev/504c5cf7f7e1
branches:  netbsd-8
changeset: 434149:504c5cf7f7e1
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Jul 25 02:06:10 2017 +0000

description:
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.

diffstat:

 tests/lib/libc/arch/sh3/return_one.S |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (19 lines):

diff -r 3e7cb6a8c57a -r 504c5cf7f7e1 tests/lib/libc/arch/sh3/return_one.S
--- a/tests/lib/libc/arch/sh3/return_one.S      Tue Jul 25 02:04:42 2017 +0000
+++ b/tests/lib/libc/arch/sh3/return_one.S      Tue Jul 25 02:06:10 2017 +0000
@@ -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:



Home | Main Index | Thread Index | Old Index