elf_swap_symbol_in args should be "const PTR", not "const PTR *".

This commit is contained in:
Alan Modra
2002-06-06 00:29:22 +00:00
parent a1c1c00904
commit f8ecb12b16
19 changed files with 116 additions and 72 deletions

View File

@@ -2211,8 +2211,8 @@ bfd_m68k_elf32_create_embedded_relocs (abfd, info, datasec, relsec, errmsg)
/* 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);
targetsec = bfd_section_from_elf_index (abfd, isym.st_shndx);
}