]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Warnings: fix executable stack warnings from x86 assmebler tests.
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 11 Nov 2025 13:15:51 +0000 (13:15 +0000)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 11 Nov 2025 13:15:51 +0000 (13:15 +0000)
cachegrind/tests/x86/fpu-28-108.S
memcheck/tests/x86/pushfpopf_s.S
memcheck/tests/x86/tronical.S
none/tests/x86/cpuid_s.S

index 54b2da6500c4d1c5116914ada8706c592dc1e46a..cb770f818ef428f928bea0e92326a22bf0a39afd 100644 (file)
@@ -24,3 +24,5 @@ VG_SYM_ASM(main):
         movl    $0, %eax
         ret
 
+        .section        .note.GNU-stack,"",@progbits
+
index 37816898e78c95f011eff7cebbd174031f1cee21..3cdd64d569a4db44b5c4672bf2f9c5ff4d19b763 100644 (file)
@@ -46,3 +46,5 @@ theend:
        .size   VG_SYM_ASM(fooble),.Lfe1-VG_SYM_ASM(fooble)
 #endif
        .ident  "GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-98)"
+        .section        .note.GNU-stack,"",@progbits
+
index e5bb4009e3d22f27bd81033da1447dc647474d20..60427c1c2fd18daa9b391a74218026e1d7a4e595 100644 (file)
@@ -104,3 +104,5 @@ VG_SYM_ASM(main):
 .Lfe3:
        .comm   foo,4,4
        .ident  "GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-98)"
+        .section        .note.GNU-stack,"",@progbits
+
index 70040ce285c3e31455b169c0347cd02756d49754..e5012cc92d639b91daaea0bbdaec2667da5a80a1 100644 (file)
@@ -71,3 +71,5 @@ VG_SYM_ASM(get_cpuid1):
 
 
        .ident  "GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-98)"
+        .section        .note.GNU-stack,"",@progbits
+