Blame SOURCES/binutils-skip-dwo-search-if-not-needed.patch

869a11
--- binutils.orig/binutils/dwarf.c	2018-02-08 10:49:07.154191536 +0000
869a11
+++ binutils-2.30/binutils/dwarf.c	2018-02-08 12:53:32.649380368 +0000
869a11
@@ -9851,6 +9851,10 @@ load_dwo_file (const char * main_filenam
869a11
 void *
869a11
 load_separate_debug_file (void * file, const char * filename)
869a11
 {
869a11
+  /* Skip this operation if we are not interested in debug links.  */
869a11
+  if (! do_follow_links && ! do_debug_links)
869a11
+    return NULL;
869a11
+
869a11
   /* See if there is a dwo link.  */
869a11
   if (load_debug_section (str, file)
869a11
       && load_debug_section (abbrev, file)