FIX GCC ASM template

is the constant 2. %2 is the second positional argument, which is the XSTORE divisor. We want the later.
This commit is contained in:
Jeffrey Walton 2017-08-20 04:21:24 -04:00
parent 61c8b74951
commit 8c47095a57
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -33,7 +33,7 @@ void PadlockRNG::GenerateBlock(byte *output, size_t size)
__asm__ __volatile__
(
"movl %1, %%edi ;\n"
"movl $2, %%edx ;\n"
"movl %2, %%edx ;\n"
".byte 0x0f, 0xa7, 0xc0 ;\n"
"movl %%eax, %0 ;\n"