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
220aeda3
Commit
220aeda3
authored
Mar 27, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Mar 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Create stubs for ARM.
parent
516bb0ba
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
import.c
tools/winebuild/import.c
+15
-0
parser.c
tools/winebuild/parser.c
+2
-2
No files found.
tools/winebuild/import.c
View file @
220aeda3
...
@@ -1256,6 +1256,21 @@ void output_stubs( DLLSPEC *spec )
...
@@ -1256,6 +1256,21 @@ void output_stubs( DLLSPEC *spec )
output
(
"
\t
movq $%d,%%rsi
\n
"
,
odp
->
ordinal
);
output
(
"
\t
movq $%d,%%rsi
\n
"
,
odp
->
ordinal
);
output
(
"
\t
call %s
\n
"
,
asm_name
(
"__wine_spec_unimplemented_stub"
)
);
output
(
"
\t
call %s
\n
"
,
asm_name
(
"__wine_spec_unimplemented_stub"
)
);
break
;
break
;
case
CPU_ARM
:
output
(
"
\t
ldr r0,[PC,#0]
\n
"
);
output
(
"
\t
mov PC,PC
\n
"
);
output
(
"
\t
.long .L__wine_spec_file_name
\n
"
);
output
(
"
\t
ldr r1,[PC,#0]
\n
"
);
output
(
"
\t
mov PC,PC
\n
"
);
if
(
exp_name
)
{
output
(
"
\t
.long .L%s_string
\n
"
,
name
);
count
++
;
}
else
output
(
"
\t
.long %d
\n
"
,
odp
->
ordinal
);
output
(
"
\t
bl %s
\n
"
,
asm_name
(
"__wine_spec_unimplemented_stub"
)
);
break
;
default:
default:
assert
(
0
);
assert
(
0
);
}
}
...
...
tools/winebuild/parser.c
View file @
220aeda3
...
@@ -403,9 +403,9 @@ static int parse_spec_stub( ORDDEF *odp, DLLSPEC *spec )
...
@@ -403,9 +403,9 @@ static int parse_spec_stub( ORDDEF *odp, DLLSPEC *spec )
odp
->
link_name
=
xstrdup
(
""
);
odp
->
link_name
=
xstrdup
(
""
);
/* don't bother generating stubs for Winelib */
/* don't bother generating stubs for Winelib */
if
(
odp
->
flags
&
FLAG_CPU_MASK
)
if
(
odp
->
flags
&
FLAG_CPU_MASK
)
odp
->
flags
&=
FLAG_CPU
(
CPU_x86
)
|
FLAG_CPU
(
CPU_x86_64
);
odp
->
flags
&=
FLAG_CPU
(
CPU_x86
)
|
FLAG_CPU
(
CPU_x86_64
)
|
FLAG_CPU
(
CPU_ARM
)
;
else
else
odp
->
flags
|=
FLAG_CPU
(
CPU_x86
)
|
FLAG_CPU
(
CPU_x86_64
);
odp
->
flags
|=
FLAG_CPU
(
CPU_x86
)
|
FLAG_CPU
(
CPU_x86_64
)
|
FLAG_CPU
(
CPU_ARM
)
;
return
parse_spec_arguments
(
odp
,
spec
,
1
);
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