diff options
Diffstat (limited to 'package/libsigsegv/0003-Add-stack-direction-for-the-Blackfin-architecture.patch')
-rw-r--r-- | package/libsigsegv/0003-Add-stack-direction-for-the-Blackfin-architecture.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/libsigsegv/0003-Add-stack-direction-for-the-Blackfin-architecture.patch b/package/libsigsegv/0003-Add-stack-direction-for-the-Blackfin-architecture.patch new file mode 100644 index 0000000000..5d8232a1b6 --- /dev/null +++ b/package/libsigsegv/0003-Add-stack-direction-for-the-Blackfin-architecture.patch @@ -0,0 +1,29 @@ +From 55a707283dbb3b2fdcaaa4e177d050e122cfc2a0 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +Date: Mon, 29 Dec 2014 13:55:16 +0100 +Subject: [PATCH 4/5] Add stack direction for the Blackfin architecture + +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> +--- + m4/stack-direction.m4 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 +index 53f4216..1a97d5a 100644 +--- a/m4/stack-direction.m4 ++++ b/m4/stack-direction.m4 +@@ -18,6 +18,7 @@ AC_DEFUN([SV_STACK_DIRECTION], + arc | \ + arm* | strongarm* | xscale* | \ + avr | \ ++ bfin | \ + c1 | c2 | c32 | c34 | c38 | \ + clipper | \ + cris | \ +-- +2.1.0 + |