[PATCH v3 1/6] dwarf_elf_begin: Add .gnu_debugaltlink to the sectiondata array

Mark Wielaard mjw at redhat.com
Fri Apr 18 09:28:29 UTC 2014


On Tue, 2014-04-15 at 14:04 +0200, Florian Weimer wrote:
> And use it if DWZ mode is enabled.
>
> +2014-04-15  Florian Weimer  <fweimer at redhat.com>
> +
> +	* libdwP.h (enum IDX_gnu_debugaltlink): New.
> +	* dwarf_begin_elf.c (dwarf_scnnames): Increase string size and add
> +	.gnu_debugaltlink.
> +	(check_section): Obtain .gnu_debugaltlink section from the
> +	setiondata array.

Looks good. No comments except that in theory we could hide more behind
#ifdef ENABLE_DWZ. But given that I hope to remove that and just enable
dwz support by default for 0.159 I think it doesn't matter.

I'll integrate it into the mjw/dwelf branch (because it will be used
there and it should go to master when the rest of dwelf is merge IMHO).

Thanks,

Mark



More information about the elfutils-devel mailing list