Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libc/arch/x86_64/string fix build for _KERNEL



details:   https://anonhg.NetBSD.org/src/rev/e32b19268021
branches:  trunk
changeset: 329392:e32b19268021
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu May 22 16:47:31 2014 +0000

description:
fix build for _KERNEL

diffstat:

 common/lib/libc/arch/x86_64/string/memset.S |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r cef14ad6af37 -r e32b19268021 common/lib/libc/arch/x86_64/string/memset.S
--- a/common/lib/libc/arch/x86_64/string/memset.S       Thu May 22 16:31:19 2014 +0000
+++ b/common/lib/libc/arch/x86_64/string/memset.S       Thu May 22 16:47:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: memset.S,v 1.4 2014/05/22 15:23:11 uebayasi Exp $      */
+/*     $NetBSD: memset.S,v 1.5 2014/05/22 16:47:31 pooka Exp $ */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #include <machine/asm.h>
 
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: memset.S,v 1.4 2014/05/22 15:23:11 uebayasi Exp $")
+       RCSID("$NetBSD: memset.S,v 1.5 2014/05/22 16:47:31 pooka Exp $")
 #endif
 
 #ifndef _KERNEL
@@ -90,4 +90,7 @@
        add     %rdx,%rdi               /* ... and target */
        jmp     2b
 END(memset)
+
+#ifndef _KERNEL
 END(bzero)
+#endif



Home | Main Index | Thread Index | Old Index