libsigsegv: add Blackfin support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 24 Feb 2014 22:09:05 +0000 (23:09 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 24 Feb 2014 22:17:36 +0000 (23:17 +0100)
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>
package/libsigsegv/libsigsegv-0004-fix-bfin-build.patch [new file with mode: 0644]

diff --git a/package/libsigsegv/libsigsegv-0004-fix-bfin-build.patch b/package/libsigsegv/libsigsegv-0004-fix-bfin-build.patch
new file mode 100644 (file)
index 0000000..42900ea
--- /dev/null
@@ -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 | \