Extend the linker's error message for missing libraries if there is an almost match.
[deliverable/binutils-gdb.git] / ld / scripttempl / pru.sc
index bba9b6ff99c082f6e1988d781cc5c4ac88d7692a..9ef798082f20c64a48f1dd404bf4ddf143e8dbe8 100644 (file)
@@ -119,11 +119,11 @@ SECTIONS
 
     /* CRT is prepared for constructor/destructor table to have
        a "valid" NULL address.  */
-    ${CONSTRUCTING+ __init_array_begin = . ; }
+    ${CONSTRUCTING+ __init_array_start = . ; }
     ${CONSTRUCTING+ KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*)))}
     ${CONSTRUCTING+ KEEP (*(.init_array))}
     ${CONSTRUCTING+ __init_array_end = . ; }
-    ${CONSTRUCTING+ __fini_array_begin = . ; }
+    ${CONSTRUCTING+ __fini_array_start = . ; }
     ${CONSTRUCTING+ KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*)))}
     ${CONSTRUCTING+ KEEP (*(.fini_array))}
     ${CONSTRUCTING+ __fini_array_end = . ; }
@@ -164,7 +164,7 @@ SECTIONS
   } ${RELOCATING+ > dmem}
 
   /* Global data not cleared after reset.  */
-  .noinit ${RELOCATING-0}:
+  .noinit ${RELOCATING-0} :
   {
     ${RELOCATING+ PROVIDE (_noinit_start = .) ; }
     *(.noinit)
@@ -185,7 +185,7 @@ SECTIONS
   .stab.index 0 : { *(.stab.index) }
   .stab.indexstr 0 : { *(.stab.indexstr) }
   .comment 0 : { *(.comment) }
-  .note.gnu.build-id : { *(.note.gnu.build-id) }
+  .note.gnu.build-id ${RELOCATING-0} : { *(.note.gnu.build-id) }
 EOF
 
 . $srcdir/scripttempl/DWARF.sc
This page took 0.035424 seconds and 4 git commands to generate.