diff --git a/libc/Android.mk b/libc/Android.mk index d41f8afa5..fc566749f 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -1379,8 +1379,7 @@ LOCAL_LDFLAGS := -Wl,--version-script,$(LOCAL_PATH)/version_script.txt # We'd really like to do this for all architectures, but since this wasn't done # before, these symbols must continue to be exported on LP32 for binary # compatibility. -# TODO: disabled for http://b/20065774. -#LOCAL_LDFLAGS_64 := -Wl,--exclude-libs,libgcc.a +LOCAL_LDFLAGS_64 := -Wl,--exclude-libs,libgcc.a # TODO: This is to work around b/19059885. Remove after root cause is fixed LOCAL_LDFLAGS_arm := -Wl,--hash-style=sysv diff --git a/libc/arch-arm64/arm64.mk b/libc/arch-arm64/arm64.mk index 6a2f31378..470a03838 100644 --- a/libc/arch-arm64/arm64.mk +++ b/libc/arch-arm64/arm64.mk @@ -40,8 +40,6 @@ libc_bionic_src_files_arm64 += \ arch-arm64/bionic/syscall.S \ arch-arm64/bionic/vfork.S \ -# Work around for http://b/20065774. -libc_bionic_src_files_arm64 += arch-arm64/bionic/libgcc_compat.c libc_crt_target_cflags_arm64 := \ -I$(LOCAL_PATH)/arch-arm64/include diff --git a/libc/arch-arm64/bionic/libgcc_compat.c b/libc/arch-arm64/bionic/libgcc_compat.c deleted file mode 100644 index 2dae3f552..000000000 --- a/libc/arch-arm64/bionic/libgcc_compat.c +++ /dev/null @@ -1,15 +0,0 @@ -/* STOPSHIP: remove this once the flounder blobs have been rebuilt (http://b/20065774). */ - -#if !defined(__clang__) - -extern void __clear_cache(char*, char*); -extern char _Unwind_Backtrace; -extern char _Unwind_GetIP; - -void* __bionic_libgcc_compat_symbols[] = { - &__clear_cache, - &_Unwind_Backtrace, - &_Unwind_GetIP, -}; - -#endif diff --git a/libc/version_script.txt b/libc/version_script.txt index 349a2fc2c..afc5e5c47 100644 --- a/libc/version_script.txt +++ b/libc/version_script.txt @@ -1,9 +1,4 @@ LIBC { - global: - /* Work-around for http://b/20065774. */ - __clear_cache; - _Unwind_Backtrace; - _Unwind_GetIP; local: _ZSt7nothrow; _ZdaPv;