summaryrefslogtreecommitdiff
path: root/package/gcc/patches/4.7.3/sdt.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-01 17:42:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-01 17:42:38 +0100
commitbc2f511c2392159717ea20a3a71a4b23de0ed134 (patch)
treed6f6f324435601aef091f4013ffaf659623d0d0f /package/gcc/patches/4.7.3/sdt.patch
parentf3f7a7f082ffce3fe30555c73276f4c070c0b6da (diff)
make native gcc for microblaze working
Diffstat (limited to 'package/gcc/patches/4.7.3/sdt.patch')
-rw-r--r--package/gcc/patches/4.7.3/sdt.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/gcc/patches/4.7.3/sdt.patch b/package/gcc/patches/4.7.3/sdt.patch
new file mode 100644
index 000000000..7ee2cf1b7
--- /dev/null
+++ b/package/gcc/patches/4.7.3/sdt.patch
@@ -0,0 +1,14 @@
+diff -Nur gcc-4.7.2.orig/libgcc/unwind-dw2.c gcc-4.7.2/libgcc/unwind-dw2.c
+--- gcc-4.7.2.orig/libgcc/unwind-dw2.c 2011-11-02 16:26:35.000000000 +0100
++++ gcc-4.7.2/libgcc/unwind-dw2.c 2012-09-22 21:56:06.000000000 +0200
+@@ -38,10 +38,6 @@
+ #include "gthr.h"
+ #include "unwind-dw2.h"
+
+-#ifdef HAVE_SYS_SDT_H
+-#include <sys/sdt.h>
+-#endif
+-
+ #ifndef __USING_SJLJ_EXCEPTIONS__
+
+ #ifndef STACK_GROWS_DOWNWARD