Fix a bug in the AMD64 trampoline. I misunderstood the implicit

32->64 bit zero extend.  This changes a movl to an orq.

Approved by:	re (amd64 bits)
This commit is contained in:
peter 2003-05-17 00:30:51 +00:00
parent d51b17e639
commit ee17e46a3e

View File

@ -108,6 +108,6 @@ longmode:
/* We're still running V=P, jump to entry point */
movl %esi, %eax
salq $32, %rax
movl %edi, %eax
orq %rdi, %rax
pushq %rax
ret