Module Name:    src
Committed By:   kamil
Date:           Wed Jul 25 23:45:32 UTC 2018

Modified Files:
        src/sys/arch/amd64/stand/prekern: Makefile
        src/sys/arch/i386/stand: Makefile.booters Makefile.inc
        src/sys/arch/i386/stand/boot: Makefile.boot
        src/sys/arch/i386/stand/bootxx: Makefile.bootxx
        src/sys/arch/i386/stand/efiboot: Makefile.efiboot
        src/sys/arch/i386/stand/fatboot: Makefile.fat
        src/sys/arch/i386/stand/mbr: Makefile.mbr

Log Message:
Specify NOLIBCSANITIZER in x86 bootloader-like code under sys/arch/

Set NOLIBCSANITIZER for i386 and amd64 specific bootloader-like code.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/amd64/stand/prekern/Makefile
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/i386/stand/Makefile.booters
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/i386/stand/Makefile.inc
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/i386/stand/boot/Makefile.boot
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/i386/stand/bootxx/Makefile.bootxx
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/i386/stand/efiboot/Makefile.efiboot
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/i386/stand/fatboot/Makefile.fat
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/i386/stand/mbr/Makefile.mbr

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/stand/prekern/Makefile
diff -u src/sys/arch/amd64/stand/prekern/Makefile:1.7 src/sys/arch/amd64/stand/prekern/Makefile:1.8
--- src/sys/arch/amd64/stand/prekern/Makefile:1.7	Sat Jun  2 14:31:40 2018
+++ src/sys/arch/amd64/stand/prekern/Makefile	Wed Jul 25 23:45:32 2018
@@ -1,10 +1,11 @@
-#	$NetBSD: Makefile,v 1.7 2018/06/02 14:31:40 christos Exp $
+#	$NetBSD: Makefile,v 1.8 2018/07/25 23:45:32 kamil Exp $
 
 PROG=		prekern
 SRCS=		locore.S trap.S prekern.c mm.c console.c elf.c prng.c
 
 NOSSP=		# defined
 NOPIE=		# defined
+NOLIBCSANITIZER=# defined
 NOSANITIZER=	# defined
 NOMAN=		1
 

Index: src/sys/arch/i386/stand/Makefile.booters
diff -u src/sys/arch/i386/stand/Makefile.booters:1.92 src/sys/arch/i386/stand/Makefile.booters:1.93
--- src/sys/arch/i386/stand/Makefile.booters:1.92	Sat Jun  2 14:30:06 2018
+++ src/sys/arch/i386/stand/Makefile.booters	Wed Jul 25 23:45:32 2018
@@ -1,5 +1,6 @@
-#	$NetBSD: Makefile.booters,v 1.92 2018/06/02 14:30:06 christos Exp $
+#	$NetBSD: Makefile.booters,v 1.93 2018/07/25 23:45:32 kamil Exp $
 
+NOLIBCSANITIZER=
 NOSANITIZER=
 .include <bsd.own.mk>
 

Index: src/sys/arch/i386/stand/Makefile.inc
diff -u src/sys/arch/i386/stand/Makefile.inc:1.15 src/sys/arch/i386/stand/Makefile.inc:1.16
--- src/sys/arch/i386/stand/Makefile.inc:1.15	Sat Jun  2 14:30:06 2018
+++ src/sys/arch/i386/stand/Makefile.inc	Wed Jul 25 23:45:32 2018
@@ -1,5 +1,6 @@
-#	$NetBSD: Makefile.inc,v 1.15 2018/06/02 14:30:06 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.16 2018/07/25 23:45:32 kamil Exp $
 
+NOLIBCSANITIZER=
 NOSANITIZER=
 NOPIE=
 NOMAN=

Index: src/sys/arch/i386/stand/boot/Makefile.boot
diff -u src/sys/arch/i386/stand/boot/Makefile.boot:1.71 src/sys/arch/i386/stand/boot/Makefile.boot:1.72
--- src/sys/arch/i386/stand/boot/Makefile.boot:1.71	Sat Jun  2 14:30:06 2018
+++ src/sys/arch/i386/stand/boot/Makefile.boot	Wed Jul 25 23:45:32 2018
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile.boot,v 1.71 2018/06/02 14:30:06 christos Exp $
+# $NetBSD: Makefile.boot,v 1.72 2018/07/25 23:45:32 kamil Exp $
 
 S=	${.CURDIR}/../../../../..
 
 NOMAN=
