aboutsummaryrefslogtreecommitdiff
blob: 764370151be1161a34c0404dd90e5cd1fb9638a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/x86_64/Gos-linux.c
+++ b/src/x86_64/Gos-linux.c
@@ -143,8 +143,8 @@ x86_64_sigreturn (unw_cursor_t *cursor)
 
   Debug (8, "resuming at ip=%llx via sigreturn(%p)\n",
              (unsigned long long) c->dwarf.ip, sc);
-  __asm__ __volatile__ ("mov %0, %%rsp;"
-                        "mov %1, %%rax;"
+  __asm__ __volatile__ ("mov %q0, %%rsp;"
+                        "mov %q1, %%rax;"
                         "syscall"
                         :: "r"(sc), "i"(SYS_rt_sigreturn)
                         : "memory");