From: Steve Chamberlain Date: Mon, 10 Feb 1992 18:54:27 +0000 (+0000) Subject: Make undefined refs not make an executable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca3c5c6329e58991ecd11a48beffdb62ab90dad7;p=binutils-gdb.git Make undefined refs not make an executable --- diff --git a/ld/lderror.c b/ld/lderror.c index 30946dfc6bc..382f7e2ca38 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