diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-13 07:54:51 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-13 07:55:06 +0200 |
commit | e7c5029b3b35c3d2f6cf03f1676a520d147a86df (patch) | |
tree | dfc0e469f252da363eef7c5252920f75c0ef052e /package/gcc/patches/5.4.0/ia64-fix-libgcc.patch | |
parent | 59e08327b483c95fb315c2b3a5a8ed8c97546431 (diff) |
gcc: update to 5.4.0 as default
Diffstat (limited to 'package/gcc/patches/5.4.0/ia64-fix-libgcc.patch')
-rw-r--r-- | package/gcc/patches/5.4.0/ia64-fix-libgcc.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/gcc/patches/5.4.0/ia64-fix-libgcc.patch b/package/gcc/patches/5.4.0/ia64-fix-libgcc.patch new file mode 100644 index 000000000..cdbbd6000 --- /dev/null +++ b/package/gcc/patches/5.4.0/ia64-fix-libgcc.patch @@ -0,0 +1,30 @@ +diff -Nur gcc-4.9.3.orig/libgcc/config/ia64/fde-glibc.c gcc-4.9.3/libgcc/config/ia64/fde-glibc.c +--- gcc-4.9.3.orig/libgcc/config/ia64/fde-glibc.c 2014-01-02 23:25:22.000000000 +0100 ++++ gcc-4.9.3/libgcc/config/ia64/fde-glibc.c 2015-12-01 07:06:43.963906167 +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 +diff -Nur gcc-4.9.3.orig/libgcc/unwind-generic.h gcc-4.9.3/libgcc/unwind-generic.h +--- gcc-4.9.3.orig/libgcc/unwind-generic.h 2014-01-02 23:25:22.000000000 +0100 ++++ gcc-4.9.3/libgcc/unwind-generic.h 2015-12-01 07:00:15.731287428 +0100 +@@ -221,7 +221,9 @@ + compatible with the standard ABI for IA-64, we inline these. */ + + #ifdef __ia64__ ++#ifndef inhibit_libc + #include <stdlib.h> ++#endif + + static inline _Unwind_Ptr + _Unwind_GetDataRelBase (struct _Unwind_Context *_C) |