Make undefined refs not make an executable
authorSteve Chamberlain <sac@cygnus>
Mon, 10 Feb 1992 18:54:27 +0000 (18:54 +0000)
committerSteve Chamberlain <sac@cygnus>
Mon, 10 Feb 1992 18:54:27 +0000 (18:54 +0000)
ld/lderror.c

index 30946dfc6bcbde7005676e26fc4376c2e45d4622..382f7e2ca386abe9e5de8dc081ae33b6422786c0 100644 (file)
@@ -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