From: Alan Modra Date: Mon, 17 Jul 2006 12:49:50 +0000 (+0000) Subject: * symbols.c (report_op_error): Fix pasto. Don't use as_bad_where X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9e05e4ed151a655c5ee0a5db15e66a01491d8f5;p=binutils-gdb.git * symbols.c (report_op_error): Fix pasto. Don't use as_bad_where when file and line unknown. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index a55f841b8ca..80c46cd276c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2006-07-17 Mat Hostetter + + * symbols.c (report_op_error): Fix pasto. Don't use as_bad_where + when file and line unknown. + 2006-07-17 Thiemo Seufer * read.c (s_struct): Use IS_ELF. diff --git a/gas/symbols.c b/gas/symbols.c index 499e8c4d31b..117d1220e67 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)); } } }