diff options
author | Alexey Neyman <stilor@att.net> | 2017-09-16 13:05:34 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-09-16 13:05:34 -0700 |
commit | ff4485ad30ab866a908ba8ef26f9798db8f72809 (patch) | |
tree | 86a4d4b7cdad64b3ed5607ffff53d7897333538d /packages/gcc-linaro/7.1-2017.08/977-crystax.patch | |
parent | 8bf31117bc2036dc64e410ecd603ac3c2dbfb4f8 (diff) | |
download | crosstool-ng-ff4485ad30ab866a908ba8ef26f9798db8f72809.tar.gz crosstool-ng-ff4485ad30ab866a908ba8ef26f9798db8f72809.tar.bz2 crosstool-ng-ff4485ad30ab866a908ba8ef26f9798db8f72809.zip |
Update gcc-linaro to 2017.08
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/gcc-linaro/7.1-2017.08/977-crystax.patch')
-rw-r--r-- | packages/gcc-linaro/7.1-2017.08/977-crystax.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/gcc-linaro/7.1-2017.08/977-crystax.patch b/packages/gcc-linaro/7.1-2017.08/977-crystax.patch new file mode 100644 index 00000000..0211d728 --- /dev/null +++ b/packages/gcc-linaro/7.1-2017.08/977-crystax.patch @@ -0,0 +1,33 @@ +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> + +diff --git a/gcc/config/aarch64/aarch64-linux-android.h b/gcc/config/aarch64/aarch64-linux-android.h +index db1288fd0..38bc64d61 100644 +--- a/gcc/config/aarch64/aarch64-linux-android.h ++++ b/gcc/config/aarch64/aarch64-linux-android.h +@@ -57,4 +57,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 */ +diff --git a/gcc/config/mips/linux-common.h b/gcc/config/mips/linux-common.h +index 8bfacf994..262a9a341 100644 +--- a/gcc/config/mips/linux-common.h ++++ b/gcc/config/mips/linux-common.h +@@ -63,3 +63,7 @@ along with GCC; see the file COPYING3. If not see + + /* 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 |