summaryrefslogtreecommitdiff
path: root/rt/mqueue.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2014-11-27 05:42:23 -0800
committerH.J. Lu <hjl.tools@gmail.com>2014-11-27 15:54:11 -0800
commitf08bbe49c8820576e2149a5be44af0ce2ddb355b (patch)
tree3a2df42af4186c327bd833a6fadca1aaf2869e06 /rt/mqueue.h
parent167da422b30b35c9eb9fc819ce5d3b3b0d65c6f4 (diff)
downloadglibc-hjl/pr13862.tar.gz
Resize DTV if the current DTV isn't big enoughhjl/pr13862
This patch changes _dl_allocate_tls_init to resize DTV if the current DTV isn't big enough. Tested on X86-64, x32 and ia32. [BZ #13862] * elf/dl-tls.c: Include <atomic.h>. (oom): Remove #ifdef SHARED/#endif. (_dl_static_dtv, _dl_initial_dtv): Moved before ... (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo. (_dl_allocate_tls_init): Resize DTV if the current DTV isn't big enough. (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV. * nptl/Makefile (tests): Add tst-stack4. (modules-names): Add tst-stack4mod. ($(objpfx)tst-stack4): New. (tst-stack4mod.sos): Likewise. ($(objpfx)tst-stack4.out): Likewise. ($(tst-stack4mod.sos)): Likewise. (clean): Likewise. * nptl/tst-stack4.c: New file. * nptl/tst-stack4mod.c: Likewise.
Diffstat (limited to 'rt/mqueue.h')
0 files changed, 0 insertions, 0 deletions