]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf64-sparc.c
* elfxx-target.h: Remove PTR cast.
[thirdparty/binutils-gdb.git] / bfd / elf64-sparc.c
index 13f6a5501a4125b9232331dc052114c8dee3233a..25c609fc5993a62dbfc32d9818c4dc70a3601711 100644 (file)
@@ -518,7 +518,7 @@ sparc64_elf_canonicalize_reloc (abfd, section, relptr, symbols)
 {
   arelent *tblptr;
   unsigned int i;
-  struct elf_backend_data *bed = get_elf_backend_data (abfd);
+  const struct elf_backend_data *bed = get_elf_backend_data (abfd);
 
   if (! bed->s->slurp_reloc_table (abfd, section, symbols, FALSE))
     return -1;