open-plc-utils: new package
[buildroot-gz.git] / package / libsigsegv / 0004-Add-stack-direction-for-the-Nios-II-architecture.patch
blobee4778ea0c434cb69c33465d12b2052b9d6d10b7
1 From 24bac122bf4ffe437bb4f6ca633ad08f31a23d73 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Mon, 29 Dec 2014 13:56:54 +0100
4 Subject: [PATCH 5/5] Add stack direction for the Nios II architecture
6 According to Altera Application Binary Interface document for the Nios
7 II architecture
8 (http://www.altera.com/literature/hb/nios2/n2cpu_nii51016.pdf):
10 "The stack grows downward (i.e. towards lower addresses). ".
12 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 ---
14 m4/stack-direction.m4 | 1 +
15 1 file changed, 1 insertion(+)
17 diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4
18 index 1a97d5a..d9c5157 100644
19 --- a/m4/stack-direction.m4
20 +++ b/m4/stack-direction.m4
21 @@ -38,6 +38,7 @@ AC_DEFUN([SV_STACK_DIRECTION],
22 mmix | \
23 mn10200 | \
24 mn10300 | \
25 + nios2 | \
26 ns32k | \
27 pdp11 | \
28 pj* | \
29 --
30 2.1.0