mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 19:00:09 +00:00
9360906d42
* 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.
6 lines
153 B
C
6 lines
153 B
C
/* 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>
|