Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/arch/arm Make this real even though it isn't ...



details:   https://anonhg.NetBSD.org/src/rev/f3256463cf50
branches:  trunk
changeset: 326354:f3256463cf50
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jan 26 20:42:06 2014 +0000

description:
Make this real even though it isn't yet used.

diffstat:

 tests/lib/libc/arch/arm/return_one.S |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (20 lines):

diff -r ab8f8ad80c83 -r f3256463cf50 tests/lib/libc/arch/arm/return_one.S
--- a/tests/lib/libc/arch/arm/return_one.S      Sun Jan 26 20:12:32 2014 +0000
+++ b/tests/lib/libc/arch/arm/return_one.S      Sun Jan 26 20:42:06 2014 +0000
@@ -1,8 +1,11 @@
-/*     $NetBSD: return_one.S,v 1.1 2011/07/18 23:16:09 jym Exp $ */
+/*     $NetBSD: return_one.S,v 1.2 2014/01/26 20:42:06 matt Exp $ */
 
 #include <machine/asm.h>
 
-.globl return_one, return_one_end;
-
-return_one: return_one_end:
-       nop
+ENTRY_NP(return_one)
+       mov     r0, #1
+       RET
+       .align  0
+       .globl  return_one_end
+return_one_end:
+END(return_one)



Home | Main Index | Thread Index | Old Index