Module Name:    src
Committed By:   maxv
Date:           Tue Nov 21 09:58:09 UTC 2017

Modified Files:
        src/sys/arch/amd64/amd64: locore.S

Log Message:
Remove unused symbol - it is aligned to 4096 and this reduces the number
of possible locations for .bss in KASLR kernels.


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/sys/arch/amd64/amd64/locore.S

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/amd64/locore.S
diff -u src/sys/arch/amd64/amd64/locore.S:1.140 src/sys/arch/amd64/amd64/locore.S:1.141
--- src/sys/arch/amd64/amd64/locore.S:1.140	Sat Oct 28 20:57:17 2017
+++ src/sys/arch/amd64/amd64/locore.S	Tue Nov 21 09:58:09 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: locore.S,v 1.140 2017/10/28 20:57:17 bouyer Exp $	*/
+/*	$NetBSD: locore.S,v 1.141 2017/11/21 09:58:09 maxv Exp $	*/
 
 /*
  * Copyright-o-rama!
@@ -421,9 +421,6 @@ END(farjmp64)
 	.space	512
 tmpstk:
 
-	.globl _C_LABEL(cpu_private)
-	.comm _C_LABEL(cpu_private),PAGE_SIZE,PAGE_SIZE
-
 /*
  * Some hackage to deal with 64bit symbols in 32 bit mode.
  * This may not be needed if things are cleaned up a little.

Reply via email to