Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.albasani.net!tahina.priv.at!bofh.it!news.nic.it!robomod From: Josh Poimboeuf Newsgroups: linux.kernel Subject: [PATCH v13 14/23] x86/asm/crypto: Move .Lbswap_mask data to .rodata section Date: Tue, 22 Sep 2015 18:00:05 +0200 Message-ID: References: X-Original-To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 44 Organization: linux.* mail to news gateway X-Original-Cc: linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Michal Marek , Peter Zijlstra , Andy Lutomirski , Borislav Petkov , Linus Torvalds , Andi Kleen , Pedro Alves , Namhyung Kim , Bernd Petrovitsch , Chris J Arges , Andrew Morton , Herbert Xu , "David S. Miller" X-Original-Date: Tue, 22 Sep 2015 10:47:05 -0500 X-Original-Message-ID: <0da737646c6e313f76386b4f40b2b3f35b67fef7.1442935712.git.jpoimboe@redhat.com> X-Original-References: X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1230399 stacktool reports the following warning: stacktool: arch/x86/crypto/aesni-intel_asm.o: _aesni_inc_init(): can't find starting instruction stacktool gets confused when it tries to disassemble the following data in the .text section: .Lbswap_mask: .byte 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 Move it to .rodata which is a more appropriate section for read-only data. Signed-off-by: Josh Poimboeuf Cc: Herbert Xu Cc: David S. Miller --- arch/x86/crypto/aesni-intel_asm.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/crypto/aesni-intel_asm.S b/arch/x86/crypto/aesni-intel_asm.S index 289ef12..18f0ced 100644 --- a/arch/x86/crypto/aesni-intel_asm.S +++ b/arch/x86/crypto/aesni-intel_asm.S @@ -2553,9 +2553,11 @@ ENTRY(aesni_cbc_dec) ENDPROC(aesni_cbc_dec) #ifdef __x86_64__ +.pushsection .rodata .align 16 .Lbswap_mask: .byte 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 +.popsection /* * _aesni_inc_init: internal ABI -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/