Skip to contentSkip to conversation

libsigsegv: add Blackfin support

PATCH New Thomas Petazzoni 2 participants 2 messages Feb 24, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libsigsegv: add Blackfin support

Fixes:

http://autobuild.buildroot.org/results/5e2/5e2c627cfcb2699b16a82eb9554f2c9dfabd5483/

---
 .../libsigsegv/libsigsegv-0004-fix-bfin-build.patch   | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 package/libsigsegv/libsigsegv-0004-fix-bfin-build.patch
package/libsigsegv/libsigsegv-0004-fix-bfin-build.patch new file +19 -0
new file mode 100644
index 0000000..42900ea
@@ -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 <[email protected]>
+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 | \
Signature · 1 line
1.8.3.2