Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/m68k/stdlib WEAK_ALIAS is always present
details: https://anonhg.NetBSD.org/src/rev/fc87fb41d282
branches: trunk
changeset: 787961:fc87fb41d282
user: matt <matt%NetBSD.org@localhost>
date: Tue Jul 16 21:48:32 2013 +0000
description:
WEAK_ALIAS is always present
Use END(func)
diffstat:
lib/libc/arch/m68k/stdlib/abs.S | 5 +++--
lib/libc/arch/m68k/stdlib/llabs.S | 12 ++++--------
2 files changed, 7 insertions(+), 10 deletions(-)
diffs (61 lines):
diff -r 846572c9f30c -r fc87fb41d282 lib/libc/arch/m68k/stdlib/abs.S
--- a/lib/libc/arch/m68k/stdlib/abs.S Tue Jul 16 21:46:42 2013 +0000
+++ b/lib/libc/arch/m68k/stdlib/abs.S Tue Jul 16 21:48:32 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: abs.S,v 1.7 2013/07/16 20:49:42 matt Exp $ */
+/* $NetBSD: abs.S,v 1.8 2013/07/16 21:48:32 matt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -39,7 +39,7 @@
#if 0
RCSID("from: @(#)abs.s 5.1 (Berkeley) 5/12/90")
#else
- RCSID("$NetBSD: abs.S,v 1.7 2013/07/16 20:49:42 matt Exp $")
+ RCSID("$NetBSD: abs.S,v 1.8 2013/07/16 21:48:32 matt Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
@@ -56,3 +56,4 @@
negl %d0
L1:
rts
+END(abs)
diff -r 846572c9f30c -r fc87fb41d282 lib/libc/arch/m68k/stdlib/llabs.S
--- a/lib/libc/arch/m68k/stdlib/llabs.S Tue Jul 16 21:46:42 2013 +0000
+++ b/lib/libc/arch/m68k/stdlib/llabs.S Tue Jul 16 21:48:32 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: llabs.S,v 1.5 2013/07/16 20:49:42 matt Exp $ */
+/* $NetBSD: llabs.S,v 1.6 2013/07/16 21:48:32 matt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -39,21 +39,16 @@
#if 0
RCSID("from: @(#)abs.s 5.1 (Berkeley) 5/12/90")
#else
- RCSID("$NetBSD: llabs.S,v 1.5 2013/07/16 20:49:42 matt Exp $")
+ RCSID("$NetBSD: llabs.S,v 1.6 2013/07/16 21:48:32 matt Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
-#ifdef WEAK_ALIAS
WEAK_ALIAS(llabs, _llabs)
WEAK_ALIAS(imaxabs, _llabs)
-#endif
+
/* llabs - long long int absolute value */
-#ifdef WEAK_ALIAS
ENTRY(_llabs)
-#else
-ENTRY(llabs)
-#endif
movl 8(%sp),%d1
movl 4(%sp),%d0
jge L1
@@ -61,3 +56,4 @@
negxl %d0
L1:
rts
+END(_llabs)
Home |
Main Index |
Thread Index |
Old Index