summaryrefslogtreecommitdiff
path: root/bfd/elf32-xstormy16.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
commit642ad6392420d0d04b5d9cd32e2cc4c59ae5414d (patch)
tree05b0158e66f54f980166ffd69e135c9d467e5e89 /bfd/elf32-xstormy16.c
parent18b7a2ac1b161a284c936758371e210c63923c3c (diff)
downloadbinutils-redhat-642ad6392420d0d04b5d9cd32e2cc4c59ae5414d.tar.gz
elf_swap_symbol_in args should be "const PTR", not "const PTR *".
Diffstat (limited to 'bfd/elf32-xstormy16.c')
-rw-r--r--bfd/elf32-xstormy16.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-xstormy16.c b/bfd/elf32-xstormy16.c
index 57ee1fea59..d58ea9cffc 100644
--- a/bfd/elf32-xstormy16.c
+++ b/bfd/elf32-xstormy16.c
@@ -654,8 +654,8 @@ xstormy16_elf_relax_section (dynobj, splt, info, again)
shndx = shndx_buf;
if (shndx != NULL)
shndx += idx;
- bfd_elf32_swap_symbol_in (ibfd, (const PTR *) (extsyms + idx),
- (const PTR *) shndx, &isym);
+ bfd_elf32_swap_symbol_in (ibfd, (const PTR) (extsyms + idx),
+ (const PTR) shndx, &isym);
if (isym.st_shndx == SHN_UNDEF)
continue;
else if (isym.st_shndx == SHN_ABS)