Module Name:    src
Committed By:   maxv
Date:           Sun Apr 26 14:07:43 UTC 2020

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

Log Message:
Put the template functions in the rodata section; they get hotpatched
into other places, but never execute directly.


To generate a diff of this commit:
cvs rdiff -u -r1.201 -r1.202 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.201 src/sys/arch/amd64/amd64/locore.S:1.202
--- src/sys/arch/amd64/amd64/locore.S:1.201	Sat Apr 25 15:26:16 2020
+++ src/sys/arch/amd64/amd64/locore.S	Sun Apr 26 14:07:43 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: locore.S,v 1.201 2020/04/25 15:26:16 bouyer Exp $	*/
+/*	$NetBSD: locore.S,v 1.202 2020/04/26 14:07:43 maxv Exp $	*/
 
 /*
  * Copyright-o-rama!
@@ -1587,6 +1587,8 @@ END(intrfastexit)
 
 	TEXT_USER_END
 
+	.section .rodata
+
 #ifdef SVS
 	.globl	svs_enter, svs_enter_end
 	.globl	svs_enter_altstack, svs_enter_altstack_end

Reply via email to