+2008-04-21 Cary Coutant <ccoutant@google.com>
+
+ * archive.c (_bfd_write_archive_contents): Fix incorrect use of
+ ARFMAG.
+
2008-04-21 Nathan Sidwell <nathan@codesourcery.com>
* elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Don't
return FALSE;
if ((elength % 2) == 1)
{
- if (bfd_bwrite (ARFMAG, 1, arch) != 1)
+ if (bfd_bwrite (&ARFMAG[1], 1, arch) != 1)
return FALSE;
}
}
if ((arelt_size (current) % 2) == 1)
{
- if (bfd_bwrite (ARFMAG, 1, arch) != 1)
+ if (bfd_bwrite (&ARFMAG[1], 1, arch) != 1)
return FALSE;
}
}