From e52edcd03069788760d05f4ac934dcdbfb335474 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 30 Jul 2014 15:56:14 -0300 Subject: [PATCH] polarssl: disable microblaze inline assembly Fixes: http://autobuild.buildroot.net/results/4d5/4d54958ded61a0d929d992e4ca0bb31c996953cb/ Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- .../polarssl-02-disable-microblaze-asm.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/polarssl/polarssl-02-disable-microblaze-asm.patch diff --git a/package/polarssl/polarssl-02-disable-microblaze-asm.patch b/package/polarssl/polarssl-02-disable-microblaze-asm.patch new file mode 100644 index 0000000000..e90e12de5c --- /dev/null +++ b/package/polarssl/polarssl-02-disable-microblaze-asm.patch @@ -0,0 +1,18 @@ +Microblaze assembly seems to be broken, fixes: + +http://autobuild.buildroot.net/results/4d5/4d54958ded61a0d929d992e4ca0bb31c996953cb/ + +Signed-off-by: Gustavo Zacarias + +diff -Nura polarssl-1.2.11.orig/include/polarssl/bn_mul.h polarssl-1.2.11/include/polarssl/bn_mul.h +--- polarssl-1.2.11.orig/include/polarssl/bn_mul.h 2014-07-30 15:47:27.381658434 -0300 ++++ polarssl-1.2.11/include/polarssl/bn_mul.h 2014-07-30 15:48:52.616543074 -0300 +@@ -480,7 +480,7 @@ + + #endif /* SPARCv8 */ + +-#if defined(__microblaze__) || defined(microblaze) ++#if 0 && defined(__microblaze__) || defined(microblaze) + + #define MULADDC_INIT \ + asm( \ -- 2.30.2