summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/patches/4.9.3/disable-dwarf.bfin12
-rw-r--r--toolchain/gcc/patches/4.9.3/gcc.bfin12
-rw-r--r--toolchain/gcc/patches/5.2.0/disable-dwarf.bfin12
-rw-r--r--toolchain/gcc/patches/5.2.0/gcc.bfin12
4 files changed, 48 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.9.3/disable-dwarf.bfin b/toolchain/gcc/patches/4.9.3/disable-dwarf.bfin
new file mode 100644
index 000000000..c11baec92
--- /dev/null
+++ b/toolchain/gcc/patches/4.9.3/disable-dwarf.bfin
@@ -0,0 +1,12 @@
+diff -Nur gcc-git.orig/libgcc/config.host gcc-git/libgcc/config.host
+--- gcc-git.orig/libgcc/config.host 2015-10-23 21:12:52.000000000 +0200
++++ gcc-git/libgcc/config.host 2015-11-15 21:17:38.385745887 +0100
+@@ -231,7 +231,7 @@
+ esac
+ ;;
+ *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu)
+- tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux"
++ tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux"
+ extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
+ if test x$enable_vtable_verify = xyes; then
+ extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
diff --git a/toolchain/gcc/patches/4.9.3/gcc.bfin b/toolchain/gcc/patches/4.9.3/gcc.bfin
new file mode 100644
index 000000000..a0643f5fc
--- /dev/null
+++ b/toolchain/gcc/patches/4.9.3/gcc.bfin
@@ -0,0 +1,12 @@
+diff -Nur gcc-4.9.3.orig/gcc/config.gcc gcc-4.9.3/gcc/config.gcc
+--- gcc-4.9.3.orig/gcc/config.gcc 2015-05-21 22:50:59.000000000 +0200
++++ gcc-4.9.3/gcc/config.gcc 2015-11-23 22:51:58.686375134 +0100
+@@ -1101,7 +1101,7 @@
+ ;;
+ bfin*-linux-uclibc*)
+ tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h gnu-user.h linux.h glibc-stdint.h bfin/linux.h ./linux-sysroot-suffix.h"
+- tmake_file="bfin/t-bfin-linux t-slibgcc t-linux"
++ tmake_file="${tmake_file} bfin/t-bfin-linux t-slibgcc t-linux"
+ use_collect2=no
+ ;;
+ bfin*-rtems*)
diff --git a/toolchain/gcc/patches/5.2.0/disable-dwarf.bfin b/toolchain/gcc/patches/5.2.0/disable-dwarf.bfin
new file mode 100644
index 000000000..c11baec92
--- /dev/null
+++ b/toolchain/gcc/patches/5.2.0/disable-dwarf.bfin
@@ -0,0 +1,12 @@
+diff -Nur gcc-git.orig/libgcc/config.host gcc-git/libgcc/config.host
+--- gcc-git.orig/libgcc/config.host 2015-10-23 21:12:52.000000000 +0200
++++ gcc-git/libgcc/config.host 2015-11-15 21:17:38.385745887 +0100
+@@ -231,7 +231,7 @@
+ esac
+ ;;
+ *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu)
+- tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux"
++ tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux"
+ extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
+ if test x$enable_vtable_verify = xyes; then
+ extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
diff --git a/toolchain/gcc/patches/5.2.0/gcc.bfin b/toolchain/gcc/patches/5.2.0/gcc.bfin
new file mode 100644
index 000000000..a0643f5fc
--- /dev/null
+++ b/toolchain/gcc/patches/5.2.0/gcc.bfin
@@ -0,0 +1,12 @@
+diff -Nur gcc-4.9.3.orig/gcc/config.gcc gcc-4.9.3/gcc/config.gcc
+--- gcc-4.9.3.orig/gcc/config.gcc 2015-05-21 22:50:59.000000000 +0200
++++ gcc-4.9.3/gcc/config.gcc 2015-11-23 22:51:58.686375134 +0100
+@@ -1101,7 +1101,7 @@
+ ;;
+ bfin*-linux-uclibc*)
+ tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h gnu-user.h linux.h glibc-stdint.h bfin/linux.h ./linux-sysroot-suffix.h"
+- tmake_file="bfin/t-bfin-linux t-slibgcc t-linux"
++ tmake_file="${tmake_file} bfin/t-bfin-linux t-slibgcc t-linux"
+ use_collect2=no
+ ;;
+ bfin*-rtems*)