+NOLIBCSANITIZER=
 NOSANITIZER=
 NOPIE=
 PROG?= boot

Index: src/sys/arch/i386/stand/bootxx/Makefile.bootxx
diff -u src/sys/arch/i386/stand/bootxx/Makefile.bootxx:1.50 src/sys/arch/i386/stand/bootxx/Makefile.bootxx:1.51
--- src/sys/arch/i386/stand/bootxx/Makefile.bootxx:1.50	Sat Jun  2 14:30:07 2018
+++ src/sys/arch/i386/stand/bootxx/Makefile.bootxx	Wed Jul 25 23:45:32 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootxx,v 1.50 2018/06/02 14:30:07 christos Exp $
+# $NetBSD: Makefile.bootxx,v 1.51 2018/07/25 23:45:32 kamil Exp $
 
 S=	${.CURDIR}/../../../../..
 
@@ -7,6 +7,7 @@ AFLAGS.pbr.S= ${${ACTIVE_CC} == "clang":
 
 NOPIE=
 NOMAN=
+NOLIBCSANITIZER=
 NOSANITIZER=
 PROG?= bootxx_${FS}
 BINDIR= /usr/mdec

Index: src/sys/arch/i386/stand/efiboot/Makefile.efiboot
diff -u src/sys/arch/i386/stand/efiboot/Makefile.efiboot:1.13 src/sys/arch/i386/stand/efiboot/Makefile.efiboot:1.14
--- src/sys/arch/i386/stand/efiboot/Makefile.efiboot:1.13	Sat Jun  2 14:30:07 2018
+++ src/sys/arch/i386/stand/efiboot/Makefile.efiboot	Wed Jul 25 23:45:32 2018
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile.efiboot,v 1.13 2018/06/02 14:30:07 christos Exp $
+# $NetBSD: Makefile.efiboot,v 1.14 2018/07/25 23:45:32 kamil Exp $
 
 S=		${.CURDIR}/../../../../..
 
 NOMAN=		# defined
 NOPIE=		# defined
+NOLIBCSANITIZER=# defined
 NOSANITIZER=	# defined
 NORELRO=	# defined
 PROG?=		boot.efi

Index: src/sys/arch/i386/stand/fatboot/Makefile.fat
diff -u src/sys/arch/i386/stand/fatboot/Makefile.fat:1.8 src/sys/arch/i386/stand/fatboot/Makefile.fat:1.9
--- src/sys/arch/i386/stand/fatboot/Makefile.fat:1.8	Sat Jun  2 14:30:07 2018
+++ src/sys/arch/i386/stand/fatboot/Makefile.fat	Wed Jul 25 23:45:32 2018
@@ -1,10 +1,11 @@
-#	$NetBSD: Makefile.fat,v 1.8 2018/06/02 14:30:07 christos Exp $
+#	$NetBSD: Makefile.fat,v 1.9 2018/07/25 23:45:32 kamil Exp $
 
 S=		${.CURDIR}/../../../../..
 
 PROG?=		fatboot
 NOMAN=		# defined
 NOPIE=		# defined
+NOLIBCSANITIZER=# defined
 NOSANITIZER=	# defined
 
 LIBCRT0=	# nothing

Index: src/sys/arch/i386/stand/mbr/Makefile.mbr
diff -u src/sys/arch/i386/stand/mbr/Makefile.mbr:1.20 src/sys/arch/i386/stand/mbr/Makefile.mbr:1.21
--- src/sys/arch/i386/stand/mbr/Makefile.mbr:1.20	Tue Jun 12 21:35:17 2018
+++ src/sys/arch/i386/stand/mbr/Makefile.mbr	Wed Jul 25 23:45:32 2018
@@ -1,7 +1,8 @@
-#	$NetBSD: Makefile.mbr,v 1.20 2018/06/12 21:35:17 kamil Exp $
+#	$NetBSD: Makefile.mbr,v 1.21 2018/07/25 23:45:32 kamil Exp $
 
 S=		${.CURDIR}/../../../../..
 
+NOLIBCSANITIZER=# defined
 NOSANITIZER=	# defined
 NOMAN=		# defined
 

Reply via email to