Dmitry Timoshkov : winebuild:
Mark builtin DLLs as IMAGE_FILE_LARGE_ADDRESS_AWARE on a 64-bit
platform.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue May 29 08:05:48 CDT 2007
Module: wine
Branch: master
Commit: bb15683818abf950987aa3abbe7fff5a10db7247
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bb15683818abf950987aa3abbe7fff5a10db7247
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Mon May 28 13:44:46 2007 +0900
winebuild: Mark builtin DLLs as IMAGE_FILE_LARGE_ADDRESS_AWARE on a 64-bit platform.
---
tools/winebuild/utils.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c
index a251e6f..c1e42ad 100644
--- a/tools/winebuild/utils.c
+++ b/tools/winebuild/utils.c
@@ -334,6 +334,8 @@ DLLSPEC *alloc_dll_spec(void)
spec->nb_names = 0;
spec->nb_resources = 0;
spec->characteristics = IMAGE_FILE_EXECUTABLE_IMAGE;
+ if (get_ptr_size() > 4)
+ spec->characteristics |= IMAGE_FILE_LARGE_ADDRESS_AWARE;
spec->dll_characteristics = IMAGE_DLLCHARACTERISTICS_NX_COMPAT;
spec->subsystem = 0;
spec->subsystem_major = 4;
More information about the wine-cvs
mailing list