From: VMware, Inc <> Date: Mon, 20 Sep 2010 18:10:27 +0000 (-0700) Subject: Adjust Muls64x32s64 constraints to allow PIC X-Git-Tag: 2010.09.19-301124~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81b25eca0265b41b73bae325e8dc6159a05592d5;p=thirdparty%2Fopen-vm-tools.git Adjust Muls64x32s64 constraints to allow PIC Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/include/vm_basic_asm_x86.h b/open-vm-tools/lib/include/vm_basic_asm_x86.h index 45f37f941..180d865a3 100644 --- a/open-vm-tools/lib/include/vm_basic_asm_x86.h +++ b/open-vm-tools/lib/include/vm_basic_asm_x86.h @@ -502,7 +502,7 @@ Muls64x32s64(int64 multiplicand, uint32 multiplier, uint32 shift) "shrdl %%edx, %%eax\n\t" // result = hi(p2):hi(p1):lo(p1) >> shift "shrdl %1, %%edx\n" "3:\n\t" - : "=A" (result), "=&r" (tmp1), "=&r" (tmp2) + : "=A" (result), "=&r" (tmp1), "=&rm" (tmp2) : "0" (multiplicand), "rm" (multiplier), "c" (shift) : "cc"); return result;