summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-24 16:59:45 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-24 16:59:45 +0000
commitbe534da71c3d557e260ecd72acf5244db0bbc064 (patch)
tree21910c77cecd5340c99a848591c738bfaec04678 /libc/string
parent04bbb6fdfae0b5bc9e39a6f51894796df0cd35fb (diff)
Correct build failure introduced by SUSV3_LEGACY option
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/sparc/sparc32/memset.S2
-rw-r--r--libc/string/sparc/sparc64/memset.S2
2 files changed, 4 insertions, 0 deletions
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