aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/pe.em
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-06-22 16:25:36 +0000
committerNick Clifton <nickc@redhat.com>2006-06-22 16:25:36 +0000
commitb952b98f2769db3cad817fa757e30b93cb0e2158 (patch)
tree23249ac4c57d7718e7053a301f51a2831e40a7a6 /ld/emultempl/pe.em
parent01f9e8fab8e45337f0451f7edbd03cfe0381999a (diff)
downloadgdb-b952b98f2769db3cad817fa757e30b93cb0e2158.zip
gdb-b952b98f2769db3cad817fa757e30b93cb0e2158.tar.gz
gdb-b952b98f2769db3cad817fa757e30b93cb0e2158.tar.bz2
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.
Diffstat (limited to 'ld/emultempl/pe.em')
-rw-r--r--ld/emultempl/pe.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index 4c4a186..b297069 100644
--- a/ld/emultempl/pe.em
+++ b/ld/emultempl/pe.em
@@ -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;