diff --git a/usr.bin/ldd/ldd.1 b/usr.bin/ldd/ldd.1 index 14e00900b7d5..b2b8f2f994fb 100644 --- a/usr.bin/ldd/ldd.1 +++ b/usr.bin/ldd/ldd.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: ldd.1,v 1.11 2004/05/14 22:07:21 wiz Exp $ +.\" $NetBSD: ldd.1,v 1.12 2004/05/23 06:51:05 skrll Exp $ .\" .\" Copyright (c) 1998 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -108,7 +108,7 @@ The full pathname as determined by .Nm rtld Ns 's library search rules. .It \&%x -The library's load address (a.out only, ignored in elf). +The library's load address .El .Pp Additionally, diff --git a/usr.bin/ldd/ldd_elf/ldd.c b/usr.bin/ldd/ldd_elf/ldd.c index b033384ff4ba..391793fce7bc 100644 --- a/usr.bin/ldd/ldd_elf/ldd.c +++ b/usr.bin/ldd/ldd_elf/ldd.c @@ -1,4 +1,4 @@ -/* $NetBSD: ldd.c,v 1.23 2004/05/14 22:04:01 christos Exp $ */ +/* $NetBSD: ldd.c,v 1.24 2004/05/23 06:51:05 skrll Exp $ */ /*- * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. @@ -316,7 +316,7 @@ fmtprint(const char *libname, Obj_Entry *obj, const char *fmt1, printf("%s", libpath); break; case 'x': - /* XXX: not supported for elf */ + printf("%p", obj->mapbase); break; } break;