Re: [PATCH] Fix .debug_rnglists generation with -gdwarf-5 -gsplit-dwarf.

2017-11-23 Thread Mark Wielaard
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. > >    

Re: [PATCH] Fix .debug_rnglists generation with -gdwarf-5 -gsplit-dwarf.

2017-11-23 Thread Jakub Jelinek
On Thu, Nov 23, 2017 at 02:13:57PM +0100, Mark Wielaard wrote: > Early debug broke generation of .debug_rnglists when using both -gdwarf5 > and -gsplit-dwarf. It introduces a generation for init_sections_and_labels, > but doesn't account for the generation of up to 4 unique ranges labels, > two

[PATCH] Fix .debug_rnglists generation with -gdwarf-5 -gsplit-dwarf.

2017-11-23 Thread Mark Wielaard
Early debug broke generation of .debug_rnglists when using both -gdwarf5 and -gsplit-dwarf. It introduces a generation for init_sections_and_labels, but doesn't account for the generation of up to 4 unique ranges labels, two created in init_sections_and_labels and two in output_rnglists. Fix this