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
81f7329f
Commit
81f7329f
authored
Sep 02, 2023
by
Jinoh Kang
Committed by
Alexandre Julliard
Sep 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loader: Fix calculation of thread_data address in Linux x86-64 preloader.
Fixes:
ac1761d1
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55508
parent
73c9bb07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
preloader.c
loader/preloader.c
+1
-1
No files found.
loader/preloader.c
View file @
81f7329f
...
...
@@ -353,7 +353,7 @@ __ASM_GLOBAL_FUNC(_start,
"movq %rsp,%rax
\n\t
"
"leaq -144(%rsp),%rsp
\n\t
"
/* allocate some space for extra aux values */
"movq %rax,(%rsp)
\n\t
"
/* orig stack pointer */
"
mov
q thread_data(%rip),%rsi
\n\t
"
"
lea
q thread_data(%rip),%rsi
\n\t
"
"movq $0x1002,%rdi
\n\t
"
/* ARCH_SET_FS */
"movq $158,%rax
\n\t
"
/* SYS_arch_prctl */
"syscall
\n\t
"
...
...
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