Browse Source

* symbols.c (report_op_error): Fix pasto. Don't use as_bad_where

when file and line unknown.
cr-0x5f1
Alan Modra 20 years ago
parent
commit
d9e05e4ed1
  1. 5
      gas/ChangeLog
  2. 10
      gas/symbols.c

5
gas/ChangeLog

@ -1,3 +1,8 @@
2006-07-17 Mat Hostetter <mat@lcs.mit.edu>
* symbols.c (report_op_error): Fix pasto. Don't use as_bad_where
when file and line unknown.
2006-07-17 Thiemo Seufer <ths@mips.com>
* read.c (s_struct): Use IS_ELF.

10
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));
}
}
}

Loading…
Cancel
Save