This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


/* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]