PR ld/2757
authorNick Clifton <nickc@redhat.com>
Thu, 22 Jun 2006 16:25:36 +0000 (16:25 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 22 Jun 2006 16:25:36 +0000 (16:25 +0000)
* emultempl/pe.em (gld_$_after_open): When reporting non PE format output
  files mention the file name and the fact that it is an output file.

ld/ChangeLog
ld/emultempl/pe.em

index 7f03312..ae6b0ea 100644 (file)
@@ -1,3 +1,10 @@
+2006-06-22  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/2757
+       * emultempl/pe.em (gld_$_after_open): When reporting non PE format
+       output files mention the file name and the fact that it is an
+       output file.
+
 2006-06-22  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive): 
index 4c4a186..b297069 100644 (file)
@@ -983,7 +983,7 @@ gld_${EMULATION_NAME}_after_open (void)
      including an internal BFD header.  */
 
   if (coff_data (output_bfd) == NULL || coff_data (output_bfd)->pe == 0)
-    einfo (_("%F%P: PE operations on non PE file.\n"));
+    einfo (_("%F%P: cannot perform PE operations on non PE output file '%B'.\n"), output_bfd);
 
   pe_data (output_bfd)->pe_opthdr = pe;
   pe_data (output_bfd)->dll = init[DLLOFF].value;