diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-07-09 08:39:17 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-07-10 06:05:13 -0700 |
commit | 712e70de9743a61618001b4c6372a0e3d4fc1d90 (patch) | |
tree | 02ff537109bef1b0c847aad2c6d63ba756dcb479 /sysdeps/sh/jmpbuf-unwind.h | |
parent | eb73083e5e825460050f8149f8b2869c4ef662cd (diff) | |
download | glibc-hjl/pr21742.tar.gz |
Remove debug/stack_chk_fail_local.c [BZ #21740]hjl/pr21742
Since
commit 524a8ef2ad76af8ac049293d993a1856b0d888fb
Author: Nick Alcock <nick.alcock@oracle.com>
Date: Mon Dec 26 10:08:57 2016 +0100
PLT avoidance for __stack_chk_fail [BZ #7065]
Add a hidden __stack_chk_fail_local alias to libc.so,
and make sure that on targets which use __stack_chk_fail,
this does not introduce a local PLT reference into libc.so.
added
strong_alias (__stack_chk_fail, __stack_chk_fail_local)
to debug/stack_chk_fail.c, debug/stack_chk_fail_local.c should be
removed. Since dummy __stack_chk_fail and __stack_chk_fail_local
symbols are used in ld.so, tst-_dl_addr_inside_object should be
linked with $(dummy-stack-chk-fail). Tested on x86-64 with
--enable-stack-protector=all and got
FAIL: elf/tst-env-setuid
FAIL: elf/tst-env-setuid-tunables
FAIL: stdlib/tst-secure-getenv
which are the same as without this patch.
* [BZ #21740]
* debug/Makefile (static-only-routines): Remove
stack_chk_fail_local.
* debug/stack_chk_fail_local.c: Removed.
* elf/Makefile (LDFLAGS-tst-_dl_addr_inside_object): New.
Diffstat (limited to 'sysdeps/sh/jmpbuf-unwind.h')
0 files changed, 0 insertions, 0 deletions