Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libkern/arch ALTENTRY() must die.



details:   https://anonhg.NetBSD.org/src/rev/d8da62e71e72
branches:  trunk
changeset: 500643:d8da62e71e72
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Thu Dec 14 22:00:20 2000 +0000

description:
ALTENTRY() must die.

diffstat:

 sys/lib/libkern/arch/arm32/byte_swap_2.S |   9 +++++----
 sys/lib/libkern/arch/arm32/byte_swap_4.S |   9 +++++----
 sys/lib/libkern/arch/i386/byte_swap_2.S  |  11 ++++++-----
 sys/lib/libkern/arch/i386/byte_swap_4.S  |  11 ++++++-----
 4 files changed, 22 insertions(+), 18 deletions(-)

diffs (100 lines):

diff -r c31a0f3cdf46 -r d8da62e71e72 sys/lib/libkern/arch/arm32/byte_swap_2.S
--- a/sys/lib/libkern/arch/arm32/byte_swap_2.S  Thu Dec 14 21:29:51 2000 +0000
+++ b/sys/lib/libkern/arch/arm32/byte_swap_2.S  Thu Dec 14 22:00:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: byte_swap_2.S,v 1.4 2000/12/12 17:53:20 mycroft Exp $  */
+/*     $NetBSD: byte_swap_2.S,v 1.5 2000/12/14 22:00:20 mycroft Exp $  */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -38,9 +38,10 @@
 
 #include <machine/asm.h>
 
-ENTRY(bswap16)
-ALTENTRY(ntohs)
-ALTENTRY(htons)
+_ENTRY(_C_LABEL(bswap16))
+_ENTRY(_C_LABEL(ntohs))
+_ENTRY(_C_LABEL(htons))
+_PROF_PROLOGUE
        and             r1, r0, #0xFF00
        mov             r0, r0, lsl #8
        orr             r0, r0, r1, lsr #8
diff -r c31a0f3cdf46 -r d8da62e71e72 sys/lib/libkern/arch/arm32/byte_swap_4.S
--- a/sys/lib/libkern/arch/arm32/byte_swap_4.S  Thu Dec 14 21:29:51 2000 +0000
+++ b/sys/lib/libkern/arch/arm32/byte_swap_4.S  Thu Dec 14 22:00:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: byte_swap_4.S,v 1.3 2000/12/12 17:53:20 mycroft Exp $  */
+/*     $NetBSD: byte_swap_4.S,v 1.4 2000/12/14 22:00:20 mycroft Exp $  */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -38,9 +38,10 @@
 
 #include <machine/asm.h>
 
-ENTRY(bswap32)
-ALTENTRY(ntohl)
-ALTENTRY(htonl)
+_ENTRY(_C_LABEL(bswap32))
+_ENTRY(_C_LABEL(ntohl))
+_ENTRY(_C_LABEL(htonl))
+_PROF_PROLOGUE
        eor             r1, r0, r0, ror #16
        bic             r1, r1, #0x00FF0000
        mov             r0, r0, ror #8
diff -r c31a0f3cdf46 -r d8da62e71e72 sys/lib/libkern/arch/i386/byte_swap_2.S
--- a/sys/lib/libkern/arch/i386/byte_swap_2.S   Thu Dec 14 21:29:51 2000 +0000
+++ b/sys/lib/libkern/arch/i386/byte_swap_2.S   Thu Dec 14 22:00:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: byte_swap_2.S,v 1.1 1999/01/15 13:31:30 bouyer Exp $   */
+/*     $NetBSD: byte_swap_2.S,v 1.2 2000/12/14 22:00:20 mycroft Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,12 +40,13 @@
 
 #include <machine/asm.h>
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: byte_swap_2.S,v 1.1 1999/01/15 13:31:30 bouyer Exp $")
+       RCSID("$NetBSD: byte_swap_2.S,v 1.2 2000/12/14 22:00:20 mycroft Exp $")
 #endif
 
-ENTRY(bswap16)
-ALTENTRY(ntohs)
-ALTENTRY(htons)
+_ENTRY(_C_LABEL(bswap16))
+_ENTRY(_C_LABEL(ntohs))
+_ENTRY(_C_LABEL(htons))
+_PROF_PROLOGUE
        movzwl  4(%esp),%eax
        rorw    $8,%ax
        ret
diff -r c31a0f3cdf46 -r d8da62e71e72 sys/lib/libkern/arch/i386/byte_swap_4.S
--- a/sys/lib/libkern/arch/i386/byte_swap_4.S   Thu Dec 14 21:29:51 2000 +0000
+++ b/sys/lib/libkern/arch/i386/byte_swap_4.S   Thu Dec 14 22:00:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: byte_swap_4.S,v 1.1 1999/01/15 13:31:30 bouyer Exp $   */
+/*     $NetBSD: byte_swap_4.S,v 1.2 2000/12/14 22:00:20 mycroft Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,12 +40,13 @@
 
 #include <machine/asm.h>
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: byte_swap_4.S,v 1.1 1999/01/15 13:31:30 bouyer Exp $")
+       RCSID("$NetBSD: byte_swap_4.S,v 1.2 2000/12/14 22:00:20 mycroft Exp $")
 #endif
 
-ENTRY(bswap32)
-ALTENTRY(ntohl)
-ALTENTRY(htonl)
+_ENTRY(_C_LABEL(bswap32))
+_ENTRY(_C_LABEL(ntohl))
+_ENTRY(_C_LABEL(htonl))
+_PROF_PROLOGUE
        movl    4(%esp),%eax
        rorw    $8,%ax
        roll    $16,%eax



Home | Main Index | Thread Index | Old Index