diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-03-15 05:20:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-03-15 05:20:35 +0000 |
commit | 9360906d42dd15e24f27a35b77f16df516f3c05d (patch) | |
tree | 732ba9c35fb5b094742e8423a12670a902d58081 /sysdeps/unix/sysv/linux | |
parent | 5c82e15e8646cd7d229bcd8287d01875e12df0b3 (diff) | |
download | glibc-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/unix/sysv/linux')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/dl-brk.c | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/dl-sbrk.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/dl-brk.c b/sysdeps/unix/sysv/linux/i386/dl-brk.c new file mode 100644 index 0000000000..c37cdfec33 --- /dev/null +++ b/sysdeps/unix/sysv/linux/i386/dl-brk.c @@ -0,0 +1,5 @@ +/* We can use the normal code but we also know the __curbrk is not exported + from ld.so. */ +extern void *__curbrk attribute_hidden; + +#include <brk.c> diff --git a/sysdeps/unix/sysv/linux/i386/dl-sbrk.c b/sysdeps/unix/sysv/linux/i386/dl-sbrk.c new file mode 100644 index 0000000000..4713a92694 --- /dev/null +++ b/sysdeps/unix/sysv/linux/i386/dl-sbrk.c @@ -0,0 +1,5 @@ +/* We can use the normal code but we also know the __curbrk is not exported + from ld.so. */ +extern void *__curbrk attribute_hidden; + +#include <sbrk.c> |