diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-12-15 14:55:48 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-06-23 22:21:23 +0200 |
commit | 380b9affd1a9e9ac6a52642ee7fc098b404bda7e (patch) | |
tree | 9d6ef93ead985938c148f6010d4738df2ec02f9a /winsup/cygwin/exceptions.cc | |
parent | 6f560555bd9119b53f1663fcce78a97c6a9ba938 (diff) | |
download | cygnal-380b9affd1a9e9ac6a52642ee7fc098b404bda7e.tar.gz cygnal-380b9affd1a9e9ac6a52642ee7fc098b404bda7e.tar.bz2 cygnal-380b9affd1a9e9ac6a52642ee7fc098b404bda7e.zip |
Drop has_restricted_stack_args flag
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 7ad99888d..504fae438 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -354,12 +354,6 @@ stack_info::walk () /* The arguments follow the return address */ sf.Params[0] = (_ADDR) *++framep; - /* Hack for XP/2K3 WOW64. If the first stack param points to the - application entry point, we can only fetch one additional - parameter. Accessing anything beyond this address results in - a SEGV. This is fixed in Vista/2K8 WOW64. */ - if (wincap.has_restricted_stack_args () && sf.Params[0] == 0x401000) - nparams = 2; for (unsigned i = 1; i < nparams; i++) sf.Params[i] = (_ADDR) *++framep; } |