Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpthread/arch/arm NetBSD/acorn26 has used APCS-32 for ...
details: https://anonhg.NetBSD.org/src/rev/996f81cdaf4e
branches: trunk
changeset: 545270:996f81cdaf4e
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Sat Apr 05 23:15:10 2003 +0000
description:
NetBSD/acorn26 has used APCS-32 for years, so unifdef -U__APCS_26__.
diffstat:
lib/libpthread/arch/arm/_context_u.S | 6 +-----
lib/libpthread/arch/arm/pthread_switch.S | 10 +---------
2 files changed, 2 insertions(+), 14 deletions(-)
diffs (51 lines):
diff -r 7bfc4f6d687f -r 996f81cdaf4e lib/libpthread/arch/arm/_context_u.S
--- a/lib/libpthread/arch/arm/_context_u.S Sat Apr 05 23:09:58 2003 +0000
+++ b/lib/libpthread/arch/arm/_context_u.S Sat Apr 05 23:15:10 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: _context_u.S,v 1.2 2003/01/18 10:34:18 thorpej Exp $ */
+/* $NetBSD: _context_u.S,v 1.3 2003/04/05 23:15:10 bjh21 Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -123,11 +123,7 @@
ENTRY(_getcontext_u)
GETC(r0)
mov r0, #0x00000000
-#ifdef __APCS_26__
- movs pc, lr
-#else
mov pc, lr
-#endif
ENTRY(_setcontext_u)
SETC(r0)
diff -r 7bfc4f6d687f -r 996f81cdaf4e lib/libpthread/arch/arm/pthread_switch.S
--- a/lib/libpthread/arch/arm/pthread_switch.S Sat Apr 05 23:09:58 2003 +0000
+++ b/lib/libpthread/arch/arm/pthread_switch.S Sat Apr 05 23:15:10 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_switch.S,v 1.2 2003/01/18 10:34:18 thorpej Exp $ */
+/* $NetBSD: pthread_switch.S,v 1.3 2003/04/05 23:15:11 bjh21 Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -135,11 +135,7 @@
add sp, sp, #12 /* skip over r0-r2 */
ldmfd sp!, {r4-r5, lr} /* restore r4-r5, lr */
add sp, sp, #(RND_CTXSIZE) /* pop ucontext_t */
-#ifdef __APCS_26__
- movs pc, lr
-#else
mov pc, lr
-#endif
/*
* Helper routine; r0 = from, r1 = to, r2 = decr-spinlocks (boolean)
@@ -403,8 +399,4 @@
add sp, sp, #12 /* skip over r0-r2 */
ldmfd sp!, {r4-r5, lr} /* restore r4-r5, lr */
add sp, sp, #(RND_CTXSIZE) /* pop ucontext_t */
-#ifdef __APCS_26__
- movs pc, lr
-#else
mov pc, lr
-#endif
Home |
Main Index |
Thread Index |
Old Index