aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-02-10 18:54:27 +0000
committerSteve Chamberlain <sac@cygnus>1992-02-10 18:54:27 +0000
commitca3c5c6329e58991ecd11a48beffdb62ab90dad7 (patch)
tree2cb219f5706c176487fb16459a487611a3f25e3e /ld
parentbcdbe02f820a40a3f01374cfdf7d18c0d7183117 (diff)
downloadgdb-ca3c5c6329e58991ecd11a48beffdb62ab90dad7.zip
gdb-ca3c5c6329e58991ecd11a48beffdb62ab90dad7.tar.gz
gdb-ca3c5c6329e58991ecd11a48beffdb62ab90dad7.tar.bz2
Make undefined refs not make an executable
Diffstat (limited to 'ld')
-rw-r--r--ld/lderror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/lderror.c b/ld/lderror.c
index 30946df..382f7e2 100644
--- a/ld/lderror.c
+++ b/ld/lderror.c
@@ -37,7 +37,7 @@ DEFUN(ld_undefined_symbol,(relent, seclet),
error_symbol = s;
}
if (error_count < MAX_ERRORS_IN_A_ROW) {
- einfo("%C: undefined reference to `%T'\n",
+ einfo("%X%C: undefined reference to `%T'\n",
abfd,section, seclet->u.indirect.symbols,
relent->address, s);
config.make_executable = false;
@@ -55,7 +55,7 @@ DEFUN(ld_undefined_symbol,(relent, seclet),
}
else
{
- einfo("undefined reference to %s\n", (*(relent->sym_ptr_ptr))->name);
+ einfo("%Xundefined reference to %s\n", (*(relent->sym_ptr_ptr))->name);
}
}
static void