summaryrefslogtreecommitdiff
path: root/bfd/elf32-hppa.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-06-06 00:29:22 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-06-06 00:29:22 +0000
commitd049207ea2d07a0a6c67c0a099bdb6e6ea20d30d (patch)
tree7f4a8d0d9893d305f82a08a61d1433a9e196e49b /bfd/elf32-hppa.c
parentfee480ec4fd03b907b4b73a82c1e5b27a02ddca9 (diff)
downloadgdb-d049207ea2d07a0a6c67c0a099bdb6e6ea20d30d.tar.gz
elf_swap_symbol_in args should be "const PTR", not "const PTR *".
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r--bfd/elf32-hppa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index 68d65189e4c..684213514cd 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -2827,8 +2827,8 @@ get_local_syms (output_bfd, input_bfd, info)
isym = local_syms, shndx = shndx_buf;
esym < end_sy;
esym++, isym++, shndx = (shndx ? shndx + 1 : NULL))
- bfd_elf32_swap_symbol_in (input_bfd, (const PTR *) esym,
- (const PTR *) shndx, isym);
+ bfd_elf32_swap_symbol_in (input_bfd, (const PTR) esym,
+ (const PTR) shndx, isym);
/* Now we can free the external symbols. */
free (shndx_buf);