mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 12:22:20 +08:00
2006-03-11 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2443 * dwarf2.c (concat_filename): Don't issue an error if file is 0.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2006-03-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR ld/2443
|
||||||
|
* dwarf2.c (concat_filename): Don't issue an error if file is
|
||||||
|
0.
|
||||||
|
|
||||||
2006-03-10 Paul Brook <paul@codesourcery.com>
|
2006-03-10 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
* elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
|
* elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
|
||||||
|
@ -865,8 +865,10 @@ concat_filename (struct line_info_table *table, unsigned int file)
|
|||||||
|
|
||||||
if (file - 1 >= table->num_files)
|
if (file - 1 >= table->num_files)
|
||||||
{
|
{
|
||||||
(*_bfd_error_handler)
|
/* FILE == 0 means unknown. */
|
||||||
(_("Dwarf Error: mangled line number section (bad file number)."));
|
if (file)
|
||||||
|
(*_bfd_error_handler)
|
||||||
|
(_("Dwarf Error: mangled line number section (bad file number)."));
|
||||||
return strdup ("<unknown>");
|
return strdup ("<unknown>");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user