mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-04 12:04:09 +00:00
a6c36d3e7d
Forward ported patches from GCC 8.3.0 to 9.2.0, refreshed to match current sources. In patch 0012-crystax.patch, removed changing sysv4.h header file for rs6000, since it no longer defines LINK_EH_SPEC. Removed the following patches because they are part of upstream: - 0018-ARC-Add-multilib-support-for-linux-targets.patch - 0020-ARM-fix-cmse.patch - 0021-arm-Make-arm_cmse.h-C99-compatible.patch - 0022-ARC-Update-fma-expansions.patch Renamed 0019-isl-0.20.patch => 0018-isl-0.20.patch. Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
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
|
|
@@ -65,3 +65,7 @@ along with GCC; see the file COPYING3.
|
|
|
|
/* 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
|