[git commit ldso-future] ldso.c: make _dl_debug_state weak, remove trailing ;

Peter S. Mazinger ps.m at gmx.net
Wed Mar 30 11:53:36 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=03f4f82ccbc976895f2e3ba5ba41d6c476cd8406
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/ldso-future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 ldso/ldso/ldso.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index 5c9d0f5..8b6438f 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -74,7 +74,7 @@ const char *_dl_progname = UCLIBC_LDSO;      /* The name of the executable being
  * address mapping is changed in some way.
  */
 void _dl_debug_state(void);
-rtld_hidden_proto(_dl_debug_state, noinline);
+rtld_hidden_proto(_dl_debug_state, noinline)
 void _dl_debug_state(void)
 {
 	/* Make sure GCC doesn't recognize this function as pure, to avoid
@@ -82,7 +82,7 @@ void _dl_debug_state(void)
 	 */
 	__asm__("");
 }
-rtld_hidden_def(_dl_debug_state);
+rtld_hidden_weak(_dl_debug_state)
 
 static unsigned char *_dl_malloc_addr = NULL;	/* Lets _dl_malloc use the already allocated memory page */
 static unsigned char *_dl_mmap_zero   = NULL;	/* Also used by _dl_malloc */
-- 
1.7.3.4



More information about the uClibc-cvs mailing list