summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-05-28 02:09:15 +0000
committerChristopher Faylor <me@cgf.cx>2002-05-28 02:09:15 +0000
commit0c12979b72c7467ed66383555e7478755e67b0ed (patch)
treedb0b0360bf6520545152d0f71b17d2780f18698b /winsup/cygwin/autoload.cc
parent57e2ae682ce64be2e5afefb789eabe846fb400ba (diff)
downloadcygnal-0c12979b72c7467ed66383555e7478755e67b0ed.tar.gz
cygnal-0c12979b72c7467ed66383555e7478755e67b0ed.tar.bz2
cygnal-0c12979b72c7467ed66383555e7478755e67b0ed.zip
* autoload.cc (noload): Properly mask low order word for determining number of
bytes to pop.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r--winsup/cygwin/autoload.cc2
1 files changed, 1 insertions, 1 deletions
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\