Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Specify NOLIBCSANITIZER in x86 bootloader-like code...
details: https://anonhg.NetBSD.org/src/rev/729ecda164ce
branches: trunk
changeset: 324888:729ecda164ce
user: kamil <kamil%NetBSD.org@localhost>
date: Wed Jul 25 23:45:32 2018 +0000
description:
Specify NOLIBCSANITIZER in x86 bootloader-like code under sys/arch/
Set NOLIBCSANITIZER for i386 and amd64 specific bootloader-like code.
diffstat:
sys/arch/amd64/stand/prekern/Makefile | 3 ++-
sys/arch/i386/stand/Makefile.booters | 3 ++-
sys/arch/i386/stand/Makefile.inc | 3 ++-
sys/arch/i386/stand/boot/Makefile.boot | 3 ++-
sys/arch/i386/stand/bootxx/Makefile.bootxx | 3 ++-
sys/arch/i386/stand/efiboot/Makefile.efiboot | 3 ++-
sys/arch/i386/stand/fatboot/Makefile.fat | 3 ++-
sys/arch/i386/stand/mbr/Makefile.mbr | 3 ++-
8 files changed, 16 insertions(+), 8 deletions(-)
diffs (113 lines):
diff -r 24778dccf343 -r 729ecda164ce sys/arch/amd64/stand/prekern/Makefile
--- a/sys/arch/amd64/stand/prekern/Makefile Wed Jul 25 23:41:28 2018 +0000
+++ b/sys/arch/amd64/stand/prekern/Makefile Wed Jul 25 23:45:32 2018 +0000
@@ -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
diff -r 24778dccf343 -r 729ecda164ce sys/arch/i386/stand/Makefile.booters
--- a/sys/arch/i386/stand/Makefile.booters Wed Jul 25 23:41:28 2018 +0000
+++ b/sys/arch/i386/stand/Makefile.booters Wed Jul 25 23:45:32 2018 +0000
@@ -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>
diff -r 24778dccf343 -r 729ecda164ce sys/arch/i386/stand/Makefile.inc
--- a/sys/arch/i386/stand/Makefile.inc Wed Jul 25 23:41:28 2018 +0000
+++ b/sys/arch/i386/stand/Makefile.inc Wed Jul 25 23:45:32 2018 +0000
@@ -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=
diff -r 24778dccf343 -r 729ecda164ce sys/arch/i386/stand/boot/Makefile.boot
--- a/sys/arch/i386/stand/boot/Makefile.boot Wed Jul 25 23:41:28 2018 +0000
+++ b/sys/arch/i386/stand/boot/Makefile.boot Wed Jul 25 23:45:32 2018 +0000
@@ -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
diff -r 24778dccf343 -r 729ecda164ce sys/arch/i386/stand/bootxx/Makefile.bootxx
--- a/sys/arch/i386/stand/bootxx/Makefile.bootxx Wed Jul 25 23:41:28 2018 +0000
+++ b/sys/arch/i386/stand/bootxx/Makefile.bootxx Wed Jul 25 23:45:32 2018 +0000
@@ -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 @@
NOPIE=
NOMAN=
+NOLIBCSANITIZER=
NOSANITIZER=
PROG?= bootxx_${FS}
BINDIR= /usr/mdec
diff -r 24778dccf343 -r 729ecda164ce sys/arch/i386/stand/efiboot/Makefile.efiboot
--- a/sys/arch/i386/stand/efiboot/Makefile.efiboot Wed Jul 25 23:41:28 2018 +0000
+++ b/sys/arch/i386/stand/efiboot/Makefile.efiboot Wed Jul 25 23:45:32 2018 +0000
@@ -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
diff -r 24778dccf343 -r 729ecda164ce sys/arch/i386/stand/fatboot/Makefile.fat
--- a/sys/arch/i386/stand/fatboot/Makefile.fat Wed Jul 25 23:41:28 2018 +0000
+++ b/sys/arch/i386/stand/fatboot/Makefile.fat Wed Jul 25 23:45:32 2018 +0000
@@ -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
diff -r 24778dccf343 -r 729ecda164ce sys/arch/i386/stand/mbr/Makefile.mbr
--- a/sys/arch/i386/stand/mbr/Makefile.mbr Wed Jul 25 23:41:28 2018 +0000
+++ b/sys/arch/i386/stand/mbr/Makefile.mbr Wed Jul 25 23:45:32 2018 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index