blob: e4c2c30143b95133913a2bc3569b2871b79aa75c [file] [log] [blame]
Jan Beulich9ea81192012-01-18 13:28:13 +00001#define memcpy MEMCPY /* don't hide glibc's memcpy() */
Jan Beulich800eb012012-01-18 13:28:56 +00002#define altinstr_replacement text
3#define globl p2align 4; .globl
Hitoshi Mitakeea7872b2010-11-25 16:04:53 +09004#include "../../../arch/x86/lib/memcpy_64.S"
Jiri Olsa7a0153e2012-02-06 18:54:06 -02005/*
6 * We need to provide note.GNU-stack section, saying that we want
7 * NOT executable stack. Otherwise the final linking will assume that
8 * the ELF stack should not be restricted at all and set it RWX.
9 */
10.section .note.GNU-stack,"",@progbits