summaryrefslogtreecommitdiffstats
path: root/package/libsigsegv/libsigsegv-0004-fix-bfin-build.patch
blob: 42900ea2b0955b675feb6b12d5cfdcb1405b5c76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 | \
OpenPOWER on IntegriCloud