the .SUNW_ctf section is added by ctfstrip(1), which is only used for kernels.
ok deraadt@ danj@
-# $OpenBSD: Makefile,v 1.20 2021/02/13 18:41:52 semarie Exp $
+# $OpenBSD: Makefile,v 1.21 2021/02/13 18:48:23 semarie Exp $
FS= miniroot${OSrev}.img
FSSIZE= 5760
instbin: instbin.mk instbin.cache instbin.c
${MAKE} -f instbin.mk SRCLIBDIR=${.CURDIR}/../../../lib all
- strip -R .eh_frame -R .SUNW_ctf -R .shstrtab instbin
+ strip -R .eh_frame -R .shstrtab instbin
instbin.conf: ${LISTS}
awk -f ${UTILS}/makeconf.awk ${LISTS} > instbin.conf
-# $OpenBSD: Makefile,v 1.42 2021/02/13 18:46:52 semarie Exp $
+# $OpenBSD: Makefile,v 1.43 2021/02/13 18:48:23 semarie Exp $
FS= install${OSrev}.img
FSSIZE= 1359872
.endif
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
- objcopy -S -R .comment -R .SUNW_ctf ${DESTDIR}/usr/mdec/boot ${MOUNT_POINT}/boot
+ objcopy -S -R .comment ${DESTDIR}/usr/mdec/boot ${MOUNT_POINT}/boot
installboot -v -r ${MOUNT_POINT} `cat vnd` \
${DESTDIR}/usr/mdec/biosboot ${MOUNT_POINT}/boot
mkdir -p ${MOUNT_POINT}/${OSREV}/${MACHINE}
-# $OpenBSD: Makefile,v 1.12 2021/02/13 18:46:52 semarie Exp $
+# $OpenBSD: Makefile,v 1.13 2021/02/13 18:48:23 semarie Exp $
FS= floppy${OSrev}.img
FSSIZE= 2880
disklabel -w `cat vnd` ${FSDISKTYPE}
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
- objcopy -S -R .comment -R .SUNW_ctf ${DESTDIR}/usr/mdec/fdboot ${.OBJDIR}/boot
+ objcopy -S -R .comment ${DESTDIR}/usr/mdec/fdboot ${.OBJDIR}/boot
installboot -v -r ${MOUNT_POINT} `cat vnd` \
${DESTDIR}/usr/mdec/biosboot ${.OBJDIR}/boot
install -c -m 555 -o root -g wheel bsd.gz ${MOUNT_POINT}/bsd
instbin: instbin.mk instbin.cache instbin.c
${MAKE} -f instbin.mk SRCLIBDIR=${.CURDIR}/../../../lib all
- strip -R .comment -R .SUNW_ctf instbin
+ strip -R .comment instbin
instbin.conf: ${LISTS}
awk -f ${UTILS}/makeconf.awk ${LISTS} > instbin.conf
-# $OpenBSD: Makefile,v 1.26 2021/02/13 18:46:52 semarie Exp $
+# $OpenBSD: Makefile,v 1.27 2021/02/13 18:48:23 semarie Exp $
FS= miniroot${OSrev}.img
FSSIZE= 9920
umount ${MOUNT_POINT}
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
- objcopy -S -R .comment -R .SUNW_ctf ${DESTDIR}/usr/mdec/boot ${.OBJDIR}/boot
+ objcopy -S -R .comment ${DESTDIR}/usr/mdec/boot ${.OBJDIR}/boot
installboot -v -r ${MOUNT_POINT} `cat vnd` \
${DESTDIR}/usr/mdec/biosboot ${.OBJDIR}/boot
install -c -m 555 -o root -g wheel bsd.gz ${MOUNT_POINT}/bsd
instbin: instbin.mk instbin.cache instbin.c
${MAKE} -f instbin.mk SRCLIBDIR=${.CURDIR}/../../../lib all
- strip -R .comment -R .SUNW_ctf instbin
+ strip -R .comment instbin
instbin.conf: ${LISTS}
awk -f ${UTILS}/makeconf.awk ${LISTS} > instbin.conf
-# $OpenBSD: Makefile,v 1.31 2021/02/13 18:46:52 semarie Exp $
+# $OpenBSD: Makefile,v 1.32 2021/02/13 18:48:23 semarie Exp $
FS= install${OSrev}.img
FSSIZE= 921600
disklabel -w `cat vnd` ${FSDISKTYPE}
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
- objcopy -S -R .comment -R .SUNW_ctf ${DESTDIR}/usr/mdec/boot ${MOUNT_POINT}/boot
+ objcopy -S -R .comment ${DESTDIR}/usr/mdec/boot ${MOUNT_POINT}/boot
installboot -v -r ${MOUNT_POINT} `cat vnd` \
${DESTDIR}/usr/mdec/biosboot ${MOUNT_POINT}/boot
install -c -m 555 -o root -g wheel bsd.rd ${MOUNT_POINT}/bsd
-# $OpenBSD: Makefile,v 1.11 2021/02/13 18:46:52 semarie Exp $
+# $OpenBSD: Makefile,v 1.12 2021/02/13 18:48:23 semarie Exp $
FS= floppy${OSrev}.img
FSSIZE= 2880
disklabel -w `cat vnd` ${FSDISKTYPE}
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
- objcopy -S -R .comment -R .SUNW_ctf ${DESTDIR}/usr/mdec/fdboot ${.OBJDIR}/boot
+ objcopy -S -R .comment ${DESTDIR}/usr/mdec/fdboot ${.OBJDIR}/boot
installboot -v -r ${MOUNT_POINT} `cat vnd` \
${DESTDIR}/usr/mdec/biosboot ${.OBJDIR}/boot
install -c -m 555 -o root -g wheel bsd.gz ${MOUNT_POINT}/bsd
instbin: instbin.mk instbin.cache instbin.c
${MAKE} -f instbin.mk SRCLIBDIR=${.CURDIR}/../../../lib all
- strip -R .comment -R .SUNW_ctf instbin
+ strip -R .comment instbin
instbin.conf: ${LISTS}
awk -f ${UTILS}/makeconf.awk ${LISTS} > instbin.conf
-# $OpenBSD: Makefile,v 1.20 2021/02/13 18:46:52 semarie Exp $
+# $OpenBSD: Makefile,v 1.21 2021/02/13 18:48:23 semarie Exp $
FS= miniroot${OSrev}.img
FSSIZE= 8064
disklabel -w `cat vnd` ${FSDISKTYPE}
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
- objcopy -S -R .comment -R .SUNW_ctf ${DESTDIR}/usr/mdec/boot ${.OBJDIR}/boot
+ objcopy -S -R .comment ${DESTDIR}/usr/mdec/boot ${.OBJDIR}/boot
installboot -v -r ${MOUNT_POINT} `cat vnd` \
${DESTDIR}/usr/mdec/biosboot ${.OBJDIR}/boot
install -c -m 555 -o root -g wheel bsd.gz ${MOUNT_POINT}/bsd
instbin: instbin.mk instbin.cache instbin.c
${MAKE} -f instbin.mk SRCLIBDIR=${.CURDIR}/../../../lib all
- strip -R .comment -R .SUNW_ctf instbin
+ strip -R .comment instbin
instbin.conf: ${LISTS}
awk -f ${UTILS}/makeconf.awk ${LISTS} > instbin.conf