2012-02-02 Tristan Gingold <gingold@adacore.com>
* archive.c (bfd_slurp_armap): Fix thinko in cast.
This commit is contained in:
parent
f6616a063c
commit
cd99171ce1
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-02-02 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* archive.c (bfd_slurp_armap): Fix thinko in cast.
|
||||
|
||||
2012-01-31 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/13616
|
||||
|
|
|
@ -1103,7 +1103,7 @@ bfd_slurp_armap (bfd *abfd)
|
|||
/* Read the extended name. We know its length. */
|
||||
if (bfd_bread (extname, 20, abfd) != 20)
|
||||
return FALSE;
|
||||
if (bfd_seek (abfd, (file_ptr) -(sizeof (hdr) + 20), SEEK_CUR) != 0)
|
||||
if (bfd_seek (abfd, -(file_ptr) (sizeof (hdr) + 20), SEEK_CUR) != 0)
|
||||
return FALSE;
|
||||
if (CONST_STRNEQ (extname, "__.SYMDEF SORTED")
|
||||
|| CONST_STRNEQ (extname, "__.SYMDEF"))
|
||||
|
|
Loading…
Reference in a new issue