Commit | Line | Data |
---|---|---|
3a99e6db IM |
1 | |
2 | /* Various wrappers to make the kernel .S file build in user-space: */ | |
3 | ||
9ea81197 | 4 | #define memcpy MEMCPY /* don't hide glibc's memcpy() */ |
800eb014 JB |
5 | #define altinstr_replacement text |
6 | #define globl p2align 4; .globl | |
3a99e6db IM |
7 | #define _ASM_EXTABLE_FAULT(x, y) |
8 | ||
ea7872b9 | 9 | #include "../../../arch/x86/lib/memcpy_64.S" |
7a0153ee JO |
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 |