This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/16676] Inconsistently-biased addresses for ET_EXEC
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 11 Mar 2014 23:29:56 +0000
- Subject: [Bug translator/16676] Inconsistently-biased addresses for ET_EXEC
- Auto-submitted: auto-generated
- References: <bug-16676-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16676
Mark Wielaard <mjw at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mjw at redhat dot com
--- Comment #3 from Mark Wielaard <mjw at redhat dot com> ---
Should be fixed by elfutils commit 65cefbd0793c0f9e90a326d7bebf0a47c93294ad
Author: Josh Stone <jistone@redhat.com>
Date: Tue Mar 11 10:19:28 2014 -0700
libdwfl: dwfl_module_getdwarf.c (open_elf) only (re)set mod->e_type once.
As noted in https://sourceware.org/bugzilla/show_bug.cgi?id=16676#c2 for
systemtap, the heuristic used by open_elf to set the kernel Dwfl_Module
type to ET_DYN, even if the underlying ELF file e_type was set to
ET_EXEC, could trigger erroneously for non-kernel/non-main (debug or
aux) files. Make sure we only set the e_type of the module once when
processing the main file (when the phdrs can be trusted).
--
You are receiving this mail because:
You are the assignee for the bug.