make this work again with -mrtd.
This commit is contained in:
parent
0e549049f7
commit
87bb3a7b2b
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: strcat.S,v 1.4 1998/10/01 22:46:37 matthias Exp $ */
|
||||
/* $NetBSD: strcat.S,v 1.5 1999/11/16 18:17:39 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.4 1998/10/01 22:46:37 matthias Exp $")
|
||||
RCSID("$NetBSD: strcat.S,v 1.5 1999/11/16 18:17:39 matthias Exp $")
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -25,7 +25,9 @@ KENTRY(strcat, 8)
|
|||
movd B_ARG1,0(sp)
|
||||
movd r0,tos
|
||||
bsr _C_LABEL(strcpy)
|
||||
#if !defined(MRTD)
|
||||
adjspd -8
|
||||
#endif
|
||||
movd B_ARG0,r0
|
||||
exit []
|
||||
ret ARGS
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: strncat.S,v 1.4 1998/10/01 22:46:37 matthias Exp $ */
|
||||
/* $NetBSD: strncat.S,v 1.5 1999/11/16 18:17:39 matthias Exp $ */
|
||||
|
||||
/*
|
||||
* Written by Matthias Pfaller, 1996
|
||||
|
@ -8,7 +8,7 @@
|
|||
#include <machine/asm.h>
|
||||
|
||||
#if defined(LIBC_SCCS)
|
||||
RCSID("$NetBSD: strncat.S,v 1.4 1998/10/01 22:46:37 matthias Exp $")
|
||||
RCSID("$NetBSD: strncat.S,v 1.5 1999/11/16 18:17:39 matthias Exp $")
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -20,7 +20,9 @@ KENTRY(strncat, 12)
|
|||
enter [r4],0
|
||||
movd B_ARG0,tos
|
||||
bsr _C_LABEL(strlen)
|
||||
#if !defined(MRTD)
|
||||
adjspd -4
|
||||
#endif
|
||||
addd B_ARG0,r0
|
||||
movd B_ARG1,r1
|
||||
movd r0,r2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: strncpy.S,v 1.4 1998/10/01 22:46:37 matthias Exp $ */
|
||||
/* $NetBSD: strncpy.S,v 1.5 1999/11/16 18:17:39 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.4 1998/10/01 22:46:37 matthias Exp $")
|
||||
RCSID("$NetBSD: strncpy.S,v 1.5 1999/11/16 18:17:39 matthias Exp $")
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -28,7 +28,9 @@ KENTRY(strncpy, 12)
|
|||
movd r0,tos
|
||||
movd r2,tos
|
||||
bsr _C_LABEL(bzero)
|
||||
#if !defined(MRTD)
|
||||
adjspd -8
|
||||
#endif
|
||||
0: movd B_ARG0,r0
|
||||
exit [r4]
|
||||
ret ARGS
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue