]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Use portable syntax for pushsection directive in inline assembly
authorKhem Raj <raj.khem@gmail.com>
Wed, 14 May 2025 16:29:33 +0000 (09:29 -0700)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 29 May 2025 17:01:39 +0000 (19:01 +0200)
commit2fa8581c4974db57de80de915d16ce299eb9aa84
tree3392dfb55d53f13a3442a94c79f463a77a4a5054
parentf7b087df5ccd4ac1c0803a5dfd168327dc25286c
Use portable syntax for pushsection directive in inline assembly

'@' does not work with clang inline assembler, but '%' works with both
gcc and clang. Therefore use '%' to make it more portable

Fixes
<inline asm>:1:41: error: expected '%<type>' or "<type>"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
coregrind/vg_preloaded.c