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
281f7018
Commit
281f7018
authored
Apr 12, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Make cfi annotations optional for x86_64.
parent
fd9c41ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
relay.c
dlls/ntdll/relay.c
+10
-10
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+6
-6
No files found.
dlls/ntdll/relay.c
View file @
281f7018
...
@@ -353,14 +353,14 @@ __ASM_GLOBAL_FUNC( call_entry_point,
...
@@ -353,14 +353,14 @@ __ASM_GLOBAL_FUNC( call_entry_point,
#else
#else
__ASM_GLOBAL_FUNC
(
call_entry_point
,
__ASM_GLOBAL_FUNC
(
call_entry_point
,
"pushq %rbp
\n\t
"
"pushq %rbp
\n\t
"
".cfi_adjust_cfa_offset 8
\n\t
"
__ASM_CFI
(
".cfi_adjust_cfa_offset 8
\n\t
"
)
".cfi_rel_offset %rbp,0
\n\t
"
__ASM_CFI
(
".cfi_rel_offset %rbp,0
\n\t
"
)
"movq %rsp,%rbp
\n\t
"
"movq %rsp,%rbp
\n\t
"
".cfi_def_cfa_register %rbp
\n\t
"
__ASM_CFI
(
".cfi_def_cfa_register %rbp
\n\t
"
)
"pushq %rsi
\n\t
"
"pushq %rsi
\n\t
"
".cfi_rel_offset %rsi,-8
\n\t
"
__ASM_CFI
(
".cfi_rel_offset %rsi,-8
\n\t
"
)
"pushq %rdi
\n\t
"
"pushq %rdi
\n\t
"
".cfi_rel_offset %rdi,-16
\n\t
"
__ASM_CFI
(
".cfi_rel_offset %rdi,-16
\n\t
"
)
"movq %rcx,%rax
\n\t
"
"movq %rcx,%rax
\n\t
"
"movq $4,%rcx
\n\t
"
"movq $4,%rcx
\n\t
"
"cmp %rcx,%rdx
\n\t
"
"cmp %rcx,%rdx
\n\t
"
...
@@ -378,13 +378,13 @@ __ASM_GLOBAL_FUNC( call_entry_point,
...
@@ -378,13 +378,13 @@ __ASM_GLOBAL_FUNC( call_entry_point,
"callq *%rax
\n\t
"
"callq *%rax
\n\t
"
"leaq -16(%rbp),%rsp
\n\t
"
"leaq -16(%rbp),%rsp
\n\t
"
"popq %rdi
\n\t
"
"popq %rdi
\n\t
"
".cfi_same_value %rdi
\n\t
"
__ASM_CFI
(
".cfi_same_value %rdi
\n\t
"
)
"popq %rsi
\n\t
"
"popq %rsi
\n\t
"
".cfi_same_value %rsi
\n\t
"
__ASM_CFI
(
".cfi_same_value %rsi
\n\t
"
)
".cfi_def_cfa_register %rsp
\n\t
"
__ASM_CFI
(
".cfi_def_cfa_register %rsp
\n\t
"
)
"popq %rbp
\n\t
"
"popq %rbp
\n\t
"
".cfi_adjust_cfa_offset -8
\n\t
"
__ASM_CFI
(
".cfi_adjust_cfa_offset -8
\n\t
"
)
".cfi_same_value %rbp
\n\t
"
__ASM_CFI
(
".cfi_same_value %rbp
\n\t
"
)
"ret"
)
"ret"
)
#endif
#endif
...
...
dlls/ntdll/signal_x86_64.c
View file @
281f7018
...
@@ -1610,10 +1610,10 @@ NTSTATUS context_from_server( CONTEXT *to, const context_t *from )
...
@@ -1610,10 +1610,10 @@ NTSTATUS context_from_server( CONTEXT *to, const context_t *from )
extern
void
raise_func_trampoline
(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
,
raise_func
func
);
extern
void
raise_func_trampoline
(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
,
raise_func
func
);
__ASM_GLOBAL_FUNC
(
raise_func_trampoline
,
__ASM_GLOBAL_FUNC
(
raise_func_trampoline
,
".cfi_signal_frame
\n\t
"
__ASM_CFI
(
".cfi_signal_frame
\n\t
"
)
".cfi_def_cfa %rbp,144
\n\t
"
/* red zone + rip + rbp */
__ASM_CFI
(
".cfi_def_cfa %rbp,144
\n\t
"
)
/* red zone + rip + rbp */
".cfi_rel_offset %rip,8
\n\t
"
__ASM_CFI
(
".cfi_rel_offset %rip,8
\n\t
"
)
".cfi_rel_offset %rbp,0
\n\t
"
__ASM_CFI
(
".cfi_rel_offset %rbp,0
\n\t
"
)
"call *%rdx
\n\t
"
"call *%rdx
\n\t
"
"int $3"
)
"int $3"
)
...
@@ -2975,14 +2975,14 @@ void call_thread_func( LPTHREAD_START_ROUTINE entry, void *arg, void *frame )
...
@@ -2975,14 +2975,14 @@ void call_thread_func( LPTHREAD_START_ROUTINE entry, void *arg, void *frame )
extern
void
DECLSPEC_NORETURN
call_thread_entry_point
(
LPTHREAD_START_ROUTINE
entry
,
void
*
arg
);
extern
void
DECLSPEC_NORETURN
call_thread_entry_point
(
LPTHREAD_START_ROUTINE
entry
,
void
*
arg
);
__ASM_GLOBAL_FUNC
(
call_thread_entry_point
,
__ASM_GLOBAL_FUNC
(
call_thread_entry_point
,
"subq $8,%rsp
\n\t
"
"subq $8,%rsp
\n\t
"
".cfi_adjust_cfa_offset 8
\n\t
"
__ASM_CFI
(
".cfi_adjust_cfa_offset 8
\n\t
"
)
"movq %rsp,%rdx
\n\t
"
"movq %rsp,%rdx
\n\t
"
"call "
__ASM_NAME
(
"call_thread_func"
)
);
"call "
__ASM_NAME
(
"call_thread_func"
)
);
extern
void
DECLSPEC_NORETURN
call_thread_exit_func
(
int
status
,
void
(
*
func
)(
int
),
void
*
frame
);
extern
void
DECLSPEC_NORETURN
call_thread_exit_func
(
int
status
,
void
(
*
func
)(
int
),
void
*
frame
);
__ASM_GLOBAL_FUNC
(
call_thread_exit_func
,
__ASM_GLOBAL_FUNC
(
call_thread_exit_func
,
"subq $8,%rsp
\n\t
"
"subq $8,%rsp
\n\t
"
".cfi_adjust_cfa_offset 8
\n\t
"
__ASM_CFI
(
".cfi_adjust_cfa_offset 8
\n\t
"
)
"movq %rdx,%rsp
\n\t
"
"movq %rdx,%rsp
\n\t
"
"call *%rsi"
);
"call *%rsi"
);
...
...
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