From a334319f6530564d22e775935d9c91663623a1b4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 22 Dec 2004 20:10:10 +0000 Subject: (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. --- sysdeps/generic/environ.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sysdeps/generic/environ.c (limited to 'sysdeps/generic/environ.c') diff --git a/sysdeps/generic/environ.c b/sysdeps/generic/environ.c new file mode 100644 index 0000000..a0ed0d8 --- /dev/null +++ b/sysdeps/generic/environ.c @@ -0,0 +1,12 @@ +/* This file just defines the `__environ' variable (and alias `environ'). */ + +#include +#include + +/* 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) -- cgit v1.1