daily update
[deliverable/binutils-gdb.git] / bfd / elf32-ppc.c
index 218a7cab5c95d7e8a7adf148f4e42d28d01cb977..2dafde7d0d8604a1c37b3156547fb17b7b346791 100644 (file)
@@ -2464,7 +2464,7 @@ ppc_elf_get_synthetic_symtab (bfd *abfd, long symcount, asymbol **syms,
     }
 
   /* 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;
@@ -2478,7 +2478,7 @@ ppc_elf_get_synthetic_symtab (bfd *abfd, long symcount, asymbol **syms,
   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;
This page took 0.023572 seconds and 4 git commands to generate.