Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/boot/xxboot Use objcopy to emit the binary and ...
details: https://anonhg.NetBSD.org/src/rev/099464b70dd2
branches: trunk
changeset: 484975:099464b70dd2
user: matt <matt%NetBSD.org@localhost>
date: Sun Apr 16 01:44:36 2000 +0000
description:
Use objcopy to emit the binary and linked around for debugging.
diffstat:
sys/arch/vax/boot/xxboot/Makefile | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (22 lines):
diff -r 575d94d33d17 -r 099464b70dd2 sys/arch/vax/boot/xxboot/Makefile
--- a/sys/arch/vax/boot/xxboot/Makefile Sun Apr 16 01:42:41 2000 +0000
+++ b/sys/arch/vax/boot/xxboot/Makefile Sun Apr 16 01:44:36 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1999/10/23 14:40:39 ragge Exp $
+# $NetBSD: Makefile,v 1.3 2000/04/16 01:44:36 matt Exp $
S= ${.CURDIR}/../../../../
@@ -22,10 +22,7 @@
LIBSA= ${SALIB}
${PROG}: ${OBJS} ${LIBSA}
- ld -N -Ttext 100000 -o a.out ${OBJS} ${LIBSA}
- strip a.out
- size a.out
- dd if=a.out of=${PROG} bs=32 skip=1
- rm -f a.out
+ ld -N -Ttext 100000 -o ${PROG}.out ${OBJS} ${LIBSA}
+ objcopy -O binary ${PROG}.out ${PROG}
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index