summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/5.3.0/851-libgcc_no_compat.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-29 20:09:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-29 20:09:45 +0000
commit5168d43b16658db0bf17db9798715e4363fdf2bc (patch)
tree7b066ae98de3e213c632b3e934ead02d60af4efa /toolchain/gcc/patches/5.3.0/851-libgcc_no_compat.patch
parent64fc5264cc4ee23fbf663e0658372eb4536bfce1 (diff)
downloadmtk-20170518-5168d43b16658db0bf17db9798715e4363fdf2bc.zip
mtk-20170518-5168d43b16658db0bf17db9798715e4363fdf2bc.tar.gz
mtk-20170518-5168d43b16658db0bf17db9798715e4363fdf2bc.tar.bz2
gcc: update gcc 5 to version 5.3.0
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48826
Diffstat (limited to 'toolchain/gcc/patches/5.3.0/851-libgcc_no_compat.patch')
-rw-r--r--toolchain/gcc/patches/5.3.0/851-libgcc_no_compat.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/5.3.0/851-libgcc_no_compat.patch b/toolchain/gcc/patches/5.3.0/851-libgcc_no_compat.patch
new file mode 100644
index 0000000..80c3476
--- /dev/null
+++ b/toolchain/gcc/patches/5.3.0/851-libgcc_no_compat.patch
@@ -0,0 +1,12 @@
+--- a/libgcc/config/t-libunwind
++++ b/libgcc/config/t-libunwind
+@@ -2,8 +2,7 @@
+
+ HOST_LIBGCC2_CFLAGS += -DUSE_GAS_SYMVER
+
+-LIB2ADDEH = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c \
+- $(srcdir)/unwind-compat.c $(srcdir)/unwind-dw2-fde-compat.c
++LIB2ADDEH = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
+ LIB2ADDEHSTATIC = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
+
+ # Override the default value from t-slibgcc-elf-ver and mention -lunwind