aboutsummaryrefslogtreecommitdiff
path: root/gas/cgen.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-01 01:44:25 +0000
committerAlan Modra <amodra@gmail.com>2001-08-01 01:44:25 +0000
commit0e389e770d54185d8107db1972d3ae0576d0fa1d (patch)
tree36a31bfc5a3f8a32f1026230bf8cc5307a49bd91 /gas/cgen.c
parent687aee93dd2705aa9496f980199270bd2d79a70c (diff)
downloadgdb-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/cgen.c')
-rw-r--r--gas/cgen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/cgen.c b/gas/cgen.c
index 7c4d12f..04d7424 100644
--- a/gas/cgen.c
+++ b/gas/cgen.c
@@ -148,7 +148,7 @@ gas_cgen_save_fixups (int i)
{
if (i < 0 || i >= MAX_SAVED_FIXUP_CHAINS)
{
- as_fatal("Index into stored_fixups[] out of bounds.");
+ as_fatal("index into stored_fixups[] out of bounds");
return;
}
stored_fixups[i].num_fixups_in_chain = num_fixups;
@@ -162,7 +162,7 @@ gas_cgen_restore_fixups (int i)
{
if (i < 0 || i >= MAX_SAVED_FIXUP_CHAINS)
{
- as_fatal("Index into stored_fixups[] out of bounds.");
+ as_fatal("index into stored_fixups[] out of bounds");
return;
}
num_fixups = stored_fixups[i].num_fixups_in_chain;
@@ -179,7 +179,7 @@ gas_cgen_swap_fixups (int i)
if (i < 0 || i >= MAX_SAVED_FIXUP_CHAINS)
{
- as_fatal("Index into stored_fixups[] out of bounds.");
+ as_fatal("index into stored_fixups[] out of bounds");
return;
}