about summary refs log tree commit diff
path: root/sysdeps/generic/dl-environ.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-03-15 05:20:35 +0000
committerUlrich Drepper <drepper@redhat.com>2002-03-15 05:20:35 +0000
commit9360906d42dd15e24f27a35b77f16df516f3c05d (patch)
tree732ba9c35fb5b094742e8423a12670a902d58081 /sysdeps/generic/dl-environ.c
parent5c82e15e8646cd7d229bcd8287d01875e12df0b3 (diff)
downloadglibc-9360906d42dd15e24f27a35b77f16df516f3c05d.tar.gz
glibc-9360906d42dd15e24f27a35b77f16df516f3c05d.tar.xz
glibc-9360906d42dd15e24f27a35b77f16df516f3c05d.zip
Update.
	* elf/rtld.c: Declare _environ as hidden.
	* sysdeps/generic/dl-environ.c: Likewise.
	* sysdeps/generic/dl-sysdep.c: Likewise.

	* sysdeps/generic/ldsodefs.h: Declare _dl_debug_state_internal and
	_dl_mcount_internal as hidden.

	* elf/Makefile (rtld-routines): Add dl-sbrk and dl-brk.
	* sysdeps/generic/dl-brk.c: New file.
	* sysdeps/generic/dl-sbrk.c: New file.
	* sysdeps/unix/sysv/linux/i386/dl-brk.c: New file.
	* sysdeps/unix/sysv/linux/i386/dl-sbrk.c: New file.
Diffstat (limited to 'sysdeps/generic/dl-environ.c')
-rw-r--r--sysdeps/generic/dl-environ.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/dl-environ.c b/sysdeps/generic/dl-environ.c
index 53fa869aeb..132dad9c3e 100644
--- a/sysdeps/generic/dl-environ.c
+++ b/sysdeps/generic/dl-environ.c
@@ -50,6 +50,10 @@ _dl_next_ld_env_entry (char ***position)
   return result;
 }
 
+
+/* In ld.so __environ is not exported.  */
+extern char **__environ attribute_hidden;
+
 int
 unsetenv (const char *name)
 {