mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
winebuild-LinkerVersion: Set linker version for both memory layout and fake module.
This commit is contained in:
parent
182d868560
commit
2821e85d06
@ -4570,7 +4570,7 @@ fi
|
||||
if test "$enable_winebuild_LinkerVersion" -eq 1; then
|
||||
patch_apply winebuild-LinkerVersion/0001-winebuild-Set-a-valid-major-and-minor-linker-version.patch
|
||||
(
|
||||
echo '+ { "Michael Müller", "winebuild: Set a valid major and minor linker version.", 1 },';
|
||||
echo '+ { "Michael Müller", "winebuild: Set a valid major and minor linker version.", 2 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
From 879f9aff357d593c169f2b59728de63792ec7f00 Mon Sep 17 00:00:00 2001
|
||||
From be7a50ab68ad481de086a845d3b70f9fa11824cb Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Thu, 21 Aug 2014 05:57:24 +0200
|
||||
Subject: winebuild: Set a valid major and minor linker version
|
||||
Subject: winebuild: Set a valid major and minor linker version. (v2)
|
||||
|
||||
---
|
||||
tools/winebuild/spec32.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
tools/winebuild/spec32.c | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c
|
||||
index 35fe144..c2a3675 100644
|
||||
index 98060b5..0f4fdbc 100644
|
||||
--- a/tools/winebuild/spec32.c
|
||||
+++ b/tools/winebuild/spec32.c
|
||||
@@ -529,8 +529,8 @@ void output_module( DLLSPEC *spec )
|
||||
@ -22,6 +22,17 @@ index 35fe144..c2a3675 100644
|
||||
output( "\t.long 0\n" ); /* SizeOfCode */
|
||||
output( "\t.long 0\n" ); /* SizeOfInitializedData */
|
||||
output( "\t.long 0\n" ); /* SizeOfUninitializedData */
|
||||
@@ -710,8 +710,8 @@ void output_fake_module( DLLSPEC *spec )
|
||||
put_word( get_ptr_size() == 8 ?
|
||||
IMAGE_NT_OPTIONAL_HDR64_MAGIC :
|
||||
IMAGE_NT_OPTIONAL_HDR32_MAGIC ); /* Magic */
|
||||
- put_byte( 0 ); /* MajorLinkerVersion */
|
||||
- put_byte( 0 ); /* MinorLinkerVersion */
|
||||
+ put_byte( 7 ); /* MajorLinkerVersion */
|
||||
+ put_byte( 10 ); /* MinorLinkerVersion */
|
||||
put_dword( text_size ); /* SizeOfCode */
|
||||
put_dword( 0 ); /* SizeOfInitializedData */
|
||||
put_dword( 0 ); /* SizeOfUninitializedData */
|
||||
--
|
||||
1.9.1
|
||||
2.3.5
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user