summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2018-01-17 16:33:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2018-01-17 16:33:34 +0000
commit64822df4312315887a4cd5080f68dff9a4a837b1 (patch)
treebfa42a8012daa693a28d9aa8e7d4b569dc96cf38
parent4efe6634eeec3f337693f8e4ff0842a60a9bffb8 (diff)
Found a .data variable that can be in .rodata
ok mibek
-rw-r--r--sys/arch/amd64/amd64/aes_intel.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/aes_intel.S b/sys/arch/amd64/amd64/aes_intel.S
index efb8f5ae5f9..85f216a1bb4 100644
--- a/sys/arch/amd64/amd64/aes_intel.S
+++ b/sys/arch/amd64/amd64/aes_intel.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: aes_intel.S,v 1.9 2013/03/26 15:47:01 jsing Exp $ */
+/* $OpenBSD: aes_intel.S,v 1.10 2018/01/17 16:33:33 deraadt Exp $ */
/*
* Implement AES algorithm in Intel AES-NI instructions.
@@ -97,7 +97,7 @@
#define T2 %r11
#define TCTR_LOW T2
- .data
+ .section .rodata
.align 16
.Lbswap_mask:
.byte 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0