This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: _ELFUTILS_PREREQ dependency
- From: Roland McGrath <roland at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 10 Aug 2009 14:23:22 -0700
- Subject: Re: _ELFUTILS_PREREQ dependency
> On 08/09/2009 03:42 PM, Roland McGrath wrote:
> > I've done it in commit ebfb648. Please verify that when linking against
> > the new libdw.so your references now get bound to ELFUTILS_0.143 definitions
> > for the functions changed in commit de69d52.
>
> Looks good -- I now see:
>
> $ nm ./stap | grep dwarf_decl_
> U dwarf_decl_file@@ELFUTILS_0.143
> U dwarf_decl_line@@ELFUTILS_0.143
Cool. What I've done for these is just two symbol versions for the same
entry points. Old binaries that call the old symbol version will get the
new dwarf_attr_integrate behavior too. But new binaries can rely on it
when compiled against >= 0.143, and their dependencies will make sure they
require libraries with the new behavior.
Thanks,
Roland