Browse Source

Correct build failure introduced by SUSV3_LEGACY option

Peter S. Mazinger 19 years ago
parent
commit
be534da71c
2 changed files with 4 additions and 0 deletions
  1. 2 0
      libc/string/sparc/sparc32/memset.S
  2. 2 0
      libc/string/sparc/sparc64/memset.S

+ 2 - 0
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
 

+ 2 - 0
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