projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceda9f1
)
musl: call a_crash() inside __stack_chk_fail_local instead of calling __stack_chk_fail
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 8 Jul 2015 12:05:55 +0000
(12:05 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 8 Jul 2015 12:05:55 +0000
(12:05 +0000)
Fixes relocation errors on PowerPC
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46266
toolchain/musl/patches/200-add_libssp_nonshared.patch
patch
|
blob
|
history
diff --git
a/toolchain/musl/patches/200-add_libssp_nonshared.patch
b/toolchain/musl/patches/200-add_libssp_nonshared.patch
index af0576585e76de1152f832e435edde56ed23c6fe..f696d4e537e243bdb4e9df418244d150423ecaec 100644
(file)
--- a/
toolchain/musl/patches/200-add_libssp_nonshared.patch
+++ b/
toolchain/musl/patches/200-add_libssp_nonshared.patch
@@
-51,8
+51,8
@@
index 0000000..2b403a6
--- /dev/null
+++ b/libssp_nonshared/__stack_chk_fail_local.c
@@ -0,0 +1,2 @@
-+
extern void __stack_chk_fail(void);
-+void __attribute__((visibility ("hidden"))) __stack_chk_fail_local(void) {
__stack_chk_fail
(); }
++
#include "atomic.h"
++void __attribute__((visibility ("hidden"))) __stack_chk_fail_local(void) {
a_crash
(); }
--
2.1.4