OSDN Git Service

Refer to -rpath not --rpath in error message
authornickc <nickc>
Wed, 9 Aug 2000 00:51:41 +0000 (00:51 +0000)
committernickc <nickc>
Wed, 9 Aug 2000 00:51:41 +0000 (00:51 +0000)
ld/ChangeLog
ld/emultempl/elf32.em

index 1d5ab75..5f91634 100644 (file)
@@ -1,3 +1,8 @@
+2000-08-08  Peter Jeremy  <peter.jeremy@alcatel.com.au>
+
+       * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
+       in error message.
+
 2000-08-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
 
        * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
index 1c81044..c1f5e31 100644 (file)
@@ -674,7 +674,7 @@ cat >>e${EMULATION_NAME}.c <<EOF
       if (force < 2)
        continue;
 
-      einfo ("%P: warning: %s, needed by %B, not found (try using --rpath)\n",
+      einfo ("%P: warning: %s, needed by %B, not found (try using -rpath or -rpath-link)\n",
             l->name, l->by);
     }
 }
@@ -975,10 +975,10 @@ gld${EMULATION_NAME}_place_orphan (file, s)
   static struct orphan_save hold_rel;
   static struct orphan_save hold_interp;
   struct orphan_save *place;
-  lang_statement_list_type *old;
+  lang_statement_list_type *old = NULL;
   lang_statement_list_type add;
   etree_type *address;
-  const char *secname, *ps;
+  const char *secname, *ps = NULL;
   const char *outsecname;
   lang_output_section_statement_type *os;