aboutsummaryrefslogtreecommitdiff
path: root/common/stackprot.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/stackprot.c')
-rw-r--r--common/stackprot.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/stackprot.c b/common/stackprot.c
index d5b7061665..6495951a77 100644
--- a/common/stackprot.c
+++ b/common/stackprot.c
@@ -18,3 +18,8 @@ void __stack_chk_fail(void)
panic("Stack smashing detected in function:\n%p relocated from %p",
ra, ra - gd->reloc_off);
}
+
+void __stack_chk_fail_local(void)
+{
+ __stack_chk_fail();
+}