diff options
author | Alan Modra <amodra@gmail.com> | 2001-08-01 01:44:25 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-08-01 01:44:25 +0000 |
commit | 0e389e770d54185d8107db1972d3ae0576d0fa1d (patch) | |
tree | 36a31bfc5a3f8a32f1026230bf8cc5307a49bd91 /gas/output-file.c | |
parent | 687aee93dd2705aa9496f980199270bd2d79a70c (diff) | |
download | gdb-0e389e770d54185d8107db1972d3ae0576d0fa1d.zip gdb-0e389e770d54185d8107db1972d3ae0576d0fa1d.tar.gz gdb-0e389e770d54185d8107db1972d3ae0576d0fa1d.tar.bz2 |
* read.c: Standardize error/warning messages - don't capitalise, no
final period or newline, don't say "ignored" or "zero assumed" for
as_bad messages. In some cases, change the wording to that used
elsewhere for similar messages.
* app.c, as.c, atof-generic.c, cgen.c, cond.c, depend.c, dwarf2dbg.c,
ecoff.c, expr.c, frags.c, input-file.c, input-scrub.c, listing.c,
output-file.c, stabs.c, subsegs.c, symbols.c, write.c: Likewise.
* ecoff.c (ecoff_directive_end): Test for missing name by
comparing input line pointers rather than reading string.
(ecoff_directive_ent): Likewise.
* read.c (s_set): Likewise.
(s_align): Report a warning rather than an error for
alignment too large.
(s_comm): Check for missing symbol name.
(s_lcomm_internal): Likewise.
(s_lsym): Likewise.
(s_globl): Use is_end_of_line instead of looking for '\n'.
(s_lcomm_internal): Likewise.
(ignore_rest_of_line): Report a warning rather than an error.
Diffstat (limited to 'gas/output-file.c')
-rw-r--r-- | gas/output-file.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gas/output-file.c b/gas/output-file.c index 0805509..de1dcbf 100644 --- a/gas/output-file.c +++ b/gas/output-file.c @@ -45,11 +45,11 @@ output_file_create (name) char *name; { if (name[0] == '-' && name[1] == '\0') - as_fatal (_("Can't open a bfd on stdout %s "), name); + as_fatal (_("can't open a bfd on stdout %s"), name); else if (!(stdoutput = bfd_openw (name, TARGET_FORMAT))) { - as_perror (_("FATAL: Can't create %s"), name); + as_perror (_("FATAL: can't create %s"), name); exit (EXIT_FAILURE); } @@ -70,14 +70,14 @@ output_file_close (filename) if (bfd_close (stdoutput) == 0) { bfd_perror (filename); - as_perror (_("FATAL: Can't close %s\n"), filename); + as_perror (_("FATAL: can't close %s\n"), filename); exit (EXIT_FAILURE); } #else /* Close the bfd without getting bfd to write out anything by itself. */ if (bfd_close_all_done (stdoutput) == 0) { - as_perror (_("FATAL: Can't close %s\n"), filename); + as_perror (_("FATAL: can't close %s\n"), filename); exit (EXIT_FAILURE); } #endif @@ -118,7 +118,7 @@ output_file_create (name) if (stdoutput == NULL) { - as_perror (_("FATAL: Can't create %s"), name); + as_perror (_("FATAL: can't create %s"), name); exit (EXIT_FAILURE); } } @@ -129,7 +129,7 @@ output_file_close (filename) { if (EOF == fclose (stdoutput)) { - as_perror (_("FATAL: Can't close %s"), filename); + as_perror (_("FATAL: can't close %s"), filename); exit (EXIT_FAILURE); } @@ -151,7 +151,7 @@ output_file_append (where, length, filename) /* if ( EOF == (putc( *where, stdoutput )) ) */ { as_perror (_("Failed to emit an object byte"), filename); - as_fatal (_("Can't continue")); + as_fatal (_("can't continue")); } } } |