Skip to content

Commit

Permalink
[android] Explicitly make _Unwind_Resume visible for arm64/mips64
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Moskalchuk <dm@crystax.net>
  • Loading branch information
dmsck committed Aug 30, 2015
1 parent bc11ffe commit 44b8ea1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gcc/config/aarch64/aarch64-linux-android.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
4 changes: 4 additions & 0 deletions gcc/config/mips/linux-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 44b8ea1

Please sign in to comment.