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
b24b2d58
Commit
b24b2d58
authored
Jul 22, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Don't put the PE header in the .init section on Solaris.
parent
a3f42116
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
spec32.c
tools/winebuild/spec32.c
+10
-4
No files found.
tools/winebuild/spec32.c
View file @
b24b2d58
...
...
@@ -358,15 +358,20 @@ void BuildSpec32File( DLLSPEC *spec )
/* Reserve some space for the PE header */
if
(
target_platform
==
PLATFORM_APPLE
)
switch
(
target_platform
)
{
case
PLATFORM_APPLE
:
output
(
"
\t
.text
\n
"
);
output
(
"
\t
.align %d
\n
"
,
get_alignment
(
page_size
)
);
output
(
"__wine_spec_pe_header:
\n
"
);
output
(
"
\t
.space 65536
\n
"
);
}
else
{
break
;
case
PLATFORM_SOLARIS
:
output
(
"
\n\t
.section
\"
.text
\"
,
\"
ax
\"\n
"
);
output
(
"__wine_spec_pe_header:
\n
"
);
output
(
"
\t
.skip %u
\n
"
,
65536
+
page_size
);
break
;
default:
output
(
"
\n\t
.section
\"
.init
\"
,
\"
ax
\"\n
"
);
switch
(
target_cpu
)
{
...
...
@@ -383,6 +388,7 @@ void BuildSpec32File( DLLSPEC *spec )
output
(
"__wine_spec_pe_header:
\n
"
);
output
(
"
\t
.skip %u
\n
"
,
65536
+
page_size
);
output
(
"1:
\n
"
);
break
;
}
/* 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