OSDN Git Service

- hide __dl_ldso__ (Peter S. Mazinger)
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 14 Jan 2009 16:01:02 +0000 (16:01 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 14 Jan 2009 16:01:02 +0000 (16:01 -0000)
Makerules

index 9067867..d21e6da 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -313,7 +313,7 @@ $(top_builddir)lib/interp.c: | $(sub_headers)
        $(Q)$(INSTALL) -d $(dir $@)
        $(Q)echo "/* Force shared libraries to know about the correct library loader */" > $@
        $(Q)echo "#include <features.h>" >> $@
-       $(Q)echo "const char __dl_ldso__[] __attribute__ ((section " \
+       $(Q)echo "const char __dl_ldso__[] attribute_hidden __attribute__ ((weak)) __attribute__ ((section " \
                "(\".interp\"))) =\""$(SHARED_LIB_LOADER_PREFIX)/$(UCLIBC_LDSO)"\";" >> $@
 
 $(interp): $(top_builddir)lib/interp.c