Fix cpuid.S on arm

The ARM assembly syntax differs a bit

Fixes 61b9339d3a getarch/cpuid.S: Fix warning about executable stack

Signed-off-by: Sertonix <sertonix@posteo.net>
This commit is contained in:
Sertonix
2025-07-06 23:48:10 +02:00
parent 03a4afcf14
commit 8d11e4630c

View File

@@ -66,5 +66,9 @@ _cpuid:
#endif
#if defined(__ELF__) && defined(__linux__)
#if defined(__arm__)
.section .note.GNU-stack,"",%progbits
#else
.section .note.GNU-stack,"",@progbits
#endif
#endif