mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 11:43:34 +08:00
elf: Initialize GLRO (dl_minsigstacksize) after static dlopen
This is another field of _rtld_global_ro that benefits from initialization in __rtld_static_init. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
parent
eb0e4756cf
commit
9ec7fff6cd
@ -49,6 +49,9 @@ __rtld_static_init (struct link_map *map)
|
||||
dl->_dl_hwcap = _dl_hwcap;
|
||||
extern __typeof (dl->_dl_hwcap2) _dl_hwcap2 attribute_hidden;
|
||||
dl->_dl_hwcap2 = _dl_hwcap2;
|
||||
extern __typeof (dl->_dl_minsigstacksize) _dl_minsigstacksize
|
||||
attribute_hidden;
|
||||
dl->_dl_minsigstacksize = _dl_minsigstacksize;
|
||||
extern __typeof (dl->_dl_pagesize) _dl_pagesize attribute_hidden;
|
||||
dl->_dl_pagesize = _dl_pagesize;
|
||||
extern __typeof (dl->_dl_tls_static_align) _dl_tls_static_align
|
||||
|
Loading…
Reference in New Issue
Block a user