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
2746797a
Commit
2746797a
authored
Apr 02, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Support building krnl386.exe in PE format.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1acb481d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
relay.c
tools/winebuild/relay.c
+3
-2
spec16.c
tools/winebuild/spec16.c
+1
-1
No files found.
tools/winebuild/relay.c
View file @
2746797a
...
...
@@ -379,9 +379,10 @@ static void BuildCallFrom16Core( int reg_func, int thunk )
static
void
BuildCallTo16Core
(
int
reg_func
)
{
const
char
*
name
=
reg_func
?
"wine_call_to_16_regs"
:
"wine_call_to_16"
;
const
char
*
func_name
=
(
target_platform
==
PLATFORM_WINDOWS
?
strmake
(
"%s@12"
,
name
)
:
name
);
/* Function header */
function_header
(
name
);
function_header
(
func_
name
);
/* Function entry sequence */
output_cfi
(
".cfi_startproc"
);
...
...
@@ -523,7 +524,7 @@ static void BuildCallTo16Core( int reg_func )
output
(
"
\t
lret
\n
"
);
/* Function footer */
output_function_size
(
name
);
output_function_size
(
func_
name
);
}
...
...
tools/winebuild/spec16.c
View file @
2746797a
...
...
@@ -825,7 +825,7 @@ void output_spec16_file( DLLSPEC *spec16 )
output_stubs
(
spec16
);
output_exports
(
spec32
);
output_imports
(
spec16
);
if
(
is_undefined
(
"__wine_call_from_16
"
))
output_asm_relays16
();
if
(
!
strcmp
(
spec16
->
dll_name
,
"kernel
"
))
output_asm_relays16
();
if
(
needs_get_pc_thunk
)
output_get_pc_thunk
();
if
(
spec16
->
main_module
)
{
...
...
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