summaryrefslogtreecommitdiff
path: root/ldso/libdl/libdl.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-26 17:41:29 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:34 +0200
commit73089985a93125f93894f3bead26237430fdaaad (patch)
tree09a2a642e3e8e0a7d6f63834450a98c496adf5b7 /ldso/libdl/libdl.c
parentd5f3b8031b87fbc2d355e167c4358f28392d5c4d (diff)
libdl.c: disable dlinfo
dlinfo is a GNU extension, it should be of the same type as on glibc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'ldso/libdl/libdl.c')
-rw-r--r--ldso/libdl/libdl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index 784a4393a..8bc3071da 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -1081,8 +1081,10 @@ char *dlerror(void)
* Dump information to stderr about the current loaded modules
*/
#ifdef __USE_GNU
+# if 0
static const char type[][4] = { "Lib", "Exe", "Int", "Mod" };
+/* reimplement this, being a GNU extension it should be the same as on glibc */
int dlinfo(void)
{
struct elf_resolve *tpnt;
@@ -1109,6 +1111,7 @@ int dlinfo(void)
}
return 0;
}
+#endif
static int do_dladdr(const void *__address, Dl_info * __info)
{