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
559d5026
Commit
559d5026
authored
Sep 29, 2020
by
Martin Storsjo
Committed by
Alexandre Julliard
Sep 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Add unwind info to arm64 syscall stubs.
Signed-off-by:
Martin Storsjo
<
martin@martin.st
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1dcc3ab2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
import.c
tools/winebuild/import.c
+17
-0
No files found.
tools/winebuild/import.c
View file @
559d5026
...
...
@@ -1604,12 +1604,26 @@ void output_syscalls( DLLSPEC *spec )
output
(
"
\t
cmp x8, %u
\n
"
,
count
);
output
(
"
\t
bcs 3f
\n
"
);
output
(
"
\t
stp x29, x30, [sp,#-160]!
\n
"
);
output_cfi
(
"
\t
.cfi_def_cfa_offset 160
\n
"
);
output_cfi
(
"
\t
.cfi_offset 29, -160
\n
"
);
output_cfi
(
"
\t
.cfi_offset 30, -152
\n
"
);
output
(
"
\t
mov x29, sp
\n
"
);
output_cfi
(
"
\t
.cfi_def_cfa_register 29
\n
"
);
output
(
"
\t
stp x27, x28, [sp, #144]
\n
"
);
output_cfi
(
"
\t
.cfi_offset 27, -16
\n
"
);
output_cfi
(
"
\t
.cfi_offset 28, -8
\n
"
);
output
(
"
\t
stp x25, x26, [sp, #128]
\n
"
);
output_cfi
(
"
\t
.cfi_offset 25, -32
\n
"
);
output_cfi
(
"
\t
.cfi_offset 26, -24
\n
"
);
output
(
"
\t
stp x23, x24, [sp, #112]
\n
"
);
output_cfi
(
"
\t
.cfi_offset 23, -48
\n
"
);
output_cfi
(
"
\t
.cfi_offset 24, -40
\n
"
);
output
(
"
\t
stp x21, x22, [sp, #96]
\n
"
);
output_cfi
(
"
\t
.cfi_offset 21, -64
\n
"
);
output_cfi
(
"
\t
.cfi_offset 22, -56
\n
"
);
output
(
"
\t
stp x19, x20, [sp, #80]
\n
"
);
output_cfi
(
"
\t
.cfi_offset 19, -80
\n
"
);
output_cfi
(
"
\t
.cfi_offset 20, -72
\n
"
);
output
(
"
\t
stp x6, x7, [sp, #64]
\n
"
);
output
(
"
\t
stp x4, x5, [sp, #48]
\n
"
);
output
(
"
\t
stp x2, x3, [sp, #32]
\n
"
);
...
...
@@ -1735,6 +1749,9 @@ void output_syscalls( DLLSPEC *spec )
break
;
case
CPU_ARM64
:
output
(
"
\t
stp x29, x30, [sp,#-16]!
\n
"
);
output_cfi
(
"
\t
.cfi_def_cfa_offset 16
\n
"
);
output_cfi
(
"
\t
.cfi_offset 29, -16
\n
"
);
output_cfi
(
"
\t
.cfi_offset 30, -8
\n
"
);
output
(
"
\t
mov x8, #%u
\n
"
,
i
);
output
(
"
\t
adrp x16, %s
\n
"
,
arm64_page
(
asm_name
(
"__wine_syscall_dispatcher"
)
)
);
output
(
"
\t
ldr x16, [x16, #%s]
\n
"
,
arm64_pageoff
(
asm_name
(
"__wine_syscall_dispatcher"
)
)
);
...
...
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