about summary refs log tree commit diff
path: root/elf/rtld.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 /elf/rtld.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 'elf/rtld.c')
-rw-r--r--elf/rtld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 57b9e5ff03..575e6f7ddc 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -1579,7 +1579,7 @@ a filename can be specified using the LD_DEBUG_OUTPUT environment variable.\n");
 /* Process all environments variables the dynamic linker must recognize.
    Since all of them start with `LD_' we are a bit smarter while finding
    all the entries.  */
-extern char **_environ;
+extern char **_environ attribute_hidden;
 
 
 static void