mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
* config/tc-arm.c (tc_gen_reloc): Improve error message for
undefined local labels.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2004-01-23 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
|
* config/tc-arm.c (tc_gen_reloc): Improve error message for
|
||||||
|
undefined local labels.
|
||||||
|
|
||||||
2004-01-23 Richard Sandiford <rsandifo@redhat.com>
|
2004-01-23 Richard Sandiford <rsandifo@redhat.com>
|
||||||
|
|
||||||
* config/tc-mips.c (load_address, macro): Update comments about
|
* config/tc-mips.c (load_address, macro): Update comments about
|
||||||
|
@ -12823,6 +12823,16 @@ tc_gen_reloc (section, fixp)
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
case BFD_RELOC_ARM_OFFSET_IMM:
|
case BFD_RELOC_ARM_OFFSET_IMM:
|
||||||
|
if (fixp->fx_addsy != NULL
|
||||||
|
&& !S_IS_DEFINED (fixp->fx_addsy)
|
||||||
|
&& S_IS_LOCAL (fixp->fx_addsy))
|
||||||
|
{
|
||||||
|
as_bad_where (fixp->fx_file, fixp->fx_line,
|
||||||
|
_("undefined local label `%s'"),
|
||||||
|
S_GET_NAME (fixp->fx_addsy));
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
as_bad_where (fixp->fx_file, fixp->fx_line,
|
as_bad_where (fixp->fx_file, fixp->fx_line,
|
||||||
_("internal_relocation (type: OFFSET_IMM) not fixed up"));
|
_("internal_relocation (type: OFFSET_IMM) not fixed up"));
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user