Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 // memset_orig and memset_erms are being defined as SYM_L_LOCAL but we need it
0003 #define SYM_FUNC_START_LOCAL(name)                      \
0004         SYM_START(name, SYM_L_GLOBAL, SYM_A_ALIGN)
0005 #define memset MEMSET /* don't hide glibc's memset() */
0006 #define altinstr_replacement text
0007 #define globl p2align 4; .globl
0008 #include "../../arch/x86/lib/memset_64.S"
0009 
0010 /*
0011  * We need to provide note.GNU-stack section, saying that we want
0012  * NOT executable stack. Otherwise the final linking will assume that
0013  * the ELF stack should not be restricted at all and set it RWX.
0014  */
0015 .section .note.GNU-stack,"",@progbits