From 0c12979b72c7467ed66383555e7478755e67b0ed Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 28 May 2002 02:09:15 +0000 Subject: * autoload.cc (noload): Properly mask low order word for determining number of bytes to pop. --- winsup/cygwin/autoload.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/autoload.cc') diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 909ef1047..ed2f54042 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -123,7 +123,7 @@ noload: \n\ decl %eax # Yes. This is the # of bytes + 1 \n\ popl %edx # Caller's caller \n\ pushl %eax # Save for later \n\ - xorl $0xffff,%eax # Only want lower word \n\ + andl $0xffff,%eax # Only want lower word \n\ addl %eax,%esp # Pop off bytes \n\ movl $127,%eax # ERROR_PROC_NOT_FOUND \n\ pushl %eax # First argument \n\ -- cgit v1.2.3