Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/i386/gen Adjust to not use ALTENTRY().



details:   https://anonhg.NetBSD.org/src/rev/2ed373aef495
branches:  trunk
changeset: 500630:2ed373aef495
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Thu Dec 14 20:17:32 2000 +0000

description:
Adjust to not use ALTENTRY().

diffstat:

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

diffs (54 lines):

diff -r d512388c9642 -r 2ed373aef495 lib/libc/arch/i386/gen/byte_swap_2.S
--- a/lib/libc/arch/i386/gen/byte_swap_2.S      Thu Dec 14 20:15:26 2000 +0000
+++ b/lib/libc/arch/i386/gen/byte_swap_2.S      Thu Dec 14 20:17:32 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: byte_swap_2.S,v 1.1 1999/01/15 13:31:17 bouyer Exp $   */
+/*     $NetBSD: byte_swap_2.S,v 1.2 2000/12/14 20:17:32 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:17 bouyer Exp $")
+       RCSID("$NetBSD: byte_swap_2.S,v 1.2 2000/12/14 20:17:32 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 d512388c9642 -r 2ed373aef495 lib/libc/arch/i386/gen/byte_swap_4.S
--- a/lib/libc/arch/i386/gen/byte_swap_4.S      Thu Dec 14 20:15:26 2000 +0000
+++ b/lib/libc/arch/i386/gen/byte_swap_4.S      Thu Dec 14 20:17:32 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: byte_swap_4.S,v 1.1 1999/01/15 13:31:17 bouyer Exp $   */
+/*     $NetBSD: byte_swap_4.S,v 1.2 2000/12/14 20:17:32 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:17 bouyer Exp $")
+       RCSID("$NetBSD: byte_swap_4.S,v 1.2 2000/12/14 20:17:32 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