summaryrefslogtreecommitdiff
path: root/sys/lib/libkern
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-04 23:15:50 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-04 23:15:50 +0000
commitca1a6e7ca5ef171f3b806a228a42c2a3a0c38c19 (patch)
tree7bc456903f462acf344444f5f67334eb6ac2158b /sys/lib/libkern
parentcb300c39ded398032bf337325c27ce2934bd6b58 (diff)
export these from libc
Diffstat (limited to 'sys/lib/libkern')
-rw-r--r--sys/lib/libkern/arch/hppa/bcopy.m46
-rw-r--r--sys/lib/libkern/arch/hppa/strlcpy.S8
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/lib/libkern/arch/hppa/bcopy.m4 b/sys/lib/libkern/arch/hppa/bcopy.m4
index 2ef297aac2f..4524c346e5f 100644
--- a/sys/lib/libkern/arch/hppa/bcopy.m4
+++ b/sys/lib/libkern/arch/hppa/bcopy.m4
@@ -1,4 +1,4 @@
-define(_rcsid,``$OpenBSD: bcopy.m4,v 1.5 2000/07/02 01:08:05 mickey Exp $'')dnl
+define(_rcsid,``$OpenBSD: bcopy.m4,v 1.6 2001/06/04 23:15:49 mickey Exp $'')dnl
dnl
dnl
dnl This is the source file for bcopy.S, spcopy.S
@@ -205,7 +205,7 @@ ifelse(NAME, `bcopy',
.align 4
#endif
-ENTRY(memcpy)
+LEAF_ENTRY(memcpy)
ALTENTRY(memmove)
copy arg0, t1
copy arg1, arg0
@@ -239,7 +239,7 @@ ifelse(NAME, `spcopy',
*/
.import curproc, data
.import copy_on_fault, code
-ENTRY(spcopy)
+LEAF_ENTRY(spcopy)
ldw HPPA_FRAME_ARG(4)(sp), ret1
comb,>=,n r0, ret1, L(spcopy, ret)
`
diff --git a/sys/lib/libkern/arch/hppa/strlcpy.S b/sys/lib/libkern/arch/hppa/strlcpy.S
index f6271f2ccde..5429f3092e5 100644
--- a/sys/lib/libkern/arch/hppa/strlcpy.S
+++ b/sys/lib/libkern/arch/hppa/strlcpy.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: strlcpy.S,v 1.2 2001/03/28 18:20:45 mickey Exp $ */
+/* $OpenBSD: strlcpy.S,v 1.3 2001/06/04 23:15:49 mickey Exp $ */
/*
* Copyright (c) 1999-2001 Michael Shalayeff
@@ -30,11 +30,11 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <machine/asm.h>
+#include "DEFS.h"
#if defined(LIBC_SCCS)
.text
- .asciz "$OpenBSD: strlcpy.S,v 1.2 2001/03/28 18:20:45 mickey Exp $"
+ .asciz "$OpenBSD: strlcpy.S,v 1.3 2001/06/04 23:15:49 mickey Exp $"
.align 4
#endif
@@ -42,7 +42,7 @@
*
* it will never be a string of 2^32, so we assume 2^31 as a max size
*/
-ENTRY(strlcpy)
+LEAF_ENTRY(strlcpy)
addi 1, arg1, ret0
subi 1, arg2, t2