Hi Mark,

On Tue, Aug 18, 2026 at 7:54 AM Mark Wielaard <[email protected]> wrote:
>
> When introducing dwarf_begin_elf_type in elfutils 0.196 it wasn't
> added to libdw.map and so there was no public version. It still worked
> because the only libdw function calling dwarf_begin_elf_type
> (dwarf_begin_type) used the INTUSE variant. So they linked against the
> internal version. But without a public version it cannot be used by
> external users.
>
>          * libdw/libdw.map (ELFUTILS_0.197): New version section based
>          on ELFUTILS_0.196, includes global dwarf_begin_elf_type.
>
> Signed-off-by: Mark Wielaard <[email protected]>

Thanks for catching this. LGTM.

Aaron

> ---
>  libdw/libdw.map | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/libdw/libdw.map b/libdw/libdw.map
> index 791390164521..824bff1f33b6 100644
> --- a/libdw/libdw.map
> +++ b/libdw/libdw.map
> @@ -400,6 +400,11 @@ ELFUTILS_0.196 {
>      dwarf_get_type;
>  } ELFUTILS_0.193;
>
> +ELFUTILS_0.197 {
> +  global:
> +    dwarf_begin_elf_type;
> +} ELFUTILS_0.196;
> +
>  /* XXX Experimental libdwfl_stacktrace API. */
>  ELFUTILS_0.193_EXPERIMENTAL {
>    global:
> --
> 2.55.0
>

Reply via email to