Wed Apr 12 23:27:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>

* posix/environ.c: Add weak alias `_environ'.
This commit is contained in:
Roland McGrath 1995-04-13 09:00:11 +00:00
parent 53afa8d967
commit 6432a7793f
2 changed files with 8 additions and 0 deletions

View file

@ -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.

View 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)