diff options
Diffstat (limited to 'libc/string')
-rw-r--r-- | libc/string/sparc/sparc32/memset.S | 2 | ||||
-rw-r--r-- | libc/string/sparc/sparc64/memset.S | 2 |
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 |