summaryrefslogtreecommitdiffstats
path: root/patches/gcc-5.4.0/0301-missing-execinfo.h.patch
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-11-16 19:22:42 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-06-22 07:53:22 +0200
commit65c27afba3d7287d85818d6a08b6169ebbbdd37b (patch)
treee22e8f8f5c6975609df6d47a911266887fb9ec19 /patches/gcc-5.4.0/0301-missing-execinfo.h.patch
parent08b2c355cfd49ca3037619dece7119c80b47863d (diff)
downloadOSELAS.Toolchain-65c27afba3d7287d85818d6a08b6169ebbbdd37b.tar.gz
OSELAS.Toolchain-65c27afba3d7287d85818d6a08b6169ebbbdd37b.tar.xz
gcc-5.4.0 patches
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/gcc-5.4.0/0301-missing-execinfo.h.patch')
-rw-r--r--patches/gcc-5.4.0/0301-missing-execinfo.h.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/gcc-5.4.0/0301-missing-execinfo.h.patch b/patches/gcc-5.4.0/0301-missing-execinfo.h.patch
new file mode 100644
index 0000000..42f02e9
--- /dev/null
+++ b/patches/gcc-5.4.0/0301-missing-execinfo.h.patch
@@ -0,0 +1,24 @@
+From: Robert Schwebel <r.schwebel@pengutronix.de>
+Date: Tue, 1 Nov 2011 18:25:07 +0100
+Subject: [PATCH] missing execinfo.h
+
+This patch was taken from uclibc.
+
+Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
+---
+ boehm-gc/include/gc.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/boehm-gc/include/gc.h b/boehm-gc/include/gc.h
+index 6b38f2d0e6ca..fca98ffb61d5 100644
+--- a/boehm-gc/include/gc.h
++++ b/boehm-gc/include/gc.h
+@@ -503,7 +503,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_off_page GC_PROTO((size_t lb));
+ #if defined(__linux__) || defined(__GLIBC__)
+ # include <features.h>
+ # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
+- && !defined(__ia64__)
++ && !defined(__ia64__) && !defined(__UCLIBC__)
+ # ifndef GC_HAVE_BUILTIN_BACKTRACE
+ # define GC_HAVE_BUILTIN_BACKTRACE
+ # endif