diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 21:47:36 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 21:47:36 -0400 |
commit | 02d46fc4b969e25e4ba0c54aa95fa98d7279bd05 (patch) | |
tree | 8d0fc5bfaeac42091551da91a1f992ff656f1f56 /elf | |
parent | 22a89187139a9083ca73989bfd11597e0f85cb61 (diff) | |
download | glibc-02d46fc4b969e25e4ba0c54aa95fa98d7279bd05.zip glibc-02d46fc4b969e25e4ba0c54aa95fa98d7279bd05.tar.gz glibc-02d46fc4b969e25e4ba0c54aa95fa98d7279bd05.tar.bz2 |
Simplify malloc initialization
Singificantly reduce the code needed at malloc initialization. In
the process getpagesize is simplified by always initializing
GLRO(dl_pagesize).
Diffstat (limited to 'elf')
-rw-r--r-- | elf/rtld.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -161,6 +161,7 @@ struct rtld_global_ro _rtld_global_ro attribute_relro = ._dl_lazy = 1, ._dl_fpu_control = _FPU_DEFAULT, ._dl_pointer_guard = 1, + ._dl_pagesize = EXEC_PAGESIZE, /* Function pointers. */ ._dl_debug_printf = _dl_debug_printf, |