tsutsui
c37f283f47
Fix -Wcast-qual and -Wsign-compare issues.
2009-04-23 14:49:32 +00:00
simonb
f11583fa19
Fix "pointer targets in passing argument X of 'Y' differ in signedness"
...
warnings. Originally, bswap32_region() took a u_int32_t * as its first
argument. Since no args passed to it are u_int32_t *, but some are
int32_t *, change it to int32_t * and fix remaining casts.
2006-05-31 08:09:55 +00:00
lukem
171d653219
Overhaul how `build.sh tools' are used:
...
* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
2003-10-27 00:12:41 +00:00
lukem
826a14607a
Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
...
there's no need to special-case .include-ing it.
2003-05-18 07:57:31 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
grant
be8ae688ae
New sentence, new line.
2002-09-30 11:08:56 +00:00
tv
659104213a
Proper usage of HAVE_CONFIG_H.
2002-04-25 18:16:49 +00:00
bouyer
a9be20933e
Include config.h when compiled as host tool.
2002-03-24 19:19:29 +00:00
bouyer
7cf2fe5876
Don't need <sys/exec.h> either.
2002-03-23 17:44:52 +00:00
bouyer
4498b37c8b
We don't need <sys/exec_aout.h> here.
2002-03-23 17:18:42 +00:00
bouyer
33176a1255
Add byte-swapping calls where appropriate, so that this can be used as
...
cross-tool on opposite endian host.
2002-03-23 17:11:45 +00:00
bouyer
9f3b0a4dcc
Respect byte order of the ELF executable. This allows elf2ecoff to be used
...
for mipseb platforms (especially to produce bootable ecoff kernel for sgimips).
2002-03-19 09:29:04 +00:00
thorpej
4fa7ef5e39
Make this Makefile work on non-MIPS again.
2002-02-24 01:52:09 +00:00
gmcgarry
1635c6c690
Handle being built as a host tool.
2002-02-23 21:34:06 +00:00
wiz
f3dbbfdd1d
Sort sections, sort SEE ALSO, drop some .Pps and a '.' at the end of SEE ALSO.
2001-12-01 19:06:01 +00:00
jhawk
f6260667c9
s/a.out/ECOFF/ "oops"
2000-08-24 01:20:35 +00:00
soren
89c5a767f8
Fix doubled 'the's.
2000-03-13 22:55:05 +00:00
drochner
1899563c96
make it compile after ELF definition changes
1999-11-02 21:13:17 +00:00
simonb
01291c0840
Only build binaries on mipse? systems, but build man pages on everything.
1999-06-09 02:54:17 +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
kleink
3ed4fcf61e
In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
...
of errno.
1999-01-11 22:39:59 +00:00
simonb
552d6a2ac5
Truncate the output file before writing to it, and silence the verbose
...
output.
1998-11-27 05:09:49 +00:00
perry
bfd526219d
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-10 02:57:23 +00:00
christos
3404312dcc
This has been WARNSified..
1998-02-22 12:17:24 +00:00
perry
34a98169f0
macroize BSD, NetBSD, FreeBSD and misc cleanup
1998-02-06 05:54:12 +00:00
perry
3fe138c146
RCS Id Police.
1998-01-09 08:03:16 +00:00
lukem
07732f2ed9
use WARNS=0 not WARNS?=0 to disable warnings
1997-10-19 13:01:12 +00:00
lukem
043bfc9260
KNFify (with indent(1))
1997-10-18 13:53:19 +00:00
lukem
c8accd1a9f
disable WARNS until an ecoff user can clean this up
1997-10-18 13:50:18 +00:00
lukem
38fdbc9351
fix up .Nm usage
1997-10-18 13:50:02 +00:00
jonathan
623d454fe0
* Rewrite symbol-remapping code, compatible with mips ECOFF toolchain.
...
* delint for -Wall -Wstrict-prototypes -Wmissing-prototypes.
1997-07-20 03:50:54 +00:00
jonathan
34b0d2463d
Re-commit (from non-stale NFS filehandle) with debugging really turned off.
1997-07-07 00:02:16 +00:00
jonathan
25afea2de8
* Delint for gcc -Wall -Wmissing-prototypes -Wstrict-prototypes.
...
* Add an extra 4096 bytes of padding to the end of ECOFF files for
the benefit of dumb TFTP clietns that read entire pages.
1997-07-06 23:57:39 +00:00
thorpej
1fb754977a
Need <sys/exec.h> to get stuff that <machine/ecoff_machdep.h> needs.
1997-06-16 22:10:27 +00:00
tls
9d225a1783
RCS ID police
1997-01-09 20:18:21 +00:00
jonathan
58e8bd3b69
Rework to compile with <sys/exec_elf.h>.
1996-10-16 00:27:05 +00:00
jonathan
0506626d5f
Fix Makefile boilerplate:
...
Use elfstrip to strip itself only in elfstrip, not elf2aout or elf2ecoff.
1996-09-29 22:23:01 +00:00
jonathan
559daf5070
Add RCS id lines to Ted Lemon's original code.
...
Update elf2ecoff to compile against NetBSD-1.2 distribtion ECOFF headers.
1996-09-29 22:01:44 +00:00
jonathan
fb8fff0110
Commit minimal Makefiles and man pages for ELf toolchain utilties
...
elf2aout, elf2ecoff, elfstrip
1996-09-29 21:53:11 +00:00
jonathan
55e1f3d7f3
Import Ted Lemon's ELF toolchain utilties used to build kernels
...
for the pmax port in NetBSD 1.1 and 1.2.
1996-09-29 21:48:29 +00:00