Module Name:    src
Committed By:   maxv
Date:           Wed Jun 20 11:45:25 UTC 2018

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

Log Message:
Put these arrays in .rodata, they aren't supposed to be executable.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/amd64/amd64/vector.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/vector.S
diff -u src/sys/arch/amd64/amd64/vector.S:1.62 src/sys/arch/amd64/amd64/vector.S:1.63
--- src/sys/arch/amd64/amd64/vector.S:1.62	Tue Apr  3 07:20:52 2018
+++ src/sys/arch/amd64/amd64/vector.S	Wed Jun 20 11:45:25 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: vector.S,v 1.62 2018/04/03 07:20:52 christos Exp $	*/
+/*	$NetBSD: vector.S,v 1.63 2018/06/20 11:45:25 maxv Exp $	*/
 
 /*
  * Copyright (c) 1998, 2007, 2008 The NetBSD Foundation, Inc.
@@ -631,6 +631,8 @@ LABEL(name ## _stubs)				; \
 	INTRSTUB_ENTRY(name ## 31)		; \
 END(name ## _stubs)
 
+	.section .rodata
+
 INTRSTUB_ARRAY_16(legacy)
 
 #if NIOAPIC > 0

Reply via email to