mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-01 20:12:01 +08:00
2011-03-03 Michael Snyder <msnyder@vmware.com>
* archive.c (_bfd_slurp_extended_name_table): Fail if bfd_seek fails.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2011-03-03 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
|
* archive.c (_bfd_slurp_extended_name_table): Fail if bfd_seek fails.
|
||||||
|
|
||||||
2011-03-03 H.J. Lu <hongjiu.lu@intel.com>
|
2011-03-03 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
|
* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
|
||||||
|
@ -1220,7 +1220,9 @@ _bfd_slurp_extended_name_table (bfd *abfd)
|
|||||||
|
|
||||||
/* FIXME: Formatting sucks here, and in case of failure of BFD_READ,
|
/* FIXME: Formatting sucks here, and in case of failure of BFD_READ,
|
||||||
we probably don't want to return TRUE. */
|
we probably don't want to return TRUE. */
|
||||||
bfd_seek (abfd, bfd_ardata (abfd)->first_file_filepos, SEEK_SET);
|
if (bfd_seek (abfd, bfd_ardata (abfd)->first_file_filepos, SEEK_SET) != 0)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
if (bfd_bread (nextname, 16, abfd) == 16)
|
if (bfd_bread (nextname, 16, abfd) == 16)
|
||||||
{
|
{
|
||||||
if (bfd_seek (abfd, (file_ptr) -16, SEEK_CUR) != 0)
|
if (bfd_seek (abfd, (file_ptr) -16, SEEK_CUR) != 0)
|
||||||
|
Reference in New Issue
Block a user