aboutsummaryrefslogtreecommitdiff
path: root/gas/symbols.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-01-15 22:53:58 +0000
committerNick Clifton <nickc@redhat.com>2001-01-15 22:53:58 +0000
commitd4887adcdb8be0554c721037266edc4ad3f982cf (patch)
treebeb4c306ac0647fcf409ba5b2c6a4e981fef13d8 /gas/symbols.c
parent0b8c7076b5eb5e6c88e9ea007bcaf5a2f24d8185 (diff)
downloadgdb-d4887adcdb8be0554c721037266edc4ad3f982cf.zip
gdb-d4887adcdb8be0554c721037266edc4ad3f982cf.tar.gz
gdb-d4887adcdb8be0554c721037266edc4ad3f982cf.tar.bz2
Delete output file upon fatal errors.
Treat multiple defintions of the same symbol as ordinary errors, not fatal ones
Diffstat (limited to 'gas/symbols.c')
-rw-r--r--gas/symbols.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/symbols.c b/gas/symbols.c
index a338df0..a9bd222 100644
--- a/gas/symbols.c
+++ b/gas/symbols.c
@@ -439,7 +439,7 @@ colon (sym_name) /* Just seen "x:" - rattle symbols & frags. */
S_GET_OTHER (symbolP),
S_GET_DESC (symbolP));
#endif
- as_fatal (_("Symbol \"%s\" is already defined as \"%s\"/%s%ld."),
+ as_bad (_("Symbol \"%s\" is already defined as \"%s\"/%s%ld."),
sym_name,
segment_name (S_GET_SEGMENT (symbolP)),
od_buf,
@@ -453,8 +453,8 @@ colon (sym_name) /* Just seen "x:" - rattle symbols & frags. */
if (!(frag_now == symbolP->sy_frag
&& S_GET_VALUE (symbolP) == frag_now_fix ()
&& S_GET_SEGMENT (symbolP) == now_seg))
- as_fatal (_("Symbol %s already defined."), sym_name);
- } /* if this symbol is not yet defined */
+ as_bad (_("Symbol %s already defined."), sym_name);
+ }
}
#ifdef BFD_ASSEMBLER
@@ -474,7 +474,7 @@ colon (sym_name) /* Just seen "x:" - rattle symbols & frags. */
#endif /* OBJ_VMS */
symbol_table_insert (symbolP);
- } /* if we have seen this symbol before */
+ }
if (mri_common_symbol != NULL)
{