From: deraadt Date: Wed, 17 Jan 2018 16:33:33 +0000 (+0000) Subject: Found a .data variable that can be in .rodata X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0c8c0f410642541dba7c000656b4c496d31dee63;p=openbsd Found a .data variable that can be in .rodata ok mibek --- 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