aboutsummaryrefslogtreecommitdiff
path: root/binutils/rescoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/rescoff.c')
-rw-r--r--binutils/rescoff.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/binutils/rescoff.c b/binutils/rescoff.c
index 64cf572..45161c3 100644
--- a/binutils/rescoff.c
+++ b/binutils/rescoff.c
@@ -142,9 +142,7 @@ read_coff_rsrc (filename, target)
sec = bfd_get_section_by_name (abfd, ".rsrc");
if (sec == NULL)
{
- fprintf (stderr, _("%s: %s: no resource section\n"), program_name,
- filename);
- xexit (1);
+ fatal (_("%s: no resource section"), filename);
}
size = bfd_section_size (abfd, sec);