aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/nolibc/stackprotector.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2025-03-25 08:17:25 +0100
committerIngo Molnar <mingo@kernel.org>2025-03-25 08:17:25 +0100
commit2487b6b9bf2874cfca7efb59c95650c5b1d88d43 (patch)
tree8bd7a32686e006b1cbeeb80511114c63ac442c87 /tools/include/nolibc/stackprotector.h
parentx86/speculation: Remove the extra #ifdef around CALL_NOSPEC (diff)
parentx86 boot build: make git ignore stale 'tools' directory (diff)
downloadlinux-2487b6b9bf2874cfca7efb59c95650c5b1d88d43.tar.gz
linux-2487b6b9bf2874cfca7efb59c95650c5b1d88d43.zip
Merge branch 'linus' into x86/urgent, to pick up fixes and refresh the branch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/include/nolibc/stackprotector.h')
-rw-r--r--tools/include/nolibc/stackprotector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/nolibc/stackprotector.h b/tools/include/nolibc/stackprotector.h
index 1d0d5259ec41..c71a2c257177 100644
--- a/tools/include/nolibc/stackprotector.h
+++ b/tools/include/nolibc/stackprotector.h
@@ -18,6 +18,7 @@
* triggering stack protector errors themselves
*/
+void __stack_chk_fail(void);
__attribute__((weak,used,noreturn,section(".text.nolibc_stack_chk")))
void __stack_chk_fail(void)
{
@@ -28,6 +29,7 @@ void __stack_chk_fail(void)
for (;;);
}
+void __stack_chk_fail_local(void);
__attribute__((weak,noreturn,section(".text.nolibc_stack_chk")))
void __stack_chk_fail_local(void)
{