diff options
author | Alan Modra <amodra@gmail.com> | 2002-06-06 00:29:22 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-06-06 00:29:22 +0000 |
commit | f8ecb12b16adaae13e187352852113cda9c5394d (patch) | |
tree | 00b1dd3354b7a876d1e14131e9a05d62513edacf /bfd/elfcode.h | |
parent | a1c1c00904a9c79bd728b1e35fef3632db61a186 (diff) | |
download | gdb-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/elfcode.h')
-rw-r--r-- | bfd/elfcode.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 1a362ee..3e29c02 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 |