diff options
| author | Jan Kratochvil <[email protected]> | 2013-04-30 14:27:16 +0200 |
|---|---|---|
| committer | Jan Kratochvil <[email protected]> | 2013-05-05 19:08:50 +0200 |
| commit | 904aec2c2f62b729a536c2259274fdd440b0d923 (patch) | |
| tree | 475f03cd4623df1efc67785c4607e52d1e2a15cc /libdwfl/link_map.c | |
| parent | fba1588ee438e47a24e92fbd378756501933d00d (diff) | |
Add parameter add_p_vaddr to dwfl_report_elf.
libdwfl/
* dwfl_report_elf.c (__libdwfl_report_elf): Add parameter add_p_vaddr.
Set it to true for ET_EXEC and ET_CORE. Provide alternative
setup of START and BIAS if !ADD_P_VADDR. Set END from BIAS, not BASE.
(dwfl_report_elf): Add parameter add_p_vaddr. Pass it down. Add
NEW_VERSION.
(_compat_without_add_p_vaddr_dwfl_report_elf) <SHARED>: New, with
COMPAT_VERSION.
* libdwfl.h (dwfl_report_elf): Add parameter add_p_vaddr. Describe it.
* libdwflP.h (__libdwfl_report_elf): Add parameter add_p_vaddr.
* link_map.c (report_r_debug): Use true add_p_vaddr for dwfl_report_elf.
* linux-kernel-modules.c (report_kernel): Use false add_p_vaddr for
dwfl_report_elf.
* offline.c (process_elf): Use true add_p_vaddr for dwfl_report_elf.
tests/
* dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
Signed-off-by: Jan Kratochvil <[email protected]>
Diffstat (limited to 'libdwfl/link_map.c')
| -rw-r--r-- | libdwfl/link_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdwfl/link_map.c b/libdwfl/link_map.c index c6ec29c9..9f1b867e 100644 --- a/libdwfl/link_map.c +++ b/libdwfl/link_map.c @@ -384,7 +384,7 @@ report_r_debug (uint_fast8_t elfclass, uint_fast8_t elfdata, // XXX hook for sysroot mod = INTUSE(dwfl_report_elf) (dwfl, basename (name), - name, -1, l_addr); + name, -1, l_addr, true); } if (mod != NULL) |
