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
bc2e4ea7
Commit
bc2e4ea7
authored
Jun 09, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Update target-dependent characteristics after option parsing.
parent
320acdad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
main.c
tools/winebuild/main.c
+5
-0
utils.c
tools/winebuild/utils.c
+0
-4
No files found.
tools/winebuild/main.c
View file @
bc2e4ea7
...
...
@@ -640,6 +640,11 @@ int main(int argc, char **argv)
spec
->
characteristics
|=
IMAGE_FILE_DLL
;
/* fall through */
case
MODE_EXE
:
if
(
get_ptr_size
()
==
4
)
spec
->
characteristics
|=
IMAGE_FILE_32BIT_MACHINE
;
else
spec
->
characteristics
|=
IMAGE_FILE_LARGE_ADDRESS_AWARE
;
files
=
load_resources
(
files
,
spec
);
if
(
spec_file_name
&&
!
parse_input_file
(
spec
))
break
;
if
(
!
spec
->
init_func
)
spec
->
init_func
=
xstrdup
(
get_default_entry_point
(
spec
));
...
...
tools/winebuild/utils.c
View file @
bc2e4ea7
...
...
@@ -629,10 +629,6 @@ DLLSPEC *alloc_dll_spec(void)
spec
->
subsystem_major
=
4
;
spec
->
subsystem_minor
=
0
;
spec
->
syscall_table
=
0
;
if
(
get_ptr_size
()
>
4
)
spec
->
characteristics
|=
IMAGE_FILE_LARGE_ADDRESS_AWARE
;
else
spec
->
characteristics
|=
IMAGE_FILE_32BIT_MACHINE
;
spec
->
dll_characteristics
=
IMAGE_DLLCHARACTERISTICS_NX_COMPAT
;
return
spec
;
}
...
...
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