forked from Imagelibrary/binutils-gdb
2009-06-22 Tristan Gingold <gingold@adacore.com>
* mach-o.c (bfd_mach_o_canonicalize_reloc): Append a sentinel to the relocs array.
This commit is contained in:
@@ -615,6 +615,7 @@ bfd_mach_o_canonicalize_reloc (bfd *abfd, asection *asect,
|
||||
}
|
||||
rels[i] = &res[i];
|
||||
}
|
||||
rels[asect->reloc_count] = NULL;
|
||||
asect->relocation = res;
|
||||
free (native_relocs);
|
||||
return i;
|
||||
|
||||
Reference in New Issue
Block a user