Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/arm26/gen Sync with arm32.



details:   https://anonhg.NetBSD.org/src/rev/dd7359afc34f
branches:  trunk
changeset: 500621:dd7359afc34f
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Thu Dec 14 19:27:34 2000 +0000

description:
Sync with arm32.

diffstat:

 lib/libc/arch/arm26/gen/byte_swap_2.S |  10 ++++------
 lib/libc/arch/arm26/gen/byte_swap_4.S |  10 ++++------
 2 files changed, 8 insertions(+), 12 deletions(-)

diffs (48 lines):

diff -r f905d1310f5e -r dd7359afc34f lib/libc/arch/arm26/gen/byte_swap_2.S
--- a/lib/libc/arch/arm26/gen/byte_swap_2.S     Thu Dec 14 19:22:39 2000 +0000
+++ b/lib/libc/arch/arm26/gen/byte_swap_2.S     Thu Dec 14 19:27:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: byte_swap_2.S,v 1.2 2000/08/22 12:24:17 joda Exp $     */
+/*     $NetBSD: byte_swap_2.S,v 1.3 2000/12/14 19:27:34 bjh21 Exp $    */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -38,11 +38,9 @@
 
 #include <machine/asm.h>
 
-_BEGIN_ENTRY;
-_ENTRY(_C_FUNC(__bswap16));
-_ENTRY(_C_FUNC(ntohs));
-_ENTRY(_C_FUNC(htons));
-_END_ENTRY
+ENTRY(__bswap16)
+ALTENTRY(ntohs)
+ALTENTRY(htons)
        and             r1, r0, #0xFF00
        mov             r0, r0, lsl #8
        orr             r0, r0, r1, lsr #8
diff -r f905d1310f5e -r dd7359afc34f lib/libc/arch/arm26/gen/byte_swap_4.S
--- a/lib/libc/arch/arm26/gen/byte_swap_4.S     Thu Dec 14 19:22:39 2000 +0000
+++ b/lib/libc/arch/arm26/gen/byte_swap_4.S     Thu Dec 14 19:27:34 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: byte_swap_4.S,v 1.2 2000/08/22 12:24:17 joda Exp $     */
+/*     $NetBSD: byte_swap_4.S,v 1.3 2000/12/14 19:27:34 bjh21 Exp $    */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -38,11 +38,9 @@
 
 #include <machine/asm.h>
 
-_BEGIN_ENTRY;
-_ENTRY(_C_FUNC(__bswap32));
-_ENTRY(_C_FUNC(ntohl));
-_ENTRY(_C_FUNC(htonl));
-_END_ENTRY
+ENTRY(__bswap32)
+ALTENTRY(ntohl)
+ALTENTRY(htonl)
        eor             r1, r0, r0, ror #16
        bic             r1, r1, #0x00FF0000
        mov             r0, r0, ror #8



Home | Main Index | Thread Index | Old Index