c6c79ea
diff -rup binutils.orig/gold/layout.cc binutils-2.32/gold/layout.cc
c6c79ea
--- binutils.orig/gold/layout.cc	2019-06-24 14:37:36.013086899 +0100
c6c79ea
+++ binutils-2.32/gold/layout.cc	2019-06-24 14:41:40.054517479 +0100
c6c79ea
@@ -868,6 +868,7 @@ Layout::get_output_section(const char* n
c6c79ea
 		  && (same_name->flags() & elfcpp::SHF_TLS) == 0)
c6c79ea
 		os = same_name;
c6c79ea
 	    }
c6c79ea
+#if 0 /* BZ 1722715, PR 17556.  */
c6c79ea
 	  else if ((flags & elfcpp::SHF_TLS) == 0)
c6c79ea
 	    {
c6c79ea
 	      elfcpp::Elf_Xword zero_flags = 0;
c6c79ea
@@ -878,6 +879,7 @@ Layout::get_output_section(const char* n
c6c79ea
 	      if (p != this->section_name_map_.end())
c6c79ea
 		os = p->second;
c6c79ea
 	    }
c6c79ea
+#endif
c6c79ea
 	}
c6c79ea
 
c6c79ea
       if (os == NULL)