Commit Graph

15 Commits

Author SHA1 Message Date
Warner Losh
1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Mike Pritchard
78b0b234eb Correct a bunch of man page cross references and generally
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.
1996-02-11 22:38:05 +00:00
Peter Wemm
0b5e4d48b3 Repair the detection of undefined symbols that my last "quick fix" commit
broke.  It's much easier to debug the symbol export lists in lkm makefiles
if you know what your errors are during the build process. :-)

Bleah.. symorder.c is *horrible*. :-(
1995-11-03 18:27:18 +00:00
Peter Wemm
62c10d2dcb symorder appears to have been designed to run on executable files
only, as it payes no attention to the relocation table (which
references the symbols).

As a result, running "symorder -c" to clean up the visibility of a LKM
".o" file (as is done in the new bsd.kmod.mk) totally screws up the
relocation table, making the LKM file unloadable. (ld: bogus
relocation record)

This is a pretty crude fix - I've changed symorder so that when
running in "cleanup" mode, it disables the reordering which was
screwing up the relocation table.  I'm sure there is a better fix, but
I didn't have the energy.  Feel free to fix this hack, probably by
renumbering the symbol indexes in the relocation table.
1995-10-28 12:27:20 +00:00
David Greenman
357ab62b03 Add -c to usage output. 1995-10-23 15:19:10 +00:00
Poul-Henning Kamp
65f29761ba Add a '-c' option for cleaning namelists of various things. 1995-10-15 14:31:10 +00:00
David Greenman
342e26f662 KNFize. 1995-10-09 08:13:09 +00:00
Poul-Henning Kamp
4699383a71 Symorder relies on malloc to return zero'ed data. Found with phkmalloc/2. 1995-10-07 08:13:24 +00:00
Rodney W. Grimes
7799f52a32 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
Bruce Evans
742c88a03a Use exactly the same checks in excluded() as in inlist(): ignore stabs and
stringless symbols in excluded(); check for too-small (nonzero) string table
offsets in inlist().
1995-01-21 10:24:18 +00:00
Bruce Evans
d25a46b215 Add option `-x excludelist'. This will be used for removing variously
spelled g*compiled* symbols from the kernel so that ddb doesn't have to
do it.  The symbols are currently removed by dbsym but dbsym will go
away when symbols are loaded by the boot loader.

Document -m option in usage message.

Check for overrunning some arrays.

Fix some misformatting.
1995-01-17 07:20:26 +00:00
Poul-Henning Kamp
e57dc19458 Added a missing 'break;' 1994-10-16 22:07:47 +00:00
Poul-Henning Kamp
3972fa6670 Symorder complains if INET isn't in the kernel. I added '-m' to inform it
that it should exit(0) even if this is so.  fixed a /386bsd -> /kernel in
the man-page while at it.
1994-10-16 22:01:44 +00:00
Rodney W. Grimes
5c015679e9 Christoph Robitschko manual page fixes to correct the references to vmunix
by replacing the name with 386bsd.
1993-10-08 01:36:20 +00:00
Rodney W. Grimes
9002c02abc Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:49:13 +00:00