Skip to content
Snippets Groups Projects
  • Bernd Edlinger's avatar
    eb63f958
    Fix bootstap-errors due to enabling -gvariable-location-views · eb63f958
    Bernd Edlinger authored
    This recent change triggered various bootstap-errors, mostly on
    x86 targets because line info advance address entries were output
    in the wrong section table.
    The switch to the wrong line table happened in dwarfout_set_ignored_loc.
    It must use the same section as the earlier called
    dwarf2out_switch_text_section.
    
    But also ft32-elf was affected, because the assembler choked on
    something simple as ".2byte .LM2-.LM1", but fortunately it is
    able to use native location views, the configure test was just
    not executed because the ft32 "nop" instruction was missing.
    
    gcc/ChangeLog:
    
    	PR debug/116470
    	* configure.ac: Add the "nop" instruction for cpu type ft32.
    	* configure: Regenerate.
    	* dwarf2out.cc (dwarf2out_set_ignored_loc): Use the correct
    	line info section.
    eb63f958
    History
    Fix bootstap-errors due to enabling -gvariable-location-views
    Bernd Edlinger authored
    This recent change triggered various bootstap-errors, mostly on
    x86 targets because line info advance address entries were output
    in the wrong section table.
    The switch to the wrong line table happened in dwarfout_set_ignored_loc.
    It must use the same section as the earlier called
    dwarf2out_switch_text_section.
    
    But also ft32-elf was affected, because the assembler choked on
    something simple as ".2byte .LM2-.LM1", but fortunately it is
    able to use native location views, the configure test was just
    not executed because the ft32 "nop" instruction was missing.
    
    gcc/ChangeLog:
    
    	PR debug/116470
    	* configure.ac: Add the "nop" instruction for cpu type ft32.
    	* configure: Regenerate.
    	* dwarf2out.cc (dwarf2out_set_ignored_loc): Use the correct
    	line info section.