Wed Aug 30 18:46:52 2023 UTC ()
Override these two booters with -Oz for clang since it produces smaller code
here.


(christos)
diff -r1.4 -r1.5 src/sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile
diff -r1.3 -r1.4 src/sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile

cvs diff -r1.4 -r1.5 src/sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile (expand / switch to unified diff)

--- src/sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile 2020/01/22 06:13:18 1.4
+++ src/sys/arch/i386/stand/bootxx/bootxx_msdos/Makefile 2023/08/30 18:46:51 1.5
@@ -1,7 +1,11 @@ @@ -1,7 +1,11 @@
1# $NetBSD: Makefile,v 1.4 2020/01/22 06:13:18 martin Exp $ 1# $NetBSD: Makefile,v 1.5 2023/08/30 18:46:51 christos Exp $
 2
 3NOMAN=yes
 4.include <bsd.init.mk>
2 5
3PROG= bootxx_msdos 6PROG= bootxx_msdos
4FS= dosfs 7FS= dosfs
5CPPFLAGS=-DBOOT_FROM_FAT -DTERSE_ERROR -DSA_DOSFS_NO_BIG_PART_SUPPORT 8CPPFLAGS=-DBOOT_FROM_FAT -DTERSE_ERROR -DSA_DOSFS_NO_BIG_PART_SUPPORT
6 9
7.include <../Makefile.bootxx> 10.include <../Makefile.bootxx>
 11OPT_SIZE.clang += -Oz

cvs diff -r1.3 -r1.4 src/sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile (expand / switch to unified diff)

--- src/sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile 2009/11/18 21:02:16 1.3
+++ src/sys/arch/i386/stand/bootxx/bootxx_ustarfs/Makefile 2023/08/30 18:46:52 1.4
@@ -1,7 +1,11 @@ @@ -1,7 +1,11 @@
1# $NetBSD: Makefile,v 1.3 2009/11/18 21:02:16 dsl Exp $ 1# $NetBSD: Makefile,v 1.4 2023/08/30 18:46:52 christos Exp $
 2
 3NOMAN=yes
 4.include <bsd.init.mk>
2 5
3FS=ustarfs 6FS=ustarfs
4 7
5BOOTXX_SECTORS=16 8BOOTXX_SECTORS=16
6 9
7.include <../Makefile.bootxx> 10.include <../Makefile.bootxx>
 11OPT_SIZE.clang += -Oz