am 40e7ed58: Unhide rtld_db_dlactivity()

* commit '40e7ed58d73eae59d0cf2fed61284d16692e307b':
  Unhide rtld_db_dlactivity()
This commit is contained in:
Andrew Hsieh 2012-07-09 11:05:16 -07:00 committed by Android Git Automerger
commit 67636eea20
2 changed files with 3 additions and 3 deletions

View file

@ -159,7 +159,7 @@ const char *linker_get_error(void)
* This function is an empty stub where GDB locates a breakpoint to get notified
* about linker activity.
*/
extern void __attribute__((noinline)) rtld_db_dlactivity(void);
extern void __attribute__((noinline)) __attribute__((visibility("default"))) rtld_db_dlactivity(void);
static struct r_debug _r_debug = {1, NULL, &rtld_db_dlactivity,
RT_CONSISTENT, 0};

View file

@ -28,9 +28,9 @@
/*
* This function is an empty stub where GDB locates a breakpoint to get notified
* about linker activity.
* about linker activity. It canʼt be inlined away, canʼt be hidden.
*/
void __attribute__((noinline)) rtld_db_dlactivity(void)
void __attribute__((noinline)) __attribute__((visibility("default"))) rtld_db_dlactivity(void)
{
}