mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
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:
@ -1,3 +1,8 @@
|
|||||||
|
2009-06-22 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
|
* mach-o.c (bfd_mach_o_canonicalize_reloc): Append a sentinel to
|
||||||
|
the relocs array.
|
||||||
|
|
||||||
2009-06-22 Alan Modra <amodra@bigpond.net.au>
|
2009-06-22 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch.
|
* elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch.
|
||||||
|
@ -615,6 +615,7 @@ bfd_mach_o_canonicalize_reloc (bfd *abfd, asection *asect,
|
|||||||
}
|
}
|
||||||
rels[i] = &res[i];
|
rels[i] = &res[i];
|
||||||
}
|
}
|
||||||
|
rels[asect->reloc_count] = NULL;
|
||||||
asect->relocation = res;
|
asect->relocation = res;
|
||||||
free (native_relocs);
|
free (native_relocs);
|
||||||
return i;
|
return i;
|
||||||
|
Reference in New Issue
Block a user