aboutsummaryrefslogtreecommitdiff
path: root/gas/symbols.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-07-17 12:49:50 +0000
committerAlan Modra <amodra@gmail.com>2006-07-17 12:49:50 +0000
commitd9e05e4ed151a655c5ee0a5db15e66a01491d8f5 (patch)
tree0f1eab18ede822017f7aefc1eb959fd2462b0af5 /gas/symbols.c
parentf43abd2b3904cba0e8b4ae0d3d0ad94bdb5fad84 (diff)
downloadgdb-d9e05e4ed151a655c5ee0a5db15e66a01491d8f5.zip
gdb-d9e05e4ed151a655c5ee0a5db15e66a01491d8f5.tar.gz
gdb-d9e05e4ed151a655c5ee0a5db15e66a01491d8f5.tar.bz2
* symbols.c (report_op_error): Fix pasto. Don't use as_bad_where
when file and line unknown.
Diffstat (limited to 'gas/symbols.c')
-rw-r--r--gas/symbols.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/gas/symbols.c b/gas/symbols.c
index 499e8c4..117d122 100644
--- a/gas/symbols.c
+++ b/gas/symbols.c
@@ -925,13 +925,11 @@ report_op_error (symbolS *symp, symbolS *left, symbolS *right)
&& seg_right != undefined_section)
{
if (right)
- as_bad_where (file, line,
- _("invalid sections for operation on `%s' and `%s' setting `%s'"),
- S_GET_NAME (left), S_GET_NAME (right), S_GET_NAME (symp));
+ as_bad (_("invalid sections for operation on `%s' and `%s' setting `%s'"),
+ S_GET_NAME (left), S_GET_NAME (right), S_GET_NAME (symp));
else
- as_bad_where (file, line,
- _("invalid section for operation on `%s' setting `%s'"),
- S_GET_NAME (left), S_GET_NAME (symp));
+ as_bad (_("invalid section for operation on `%s' setting `%s'"),
+ S_GET_NAME (left), S_GET_NAME (symp));
}
}
}