Browse Source

Make ldd work even more like GNU ldd by appending dummy load addresses

David Schleef 21 years ago
parent
commit
2e08b7b87e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ldso/util/ldd.c

+ 2 - 2
ldso/util/ldd.c

@@ -535,10 +535,10 @@ int main( int argc, char** argv)
 		}
 		for (cur = lib_list; cur; cur=cur->next) {
 			got_em_all=1;
-			printf("\t%s => %s\n", cur->name, cur->path);
+			printf("\t%s => %s (0x00000000)\n", cur->name, cur->path);
 		}
 		if (interp_dir && got_em_all==1)
-			printf("\t%s => %s\n", interp, interp);
+			printf("\t%s => %s (0x00000000)\n", interp, interp);
 		if (got_em_all==0)
 			printf("\tnot a dynamic executable\n");
 	}