<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Over on the generic-abi mailing list, Fang-Rui Song recently proposed a new compressed relocation format for ELF, motivated in part by the number of relocations for string in the .debug_names tables. Regardless of the resolution of that proposal, some simple changes to the DWARF spec could help eliminate a substantial number of those relocations. In fact, parts of the split DWARF series of proposals in DWARF 5 were all about minimizing the quantity of relocations (e.g., DW_FORM_addrx and DW_FORM_strx).<div><br></div><div>This proposal adds an indirect string form to the name table (for use when a non-split DWARF compilation is already using .debug_str_offsets), and a local string pool in the name table (for use in a split-DWARF compilation).</div></div></blockquote><div><br></div><div>This is proposal <a href="https://dwarfstd.org/issues/240320.1.html">240320.1</a>.</div><div><br></div><div>-cary</div></div></div>