$OpenBSD: patch-tools_lld_ELF_Symbols_h,v 1.4 2019/07/06 15:06:36 jca Exp $

Generate __data_start symbol that marks the start of .data when __data_start
is referenced from code being linked.

Index: tools/lld/ELF/Symbols.h
--- tools/lld/ELF/Symbols.h.orig
+++ tools/lld/ELF/Symbols.h
@@ -330,6 +330,9 @@ struct ElfSym {
   // __bss_start
   static Defined *Bss;
 
+  // __data_start
+  static Defined *Data;
+
   // etext and _etext
   static Defined *Etext1;
   static Defined *Etext2;
