gcc: move patches around
[openadk.git] / toolchain / gcc / patches / 8.4.0 / ia64-fix-libgcc.patch
blobf1f3c8d2df30e8dc19cd0746a645b19910bddd9d
1 diff -Nur gcc-6.3.0.orig/libgcc/config/ia64/fde-glibc.c gcc-6.3.0/libgcc/config/ia64/fde-glibc.c
2 --- gcc-6.3.0.orig/libgcc/config/ia64/fde-glibc.c 2016-01-04 15:30:50.000000000 +0100
3 +++ gcc-6.3.0/libgcc/config/ia64/fde-glibc.c 2017-03-05 13:07:33.316600613 +0100
4 @@ -25,6 +25,8 @@
5 /* Locate the FDE entry for a given address, using glibc ld.so routines
6 to avoid register/deregister calls at DSO load/unload. */
8 +#ifndef inhibit_libc
10 #ifndef _GNU_SOURCE
11 #define _GNU_SOURCE 1
12 #endif
13 @@ -159,3 +161,4 @@
15 return data.ret;
17 +#endif