Commit Graph

40 Commits

Author SHA1 Message Date
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
fvdl
174b474772 Include -DNLIST_ELF64 for x86_64. 2002-12-10 17:59:41 +00:00
fvdl
3658e0287e Add x86_64 if clause to get correct types. 2002-11-25 22:33:39 +00:00
wiz
4e823ac145 Whitespace nits. 2002-01-19 03:35:05 +00:00
fredette
e4e309c64c Define both NLIST_ELF32 and NLIST_AOUT on m68000. 2001-12-12 22:19:18 +00:00
jmc
a831891141 Pull in mdsetimage to the tools builds. (XXX - using libbfd here would
probably be preferrable long term).
2001-10-21 23:10:46 +00:00
cgd
0fcb9b7701 Remove the advertising clause from my license notice FOR THIS PROGRAM ONLY.
The purpose of that modification is to make the license on these files
"GPL-compatible," so that mdsetimage may be combined with BFD.  (The
resulting license is word-for-word identicial to one of the licenses
described as being GPL compatible on
http://www.gnu.org/licenses/license-list.html.)
2001-10-01 23:32:34 +00:00
eeh
09af009af3 Fix typo in previous. (damn vi.) 2001-06-21 22:58:36 +00:00
eeh
5e8c69237f Add sparc64 support for both sparc and sparc64:
ELF64 for 64-bit sparc64 kernels.
ELF32 for 32-bit sparc and sparc64 kernels.
a.out for old sparc kernels.
2001-06-21 22:57:25 +00:00
matt
1ac7180770 Enable ELF32 for vax re: mdsetimage. 2001-05-01 20:35:19 +00:00
bjh21
f7bfe29cb1 Compile with ELF support on ARM systems. 2001-04-24 19:02:06 +00:00
cgd
bea3342290 slight cleanup: KNF, and one line breaking tweak to make usage() slightly
more diffable w/ the BFD version in pkgsrc.
2001-03-21 23:46:48 +00:00
cgd
7760ae7215 check for size_t overflow using cast, rather than comparison with
SIZE_T_MAX.  The latter is less portable.
2001-03-21 23:27:33 +00:00
cgd
040de26f85 call setprogname(argv[0]) at start of main() 2001-02-21 00:06:22 +00:00
cgd
25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
tsutsui
3a7ec5d5cd Define both NLIST_ELF32 and NLIST_AOUT on m68k. 2001-02-18 05:58:35 +00:00
lukem
c2aa46e7c2 use %ll_ instead of the less standard %q_ 2001-01-05 03:27:26 +00:00
shin
745fabb2ce MACHINE_ARCH for MIPS machine is "mipsel" or "mipseb". 2001-01-05 01:35:45 +00:00
itojun
92ee339d1c sh3 split 2001-01-04 09:43:05 +00:00
scw
ab70197801 Select the object format in the Makefile, to allow selecting on
%MACHINE when deciding what object formats to support.
2000-12-18 20:43:58 +00:00
cgd
db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
msaitoh
049ad0d982 machine/exec_coff.h -> sys/exec_coff.h 2000-01-07 09:40:33 +00:00
erh
6752f572d8 Remove ELFNAME defines since they are defined in sys/exec_elf.h 1999-11-04 02:00:17 +00:00
kleink
522cbf0248 Update to match new SVR4-style definition names in <sys/exec_elf.h>. 1999-10-25 13:55:06 +00:00
hannken
5fb16f4d15 Undo last change. While these macros are defined in exec_elf.h, they are
enclosed by `#ifdef _KERNEL'.
1999-10-22 10:58:00 +00:00
erh
59b90d4a0e Remove ELFNAME macros which are already defines in exec_elf.h 1999-10-21 21:17:08 +00:00
itojun
ec7f04c32c support coff image file.
(this is part of NetBSD/sh3 patches)
1999-09-12 16:08:13 +00:00
garbled
d1407362ba 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:43:46 +00:00
christos
f81a7584c8 Add ELF for i386 and sparc (Andrew Gillham) 1999-03-03 12:26:07 +00:00
jonathan
92fda0ceb3 Define NLIST_ELF32 for mips native format. Also NLIST_ECOFF (pmax, arc PROMs)
NLIST_AOUT (old pmax bootblocks).
1998-12-05 07:30:38 +00:00
sakamoto
6cd8c4c69f Define NLIST_ELF32 on PowerPC. 1998-11-26 08:11:33 +00:00
ross
5b1f2d4c8c Add {} pairs to shut up egcs. 1998-08-27 18:03:42 +00:00
lukem
593df3da4c WARNSify 1997-10-17 10:28:39 +00:00
lukem
fcfec169df WARNSify 1997-10-17 10:18:36 +00:00
scottr
dbeee4956b Implement the -T flag, used to (optionally) specify the kernel text
start address for a.out executables.  This is useful in the case that
kernel text starts in the second physical page, in which case the
clever hack to work around the problem is defeated.

This option was patterned after the -T flag documented in the ld(1)
man page.  (It does not support the undocumented '-Ttext <addr>'
usage, however, since that would require a parser or getopt(3) hacks.)
1997-09-30 06:20:16 +00:00
cgd
dd84b718ce Re-fix the PR 3209. The right thing to do is cast to (long long) and
print with %qd.  'off_t' is _NOT_ 'long long' on all platforms, and gcc
complains with -Wformat %qd is used on an off_t on those platforms.
1997-02-11 22:40:25 +00:00
pk
3bb6ed1979 Fix format for quad argument (PR#3209) and two other format string
mismatches.
1997-02-11 22:26:14 +00:00
pk
8ea56d49aa This program is now called `mdsetimage'. 1997-01-02 00:33:34 +00:00
cgd
257aa69013 rdsetimage, a program to set kernel RAM disk images.
Written from scratch by me, today.
1996-10-04 00:18:55 +00:00