mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 16:38:05 +08:00
Use bfd_set_error in last patch.
This commit is contained in:
@ -2621,7 +2621,7 @@ DEFUN (elf_slurp_symbol_table, (abfd, symptrs),
|
|||||||
if (bfd_read ((PTR) x_symp, sizeof (Elf_External_Sym), symcount, abfd)
|
if (bfd_read ((PTR) x_symp, sizeof (Elf_External_Sym), symcount, abfd)
|
||||||
!= symcount * sizeof (Elf_External_Sym))
|
!= symcount * sizeof (Elf_External_Sym))
|
||||||
{
|
{
|
||||||
bfd_error = system_call_error;
|
bfd_set_error (bfd_error_system_call);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
/* Skip first symbol, which is a null dummy. */
|
/* Skip first symbol, which is a null dummy. */
|
||||||
|
Reference in New Issue
Block a user