* layout.cc (Layout::include_section): Remove .gnu_debuglink
sections.
+2010-01-08 Ian Lance Taylor <iant@google.com>
+
+ PR 11072
+ * layout.cc (Layout::include_section): Remove .gnu_debuglink
+ sections.
+
2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
* version.cc (print_version): Change to "Copyright 2010".
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: