elf_swap_symbol_in args should be "const PTR", not "const PTR *".
[deliverable/binutils-gdb.git] / bfd / elf32-h8300.c
index 4a152e2705e92ae01fadef16403e6613ab96d83a..66e563edd75fb02bec8a4367d13afd03c56812a1 100644 (file)
@@ -816,8 +816,8 @@ elf32_h8_relax_section (abfd, sec, link_info, again)
          /* A local symbol.  */
          esym = extsyms + ELF32_R_SYM (irel->r_info);
          shndx = shndx_buf + (shndx_buf ? ELF32_R_SYM (irel->r_info) : 0);
-         bfd_elf32_swap_symbol_in (abfd, (const PTR *) esym,
-                                   (const PTR *) shndx, &isym);
+         bfd_elf32_swap_symbol_in (abfd, (const PTR) esym, (const PTR) shndx,
+                                   &isym);
 
          sym_sec = bfd_section_from_elf_index (abfd, isym.st_shndx);
          symval = (isym.st_value
@@ -913,8 +913,8 @@ elf32_h8_relax_section (abfd, sec, link_info, again)
                    shndx = shndx_buf;
                    if (shndx != NULL)
                      shndx += ELF32_R_SYM (last_reloc->r_info);
-                   bfd_elf32_swap_symbol_in (abfd, (const PTR *) esym,
-                                             (const PTR *) shndx,
+                   bfd_elf32_swap_symbol_in (abfd, (const PTR) esym,
+                                             (const PTR) shndx,
                                              &last_symbol);
 
                    last_sym_sec
@@ -1342,7 +1342,7 @@ elf32_h8_relax_delete_bytes (abfd, sec, addr, count)
       Elf_Internal_Sym isym;
       Elf_External_Sym_Shndx dummy;
 
-      bfd_elf32_swap_symbol_in (abfd, (const PTR *) esym, (const PTR *) shndx,
+      bfd_elf32_swap_symbol_in (abfd, (const PTR) esym, (const PTR) shndx,
                                &isym);
 
       if (isym.st_shndx == sec_shndx
@@ -1404,7 +1404,7 @@ elf32_h8_symbol_address_p (abfd, sec, addr)
     {
       Elf_Internal_Sym isym;
 
-      bfd_elf32_swap_symbol_in (abfd, (const PTR *) esym, (const PTR *) shndx,
+      bfd_elf32_swap_symbol_in (abfd, (const PTR) esym, (const PTR) shndx,
                                &isym);
 
       if (isym.st_shndx == sec_shndx
@@ -1527,8 +1527,8 @@ elf32_h8_get_relocated_section_contents (output_bfd, link_info, link_order,
        {
          asection *isec;
 
-         bfd_elf32_swap_symbol_in (input_bfd, (const PTR *) esym,
-                                   (const PTR *) shndx, isymp);
+         bfd_elf32_swap_symbol_in (input_bfd, (const PTR) esym,
+                                   (const PTR) shndx, isymp);
 
          if (isymp->st_shndx == SHN_UNDEF)
            isec = bfd_und_section_ptr;
This page took 0.024365 seconds and 4 git commands to generate.