public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* FYI: sparc-rtems does not build on 64-bit host
@ 2006-08-08 19:20 Daniel Jacobowitz
  2006-08-09 14:46 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Jacobowitz @ 2006-08-08 19:20 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-09  8:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-08 19:20 FYI: sparc-rtems does not build on 64-bit host Daniel Jacobowitz
2006-08-09 14:46 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).