Browse Source

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>
pull/5360/head
Sertonix 2 months ago
parent
commit
8d11e4630c
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      cpuid.S

+ 4
- 0
cpuid.S 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

Loading…
Cancel
Save