blob: d550bd5261629a07575c55814d7d8b87938afd30 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Jan Beulichbe3de802012-01-24 10:03:22 -02002#define memset MEMSET /* don't hide glibc's memset() */
3#define altinstr_replacement text
4#define globl p2align 4; .globl
Arnaldo Carvalho de Melo7d7d1bf2016-07-11 12:36:41 -03005#include "../../arch/x86/lib/memset_64.S"
Jiri Olsae89cef12012-02-01 13:54:08 +01006
7/*
8 * We need to provide note.GNU-stack section, saying that we want
9 * NOT executable stack. Otherwise the final linking will assume that
10 * the ELF stack should not be restricted at all and set it RWX.
11 */
12.section .note.GNU-stack,"",@progbits