From 42a08c74b9d199c0fa555947b64571e243b34cc5 Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Thu, 18 Mar 2004 11:38:02 +0000
Subject: Supply '__bzero' with 'bzero' as just a weak alias (since it is not
 SuSv3)

---
 libc/string/arm/bzero.S | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'libc/string/arm')

diff --git a/libc/string/arm/bzero.S b/libc/string/arm/bzero.S
index 52245a244..253b3c88b 100644
--- a/libc/string/arm/bzero.S
+++ b/libc/string/arm/bzero.S
@@ -38,11 +38,13 @@
  */
 
 		.text
-		.global bzero;
-		.type bzero,%function
+		.global __bzero;
+		.type __bzero,%function
 		.align 4;                                                               \
 
-bzero:
+__bzero:
 	mov	r2, r1
 	mov	r1, #0
 	b	memset (PLT)
+
+.weak bzero ; bzero = __bzero
-- 
cgit v1.2.3