diff options
Diffstat (limited to 'bfd/mach-o.c')
-rw-r--r-- | bfd/mach-o.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/mach-o.c b/bfd/mach-o.c index cf1d1e0..8071dee 100644 --- a/bfd/mach-o.c +++ b/bfd/mach-o.c @@ -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; |