diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2019-06-25 00:40:44 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2019-06-25 00:40:44 +0000 |
| commit | f62da49b2f17f279ddba946bf4bc7ba7247273a5 (patch) | |
| tree | 041a7841c0913c7d28147defb90e33fda6390de3 /sys | |
| parent | da4961c796795b7337cd905b84be8dcf200d408c (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/powerpc/powerpc/machdep.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/powerpc/powerpc/machdep.c b/sys/powerpc/powerpc/machdep.c index 6fb874e31d9cb..0bd6a11197abd 100644 --- a/sys/powerpc/powerpc/machdep.c +++ b/sys/powerpc/powerpc/machdep.c @@ -595,3 +595,16 @@ bzero(void *buf, size_t len) len--; } } + +/* __stack_chk_fail_local() is called in secure-plt (32-bit). */ +#if !defined(__powerpc64__) +extern void __stack_chk_fail(void); +void __stack_chk_fail_local(void); + +void +__stack_chk_fail_local(void) +{ + + __stack_chk_fail(); +} +#endif |
