aarch64: Introduce RSEQ_ASM_U32
[librseq.git] / include / rseq / arch / aarch64.h
index 9e75066b0bca0f93a43feb5de5456367aa644dda..e2ae825878af7c932f96706b5487a8740e7d5873 100644 (file)
@@ -108,6 +108,7 @@ do {                                                                                \
 } while (0)
 
 #define RSEQ_ASM_U64_PTR(x)    ".quad " x
+#define RSEQ_ASM_U32(x)                ".long " x
 
 /* Temporary scratch registers. */
 #define RSEQ_ASM_TMP_REG32     "w15"
@@ -120,7 +121,8 @@ do {                                                                                \
        "       .pushsection    __rseq_cs, \"aw\"\n"                            \
        "       .balign 32\n"                                                   \
        __rseq_str(label) ":\n"                                                 \
-       "       .long   " __rseq_str(version) ", " __rseq_str(flags) "\n"       \
+       "       " RSEQ_ASM_U32(__rseq_str(version)) "\n"                        \
+       "       " RSEQ_ASM_U32(__rseq_str(flags)) "\n"                          \
        "       " RSEQ_ASM_U64_PTR(__rseq_str(start_ip)) "\n"                   \
        "       " RSEQ_ASM_U64_PTR(__rseq_str(post_commit_offset)) "\n"         \
        "       " RSEQ_ASM_U64_PTR(__rseq_str(abort_ip)) "\n"                   \
This page took 0.036924 seconds and 4 git commands to generate.