diff options
author | Alan Modra <amodra@bigpond.net.au> | 2006-07-17 12:49:50 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2006-07-17 12:49:50 +0000 |
commit | ee21bdb3e4d6fdd844db3a7fba593d0276050195 (patch) | |
tree | 051b7e826e0f033ceb329c6ba8b2349e82b02f4d /gas/symbols.c | |
parent | cd74aa7ffc330d189ece49b0ef1df6ee32571452 (diff) | |
download | binutils-redhat-ee21bdb3e4d6fdd844db3a7fba593d0276050195.tar.gz |
* 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.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gas/symbols.c b/gas/symbols.c index 499e8c4d31..117d1220e6 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)); } } } |