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 Put the template functions in the rodat...
details: https://anonhg.NetBSD.org/src/rev/65bd906ab01b
branches: trunk
changeset: 1009547:65bd906ab01b
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Apr 26 14:07:43 2020 +0000
description:
Put the template functions in the rodata section; they get hotpatched
into other places, but never execute directly.
diffstat:
sys/arch/amd64/amd64/locore.S | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 22c708cb5867 -r 65bd906ab01b sys/arch/amd64/amd64/locore.S
--- a/sys/arch/amd64/amd64/locore.S Sun Apr 26 13:59:44 2020 +0000
+++ b/sys/arch/amd64/amd64/locore.S Sun Apr 26 14:07:43 2020 +0000
@@ -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 @@
TEXT_USER_END
+ .section .rodata
+
#ifdef SVS
.globl svs_enter, svs_enter_end
.globl svs_enter_altstack, svs_enter_altstack_end
Home |
Main Index |
Thread Index |
Old Index