From: David Hughes Date: Mon, 15 Mar 2021 14:53:39 +0000 (+0530) Subject: Add inhibit_stack_protector to ifuncmain9 [BZ #25680] X-Git-Tag: upstream/2.34~832 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03f42a56eb4e88601ebb334787c8198156197b29;p=platform%2Fupstream%2Fglibc.git 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 --- diff --git a/elf/ifuncmain9.c b/elf/ifuncmain9.c index 2c4e95a..e775c5c 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;