[PATCH 2/2] elf: Remove inhibit_stack_protector from __ifunc_resolver
Adhemerval Zanella
adhemerval.zanella@linaro.org
Tue May 26 14:00:46 GMT 2026
With 01964c3ec8e fix ifunc resolvers can be fully instrumented with
stack protector.
Checked on aarch64-linux-gnu, x86_64-linux-gnu, and i686-linux-gnu
built with --enable-stack-protector=all.
---
include/libc-symbols.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 6a9f6403ab9..2387954f7fc 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -671,7 +671,7 @@ for linking")
/* Helper / base macros for indirect function symbols. */
#define __ifunc_resolver(type_name, name, expr, init, classifier, ...) \
- classifier inhibit_stack_protector \
+ classifier \
__typeof (type_name) *name##_ifunc (__VA_ARGS__) \
{ \
init (); \
--
2.43.0
More information about the Libc-alpha
mailing list