* libelf.h (struct elf_size_info): Change type of last argument to
[deliverable/binutils-gdb.git] / bfd / elflink.h
index b9cb000d5c33fa820adfc909ddee903a33569f30..3e7ef78238211abdbad31bcd8c516685b778aeb6 100644 (file)
@@ -1364,7 +1364,7 @@ NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath,
       isym.st_other = 0;
       isym.st_shndx = 0;
       elf_swap_symbol_out (output_bfd, &isym,
-                          (char *) (Elf_External_Sym *) s->contents);
+                          (PTR) (Elf_External_Sym *) s->contents);
 
       for (i = 0; elf_buckets[i] != 0; i++)
        {
@@ -2289,7 +2289,7 @@ elf_link_output_sym (finfo, name, elfsym, input_sec)
     }
 
   elf_swap_symbol_out (finfo->output_bfd, elfsym,
-                      (char *) (finfo->symbuf + finfo->symbuf_count));
+                      (PTR) (finfo->symbuf + finfo->symbuf_count));
   ++finfo->symbuf_count;
 
   ++finfo->output_bfd->symcount;
@@ -2479,8 +2479,9 @@ elf_link_output_extsym (h, data)
        }
 
       elf_swap_symbol_out (finfo->output_bfd, &sym,
-                          (char *) ((Elf_External_Sym *) finfo->dynsym_sec->contents
-                                    + h->dynindx));
+                          (PTR) (((Elf_External_Sym *)
+                                  finfo->dynsym_sec->contents)
+                                 + h->dynindx));
 
       bucketcount = elf_hash_table (finfo->info)->bucketcount;
       bucket = (bfd_elf_hash ((const unsigned char *) h->root.root.string)
This page took 0.023964 seconds and 4 git commands to generate.