* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Likewise.
+2008-05-14 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * elf32-ppc.c (ppc_elf_get_synthetic_symtab): Fix memset calls.
+ * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Likewise.
+
2008-05-14 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Run "make dep-am".
}
/* Add a symbol at the start of the glink branch table. */
- memset (s, sizeof *s, 0);
+ memset (s, 0, sizeof *s);
s->the_bfd = abfd;
s->flags = BSF_GLOBAL;
s->section = glink;
if (resolv_vma)
{
/* Add a symbol for the glink PLT resolver. */
- memset (s, sizeof *s, 0);
+ memset (s, 0, sizeof *s);
s->the_bfd = abfd;
s->flags = BSF_GLOBAL;
s->section = glink;
if (resolv_vma)
{
/* Add a symbol for the main glink trampoline. */
- memset (s, sizeof *s, 0);
+ memset (s, 0, sizeof *s);
s->the_bfd = abfd;
s->flags = BSF_GLOBAL;
s->section = glink;