Skip to content

Commit 8d11e46

Browse files
committed
Fix cpuid.S on arm
The ARM assembly syntax differs a bit Fixes 61b9339 getarch/cpuid.S: Fix warning about executable stack Signed-off-by: Sertonix <sertonix@posteo.net>
1 parent 03a4afc commit 8d11e46

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cpuid.S

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,9 @@ _cpuid:
6666

6767
#endif
6868
#if defined(__ELF__) && defined(__linux__)
69+
#if defined(__arm__)
70+
.section .note.GNU-stack,"",%progbits
71+
#else
6972
.section .note.GNU-stack,"",@progbits
7073
#endif
74+
#endif

0 commit comments

Comments
 (0)