Commit Graph

24 Commits

Author SHA1 Message Date
riastradh
513e90a6d7 Need <stdint.h> for uintmax_t.
From debidi in #netbsd on Freenode.
2016-12-18 18:32:24 +00:00
mlelstv
d40f84ecec cast to intmax_t for machine-independent printing. 2016-09-22 08:43:26 +00:00
christos
8fcc68317d fix usage. 2016-09-21 16:29:48 +00:00
christos
e49db1a5f5 merge copies... 2016-09-21 16:25:41 +00:00
uebayasi
4cca618331 Handle md(4)'s embedded root disk image and size symbol names other
than the default ones ("md_root_image" / "md_root_size").

(References to xmd(4) are deliberately removed.)
2010-11-06 16:03:23 +00:00
tsutsui
fcb0df9205 WARNS'fy sources which are left for reference.
src/usr.sbin/mdsetimage has been superseded by src/gnu/usr.sbin/mdsetimage
for toolchain to handle cross build binaries, but these old sources for
local executable binaries still can be used for tools to patch binaries,
like binpatch utility in sys/arch/amiga/stand and sys/arch/atari/stand.
2009-07-30 15:16:37 +00:00
lukem
9c1945664c Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 13:36:57 +00:00
perry
8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +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
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
lukem
c2aa46e7c2 use %ll_ instead of the less standard %q_ 2001-01-05 03:27:26 +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
itojun
ec7f04c32c support coff image file.
(this is part of NetBSD/sh3 patches)
1999-09-12 16:08:13 +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
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