Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/sparc64/string make this compile with DEBUG (_...



details:   https://anonhg.NetBSD.org/src/rev/15d72c0ef15e
branches:  trunk
changeset: 765387:15d72c0ef15e
user:      christos <christos%NetBSD.org@localhost>
date:      Tue May 24 22:39:47 2011 +0000

description:
make this compile with DEBUG (_ALIGN was not defined).

diffstat:

 lib/libc/arch/sparc64/string/memcpy.S |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 34eb193aa768 -r 15d72c0ef15e lib/libc/arch/sparc64/string/memcpy.S
--- a/lib/libc/arch/sparc64/string/memcpy.S     Tue May 24 20:26:34 2011 +0000
+++ b/lib/libc/arch/sparc64/string/memcpy.S     Tue May 24 22:39:47 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: memcpy.S,v 1.2 2001/08/01 05:52:12 eeh Exp $   */
+/*     $NetBSD: memcpy.S,v 1.3 2011/05/24 22:39:47 christos Exp $      */
 
 /*
  * Copyright (c) 2001  Eduardo E. Horvath
@@ -46,7 +46,7 @@
 #include <machine/psl.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: memcpy.S,v 1.2 2001/08/01 05:52:12 eeh Exp $")
+       RCSID("$NetBSD: memcpy.S,v 1.3 2011/05/24 22:39:47 christos Exp $")
 #endif  /* LIBC_SCCS and not lint */
 
 #define        EMPTY   nop
@@ -61,6 +61,10 @@
 #define ASI_STORE      ASI_BLK_P
 #endif
 
+#ifndef        _ALIGN
+#define _ALIGN .align 8
+#endif
+
 #if 1
 /*
  * kernel bcopy/memcpy
@@ -94,6 +98,7 @@
        restore
        .data
 2:     .asciz  "bcopy(%p->%p,%x)\n"
+       .align 8
        _ALIGN
        .text
 3:



Home | Main Index | Thread Index | Old Index