summaryrefslogtreecommitdiff
path: root/packages/gcc/8.4.0/8.3.0/0017-crystax.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2020-03-18 08:53:39 (GMT)
committerChris Packham <judge.packham@gmail.com>2020-03-18 08:53:39 (GMT)
commit31ca84ac88030299171d9f2099e2a41990d219a1 (patch)
tree064fab4dcbc1e5cab721bf35ce5f807adb75b462 /packages/gcc/8.4.0/8.3.0/0017-crystax.patch
parentfa01486ac32ff7eaa54607e182747a555cf84047 (diff)
Update to gcc 8.4.0
https://gcc.gnu.org/legacy-ml/gcc/2020-03/msg00042.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/gcc/8.4.0/8.3.0/0017-crystax.patch')
-rw-r--r--packages/gcc/8.4.0/8.3.0/0017-crystax.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/gcc/8.4.0/8.3.0/0017-crystax.patch b/packages/gcc/8.4.0/8.3.0/0017-crystax.patch
new file mode 100644
index 0000000..ccb81fd
--- /dev/null
+++ b/packages/gcc/8.4.0/8.3.0/0017-crystax.patch
@@ -0,0 +1,34 @@
+commit 9ae82f7cfc1073820092dd9f957559667e77db0d
+Author: Dmitry Moskalchuk <dm@crystax.net>
+Date: Tue Aug 25 09:36:42 2015 +0300
+
+ [android] Explicitly make _Unwind_Resume visible for arm64/mips64
+
+ Signed-off-by: Dmitry Moskalchuk <dm@crystax.net>
+
+---
+ gcc/config/aarch64/aarch64-linux-android.h | 4 ++++
+ gcc/config/mips/linux-common.h | 4 ++++
+ 2 files changed, 8 insertions(+)
+
+--- 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)
+
++#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