aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-02-24 23:09:05 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-02-24 23:17:36 +0100
commitde4f1bb8fc94fe33cb8eef3a7100fdb25a7b4dec (patch)
tree1001fe159a76509128c1491e898723f590b55e40
parent51b387b99b4328365733f1d78ba7c978caf86d68 (diff)
downloadbuildroot-de4f1bb8fc94fe33cb8eef3a7100fdb25a7b4dec.tar.gz
buildroot-de4f1bb8fc94fe33cb8eef3a7100fdb25a7b4dec.tar.bz2
libsigsegv: add Blackfin support
Fixes: http://autobuild.buildroot.org/results/5e2/5e2c627cfcb2699b16a82eb9554f2c9dfabd5483/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-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 | \