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
1f6681f4
Commit
1f6681f4
authored
May 18, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Use cdecl calling convention for stub exceptions.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=47226
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b8743f1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
stub.c
dlls/winecrt0/stub.c
+1
-1
import.c
tools/winebuild/import.c
+4
-4
No files found.
dlls/winecrt0/stub.c
View file @
1f6681f4
...
...
@@ -23,7 +23,7 @@
#include "winbase.h"
#include "wine/exception.h"
void
DECLSPEC_HIDDEN
__wine_spec_unimplemented_stub
(
const
char
*
module
,
const
char
*
function
)
void
DECLSPEC_HIDDEN
__
cdecl
__
wine_spec_unimplemented_stub
(
const
char
*
module
,
const
char
*
function
)
{
ULONG_PTR
args
[
2
];
...
...
tools/winebuild/import.c
View file @
1f6681f4
...
...
@@ -1250,13 +1250,13 @@ void output_stubs( DLLSPEC *spec )
output
(
"
\t
call %s
\n
"
,
asm_name
(
"__wine_spec_unimplemented_stub"
)
);
break
;
case
CPU_x86_64
:
output
(
"
\t
subq $8,%%rsp
\n
"
);
output
(
"
\t
subq $
0x2
8,%%rsp
\n
"
);
output_cfi
(
".cfi_adjust_cfa_offset 8"
);
output
(
"
\t
leaq .L__wine_spec_file_name(%%rip),%%r
di
\n
"
);
output
(
"
\t
leaq .L__wine_spec_file_name(%%rip),%%r
cx
\n
"
);
if
(
exp_name
)
output
(
"leaq .L%s_string(%%rip),%%r
si
\n
"
,
name
);
output
(
"leaq .L%s_string(%%rip),%%r
dx
\n
"
,
name
);
else
output
(
"
\t
movq $%d,%%r
si
\n
"
,
odp
->
ordinal
);
output
(
"
\t
movq $%d,%%r
dx
\n
"
,
odp
->
ordinal
);
output
(
"
\t
call %s
\n
"
,
asm_name
(
"__wine_spec_unimplemented_stub"
)
);
break
;
case
CPU_ARM
:
...
...
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