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
a3e1c7fa
Commit
a3e1c7fa
authored
Mar 16, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Use generic image_find_section in elf_check_alternate.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e9961039
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
elf_module.c
dlls/dbghelp/elf_module.c
+2
-2
No files found.
dlls/dbghelp/elf_module.c
View file @
a3e1c7fa
...
...
@@ -1139,7 +1139,7 @@ static BOOL elf_check_alternate(struct image_file_map* fmap, const struct module
struct
image_section_map
buildid_sect
,
debuglink_sect
;
/* if present, add the .gnu_debuglink file as an alternate to current one */
if
(
elf_find_section
(
fmap
,
".note.gnu.build-id"
,
SHT_NULL
,
&
buildid_sect
))
if
(
image_find_section
(
fmap
,
".note.gnu.build-id"
,
&
buildid_sect
))
{
const
uint32_t
*
note
;
...
...
@@ -1156,7 +1156,7 @@ static BOOL elf_check_alternate(struct image_file_map* fmap, const struct module
image_unmap_section
(
&
buildid_sect
);
}
/* if present, add the .gnu_debuglink file as an alternate to current one */
if
(
!
ret
&&
elf_find_section
(
fmap
,
".gnu_debuglink"
,
SHT_NULL
,
&
debuglink_sect
))
if
(
!
ret
&&
image_find_section
(
fmap
,
".gnu_debuglink"
,
&
debuglink_sect
))
{
const
char
*
dbg_link
;
...
...
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