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

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