diff options
author | Alexey Neyman <stilor@att.net> | 2018-01-30 15:08:18 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-01-30 15:08:18 -0800 |
commit | 36bb675a71cc66a2abd69bc82d613f2153d3791f (patch) | |
tree | 9851733e0973e1de900d7f932e5b88fe637441f3 /packages/gcc/7.3.0/0016-crystax.patch | |
parent | 1c329c33bf4e1c6767454f98285e91ee19f1f724 (diff) | |
download | crosstool-ng-36bb675a71cc66a2abd69bc82d613f2153d3791f.tar.gz crosstool-ng-36bb675a71cc66a2abd69bc82d613f2153d3791f.tar.bz2 crosstool-ng-36bb675a71cc66a2abd69bc82d613f2153d3791f.zip |
More fixes after the upgrades:
- GLIBC requires a fix to work with binutils 2.30 on aarch64. This fix
relies on binutils 2.24 or newer, which is okay for glibc 2.26 since
it needs 2.25 or newer anyway. But older glibc versions are now pinned
to binutils 2.29 or older on aarch64.
- xtensa needs patches in libgcc with gcc 7.3.
- comment in newlib's patch to indicate it is a reversal of a commit.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/gcc/7.3.0/0016-crystax.patch')
-rw-r--r-- | packages/gcc/7.3.0/0016-crystax.patch | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/packages/gcc/7.3.0/0016-crystax.patch b/packages/gcc/7.3.0/0016-crystax.patch index cd56a564..8f2eb438 100644 --- a/packages/gcc/7.3.0/0016-crystax.patch +++ b/packages/gcc/7.3.0/0016-crystax.patch @@ -1,22 +1,26 @@ -commit 778a9ef107f51544d583f110e92b75f4d9d79117 +commit dbeae1190cabad83999f2540523f045acc1bb4ec Author: Dmitry Moskalchuk <dm@crystax.net> -Date: Thu Aug 20 19:11:07 2015 +0300 +Date: Fri Aug 21 17:41:59 2015 +0300 - [android] Don't use PIE copyrelocs for x86/x86_64 + [android] Always use gthr-posix.h instead of gthr-default.h Signed-off-by: Dmitry Moskalchuk <dm@crystax.net> --- - gcc/config/i386/i386.c | 1 + - 1 file changed, 1 insertion(+) + libgcc/gthr.h | 4 ++++ + 1 file changed, 4 insertions(+) ---- a/gcc/config/i386/i386.c -+++ b/gcc/config/i386/i386.c -@@ -15753,6 +15753,7 @@ - else if (!SYMBOL_REF_FAR_ADDR_P (op0) - && (SYMBOL_REF_LOCAL_P (op0) - || (HAVE_LD_PIE_COPYRELOC -+ && !TARGET_HAS_BIONIC - && flag_pie - && !SYMBOL_REF_WEAK (op0) - && !SYMBOL_REF_FUNCTION_P (op0))) +--- a/libgcc/gthr.h ++++ b/libgcc/gthr.h +@@ -145,7 +145,11 @@ + #define GTHREAD_USE_WEAK 1 + #endif + #endif ++#if __ANDROID__ ++#include "gthr-posix.h" ++#else + #include "gthr-default.h" ++#endif + + #ifndef HIDE_EXPORTS + #pragma GCC visibility pop |