Merge "Hide the symbol of helper function __libc_android_abort"

This commit is contained in:
Jean-Baptiste Queru
2010-10-11 07:13:10 -07:00
committed by Android Code Review
2 changed files with 5 additions and 1 deletions

View File

@@ -95,6 +95,10 @@
__asm__(".section _sec\n\t.asciz _str\n\t.previous") __asm__(".section _sec\n\t.asciz _str\n\t.previous")
#endif #endif
/* GCC visibility helper macro */
#define __LIBC_HIDDEN__ \
__attribute__ ((visibility ("hidden")))
#define __IDSTRING(_n,_s) __SECTIONSTRING(.ident,_s) #define __IDSTRING(_n,_s) __SECTIONSTRING(.ident,_s)
#define __RCSID(_s) __IDSTRING(rcsid,_s) #define __RCSID(_s) __IDSTRING(rcsid,_s)

View File

@@ -40,7 +40,7 @@
__libc_android_log_print(ANDROID_LOG_DEBUG, "libc-abort", (format), ##__VA_ARGS__ ) __libc_android_log_print(ANDROID_LOG_DEBUG, "libc-abort", (format), ##__VA_ARGS__ )
#ifdef __arm__ #ifdef __arm__
void __LIBC_HIDDEN__ void
__libc_android_abort(void) __libc_android_abort(void)
#else #else
void void