+@@ -1322,6 +1326,15 @@
+ return find_separate_debug_file (abfd, dir);
+ }
+
++static char const*
++relaxed_filename (char const* filename)
++{
++ char const* relaxed = strstr (filename, "/usr/lib/debug/");
++ if ( relaxed != NULL )
++ return relaxed;
++ return filename;
++}
++
+ /*
+ FUNCTION
+ bfd_create_gnu_debuglink_section
+@@ -1353,8 +1366,7 @@