summaryrefslogtreecommitdiffstats
path: root/patches/gcc-4.5.2/0005-missing-execinfo_h.patch
blob: 63b6acd8c5791e04c00649a0b081d16ad621ce5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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(-)

Index: gcc-4.3.1/boehm-gc/include/gc.h
===================================================================
--- gcc-4.3.1.orig/boehm-gc/include/gc.h
+++ gcc-4.3.1/boehm-gc/include/gc.h
@@ -503,7 +503,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_of
 #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