]> git.karo-electronics.de Git - karo-tx-linux.git/blob - tools/perf/bench/mem-memcpy-x86-64-asm.S
Merge branch 'etnaviv/fixes' of git://git.pengutronix.de/git/lst/linux
[karo-tx-linux.git] / tools / perf / bench / mem-memcpy-x86-64-asm.S
1
2 /* Various wrappers to make the kernel .S file build in user-space: */
3
4 #define memcpy MEMCPY /* don't hide glibc's memcpy() */
5 #define altinstr_replacement text
6 #define globl p2align 4; .globl
7 #define _ASM_EXTABLE_FAULT(x, y)
8
9 #include "../../arch/x86/lib/memcpy_64.S"
10 /*
11  * We need to provide note.GNU-stack section, saying that we want
12  * NOT executable stack. Otherwise the final linking will assume that
13  * the ELF stack should not be restricted at all and set it RWX.
14  */
15 .section .note.GNU-stack,"",@progbits