Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
538071ce
Commit
538071ce
authored
Jan 16, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Reserve the space for the PE header in the .init section.
parent
1030d412
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
spec32.c
tools/winebuild/spec32.c
+5
-4
No files found.
tools/winebuild/spec32.c
View file @
538071ce
...
...
@@ -358,13 +358,14 @@ void BuildSpec32File( DLLSPEC *spec )
/* Reserve some space for the PE header */
output
(
"
\
t
.text
\n
"
);
output
(
"
\t
.align %d
\n
"
,
get_alignment
(
page_size
)
);
output
(
"
\
n\t
.section
\"
.init
\"
,
\"
ax
\"
\n
"
);
output
(
"
\t
jmp 1f
\n
"
);
output
(
"__wine_spec_pe_header:
\n
"
);
if
(
target_platform
==
PLATFORM_APPLE
)
output
(
"
\t
.space
65536
\n
"
);
output
(
"
\t
.space
%u
\n
"
,
65536
+
page_size
);
else
output
(
"
\t
.skip 65536
\n
"
);
output
(
"
\t
.skip %u
\n
"
,
65536
+
page_size
);
output
(
"1:
\n
"
);
/* Output the NT header */
...
...
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