Module Name: src
Committed By: maxv
Date: Tue Nov 14 09:56:26 UTC 2017
Modified Files:
src/sys/arch/amd64/conf: Makefile.amd64
Log Message:
Remove max-page-size on KASLR, it doesn't play any role.
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/amd64/conf/Makefile.amd64
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/conf/Makefile.amd64
diff -u src/sys/arch/amd64/conf/Makefile.amd64:1.61 src/sys/arch/amd64/conf/Makefile.amd64:1.62
--- src/sys/arch/amd64/conf/Makefile.amd64:1.61 Thu Nov 9 15:46:48 2017
+++ src/sys/arch/amd64/conf/Makefile.amd64 Tue Nov 14 09:56:26 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.amd64,v 1.61 2017/11/09 15:46:48 maxv Exp $
+# $NetBSD: Makefile.amd64,v 1.62 2017/11/14 09:56:26 maxv Exp $
# Makefile for NetBSD
#
@@ -62,7 +62,7 @@ KERN_AS= library
##
TEXTADDR?= 0xffffffff80200000
.if defined(KASLR)
-EXTRA_LINKFLAGS= -z max-page-size=0x200000 -r -d
+EXTRA_LINKFLAGS= -r -d
KERNLDSCRIPT?= ${AMD64}/conf/kern.ldscript.kaslr
.else
EXTRA_LINKFLAGS= -z max-page-size=0x200000