Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
320acdad
Commit
320acdad
authored
Jun 09, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Set a 64-bit base address for generated 64-bit dlls.
parent
931292f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
spec32.c
tools/winebuild/spec32.c
+10
-2
No files found.
tools/winebuild/spec32.c
View file @
320acdad
...
...
@@ -1113,8 +1113,16 @@ static void output_pe_file( DLLSPEC *spec, const char signature[32] )
put_dword
(
0
);
/* SizeOfUninitializedData */
put_dword
(
code_size
?
pe
.
sec
[
0
].
rva
:
0
);
/* AddressOfEntryPoint */
put_dword
(
code_size
?
pe
.
sec
[
0
].
rva
:
0
);
/* BaseOfCode */
if
(
get_ptr_size
()
==
4
)
put_dword
(
0
);
/* BaseOfData */
put_pword
(
0x10000000
);
/* ImageBase */
if
(
get_ptr_size
()
==
4
)
{
put_dword
(
0
);
/* BaseOfData */
put_dword
(
0x10000000
);
/* ImageBase */
}
else
{
put_dword
(
0x80000000
);
/* ImageBase */
put_dword
(
0x00000001
);
}
put_dword
(
pe
.
section_align
);
/* SectionAlignment */
put_dword
(
pe
.
file_align
);
/* FileAlignment */
put_word
(
1
);
/* MajorOperatingSystemVersion */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment