Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amd64/amd64 Remove unused symbol - it is aligned to...



details:   https://anonhg.NetBSD.org/src/rev/2c4c08d98e0b
branches:  trunk
changeset: 357687:2c4c08d98e0b
user:      maxv <maxv%NetBSD.org@localhost>
date:      Tue Nov 21 09:58:09 2017 +0000

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

diffstat:

 sys/arch/amd64/amd64/locore.S |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r 9fe69169c95b -r 2c4c08d98e0b sys/arch/amd64/amd64/locore.S
--- a/sys/arch/amd64/amd64/locore.S     Tue Nov 21 08:49:14 2017 +0000
+++ b/sys/arch/amd64/amd64/locore.S     Tue Nov 21 09:58:09 2017 +0000
@@ -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 @@
        .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.



Home | Main Index | Thread Index | Old Index