Fix address violation errors parsing corrupt binary files.
[deliverable/binutils-gdb.git] / bfd / mach-o.c
index be2fb17d332ec2bdacf900e56d88776830afebaf..1807391d51be22bd3ec836b1425e432b19efbb92 100644 (file)
@@ -1496,7 +1496,7 @@ bfd_mach_o_canonicalize_relocs (bfd *abfd, unsigned long filepos,
   for (i = 0; i < count; i++)
     {
       if (!(*bed->_bfd_mach_o_canonicalize_one_reloc)(abfd, &native_relocs[i],
-                                                     &res[i], syms))
+                                                     &res[i], syms, res))
         goto err;
     }
   free (native_relocs);
This page took 0.025666 seconds and 4 git commands to generate.