Extend the linker's error message for missing libraries if there is an almost match.
[deliverable/binutils-gdb.git] / ld / scripttempl / DWARF.sc
index 89ff9192f01fbb32d018460808d4bbe44e12bce4..0fbf25e00aca35a48b81e91b48bbbd999dd91edd 100644 (file)
@@ -1,3 +1,9 @@
+# Copyright (C) 2014-2020 Free Software Foundation, Inc.
+#
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved.
+#
 cat <<EOF
   /* DWARF debug sections.
      Symbols in the DWARF debugging sections are relative to the beginning
@@ -18,7 +24,7 @@ cat <<EOF
   /* DWARF 2 */
   .debug_info     0 : { *(.debug_info${RELOCATING+ .gnu.linkonce.wi.*}) }
   .debug_abbrev   0 : { *(.debug_abbrev) }
-  .debug_line     0 : { *(.debug_line .debug_line.* .debug_line_end ) }
+  .debug_line     0 : { *(.debug_line${RELOCATING+ .debug_line.* .debug_line_end}) }
   .debug_frame    0 : { *(.debug_frame) }
   .debug_str      0 : { *(.debug_str) }
   .debug_loc      0 : { *(.debug_loc) }
@@ -36,4 +42,5 @@ cat <<EOF
 
   /* DWARF Extension.  */
   .debug_macro    0 : { *(.debug_macro) }
+  .debug_addr     0 : { *(.debug_addr) }
 EOF
This page took 0.024551 seconds and 4 git commands to generate.