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 4c3fd5b0b7
commit 7e0ebd57cd

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