From: Roland McGrath Date: Thu, 13 Apr 1995 09:00:11 +0000 (+0000) Subject: Wed Apr 12 23:27:22 1995 Roland McGrath X-Git-Tag: cvs/make-3-73-2~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6432a7793f6be8d3b6840e47e752103beaca70c9;p=thirdparty%2Fglibc.git Wed Apr 12 23:27:22 1995 Roland McGrath * posix/environ.c: Add weak alias `_environ'. --- diff --git a/ChangeLog b/ChangeLog index 668e4bfa84c..5e3cbf8d97d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Apr 12 23:27:22 1995 Roland McGrath + + * posix/environ.c: Add weak alias `_environ'. + Tue Apr 11 20:38:55 1995 Roland McGrath * sysdeps/i386/add_n.S [PIC]: Use self-call to avoid generating reloc. diff --git a/posix/environ.c b/posix/environ.c index 3eee48e7eab..a0ed0d80eab 100644 --- a/posix/environ.c +++ b/posix/environ.c @@ -6,3 +6,7 @@ /* This must be initialized; we cannot have a weak alias into bss. */ char **__environ = NULL; weak_alias (__environ, environ) + +/* The SVR4 ABI says `_environ' will be the name to use + in case the user overrides the weak alias `environ'. */ +weak_alias (__environ, _environ)