From: Tom Hughes Date: Mon, 16 May 2005 07:31:05 +0000 (+0000) Subject: Use movq to get the frame pointer on amd64. X-Git-Tag: svn/VALGRIND_3_0_0~583 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c829917c1f2c58155e81df1409a55f5a5287cb49;p=thirdparty%2Fvalgrind.git Use movq to get the frame pointer on amd64. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3735 --- diff --git a/coregrind/vg_mylibc.c b/coregrind/vg_mylibc.c index 62244180e0..ec19b6ca0d 100644 --- a/coregrind/vg_mylibc.c +++ b/coregrind/vg_mylibc.c @@ -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