* elf/rtld.c (dl_main): In rtld_is_main case, reinitialize
commitc70ba48888000f00556aa91348c9c5a33a508b49
authorRoland McGrath <roland@gnu.org>
Wed, 24 Sep 2003 01:56:08 +0000 (24 01:56 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 24 Sep 2003 01:56:08 +0000 (24 01:56 +0000)
treeeb0d2bf8d0d96ff29d929d6ba2efe397262c8109
parent217ed70e1381922db0d0d7fa41e4938114848251
* elf/rtld.c (dl_main): In rtld_is_main case, reinitialize

GL(dl_stack_flags) according to rtld's own PT_GNU_STACK.
Move GL(dl_make_stack_executable_hook) initialization up.
* elf/tst-execstack-prog.c: New file.
* elf/Makefile (tests-execstack-yes): Add it.
(LDFLAGS-tst-execstack-prog): New variable.
ChangeLog
elf/Makefile
elf/rtld.c
elf/tst-execstack-prog.c [new file with mode: 0644]