summaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
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/elfcode.h
parentfee480ec4fd03b907b4b73a82c1e5b27a02ddca9 (diff)
downloadgdb-d049207ea2d07a0a6c67c0a099bdb6e6ea20d30d.tar.gz
elf_swap_symbol_in args should be "const PTR", not "const PTR *".
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index 1a362eebcc5..3e29c0287b1 100644
--- a/bfd/elfcode.h
+++ b/bfd/elfcode.h
@@ -205,8 +205,8 @@ static char *elf_symbol_flags PARAMS ((flagword));
void
elf_swap_symbol_in (abfd, psrc, pshn, dst)
bfd *abfd;
- const PTR *psrc;
- const PTR *pshn;
+ const PTR psrc;
+ const PTR pshn;
Elf_Internal_Sym *dst;
{
const Elf_External_Sym *src = (const Elf_External_Sym *) psrc;
@@ -1244,8 +1244,8 @@ elf_slurp_symbol_table (abfd, symptrs, dynamic)
/* Skip first symbol, which is a null dummy. */
for (i = 1; i < symcount; i++)
{
- elf_swap_symbol_in (abfd, (const PTR *) (x_symp + i),
- (const PTR *) (x_shndx + (x_shndx ? i : 0)),
+ elf_swap_symbol_in (abfd, (const PTR) (x_symp + i),
+ (const PTR) (x_shndx + (x_shndx ? i : 0)),
&i_sym);
memcpy (&sym->internal_elf_sym, &i_sym, sizeof (Elf_Internal_Sym));
#ifdef ELF_KEEP_EXTSYM