summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@infonline.de>2021-04-09 23:11:38 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-04-10 01:09:10 +0200
commitb7b536bc43959ee3f96e8c4e3c370b7c481d1b40 (patch)
treebbffe8af8fd69da2d683d3e38b3d07e056a4cad0 /toolchain/gcc
parentb1b9d9946a613c143259b0313f53f02772a0335c (diff)
use Linux 5.10.x by default, fix mips32r6 issue
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/patches/10.3.0/ia64-fix-libgcc.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/10.3.0/ia64-fix-libgcc.patch b/toolchain/gcc/patches/10.3.0/ia64-fix-libgcc.patch
new file mode 100644
index 000000000..f1f3c8d2d
--- /dev/null
+++ b/toolchain/gcc/patches/10.3.0/ia64-fix-libgcc.patch
@@ -0,0 +1,17 @@
+diff -Nur gcc-6.3.0.orig/libgcc/config/ia64/fde-glibc.c gcc-6.3.0/libgcc/config/ia64/fde-glibc.c
+--- gcc-6.3.0.orig/libgcc/config/ia64/fde-glibc.c 2016-01-04 15:30:50.000000000 +0100
++++ gcc-6.3.0/libgcc/config/ia64/fde-glibc.c 2017-03-05 13:07:33.316600613 +0100
+@@ -25,6 +25,8 @@
+ /* Locate the FDE entry for a given address, using glibc ld.so routines
+ to avoid register/deregister calls at DSO load/unload. */
+
++#ifndef inhibit_libc
++
+ #ifndef _GNU_SOURCE
+ #define _GNU_SOURCE 1
+ #endif
+@@ -159,3 +161,4 @@
+
+ return data.ret;
+ }
++#endif