From: Ulrich Drepper Date: Tue, 16 Sep 1997 00:41:55 +0000 (+0000) Subject: Define bzero as weak alias of __bzero. X-Git-Tag: glibc-2.16-ports-before-merge~3414 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=384cd03a585b37d76bf52bee27e2f1e3926795e1;p=thirdparty%2Fglibc.git Define bzero as weak alias of __bzero. --- diff --git a/sysdeps/alpha/bzero.S b/sysdeps/alpha/bzero.S index b70ade6a6d3..1e0792395b0 100644 --- a/sysdeps/alpha/bzero.S +++ b/sysdeps/alpha/bzero.S @@ -78,7 +78,7 @@ $tail: bne t4, 1f # is there a tail to do? .end bzero_loop -ENTRY(bzero) +ENTRY(__bzero) #ifdef PROF ldgp gp, 0(pv) lda AT, _mcount @@ -117,3 +117,4 @@ $oneq: $done: ret END(bzero) +weak_alias (__bzero, bzero) diff --git a/sysdeps/vax/bzero.s b/sysdeps/vax/bzero.s index 5f90763d414..dff59ba6672 100644 --- a/sysdeps/vax/bzero.s +++ b/sysdeps/vax/bzero.s @@ -39,7 +39,7 @@ #include "DEFS.h" -ENTRY(bzero, 0) +ENTRY(__bzero, 0) movl 4(ap),r3 jbr 2f 1: @@ -51,3 +51,4 @@ ENTRY(bzero, 0) jgtr 1b movc5 $0,(r3),$0,8(ap),(r3) ret +weak_alias (__bzero, bzero)