From f8ecb12b16adaae13e187352852113cda9c5394d Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 6 Jun 2002 00:29:22 +0000 Subject: elf_swap_symbol_in args should be "const PTR", not "const PTR *". --- bfd/elfxx-ia64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/elfxx-ia64.c') diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index 0e3d0db..c86ad43 100644 --- a/bfd/elfxx-ia64.c +++ b/bfd/elfxx-ia64.c @@ -812,8 +812,8 @@ elfNN_ia64_relax_section (abfd, sec, link_info, again) /* A local symbol. */ esym = extsyms + ELFNN_R_SYM (irel->r_info); shndx = shndx_buf + (shndx_buf ? ELFNN_R_SYM (irel->r_info) : 0); - bfd_elfNN_swap_symbol_in (abfd, (const PTR *) esym, - (const PTR *) shndx, &isym); + bfd_elfNN_swap_symbol_in (abfd, (const PTR) esym, (const PTR) shndx, + &isym); if (isym.st_shndx == SHN_UNDEF) continue; /* We can't do anthing with undefined symbols. */ else if (isym.st_shndx == SHN_ABS) -- cgit v1.1