From: Paul Floyd Date: Tue, 11 Nov 2025 13:15:51 +0000 (+0000) Subject: Warnings: fix executable stack warnings from x86 assmebler tests. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8e1583c9307ca08f6cc04353a7be1a149575742;p=thirdparty%2Fvalgrind.git Warnings: fix executable stack warnings from x86 assmebler tests. --- diff --git a/cachegrind/tests/x86/fpu-28-108.S b/cachegrind/tests/x86/fpu-28-108.S index 54b2da650..cb770f818 100644 --- a/cachegrind/tests/x86/fpu-28-108.S +++ b/cachegrind/tests/x86/fpu-28-108.S @@ -24,3 +24,5 @@ VG_SYM_ASM(main): movl $0, %eax ret + .section .note.GNU-stack,"",@progbits + diff --git a/memcheck/tests/x86/pushfpopf_s.S b/memcheck/tests/x86/pushfpopf_s.S index 37816898e..3cdd64d56 100644 --- a/memcheck/tests/x86/pushfpopf_s.S +++ b/memcheck/tests/x86/pushfpopf_s.S @@ -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 + diff --git a/memcheck/tests/x86/tronical.S b/memcheck/tests/x86/tronical.S index e5bb4009e..60427c1c2 100644 --- a/memcheck/tests/x86/tronical.S +++ b/memcheck/tests/x86/tronical.S @@ -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 + diff --git a/none/tests/x86/cpuid_s.S b/none/tests/x86/cpuid_s.S index 70040ce28..e5012cc92 100644 --- a/none/tests/x86/cpuid_s.S +++ b/none/tests/x86/cpuid_s.S @@ -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 +