]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Use movq to get the frame pointer on amd64.
authorTom Hughes <tom@compton.nu>
Mon, 16 May 2005 07:31:05 +0000 (07:31 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 16 May 2005 07:31:05 +0000 (07:31 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3735

coregrind/vg_mylibc.c

index 62244180e09c7fd5296cf61a0e42da985a14668e..ec19b6ca0dc15e522a3725663b2d7641b24819ee 100644 (file)
@@ -915,7 +915,7 @@ Bool VG_(string_match) ( const Char* pat, const Char* str )
 #elif defined(VGP_amd64_linux)
 #  define GET_REAL_SP_AND_FP(sp, fp) \
       asm("movq %%rsp, %0;" \
-          "movl %%rbp, %1;" \
+          "movq %%rbp, %1;" \
           : "=r" (sp),\
             "=r" (fp));
 #else