* Mark some code after goto as /* NOTREACHED */
* Add a cast for file size (off_t) to size_t to avoid warning about
possibly losing bits.
* Avoid a "pointer casts may be troublesome" warning from lint
by doing a cast via "void *" instead of directly to "struct
coff_filehdr *".
in struct nlist, since it's accessed differently depending on
whether we do a.out or not. Use this macro as appropriate in the
nlist* functions.
Also replace some includes of <a.out.h> with <nlist.h>, to fix build
problem for mips.
useless in the first case (off is 0), and causes error with new gcc
(comparison of unsigned expression < 0 is always false) in the
second.
While here fix a typo in a comment and use less indent to make BAD and
BADUNMAP definitions fit 80 columns.
XXX: The second check should probably be more elaborate to protect
against bogus/malicious COFF files.