OSDN Git Service

Fix bug 387, missing _dl_progname for static apps.
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Mon, 15 Aug 2005 08:30:32 +0000 (08:30 -0000)
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>
Mon, 15 Aug 2005 08:30:32 +0000 (08:30 -0000)
ldso/libdl/libdl.c

index add476b..0895209 100644 (file)
@@ -72,6 +72,7 @@ extern char *_dl_debug;
 #ifdef __SUPPORT_LD_DEBUG__
 char *_dl_debug  = 0;
 #endif
+const char *_dl_progname       = "";        /* Program name */
 char *_dl_library_path         = 0;         /* Where we look for libraries */
 char *_dl_ldsopath             = 0;         /* Location of the shared lib loader */
 int _dl_errno                  = 0;         /* We can't use the real errno in ldso */