#
12968661 |
| 22-Mar-2012 |
christos <christos@NetBSD.org> |
get rid of the cheesy BAD macros
|
#
4efbcb2b |
| 22-Mar-2012 |
he <he@NetBSD.org> |
Make this lint-free (only built for real for the __sh__ ports): * Mark some code after goto as /* NOTREACHED */ * Add a cast for file size (off_t) to size_t to avoid warning about possibly losin
Make this lint-free (only built for real for the __sh__ ports): * 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 *".
show more ...
|
#
2fab93cc |
| 21-Mar-2012 |
christos <christos@NetBSD.org> |
c89 definitions
|
#
6218a6da |
| 21-Aug-2009 |
he <he@NetBSD.org> |
Introduce a new accessor macro N_NAME() to access the n_name field in struct nlist, since it's accessed differently depending on whether we do a.out or not. Use this macro as appropriate in the nlis
Introduce a new accessor macro N_NAME() to access the n_name field 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.
show more ...
|
#
be48221f |
| 16-Feb-2009 |
lukem <lukem@NetBSD.org> |
A variation on the sign-compare fix for these.
|
#
87cd2874 |
| 25-Oct-2006 |
uwe <uwe@NetBSD.org> |
G/c check() macro, b/c it's used only twice and the off < 0 test is useless in the first case (off is 0), and causes error with new gcc (comparison of unsigned expression < 0 is always false) in the
G/c check() macro, b/c it's used only twice and the off < 0 test is 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.
show more ...
|
#
99410184 |
| 26-Jul-2003 |
salo <salo@NetBSD.org> |
netbsd.org->NetBSD.org
|
#
db755e7c |
| 14-Jun-2000 |
cgd <cgd@NetBSD.org> |
sweep of my licenses (userland files w/o only my copyright) for consistency. (no functional changes)
|
#
d220ca5b |
| 14-Jun-2000 |
cgd <cgd@NetBSD.org> |
fix up NetBSD RCS Ids to match the standard, and the leading comment as to match as well. No functional changes.
|
#
695f4e86 |
| 09-Jun-2000 |
simonb <simonb@NetBSD.org> |
Remove a bit of lint.
|
#
40732a43 |
| 03-Jan-2000 |
msaitoh <msaitoh@NetBSD.org> |
nlist for COFF
|