mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-02-27 00:49:48 +00:00
* Sun Nov 17 2002 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 2.5.3-15 - modified Makefiles to improve portability: specify "-lelf" last for the linker, define LIBELF in the top-level Makefile to permit overriding (elf) * Sun Nov 11 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 2.5.3-13 - a bug affecting multisegment ELF files again, sigh... (elf) * Sun Nov 11 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - 64-bit ELF support (elf) * Sun Nov 11 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - pass the entry point address as is as it's more flexible; print ELF file information; bug fixes (elf) * Sat Nov 10 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - reject dynamically linked executables; calculate a physical entry point address from the virtual one; bug fixes (elf) * Fri Nov 9 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - map ELF segments by their physical addresses to facilitate systems which boot with their memory mapping different from the final one; sort phdrs by ascending addresses; bug fixes (elf) * Thu Nov 8 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - took the header block count of MOP images into account (elf) - addedd handling of MOP images with a null block count or size specified in the header (elf) * Sun Oct 28 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - fixed a stupid bug causing multisegment ELF files not to be sent properly (elf) * Fri Oct 26 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - added ELF support (elf) Downloaded from: ftp://ftp.linux-mips.org/pub/linux/mips/people/macro/mopd/mopd-2.5.3-elf.patch.gz .patch SHA256 = f63818152cd74e551068ea7856e0cc872ddd2f78485cda08a77b3d81a1aa845c Patch history copied from: ftp://ftp.linux-mips.org/pub/linux/mips/people/macro/mopd/mopd-2.5.3-15.spec
21 lines
338 B
Makefile
21 lines
338 B
Makefile
PROGS = mopchk
|
|
OBJS = mopchk.o
|
|
LIBS = ../common/libcommon.a
|
|
LIBELF = -lelf
|
|
|
|
CPPFLAGS = -I..
|
|
|
|
all: $(PROGS)
|
|
|
|
mopchk: $(OBJS) $(LIBS)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o mopchk $(OBJS) $(LIBS) $(LIBELF)
|
|
|
|
../common/libcommon.a:
|
|
cd ../common && $(MAKE) libcommon.a
|
|
|
|
.c.o:
|
|
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
|
|
|
|
clean:
|
|
rm -f core $(PROGS) *.o
|