mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 21:14:07 +08:00
selftests/x86: Add missing .note.GNU-stack sections
Several of the x86 selftests end up with executable stacks because the asm was missing the annotation that says that they are modern and don't need executable stacks. Add the annotations. Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/6f043c03e9e0e4557e1e975a63b07a4d18965a68.1604346596.git.luto@kernel.org
This commit is contained in:
parent
716572b000
commit
aeaaf005da
@ -45,3 +45,5 @@ int80_and_ret:
|
||||
|
||||
.type int80_and_ret, @function
|
||||
.size int80_and_ret, .-int80_and_ret
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
@ -57,3 +57,5 @@ call32_from_64:
|
||||
ret
|
||||
|
||||
.size call32_from_64, .-call32_from_64
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
Loading…
Reference in New Issue
Block a user