summaryrefslogtreecommitdiffstats
path: root/patches/gcc-4.7.2/0201-missing-execinfo.h.patch
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-10-17 18:38:02 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-12-05 16:50:48 +0100
commit31a1eec9d086be22a5f85fa8b5704701d2acd7d7 (patch)
treed201ff65b8dfbc2628cd239c9a4151d5b2972a20 /patches/gcc-4.7.2/0201-missing-execinfo.h.patch
parent51b7a5de6b5d88899e2defe090ba3924a1d78ea2 (diff)
downloadOSELAS.Toolchain-31a1eec9d086be22a5f85fa8b5704701d2acd7d7.tar.gz
OSELAS.Toolchain-31a1eec9d086be22a5f85fa8b5704701d2acd7d7.tar.xz
gcc-4.7.2 patches
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/gcc-4.7.2/0201-missing-execinfo.h.patch')
-rw-r--r--patches/gcc-4.7.2/0201-missing-execinfo.h.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/gcc-4.7.2/0201-missing-execinfo.h.patch b/patches/gcc-4.7.2/0201-missing-execinfo.h.patch
new file mode 100644
index 0000000..29c41f3
--- /dev/null
+++ b/patches/gcc-4.7.2/0201-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 c51e017..a7ba8dc 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