mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-06 23:50:09 +08:00
* symbols.c (report_op_error): Fix pasto. Don't use as_bad_where
when file and line unknown.
This commit is contained in:
@ -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>
|
2006-07-17 Thiemo Seufer <ths@mips.com>
|
||||||
|
|
||||||
* read.c (s_struct): Use IS_ELF.
|
* read.c (s_struct): Use IS_ELF.
|
||||||
|
@ -925,12 +925,10 @@ report_op_error (symbolS *symp, symbolS *left, symbolS *right)
|
|||||||
&& seg_right != undefined_section)
|
&& seg_right != undefined_section)
|
||||||
{
|
{
|
||||||
if (right)
|
if (right)
|
||||||
as_bad_where (file, line,
|
as_bad (_("invalid sections for operation on `%s' and `%s' setting `%s'"),
|
||||||
_("invalid sections for operation on `%s' and `%s' setting `%s'"),
|
|
||||||
S_GET_NAME (left), S_GET_NAME (right), S_GET_NAME (symp));
|
S_GET_NAME (left), S_GET_NAME (right), S_GET_NAME (symp));
|
||||||
else
|
else
|
||||||
as_bad_where (file, line,
|
as_bad (_("invalid section for operation on `%s' setting `%s'"),
|
||||||
_("invalid section for operation on `%s' setting `%s'"),
|
|
||||||
S_GET_NAME (left), S_GET_NAME (symp));
|
S_GET_NAME (left), S_GET_NAME (symp));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user