From b952b98f2769db3cad817fa757e30b93cb0e2158 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 22 Jun 2006 16:25:36 +0000 Subject: [PATCH] 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. --- ld/ChangeLog | 7 +++++++ ld/emultempl/pe.em | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 7f03312dcdd..ae6b0ea03a8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2006-06-22 Nick Clifton + + 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 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive): diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index 4c4a186e0e4..b2970696bdd 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; -- 2.30.2