Module: xenomai-head
Branch: master
Commit: ae8f09b9b6b773f067f2f3b7688712a846dcf91f
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=ae8f09b9b6b773f067f2f3b7688712a846dcf91f

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Thu Oct 27 22:56:33 2011 +0200

arm: cause compilation to fail if CONFIG_CC_STACKPROTECTOR is set

---

 ksrc/arch/arm/switch.S |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ksrc/arch/arm/switch.S b/ksrc/arch/arm/switch.S
index a5bee60..b8bdf02 100644
--- a/ksrc/arch/arm/switch.S
+++ b/ksrc/arch/arm/switch.S
@@ -47,6 +47,11 @@
 #endif /* CONFIG_CPU_USE_DOMAINS */
 #endif /* Linux >= 2.6.38 */
 
+#ifdef CONFIG_CC_STACKPROTECTOR
+#warning "Buffer overflow detection not supported for Xenomai on ARM"
+#error "Disable CONFIG_CC_STACKPROTECTOR in your kernel configuration"
+#endif
+
        .macro fpu_switch tmp
 #ifdef CONFIG_VFP
        @ Always disable VFP so we can lazily save/restore the old


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to