FYI: sparc-rtems does not build on 64-bit host

Daniel Jacobowitz drow@false.org
Tue Aug 8 19:20:00 GMT 2006


/* The word size used by BFD on the host.  This may be 64 with a 32
   bit target if the host is 64 bit, or if other 64 bit targets have
   been selected with --enable-targets, or if --enable-64-bit-bfd.  */
#define BFD_ARCH_SIZE @wordsize@

But:

static void
sparc_elf_append_rela_64 (bfd *abfd ATTRIBUTE_UNUSED,
                          asection *s ATTRIBUTE_UNUSED,
                          Elf_Internal_Rela *rel ATTRIBUTE_UNUSED)
{
#ifdef BFD64
  Elf64_External_Rela *loc64;

  loc64 = (Elf64_External_Rela *) s->contents;
  loc64 += s->reloc_count++;
  bfd_elf64_swap_reloca_out (abfd, rel, (bfd_byte *) loc64);
#endif
}

Without sparc64 configured in, bdf_elf64_swap_reloca_out is not available.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list