Home | History | Annotate | Download | only in common
History log of /src/usr.sbin/mopd/common/file.c
RevisionDateAuthorComments
 1.20  03-Dec-2024  kalvisd usr.sbin/mopd: When building the vax-mopcopy host tool,
preferentially include "nbtool_config.h" over "port.h"

OK rin@
 1.19  23-Oct-2024  kalvisd Add mopcopy as a build tool for the VAX port.

OK rin@
 1.18  21-Oct-2024  kalvisd mopd/common: when reading sections from an ELF image, signal end-of-image
if the current section index is advanced past the last section to process

This should address PR bin/19248

OK rin@
 1.17  27-Oct-2020  abs Update mopd for 4k VAX page size and support 1k page a.out binaries

From dreamlayers
 1.16  08-Jun-2016  christos Quick+Dirty port to linux
 1.15  31-Aug-2011  nakayama Fix build on mips (NOAOUT case).
 1.14  30-Aug-2011  joerg ANSIfy + __printflike + __dead
 1.13  16-Aug-2011  christos gcc-4.5 is picky about potential negative indexes. appease it.
 1.12  20-Oct-2009  snj Follow upstream's lead and remove third and fourth clauses (except on
from usr.sbin/mopd/common/pf.c, where only the ad clause is removed,
because it has a shared UCB copyright) on Mats O Jansson's files.

thorpej OK'd usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c, where he shares
copyright.
 1.11  17-Apr-2009  lukem Fix WARNS=4 issues (many -Wshadow, -Wcast-qual)
 1.10  05-Nov-2002  thorpej branches: 1.10.40;
For ELF, set d->loadaddr to 0, as we do for a.out.

On both my 4000/60 and SIMH, a boot program NOT loaded at 0 consistently
is loaded +0x5200 too high in memory, which which causes a fatal trap back
into the console even before the self-relocating code can run. "wHATEver."
 1.9  06-Jun-2002  thorpej Add Elf32 support to mopa.out (which is now quite inappropriately
named; a future commit will rename it).

Thanks to uwe@netbsd.org for testing the resulting MOP image for me.

Fixes port-vax/16867.
 1.8  18-Feb-2002  thorpej branches: 1.8.2;
Add support for converting Elf32 images on-the-fly into MOP images.
(This involved some infrastructure changes to the various mopd
support programs/libraries.)
 1.7  16-Jan-2001  cgd comment or delete text after CPP directives.
 1.6  25-Jul-1998  mycroft SPARC uses 8k virtual pages for linking.
 1.5  07-Feb-1998  cgd lint
 1.4  16-Oct-1997  lukem - WARNsify
- KNFify (a bit)
- use int32_t & u_int32_t instead of long and u_long
- clean up man pages a bit
 1.3  16-Oct-1997  lukem - compile common code once (into libcommon.a), and link that in.
cut's compilation time by half!
- build a common version.c in libcommon.a
- don't build version.h - nothing uses it
- comment out the ifdef INFO and -DINFO stuff - it's always compiled in
- XXX: don't compile mopprobe with -DNODL (which actually changes the
compilation of stuff in common/*). nothing else does this, and it
meant that mopprobe would have had different behaviour. if this behaviour
is desired, a workaround can be put in place
 1.2  25-Mar-1997  thorpej RCS id police.
 1.1  16-Mar-1997  cjs branches: 1.1.1;
Initial revision
 1.1.1.1  16-Mar-1997  cjs Import of Mats O Jansson's MOP boot program for DEC machines.
 1.8.2.2  11-Dec-2002  he Pull up revision 1.10 (requested by thorpej in ticket #962):
For ELF, set d->loadaddr to 0, as we do for a.out. Fixes
a problem which causes the program to load 0x5200 too high
in memory, causing a fatal trap before self-relocation.
 1.8.2.1  07-Jun-2002  thorpej pullup-1-6 ticket #198:

basesrc/usr.sbin/mopd/common/common.h 1.6
basesrc/usr.sbin/mopd/common/file.c 1.9
basesrc/usr.sbin/mopd/common/file.h 1.5
basesrc/usr.sbin/mopd/mopa.out/mopa.out.c 1.9

Original log message:

Add Elf32 support to mopa.out (which is now quite inappropriately
named; a future commit will rename it).

Thanks to uwe@netbsd.org for testing the resulting MOP image for me.

Fixes port-vax/16867.
 1.10.40.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed