summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/5.4.0/lm32-newlib-fix.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-13 07:54:51 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-13 07:55:06 +0200
commite7c5029b3b35c3d2f6cf03f1676a520d147a86df (patch)
treedfc0e469f252da363eef7c5252920f75c0ef052e /toolchain/gcc/patches/5.4.0/lm32-newlib-fix.patch
parent59e08327b483c95fb315c2b3a5a8ed8c97546431 (diff)
gcc: update to 5.4.0 as default
Diffstat (limited to 'toolchain/gcc/patches/5.4.0/lm32-newlib-fix.patch')
-rw-r--r--toolchain/gcc/patches/5.4.0/lm32-newlib-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/5.4.0/lm32-newlib-fix.patch b/toolchain/gcc/patches/5.4.0/lm32-newlib-fix.patch
new file mode 100644
index 000000000..4500ad55e
--- /dev/null
+++ b/toolchain/gcc/patches/5.4.0/lm32-newlib-fix.patch
@@ -0,0 +1,15 @@
+Backport from gcc git
+https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=f151e2adc9c93b5d65f551f087077609821b71b7
+
+diff -Nur gcc-5.3.0.orig/gcc/config.gcc gcc-5.3.0/gcc/config.gcc
+--- gcc-5.3.0.orig/gcc/config.gcc 2015-09-10 16:17:53.000000000 +0200
++++ gcc-5.3.0/gcc/config.gcc 2016-04-02 19:51:24.771406949 +0200
+@@ -1805,7 +1805,7 @@
+ md_file=iq2000/iq2000.md
+ ;;
+ lm32-*-elf*)
+- tm_file="dbxelf.h elfos.h ${tm_file}"
++ tm_file="dbxelf.h elfos.h ${tm_file} newlib-stdint.h"
+ tmake_file="${tmake_file} lm32/t-lm32"
+ ;;
+ lm32-*-rtems*)