summaryrefslogtreecommitdiff
path: root/packages/gcc/7.3.0/0019-crystax.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-01-30 23:08:18 (GMT)
committerAlexey Neyman <stilor@att.net>2018-01-30 23:08:18 (GMT)
commit36bb675a71cc66a2abd69bc82d613f2153d3791f (patch)
tree9851733e0973e1de900d7f932e5b88fe637441f3 /packages/gcc/7.3.0/0019-crystax.patch
parent1c329c33bf4e1c6767454f98285e91ee19f1f724 (diff)
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/0019-crystax.patch')
-rw-r--r--packages/gcc/7.3.0/0019-crystax.patch41
1 files changed, 26 insertions, 15 deletions
diff --git a/packages/gcc/7.3.0/0019-crystax.patch b/packages/gcc/7.3.0/0019-crystax.patch
index 8c21a1c..ccb81fd 100644
--- a/packages/gcc/7.3.0/0019-crystax.patch
+++ b/packages/gcc/7.3.0/0019-crystax.patch
@@ -1,23 +1,34 @@
-commit 89d27bc45ee7325dcfff6748da0f8b9c1dc1f234
+commit 9ae82f7cfc1073820092dd9f957559667e77db0d
Author: Dmitry Moskalchuk <dm@crystax.net>
-Date: Sat Aug 22 09:55:55 2015 +0300
+Date: Tue Aug 25 09:36:42 2015 +0300
- [android][i386] Remove throw() declaration from posix_memalign() proto
+ [android] Explicitly make _Unwind_Resume visible for arm64/mips64
Signed-off-by: Dmitry Moskalchuk <dm@crystax.net>
---
- gcc/config/i386/pmm_malloc.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ gcc/config/aarch64/aarch64-linux-android.h | 4 ++++
+ gcc/config/mips/linux-common.h | 4 ++++
+ 2 files changed, 8 insertions(+)
---- a/gcc/config/i386/pmm_malloc.h
-+++ b/gcc/config/i386/pmm_malloc.h
-@@ -31,7 +31,7 @@
- #ifndef __cplusplus
- extern int posix_memalign (void **, size_t, size_t);
- #else
--extern "C" int posix_memalign (void **, size_t, size_t) throw ();
-+extern "C" int posix_memalign (void **, size_t, size_t);
- #endif
+--- a/gcc/config/aarch64/aarch64-linux-android.h
++++ b/gcc/config/aarch64/aarch64-linux-android.h
+@@ -56,4 +56,8 @@
+ #define ENDFILE_SPEC \
+ LINUX_OR_ANDROID_LD (GNU_USER_TARGET_ENDFILE_SPEC, ANDROID_ENDFILE_SPEC)
- static __inline void *
++#ifdef IN_LIBGCC2
++#define LIBGCC2_UNWIND_ATTRIBUTE __attribute__((visibility("default")))
++#endif
++
+ #endif /* GCC_AARCH64_LINUX_ANDROID_H */
+--- a/gcc/config/mips/linux-common.h
++++ b/gcc/config/mips/linux-common.h
+@@ -62,3 +62,7 @@
+
+ /* The default value isn't sufficient in 64-bit mode. */
+ #define STACK_CHECK_PROTECT (TARGET_64BIT ? 16 * 1024 : 12 * 1024)
++
++#ifdef IN_LIBGCC2
++#define LIBGCC2_UNWIND_ATTRIBUTE __attribute__((visibility("default")))
++#endif