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
95fe8e5d
Commit
95fe8e5d
authored
Jan 11, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Jan 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Check for AT_HWCAP2 definition before using it.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=54210
parent
90d975ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
signal_x86_64.c
dlls/ntdll/unix/signal_x86_64.c
+2
-0
No files found.
dlls/ntdll/unix/signal_x86_64.c
View file @
95fe8e5d
...
...
@@ -2429,7 +2429,9 @@ void signal_init_process(void)
{
amd64_thread_data
()
->
fs
=
fs32_sel
=
(
sel
<<
3
)
|
3
;
syscall_flags
|=
SYSCALL_HAVE_PTHREAD_TEB
;
#ifdef AT_HWCAP2
if
(
getauxval
(
AT_HWCAP2
)
&
2
)
syscall_flags
|=
SYSCALL_HAVE_WRFSGSBASE
;
#endif
}
else
ERR_
(
seh
)(
"failed to allocate %%fs selector
\n
"
);
}
...
...
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