diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-11-27 21:11:24 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-11-27 21:11:43 +0100 |
commit | 3c02cd629a7cef8ff472409966cd4502bd6d5d9a (patch) | |
tree | e3d58c8b319b2a6d81cd4b1760dfe79933dfc323 /toolchain/gcc/patches/4.9.3 | |
parent | 7452cf179a431c4a95c832c3423bfeb2467f4dc3 (diff) |
bfin: allow newer gcc and kernel to be build, ICE with uClibc-ng regex, so disable it for now.
Diffstat (limited to 'toolchain/gcc/patches/4.9.3')
-rw-r--r-- | toolchain/gcc/patches/4.9.3/disable-dwarf.bfin | 12 | ||||
-rw-r--r-- | toolchain/gcc/patches/4.9.3/gcc.bfin | 12 |
2 files changed, 24 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*) |