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

@@ -682,8 +682,8 @@ elf64_hppa_check_relocs (abfd, info, sec, relocs)
i < symtab_hdr->sh_info;
i++, esym++, isym++, shndx = (shndx != NULL ? shndx + 1 : NULL))
{
bfd_elf64_swap_symbol_in (abfd, (const PTR *) esym,
(const PTR *) shndx, isym);
bfd_elf64_swap_symbol_in (abfd, (const PTR) esym, (const PTR) shndx,
isym);
if (isym->st_shndx > highest_shndx)
highest_shndx = isym->st_shndx;
}