From be534da71c3d557e260ecd72acf5244db0bbc064 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 24 Mar 2006 16:59:45 +0000 Subject: Correct build failure introduced by SUSV3_LEGACY option --- libc/string/sparc/sparc32/memset.S | 2 ++ libc/string/sparc/sparc64/memset.S | 2 ++ 2 files changed, 4 insertions(+) (limited to 'libc/string') diff --git a/libc/string/sparc/sparc32/memset.S b/libc/string/sparc/sparc32/memset.S index 358fe496a..6c6424cf8 100644 --- a/libc/string/sparc/sparc32/memset.S +++ b/libc/string/sparc/sparc32/memset.S @@ -49,6 +49,7 @@ ENTRY(bzero) b 1f mov %g0, %g3 +#endif 3: cmp %o2, 3 be 2f @@ -63,6 +64,7 @@ ENTRY(bzero) add %o1, %o2, %o1 b 4f sub %o0, %o2, %o0 +#ifdef __UCLIBC_SUSV3_LEGACY__ END(bzero) #endif diff --git a/libc/string/sparc/sparc64/memset.S b/libc/string/sparc/sparc64/memset.S index 79c1d74b6..50e404bcc 100644 --- a/libc/string/sparc/sparc64/memset.S +++ b/libc/string/sparc/sparc64/memset.S @@ -198,6 +198,7 @@ ENTRY(bzero) srl %o1, 0, %o1 #endif mov %o0, %o5 +#endif 50: cmp %o1, 7 bleu,pn %xcc, 17f andcc %o0, 3, %o2 @@ -311,5 +312,6 @@ ENTRY(bzero) stb %g0, [%o0 - 1] 0: retl mov %o5, %o0 +#ifdef __UCLIBC_SUSV3_LEGACY__ END(bzero) #endif -- cgit v1.2.3