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 Wemm 2003-05-17 00:30:51 +00:00
parent c00ee5e567
commit 728ec271c1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115091

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