On Thu, 2017-11-23 at 14:33 +0100, Jakub Jelinek wrote: > On Thu, Nov 23, 2017 at 02:13:57PM +0100, Mark Wielaard wrote: > > * dwarf2out.c (init_sections_and_labels): Use generation to create > > unique ranges_section_label and ranges_base_label. Return generation. > > (output_rnglists): Add generation argument. Use generation to create > > unique ranges labels. > > (dwarf2out_finish): Get generation from init_sections_and_labels > > and pass generation to output_rnglists. > > Ok.
Thanks. Pushed. > Though, note that -gdwarf-5 -gsplit-dwarf is really unfinished anyway, > I did what was easy, but left out what was harder and did no testing at all > (don't know what tools are needed for the split dwarf processing etc.). Yes, I noticed. In particular the indirect index forms addrx and strx are never used, only the GNU addr_index and str_index ones. I am adding DWARF5 support to elfutils libdw. But it doesn't have support for split-dwarf yet. I'll see if I can help update gcc when I get split- dwarf working in elfutils. One issue with that is that binutils/gdb do support split-dwarf or DWARF5, but not DWARF5 and split-dwarf yet. Cheers, Mark