You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
winebuild-Fake_Dlls: Added patch to fix relocation information in fake dlls.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
From ff0ab54bfc6eb41797f5b8e15c48a2ff7a9e8562 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Thu, 25 May 2017 03:22:25 +0200
|
||||
Subject: winebuild: Fix size of relocation information in fake dlls.
|
||||
|
||||
---
|
||||
tools/winebuild/spec32.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c
|
||||
index d1bd1683334..56de04855d9 100644
|
||||
--- a/tools/winebuild/spec32.c
|
||||
+++ b/tools/winebuild/spec32.c
|
||||
@@ -1022,8 +1022,8 @@ static void output_fake_module_pass( DLLSPEC *spec )
|
||||
/* .reloc contents */
|
||||
align_output_rva( file_align, section_align );
|
||||
put_label( "reloc_start" );
|
||||
- put_dword( 0 ); /* VirtualAddress */
|
||||
- put_dword( 0 ); /* SizeOfBlock */
|
||||
+ put_dword( label_rva("text_start") ); /* VirtualAddress */
|
||||
+ put_dword( 8 ); /* SizeOfBlock */
|
||||
put_label( "reloc_end" );
|
||||
|
||||
/* .rsrc contents */
|
||||
--
|
||||
2.12.2
|
||||
|
Reference in New Issue
Block a user