Make undefined refs not make an executable

This commit is contained in:
Steve Chamberlain 1992-02-10 18:54:27 +00:00
parent bcdbe02f82
commit ca3c5c6329

View File

@ -37,7 +37,7 @@ DEFUN(ld_undefined_symbol,(relent, seclet),
error_symbol = s; error_symbol = s;
} }
if (error_count < MAX_ERRORS_IN_A_ROW) { 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, abfd,section, seclet->u.indirect.symbols,
relent->address, s); relent->address, s);
config.make_executable = false; config.make_executable = false;
@ -55,7 +55,7 @@ DEFUN(ld_undefined_symbol,(relent, seclet),
} }
else 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 static void