~ubuntu-branches/debian/experimental/binutils/experimental

« back to all changes in this revision

Viewing changes to bfd/elf32-rx.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-07-31 22:20:22 UTC
  • mfrom: (1.7.10)
  • Revision ID: package-import@ubuntu.com-20120731222022-0anxbeg8at8rnrx1
Tags: 2.22.90.20120731-1
New upstream snapshot (taken from the 2.23 branch).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1926
1926
      if (shndx_buf == NULL)
1927
1927
        goto error_return;
1928
1928
      if (bfd_seek (abfd, shndx_hdr->sh_offset, SEEK_SET) != 0
1929
 
          || bfd_bread ((PTR) shndx_buf, amt, abfd) != amt)
 
1929
          || bfd_bread (shndx_buf, amt, abfd) != amt)
1930
1930
        goto error_return;
1931
1931
      shndx_hdr->contents = (bfd_byte *) shndx_buf;
1932
1932
    }
1933
1933
 
1934
1934
  /* Get a copy of the native relocations.  */
1935
1935
  internal_relocs = (_bfd_elf_link_read_relocs
1936
 
                     (abfd, sec, (PTR) NULL, (Elf_Internal_Rela *) NULL,
 
1936
                     (abfd, sec, NULL, (Elf_Internal_Rela *) NULL,
1937
1937
                      link_info->keep_memory));
1938
1938
  if (internal_relocs == NULL)
1939
1939
    goto error_return;