diff options
author | Alan Modra <amodra@gmail.com> | 2011-01-14 12:37:17 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-01-14 12:37:17 +0000 |
commit | e922bcabdffb3f36677c587e5ff04e90488837b6 (patch) | |
tree | f0be6e42e7aef43d6d5b02b47d1e10db511287e5 /ld/emultempl/pe.em | |
parent | 4a97a0e54cba4caa5d994260f9c8ac9548628790 (diff) | |
download | binutils-gdb-e922bcabdffb3f36677c587e5ff04e90488837b6.tar.gz |
* ldmain.c (main): Flush stdout before and stderr after printing
message.
* ldmisc.c (einfo): Similarly.
* plugin.c (message): Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/xtensaelf.em: Likewise.
* emulparams/elf32mcore.sh: Use einfo rather than printf.
* emultempl/beos.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/pep.em: Likewise.
Diffstat (limited to 'ld/emultempl/pe.em')
-rw-r--r-- | ld/emultempl/pe.em | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index 0231fa77a7a..a3e4cddabf5 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -688,12 +688,7 @@ gld${EMULATION_NAME}_handle_option (int optc) case OPTION_BASE_FILE: link_info.base_file = fopen (optarg, FOPEN_WB); if (link_info.base_file == NULL) - { - /* xgettext:c-format */ - fprintf (stderr, _("%s: Can't open base file %s\n"), - program_name, optarg); - xexit (1); - } + einfo (_("%F%P: cannot open base file %s\n"), optarg); break; /* PE options. */ |