* top.c (stop_sig, float_handler, do_nothing): Remove.
[deliverable/binutils-gdb.git] / gold / layout.cc
index a86590932ec74c88ce5ccacb450a91b083a2a957..dc339d6b5f9d4163dde205152b964315112f3dae 100644 (file)
@@ -352,6 +352,11 @@ Layout::include_section(Sized_relobj<size, big_endian>*, const char* name,
           if (is_prefix_of(".gnu.lto_", name))
             return false;
         }
+      // The GNU linker strips .gnu_debuglink sections, so we do too.
+      // This is a feature used to keep debugging information in
+      // separate files.
+      if (strcmp(name, ".gnu_debuglink") == 0)
+       return false;
       return true;
 
     default:
This page took 0.022708 seconds and 4 git commands to generate.