1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00
* 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.
This commit is contained in:
Ulrich Drepper
2002-03-15 05:20:35 +00:00
parent 5c82e15e86
commit 9360906d42
10 changed files with 37 additions and 5 deletions

View File

@@ -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)
{