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
d1f9067c
Commit
d1f9067c
authored
Jun 14, 2015
by
André Hentschel
Committed by
Alexandre Julliard
Jun 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Create stubs for ARM64.
parent
bef85a14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
import.c
tools/winebuild/import.c
+17
-0
parser.c
tools/winebuild/parser.c
+2
-2
No files found.
tools/winebuild/import.c
View file @
d1f9067c
...
...
@@ -1270,6 +1270,23 @@ void output_stubs( DLLSPEC *spec )
if
(
exp_name
)
output
(
"
\t
.long .L%s_string-2b
\n
"
,
name
);
else
output
(
"
\t
.long %u
\n
"
,
odp
->
ordinal
);
break
;
case
CPU_ARM64
:
output
(
"
\t
adr x0, 2f
\n
"
);
output
(
"
\t
ldur x0, [x0, #0]
\n
"
);
output
(
"
\t
adr x1, 2f+8
\n
"
);
output
(
"
\t
ldur x1, [x1, #0]
\n
"
);
output
(
"
\t
adr x2, 1f
\n
"
);
output
(
"
\t
ldur x2, [x2, #0]
\n
"
);
output
(
"
\t
blr x2
\n
"
);
output
(
"1:
\t
.quad %s
\n
"
,
asm_name
(
"__wine_spec_unimplemented_stub"
)
);
output
(
"2:
\t
.quad %s
\n
"
,
asm_name
(
"__wine_spec_file_name"
)
);
if
(
exp_name
)
{
output
(
"
\t
.quad .L%s_string
\n
"
,
name
);
count
++
;
}
else
output
(
"
\t
.quad %u
\n
"
,
odp
->
ordinal
);
break
;
default:
assert
(
0
);
}
...
...
tools/winebuild/parser.c
View file @
d1f9067c
...
...
@@ -403,9 +403,9 @@ static int parse_spec_stub( ORDDEF *odp, DLLSPEC *spec )
odp
->
link_name
=
xstrdup
(
""
);
/* don't bother generating stubs for Winelib */
if
(
odp
->
flags
&
FLAG_CPU_MASK
)
odp
->
flags
&=
FLAG_CPU
(
CPU_x86
)
|
FLAG_CPU
(
CPU_x86_64
)
|
FLAG_CPU
(
CPU_ARM
);
odp
->
flags
&=
FLAG_CPU
(
CPU_x86
)
|
FLAG_CPU
(
CPU_x86_64
)
|
FLAG_CPU
(
CPU_ARM
)
|
FLAG_CPU
(
CPU_ARM64
)
;
else
odp
->
flags
|=
FLAG_CPU
(
CPU_x86
)
|
FLAG_CPU
(
CPU_x86_64
)
|
FLAG_CPU
(
CPU_ARM
);
odp
->
flags
|=
FLAG_CPU
(
CPU_x86
)
|
FLAG_CPU
(
CPU_x86_64
)
|
FLAG_CPU
(
CPU_ARM
)
|
FLAG_CPU
(
CPU_ARM64
)
;
return
parse_spec_arguments
(
odp
,
spec
,
1
);
}
...
...
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