summaryrefslogtreecommitdiff
path: root/usr.sbin/mdsetimage
AgeCommit message (Collapse)Author
2020-06-14Explicitly print a fs image filename on "fs image is too big" errors.tsutsui
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@.
2016-12-18Need <stdint.h> for uintmax_t.riastradh
From debidi in #netbsd on Freenode.
2016-09-22cast to intmax_t for machine-independent printing.mlelstv
2016-09-21moved to /usr/src/external/gpl3/binutils/usr.sbin/mdsetimagechristos
2016-09-21fix usage.christos
2016-09-21ansify.christos
2016-09-21merge copies...christos
2010-11-07Sort options in SYNOPSIS.wiz
2010-11-06Handle md(4)'s embedded root disk image and size symbol names otheruebayasi
than the default ones ("md_root_image" / "md_root_size"). (References to xmd(4) are deliberately removed.)
2010-08-28Replace the current usage of Elf64_Half with Elf64_Word and renamejoerg
NetBSD specific Elf64_Quarter to Elf64_Half. This restores compatibility with the common ELF specifications.
2009-07-30- use program header rather than section header to find file offset for vmaddrtsutsui
- make sure that passed vmaddr is in TEXT or DATA section
2009-07-30WARNS'fy sources which are left for reference.tsutsui
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.
2008-07-21Remove the \n and tabs from the __COPYRIGHT() strings.lukem
Tweak to use a consistent format.
2007-12-15convert __attribute__s to applicable cdefs.h macrosperry
2003-05-18Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),lukem
there's no need to special-case .include-ing it.
2002-12-10Include -DNLIST_ELF64 for x86_64.fvdl
2002-11-25Add x86_64 if clause to get correct types.fvdl
2002-01-19Whitespace nits.wiz
2001-12-12Define both NLIST_ELF32 and NLIST_AOUT on m68000.fredette
2001-10-21Pull in mdsetimage to the tools builds. (XXX - using libbfd here wouldjmc
probably be preferrable long term).
2001-10-01Remove the advertising clause from my license notice FOR THIS PROGRAM ONLY.cgd
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-06-21Fix typo in previous. (damn vi.)eeh
2001-06-21Add sparc64 support for both sparc and sparc64:eeh
ELF64 for 64-bit sparc64 kernels. ELF32 for 32-bit sparc and sparc64 kernels. a.out for old sparc kernels.
2001-05-01Enable ELF32 for vax re: mdsetimage.matt
2001-04-24Compile with ELF support on ARM systems.bjh21
2001-03-21slight cleanup: KNF, and one line breaking tweak to make usage() slightlycgd
more diffable w/ the BFD version in pkgsrc.
2001-03-21check for size_t overflow using cast, rather than comparison withcgd
SIZE_T_MAX. The latter is less portable.
2001-02-21call setprogname(argv[0]) at start of main()cgd
2001-02-19convert to use getprogname()cgd
2001-02-18Define both NLIST_ELF32 and NLIST_AOUT on m68k.tsutsui
2001-01-05use %ll_ instead of the less standard %q_lukem
2001-01-05MACHINE_ARCH for MIPS machine is "mipsel" or "mipseb".shin
2001-01-04sh3 splititojun
2000-12-18Select the object format in the Makefile, to allow selecting onscw
%MACHINE when deciding what object formats to support.
2000-06-14sweep of my licenses (userland files w/o only my copyright) forcgd
consistency. (no functional changes)
2000-06-14fix up NetBSD RCS Ids to match the standard, and the leading comment ascgd
to match as well. No functional changes.
2000-01-07machine/exec_coff.h -> sys/exec_coff.hmsaitoh
1999-11-04Remove ELFNAME defines since they are defined in sys/exec_elf.herh
1999-10-25Update to match new SVR4-style definition names in <sys/exec_elf.h>.kleink
1999-10-22Undo last change. While these macros are defined in exec_elf.h, they arehannken
enclosed by `#ifdef _KERNEL'.
1999-10-21Remove ELFNAME macros which are already defines in exec_elf.herh
1999-09-12support coff image file.itojun
(this is part of NetBSD/sh3 patches)
1999-03-22More and more .Os cleanups. .Os is defined in the tmac.doc-common file,garbled
so we shouldn't override it with versions in the manpages. Many more to come.
1999-03-03Add ELF for i386 and sparc (Andrew Gillham)christos
1998-12-05Define NLIST_ELF32 for mips native format. Also NLIST_ECOFF (pmax, arc PROMs)jonathan
NLIST_AOUT (old pmax bootblocks).
1998-11-26Define NLIST_ELF32 on PowerPC.sakamoto
1998-08-27Add {} pairs to shut up egcs.ross
1997-10-17WARNSifylukem
1997-10-17WARNSifylukem
1997-09-30Implement the -T flag, used to (optionally) specify the kernel textscottr
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.)