diff options
author | David Hughes <davidhughes205@gmail.com> | 2021-03-15 20:23:39 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-03-15 20:23:39 +0530 |
commit | 03f42a56eb4e88601ebb334787c8198156197b29 (patch) | |
tree | eb7303a8229085c935c3cf86109d943972286275 /elf/ifuncmain9.c | |
parent | 95c68080a3ded882789b1629f872c3ad531efda0 (diff) | |
download | glibc-03f42a56eb4e88601ebb334787c8198156197b29.tar glibc-03f42a56eb4e88601ebb334787c8198156197b29.tar.gz glibc-03f42a56eb4e88601ebb334787c8198156197b29.tar.bz2 glibc-03f42a56eb4e88601ebb334787c8198156197b29.zip |
Add inhibit_stack_protector to ifuncmain9 [BZ #25680]
Enabling --enable-stack-protector=all causes the following tests to fail:
FAIL: elf/ifuncmain9picstatic
FAIL: elf/ifuncmain9static
Nick Alcock (who committed the stack protector code) marked the IFUNC
resolvers with inhibit_stack_protector when he done the original work and
suggested doing so again @ BZ #25680. This patch adds
inhibit_stack_protector to ifuncmain9.
After patch is applied, --enable-stack-protector=all does not fail the
above tests.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'elf/ifuncmain9.c')
-rw-r--r-- | elf/ifuncmain9.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/ifuncmain9.c b/elf/ifuncmain9.c index 2c4e95a051..e775c5cfa9 100644 --- a/elf/ifuncmain9.c +++ b/elf/ifuncmain9.c @@ -43,6 +43,7 @@ implementation (void) } static __typeof__ (implementation) * +inhibit_stack_protector resolver (void) { ++resolver_called; |