summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authormatthias <matthias@NetBSD.org>1999-11-16 18:16:53 +0000
committermatthias <matthias@NetBSD.org>1999-11-16 18:16:53 +0000
commit87bb3a7b2bd5cf6f2be4c591d27790b8ea2b0b13 (patch)
treef4edc22def3d50518b553b11505e8675a9ef19d6 /sys
parent0e549049f7e66872541993acfc725e972054a145 (diff)
make this work again with -mrtd.
Diffstat (limited to 'sys')
-rw-r--r--sys/lib/libkern/arch/ns32k/strcat.S6
-rw-r--r--sys/lib/libkern/arch/ns32k/strncpy.S6
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/lib/libkern/arch/ns32k/strcat.S b/sys/lib/libkern/arch/ns32k/strcat.S
index c5a30091593..c53f81015e8 100644
--- a/sys/lib/libkern/arch/ns32k/strcat.S
+++ b/sys/lib/libkern/arch/ns32k/strcat.S
@@ -1,4 +1,4 @@
-/* $NetBSD: strcat.S,v 1.2 1998/04/03 22:59:30 matthias Exp $ */
+/* $NetBSD: strcat.S,v 1.3 1999/11/16 18:16:53 matthias Exp $ */
/*
* Written by Matthias Pfaller, 1996
@@ -8,7 +8,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
- RCSID("$NetBSD: strcat.S,v 1.2 1998/04/03 22:59:30 matthias Exp $")
+ RCSID("$NetBSD: strcat.S,v 1.3 1999/11/16 18:16:53 matthias Exp $")
#endif
/*
@@ -25,7 +25,9 @@ KENTRY(strcat, 8)
movd B_ARG1,0(sp)
movd r0,tos
bsr _strcpy
+#if !defined(MRTD)
adjspd -8
+#endif
movd B_ARG0,r0
exit []
ret ARGS
diff --git a/sys/lib/libkern/arch/ns32k/strncpy.S b/sys/lib/libkern/arch/ns32k/strncpy.S
index 5a4d5a95fcd..72abdf01767 100644
--- a/sys/lib/libkern/arch/ns32k/strncpy.S
+++ b/sys/lib/libkern/arch/ns32k/strncpy.S
@@ -1,4 +1,4 @@
-/* $NetBSD: strncpy.S,v 1.2 1998/04/03 22:59:30 matthias Exp $ */
+/* $NetBSD: strncpy.S,v 1.3 1999/11/16 18:16:53 matthias Exp $ */
/*
* Written by Matthias Pfaller, 1996
@@ -8,7 +8,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
- RCSID("$NetBSD: strncpy.S,v 1.2 1998/04/03 22:59:30 matthias Exp $")
+ RCSID("$NetBSD: strncpy.S,v 1.3 1999/11/16 18:16:53 matthias Exp $")
#endif
/*
@@ -28,7 +28,9 @@ KENTRY(strncpy, 12)
movd r0,tos
movd r2,tos
bsr _bzero
+#if !defined(MRTD)
adjspd -8
+#endif
0: movd B_ARG0,r0
exit [r4]
ret ARGS