5d8232a1b68575485980919df3594c933323db4e
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libsigsegv / 0003-Add-stack-direction-for-the-Blackfin-architecture.patch
1 From 55a707283dbb3b2fdcaaa4e177d050e122cfc2a0 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Mon, 29 Dec 2014 13:55:16 +0100
4 Subject: [PATCH 4/5] Add stack direction for the Blackfin architecture
5
6 The stack grows downward on Blackfin, see
7 https://sourceware.org/binutils/docs/as/Blackfin-Syntax.html: "The
8 stack grows by decrementing the stack pointer.".
9
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 ---
12  m4/stack-direction.m4 | 1 +
13  1 file changed, 1 insertion(+)
14
15 diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4
16 index 53f4216..1a97d5a 100644
17 --- a/m4/stack-direction.m4
18 +++ b/m4/stack-direction.m4
19 @@ -18,6 +18,7 @@ AC_DEFUN([SV_STACK_DIRECTION],
20        arc | \
21        arm* | strongarm* | xscale* | \
22        avr | \
23 +      bfin | \
24        c1 | c2 | c32 | c34 | c38 | \
25        clipper | \
26        cris | \
27 -- 
28 2.1.0
29