Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
- Fix for default mtree style
- Update libelf
- Importing libexecinfo
- Resynchronize GCC, mpc, gmp, mpfr
- build.sh: Replace params with show-params.
This has been done as the make target has been renamed in the same
way, while a new target named params has been added. This new
target generates a file containing all the parameters, instead of
printing it on the console.
- Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
get getservbyport() out of the inner loop
Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: abs.S,v 1.6 2003/08/07 16:42:12 agc 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.6 2003/08/07 16:42:12 agc Exp $")
|
||||
RCSID("$NetBSD: abs.S,v 1.8 2013/07/16 21:48:32 matt Exp $")
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@@ -51,8 +51,9 @@ ENTRY_NOPROFILE(labs)
|
||||
/* abs - int absolute value */
|
||||
|
||||
ENTRY(abs)
|
||||
movl %sp@(4),%d0
|
||||
movl 4(%sp),%d0
|
||||
jge L1
|
||||
negl %d0
|
||||
L1:
|
||||
rts
|
||||
END(abs)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: llabs.S,v 1.4 2008/08/04 21:29:28 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,25 +39,21 @@
|
||||
#if 0
|
||||
RCSID("from: @(#)abs.s 5.1 (Berkeley) 5/12/90")
|
||||
#else
|
||||
RCSID("$NetBSD: llabs.S,v 1.4 2008/08/04 21:29:28 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 %sp@(8),%d1
|
||||
movl %sp@(4),%d0
|
||||
movl 8(%sp),%d1
|
||||
movl 4(%sp),%d0
|
||||
jge L1
|
||||
negl %d1
|
||||
negxl %d0
|
||||
L1:
|
||||
rts
|
||||
END(_llabs)
|
||||
|
||||
Reference in New Issue
Block a user