Commit Graph

48 Commits

Author SHA1 Message Date
thorpej 892294e9f7 xref ld.elf_so(1) 2001-12-20 06:43:00 +00:00
matt 5f1585220e arm is variable page size. 2001-07-13 17:00:35 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
simonb 36636551b6 Lift the internals of the a.out ldd, and try that if _rtld_map_object()
can't map the target as an ELF file.  Tested in hp300 and i386.
2000-12-12 11:16:02 +00:00
mycroft 0581ae5bad Make ldd(1) build again. 2000-11-10 23:53:04 +00:00
mycroft 8401b85a70 Unmap from mapbase, not relocbase. 2000-07-26 19:39:07 +00:00
eeh 6697064b0d Make this compile on sparc64. 2000-07-10 22:45:25 +00:00
mycroft 15f8483562 Use LDSTATIC, not LDFLAGS. 2000-02-20 07:14:13 +00:00
christos 51d639caed Enable hints processing so that we can see the mappings. 1999-12-13 09:10:16 +00:00
mycroft 411b41e76c Update for ld.elf_so changes. 1999-11-07 00:30:18 +00:00
kleink 1cc052ce00 Rearrange the shared library search path precedences to LD_LIBRARY_PATH >
runpath > built-in default; this is the behaviour of the SVR4 shared loader,
and gives users the opportunity to override the runpath.  (Addresses a report
on current-users by John Kohl.)
1999-08-01 19:47:07 +00:00
thorpej 0ecdd58add Define _RTLD_SOURCE so this builds again. PR 7927, itojun@itojun.org. 1999-07-06 08:04:31 +00:00
hannken 3ca44ccb68 Handle variable page size on sparc. See libexec/ld.elf_so/rtld.h rev 1.13. 1999-06-26 11:28:26 +00:00
kleink 34e8af912a Remove a comment copied directly from ld.elf_so that really shouldn't be here. 1999-05-31 14:56:00 +00:00
kleink ac412c9213 Avoid free(3)'ing a commandline argument; from Mark Brinicombe in PR bin/7246. 1999-04-09 14:24:21 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
pk 0f75831fad _rtld_add_paths() takes an extra argument 1999-02-25 16:26:51 +00:00
thorpej d78de2f0ad Build ldd.1, and make it work with the extra directory depth. 1998-12-17 22:34:55 +00:00
thorpej f6895d1c2d Get ldd.1 from the previous level. 1998-12-17 22:34:09 +00:00
thorpej 27518b942e Move the manual page up one level via repository copy. 1998-12-17 22:33:46 +00:00
thorpej e4cbfbfb44 getopt() returns -1, not EOF. 1998-12-16 23:14:02 +00:00
thorpej 2e04232a96 Prototypes. 1998-12-16 23:13:02 +00:00
pk 21e1fe821f Move a.out version of ldd(1) to the usr.bin tree; elf and a.out
reside in separate subdirectories (various source moved by
repository copying). Adapt Makefiles to new situation.
1998-12-15 22:07:11 +00:00
pk 0a97faa040 Assign my copyrights to TNF. 1998-09-05 13:08:38 +00:00
fair c46ab392dc Principally, change foo(N) to .Xr foo N
Also, do some other mdoc tagging.
1998-04-28 04:07:04 +00:00
cgd 10cc9f3b70 RCS Id police 1998-01-05 22:00:34 +00:00
lukem ca15d8c056 don't define WARNS=1 here 1997-10-19 03:44:21 +00:00
christos 06a0ab2d5f CFLAGS->CPPFLAGS, and general cleanup; add WARNS 1997-10-11 19:13:39 +00:00
mrg 586ed80911 install all man pages. 1997-06-23 13:25:41 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
jonathan 20d6ace077 Mipsel changes to ELF ldd/ld.so:
* don't abort() on NetBSD/pmax 1.1 elf binaries;
  * Assume 32-bit elf unless compiling for Alpha;
  * note bugs in ldd's README.
1996-12-17 03:42:44 +00:00
cgd 033e366657 First cut at an elf-aware ldd. Originally from John Polstra's FreeBSD elf
kit, then hacked on by Matt Thomas <matt@3am-software.com>, then by me.
This runs, but it's in serious need of cleaning and/or a fair bit of
reworking.  See the README file for more information, and a list of things
to do.
1996-12-16 19:59:55 +00:00
thorpej ec67ea7102 When checking the entry point of an executable, use N_PAGSIZ() rather
than __LDPGSZ directly.
1996-09-07 22:07:15 +00:00
pk ce77d757fd And initialize those local variables... 1995-10-09 00:14:41 +00:00
pk 9d43c41208 New style RCS IDs. 1995-10-09 00:09:39 +00:00
pk 3aa94e17f0 Add -f option for customized output. 1995-10-08 23:39:58 +00:00
pk 864ea66ef9 Use new a.out flags. 1994-08-13 08:42:33 +00:00
pk a43fd7b3a2 Conversion to err()/warn() for error reports. 1994-06-10 15:16:32 +00:00
pk b6d3849691 Don't core dump on shared objects. We need an a.out flag really.
Some misc cleanup.
1994-04-10 08:54:30 +00:00
jtc fc1d8f3bac Fix spelling error in Copyright notice 1994-01-29 01:54:01 +00:00
pk a6aa50489e Add fflush(stdout) to get output in a intuitive order. 1993-12-16 08:33:36 +00:00
pk efa4a5a7aa *** empty log message *** 1993-12-08 10:16:08 +00:00
mycroft a284fbc30e Remove ${DESTDIR} from BINDIR. 1993-12-02 07:21:19 +00:00
pk be6ea65f08 Close those file descriptors. 1993-10-31 14:54:29 +00:00
pk 3f26fe8498 Check for EX_DYNAMIC flag in exec header. 1993-10-31 14:41:46 +00:00
pk 6f8b7828cd Oops, we do have a man page. 1993-10-22 21:10:42 +00:00
pk 32c8052648 ldd: list shared library dependencies. 1993-10-22 21:09:57 +00:00