OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [binutils/] [bucomm.c] - Diff between revs 15 and 163

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 15 Rev 163
Line 223... Line 223...
static const char *
static const char *
endian_string (enum bfd_endian endian)
endian_string (enum bfd_endian endian)
{
{
  switch (endian)
  switch (endian)
    {
    {
    case BFD_ENDIAN_BIG: return "big endian";
    case BFD_ENDIAN_BIG: return _("big endian");
    case BFD_ENDIAN_LITTLE: return "little endian";
    case BFD_ENDIAN_LITTLE: return _("little endian");
    default: return "endianness unknown";
    default: return _("endianness unknown");
    }
    }
}
}
 
 
/* List the targets that BFD is configured to support, each followed
/* List the targets that BFD is configured to support, each followed
   by its endianness and the architectures it supports.  */
   by its endianness and the architectures it supports.  */
Line 246... Line 246...
    {
    {
      const bfd_target *p = bfd_target_vector[t];
      const bfd_target *p = bfd_target_vector[t];
      bfd *abfd = bfd_openw (dummy_name, p->name);
      bfd *abfd = bfd_openw (dummy_name, p->name);
      int a;
      int a;
 
 
      printf ("%s\n (header %s, data %s)\n", p->name,
      printf (_("%s\n (header %s, data %s)\n"), p->name,
              endian_string (p->header_byteorder),
              endian_string (p->header_byteorder),
              endian_string (p->byteorder));
              endian_string (p->byteorder));
 
 
      if (abfd == NULL)
      if (abfd == NULL)
        {
        {

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.