Stuart Menefy wrote:
> The support for the binary object file format appeared to be
> broken, or at least changed in some incompatible way, and I've not
> had a chance to chase this down.
OK, I've found that. Following patch enables binutils works again
for building zImage, I believe.
--- bfd/elf32-sh.c 2000/05/15 23:10:59 1.11
+++ bfd/elf32-sh.c 2000/05/22 03:27:00
@@ -2334,7 +4342,8 @@
{
flagword old_flags, new_flags;
- if (_bfd_generic_verify_endian_match (ibfd, obfd) == false)
+ if (ibfd->xvec->byteorder != BFD_ENDIAN_UNKNOWN
+ && _bfd_generic_verify_endian_match (ibfd, obfd) == false)
return false;
if ( bfd_get_flavour (ibfd) != bfd_target_elf_flavour
|