Blame SOURCES/binutils-2.23.52.0.1-64-bit-thin-archives.patch

f55871
*** ../binutils-2.23.52.0.1.orig/bfd/archive64.c	2013-03-01 17:20:39.873535502 +0000
f55871
--- bfd/archive64.c	2013-03-01 17:22:30.410538566 +0000
f55871
*************** bfd_elf64_archive_write_armap (bfd *arch
f55871
*** 210,218 ****
f55871
  	  if (bfd_bwrite (buf, 8, arch) != 8)
f55871
  	    return FALSE;
f55871
  	}
f55871
        /* Add size of this archive entry */
f55871
!       archive_member_file_ptr += (arelt_size (current)
f55871
! 				  + sizeof (struct ar_hdr));
f55871
        /* remember about the even alignment */
f55871
        archive_member_file_ptr += archive_member_file_ptr % 2;
f55871
      }
f55871
--- 210,220 ----
f55871
  	  if (bfd_bwrite (buf, 8, arch) != 8)
f55871
  	    return FALSE;
f55871
  	}
f55871
+ 
f55871
        /* Add size of this archive entry */
f55871
!       archive_member_file_ptr += sizeof (struct ar_hdr);
f55871
!       if (! bfd_is_thin_archive (arch))
f55871
! 	archive_member_file_ptr += arelt_size (current);
f55871
        /* remember about the even alignment */
f55871
        archive_member_file_ptr += archive_member_file_ptr % 2;
f55871
      }