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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [binutils/] [readelf.c] - Diff between revs 205 and 663

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

Rev 205 Rev 663
Line 8480... Line 8480...
static void
static void
dump_section_as_strings (Elf_Internal_Shdr * section, FILE * file)
dump_section_as_strings (Elf_Internal_Shdr * section, FILE * file)
{
{
  Elf_Internal_Shdr * relsec;
  Elf_Internal_Shdr * relsec;
  bfd_size_type num_bytes;
  bfd_size_type num_bytes;
  bfd_vma addr;
 
  char * data;
  char * data;
  char * end;
  char * end;
  char * start;
  char * start;
  char * name = SECTION_NAME (section);
  char * name = SECTION_NAME (section);
  bfd_boolean some_strings_shown;
  bfd_boolean some_strings_shown;
Line 8514... Line 8513...
      printf (_("  Note: This section has relocations against it, but these have NOT been applied to this dump.\n"));
      printf (_("  Note: This section has relocations against it, but these have NOT been applied to this dump.\n"));
      break;
      break;
    }
    }
 
 
  num_bytes = section->sh_size;
  num_bytes = section->sh_size;
  addr = section->sh_addr;
 
  data = start;
  data = start;
  end  = start + num_bytes;
  end  = start + num_bytes;
  some_strings_shown = FALSE;
  some_strings_shown = FALSE;
 
 
  while (data < end)
  while (data < end)
Line 11274... Line 11272...
process_archive (char * file_name, FILE * file, bfd_boolean is_thin_archive)
process_archive (char * file_name, FILE * file, bfd_boolean is_thin_archive)
{
{
  struct archive_info arch;
  struct archive_info arch;
  struct archive_info nested_arch;
  struct archive_info nested_arch;
  size_t got;
  size_t got;
  size_t file_name_size;
 
  int ret;
  int ret;
 
 
  show_name = 1;
  show_name = 1;
 
 
  /* The ARCH structure is used to hold information about this archive.  */
  /* The ARCH structure is used to hold information about this archive.  */
Line 11368... Line 11365...
          ret = 0; /* Archive index only.  */
          ret = 0; /* Archive index only.  */
          goto out;
          goto out;
        }
        }
    }
    }
 
 
  file_name_size = strlen (file_name);
 
  ret = 0;
  ret = 0;
 
 
  while (1)
  while (1)
    {
    {
      char * name;
      char * name;

powered by: WebSVN 2.1.0

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