Add END()

This commit is contained in:
matt 2013-08-19 06:23:59 +00:00
parent 5958fbf1be
commit 3d4b320a67
2 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: memcmp.S,v 1.2 2013/08/11 04:56:32 matt Exp $ */
/* $NetBSD: memcmp.S,v 1.3 2013/08/19 06:23:59 matt Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@ -64,7 +64,7 @@
#include <machine/asm.h>
RCSID("$NetBSD: memcmp.S,v 1.2 2013/08/11 04:56:32 matt Exp $")
RCSID("$NetBSD: memcmp.S,v 1.3 2013/08/19 06:23:59 matt Exp $")
ENTRY(memcmp)
mov ip, r0
@ -178,3 +178,4 @@ ENTRY(memcmp)
sub r0, r3, r2 /* r0 = b1#5 - b2#5 */
RET
#endif
END(memcmp)

View File

@ -1,4 +1,4 @@
/* $NetBSD: memset.S,v 1.4 2013/08/11 04:56:32 matt Exp $ */
/* $NetBSD: memset.S,v 1.5 2013/08/19 06:23:59 matt Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@ -237,3 +237,8 @@ ENTRY(memset)
strbge r3, [ip], #0x01 /* Set another byte */
strbgt r3, [ip] /* and a third */
RET /* Exit */
#ifdef _BZERO
END(bzero)
#else
END(memset)
#endif