aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-hppa.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-06-06 00:29:22 +0000
committerAlan Modra <amodra@gmail.com>2002-06-06 00:29:22 +0000
commitf8ecb12b16adaae13e187352852113cda9c5394d (patch)
tree00b1dd3354b7a876d1e14131e9a05d62513edacf /bfd/elf64-hppa.c
parenta1c1c00904a9c79bd728b1e35fef3632db61a186 (diff)
downloadgdb-f8ecb12b16adaae13e187352852113cda9c5394d.zip
gdb-f8ecb12b16adaae13e187352852113cda9c5394d.tar.gz
gdb-f8ecb12b16adaae13e187352852113cda9c5394d.tar.bz2
elf_swap_symbol_in args should be "const PTR", not "const PTR *".
Diffstat (limited to 'bfd/elf64-hppa.c')
-rw-r--r--bfd/elf64-hppa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf64-hppa.c b/bfd/elf64-hppa.c
index e41e605..d110d76 100644
--- a/bfd/elf64-hppa.c
+++ b/bfd/elf64-hppa.c
@@ -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;
}