]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Wed Apr 12 23:27:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
authorRoland McGrath <roland@gnu.org>
Thu, 13 Apr 1995 09:00:11 +0000 (09:00 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 13 Apr 1995 09:00:11 +0000 (09:00 +0000)
* posix/environ.c: Add weak alias `_environ'.

ChangeLog
posix/environ.c

index 668e4bfa84c4ee9b53fd41433eafe838525336ed..5e3cbf8d97d0ddd8d8c93bc2d0edf30dc8ab517f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Apr 12 23:27:22 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
+
+       * posix/environ.c: Add weak alias `_environ'.
+
 Tue Apr 11 20:38:55 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
        * sysdeps/i386/add_n.S [PIC]: Use self-call to avoid generating reloc.
index 3eee48e7eab834ad3d0d09af07d6ed3e56fd687d..a0ed0d80eab207f8d0b4b5b01dfaa653c1e4cefd 100644 (file)
@@ -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)