Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
854379bb
Commit
854379bb
authored
Oct 09, 2010
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fix some relocation errors for debug formats out of ELF files.
parent
922caac2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
elf_module.c
dlls/dbghelp/elf_module.c
+3
-4
No files found.
dlls/dbghelp/elf_module.c
View file @
854379bb
...
...
@@ -636,7 +636,7 @@ static int elf_new_wine_thunks(struct module* module, const struct hash_table* h
{
if
(
ste
->
used
)
continue
;
addr
=
module
->
format_info
[
DFI_ELF
]
->
u
.
elf_info
->
elf_addr
+
ste
->
symp
->
st_value
;
addr
=
module
->
reloc_delta
+
ste
->
symp
->
st_value
;
j
=
elf_is_in_thunk_area
(
ste
->
symp
->
st_value
,
thunks
);
if
(
j
>=
0
)
/* thunk found */
...
...
@@ -728,7 +728,7 @@ static int elf_new_public_symbols(struct module* module, const struct hash_table
while
((
ste
=
hash_table_iter_up
(
&
hti
)))
{
symt_new_public
(
module
,
ste
->
compiland
,
ste
->
ht_elt
.
name
,
module
->
format_info
[
DFI_ELF
]
->
u
.
elf_info
->
elf_addr
+
ste
->
symp
->
st_value
,
module
->
reloc_delta
+
ste
->
symp
->
st_value
,
ste
->
symp
->
st_size
);
}
return
TRUE
;
...
...
@@ -926,8 +926,7 @@ static BOOL elf_load_debug_info_from_map(struct module* module,
image_unmap_section
(
&
stab_sect
);
image_unmap_section
(
&
stabstr_sect
);
}
lret
=
dwarf2_parse
(
module
,
module
->
format_info
[
DFI_ELF
]
->
u
.
elf_info
->
elf_addr
,
thunks
,
fmap
);
lret
=
dwarf2_parse
(
module
,
module
->
reloc_delta
,
thunks
,
fmap
);
ret
=
ret
||
lret
;
}
if
(
strstrW
(
module
->
module
.
ModuleName
,
S_ElfW
)
||
...
...
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