Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
From 790e8f620f06834f3fd03c310cbecd1416536987 Mon Sep 17 00:00:00 2001
|
||||
From: Will Newton <will.newton@linaro.org>
|
||||
Date: Tue, 28 May 2013 18:31:46 +0100
|
||||
Subject: [PATCH 2/5] Add stack direction for the AArch64 architecture
|
||||
|
||||
On this architecture, the stack grows downward.
|
||||
|
||||
Signed-off-by: Will Newton <will.newton@linaro.org>
|
||||
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 39c1a28..3f70530 100644
|
||||
--- a/m4/stack-direction.m4
|
||||
+++ b/m4/stack-direction.m4
|
||||
@@ -13,6 +13,7 @@ AC_DEFUN([SV_STACK_DIRECTION],
|
||||
case "$host_cpu" in
|
||||
dnl See the #define STACK_GROWS_DOWNWARD in gcc-3.1/gcc/config/*/*.h.
|
||||
a29k | \
|
||||
+ aarch64* | \
|
||||
alpha* | \
|
||||
arc | \
|
||||
arm* | strongarm* | xscale* | \
|
||||
--
|
||||
2.1.0
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From f4395ff932758884416753f88f5d98f33ec67479 Mon Sep 17 00:00:00 2001
|
||||
From: Spenser Gilliland <spenser@gillilanding.com>
|
||||
Date: Mon, 29 Dec 2014 13:54:54 +0100
|
||||
Subject: [PATCH 3/5] Add stack direction for the Microblaze architecture
|
||||
|
||||
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
|
||||
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 3f70530..53f4216 100644
|
||||
--- a/m4/stack-direction.m4
|
||||
+++ b/m4/stack-direction.m4
|
||||
@@ -32,6 +32,7 @@ AC_DEFUN([SV_STACK_DIRECTION],
|
||||
m68* | \
|
||||
m88k | \
|
||||
mcore | \
|
||||
+ microblaze | \
|
||||
mips* | \
|
||||
mmix | \
|
||||
mn10200 | \
|
||||
--
|
||||
2.1.0
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From 24bac122bf4ffe437bb4f6ca633ad08f31a23d73 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Mon, 29 Dec 2014 13:56:54 +0100
|
||||
Subject: [PATCH 5/5] Add stack direction for the Nios II architecture
|
||||
|
||||
According to Altera Application Binary Interface document for the Nios
|
||||
II architecture
|
||||
(http://www.altera.com/literature/hb/nios2/n2cpu_nii51016.pdf):
|
||||
|
||||
"The stack grows downward (i.e. towards lower addresses). ".
|
||||
|
||||
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 1a97d5a..d9c5157 100644
|
||||
--- a/m4/stack-direction.m4
|
||||
+++ b/m4/stack-direction.m4
|
||||
@@ -38,6 +38,7 @@ AC_DEFUN([SV_STACK_DIRECTION],
|
||||
mmix | \
|
||||
mn10200 | \
|
||||
mn10300 | \
|
||||
+ nios2 | \
|
||||
ns32k | \
|
||||
pdp11 | \
|
||||
pj* | \
|
||||
--
|
||||
2.1.0
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
Fix sparc64 build.
|
||||
|
||||
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
|
||||
|
||||
diff -Nur libsigsegv-2.10.orig/src/fault-linux-sparc.h libsigsegv-2.10/src/fault-linux-sparc.h
|
||||
--- libsigsegv-2.10.orig/src/fault-linux-sparc.h 2009-08-01 17:06:49.000000000 +0200
|
||||
+++ libsigsegv-2.10/src/fault-linux-sparc.h 2015-11-29 11:55:29.000000000 +0100
|
||||
@@ -27,4 +27,8 @@
|
||||
(see also <asm/sigcontext.h>)
|
||||
are quite different types. */
|
||||
|
||||
+#if __WORDSIZE == 64
|
||||
+#define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.mc_gregs[REG_O6]
|
||||
+#else
|
||||
#define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.gregs[REG_O6]
|
||||
+#endif
|
||||
14
deprecated/firmware/buildroot/package/libsigsegv/Config.in
Normal file
14
deprecated/firmware/buildroot/package/libsigsegv/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_LIBSIGSEGV
|
||||
bool "libsigsegv"
|
||||
depends on !BR2_xtensa
|
||||
depends on !BR2_arc # no ucontext_i.sym file
|
||||
depends on !BR2_microblaze
|
||||
# No ucontext support in uclibc for powerpc and superh
|
||||
depends on !((BR2_powerpc || BR2_sh) && BR2_TOOLCHAIN_USES_UCLIBC)
|
||||
help
|
||||
Library for handling page faults in user mode.
|
||||
|
||||
http://libsigsegv.sourceforge.net/
|
||||
|
||||
comment "libsigsegv needs an (e)glibc toolchain"
|
||||
depends on (BR2_powerpc || BR2_sh) && BR2_TOOLCHAIN_USES_UCLIBC
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 8460a4a3dd4954c3d96d7a4f5dd5bc4d9b76f5754196aa245287553b26d2199a libsigsegv-2.10.tar.gz
|
||||
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# libsigsegv
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBSIGSEGV_VERSION = 2.10
|
||||
LIBSIGSEGV_SITE = $(BR2_GNU_MIRROR)/libsigsegv
|
||||
LIBSIGSEGV_INSTALL_STAGING = YES
|
||||
LIBSIGSEGV_CONF_ENV = sv_cv_fault_posix=yes
|
||||
LIBSIGSEGV_LICENSE = GPLv2+
|
||||
LIBSIGSEGV_LICENSE_FILES = COPYING
|
||||
|
||||
LIBSIGSEGV_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user