Home | History | Annotate | Download | only in mdsetimage
History log of /src/usr.sbin/mdsetimage/mdsetimage.c
RevisionDateAuthorComments
 1.25  14-Jun-2020  tsutsui Explicitly print a fs image filename on "fs image is too big" errors.

This will help future analysis of build errors caused by bloated
embedded ramdisk images and possible but unexpected other binaries.

Proposed on port-mips@ in discusson about ews4800mips daily build errors:
https://mail-index.netbsd.org/port-mips/2020/06/14/msg000950.html
and "Yes please!" from martin@.
 1.24  18-Dec-2016  riastradh Need <stdint.h> for uintmax_t.

From debidi in #netbsd on Freenode.
 1.23  22-Sep-2016  mlelstv cast to intmax_t for machine-independent printing.
 1.22  21-Sep-2016  christos fix usage.
 1.21  21-Sep-2016  christos merge copies...
 1.20  06-Nov-2010  uebayasi branches: 1.20.28;
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.)
 1.19  30-Jul-2009  tsutsui branches: 1.19.2;
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.
 1.18  21-Jul-2008  lukem branches: 1.18.4; 1.18.10;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.17  15-Dec-2007  perry branches: 1.17.6;
convert __attribute__s to applicable cdefs.h macros
 1.16  01-Oct-2001  cgd branches: 1.16.24;
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.)
 1.15  21-Mar-2001  cgd slight cleanup: KNF, and one line breaking tweak to make usage() slightly
more diffable w/ the BFD version in pkgsrc.
 1.14  21-Mar-2001  cgd check for size_t overflow using cast, rather than comparison with
SIZE_T_MAX. The latter is less portable.
 1.13  21-Feb-2001  cgd call setprogname(argv[0]) at start of main()
 1.12  19-Feb-2001  cgd convert to use getprogname()
 1.11  05-Jan-2001  lukem use %ll_ instead of the less standard %q_
 1.10  14-Jun-2000  cgd sweep of my licenses (userland files w/o only my copyright) for
consistency. (no functional changes)
 1.9  14-Jun-2000  cgd fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well. No functional changes.
 1.8  12-Sep-1999  itojun branches: 1.8.6;
support coff image file.
(this is part of NetBSD/sh3 patches)
 1.7  27-Aug-1998  ross Add {} pairs to shut up egcs.
 1.6  17-Oct-1997  lukem WARNSify
 1.5  30-Sep-1997  scottr 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.)
 1.4  11-Feb-1997  cgd 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.
 1.3  11-Feb-1997  pk Fix format for quad argument (PR#3209) and two other format string
mismatches.
 1.2  02-Jan-1997  pk This program is now called `mdsetimage'.
 1.1  04-Oct-1996  cgd rdsetimage, a program to set kernel RAM disk images.
Written from scratch by me, today.
 1.8.6.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.16.24.1  09-Jan-2008  matt sync with HEAD
 1.17.6.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.18.10.1  21-Apr-2010  matt sync to netbsd-5
 1.18.4.1  04-Oct-2009  snj Pull up following revision(s) (requested by tsutsui in ticket #1056):
usr.sbin/mdsetimage/exec_aout.c: revision 1.7
usr.sbin/mdsetimage/exec_coff.c: revision 1.6
usr.sbin/mdsetimage/exec_ecoff.c: revision 1.6
usr.sbin/mdsetimage/exec_elf32.c: revision 1.10
usr.sbin/mdsetimage/mdsetimage.c: revision 1.19
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.
 1.19.2.1  04-Nov-2010  uebayasi xmd(4), mdsetimage(8): handle memory disk symbol names other than
the md(4)'s historical ones.
 1.20.28.2  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.20.28.1  04-Nov-2016  pgoyette Sync with HEAD

RSS XML Feed