aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-08-09 00:51:42 +0000
committerNick Clifton <nickc@redhat.com>2000-08-09 00:51:42 +0000
commite374f1d9773018fd75aedea985ae4d17fa764334 (patch)
tree0f00fd5dc3e7b9149570667a3fd7a7958f39c056 /ld/emultempl
parent68e63c165364a228a3922e1875b1e947c1cafa52 (diff)
downloadgdb-e374f1d9773018fd75aedea985ae4d17fa764334.zip
gdb-e374f1d9773018fd75aedea985ae4d17fa764334.tar.gz
gdb-e374f1d9773018fd75aedea985ae4d17fa764334.tar.bz2
Refer to -rpath not --rpath in error message
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/elf32.em6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index 1c81044..c1f5e31 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -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;