aboutsummaryrefslogtreecommitdiff
path: root/package/libsigsegv/libsigsegv-0004-fix-bfin-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libsigsegv/libsigsegv-0004-fix-bfin-build.patch')
-rw-r--r--package/libsigsegv/libsigsegv-0004-fix-bfin-build.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/libsigsegv/libsigsegv-0004-fix-bfin-build.patch b/package/libsigsegv/libsigsegv-0004-fix-bfin-build.patch
new file mode 100644
index 0000000000..42900ea2b0
--- /dev/null
+++ b/package/libsigsegv/libsigsegv-0004-fix-bfin-build.patch
@@ -0,0 +1,19 @@
+Add stack direction for Blackfin
+
+The stack grows downward on Blackfin, see
+https://sourceware.org/binutils/docs/as/Blackfin-Syntax.html: "The
+stack grows by decrementing the stack pointer.".
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Index: b/m4/stack-direction.m4
+===================================================================
+--- a/m4/stack-direction.m4
++++ b/m4/stack-direction.m4
+@@ -18,6 +18,7 @@
+ arc | \
+ arm* | strongarm* | xscale* | \
+ avr | avr32 | \
++ bfin | \
+ c1 | c2 | c32 | c34 | c38 | \
+ clipper | \
+ cris | \