summaryrefslogtreecommitdiff
path: root/bfd/elf-m10200.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/elf-m10200.c
parent18b7a2ac1b161a284c936758371e210c63923c3c (diff)
downloadbinutils-redhat-642ad6392420d0d04b5d9cd32e2cc4c59ae5414d.tar.gz
elf_swap_symbol_in args should be "const PTR", not "const PTR *".
Diffstat (limited to 'bfd/elf-m10200.c')
-rw-r--r--bfd/elf-m10200.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/elf-m10200.c b/bfd/elf-m10200.c
index fe240fd630..e833af6037 100644
--- a/bfd/elf-m10200.c
+++ b/bfd/elf-m10200.c
@@ -630,8 +630,8 @@ mn10200_elf_relax_section (abfd, sec, link_info, again)
esym = extsyms + ELF32_R_SYM (irel->r_info);
shndx = shndx_buf + (shndx_buf ? ELF32_R_SYM (irel->r_info) : 0);
- bfd_elf32_swap_symbol_in (abfd, (const PTR *) esym,
- (const PTR *) shndx, &isym);
+ bfd_elf32_swap_symbol_in (abfd, (const PTR) esym, (const PTR) shndx,
+ &isym);
if (isym.st_shndx == SHN_UNDEF)
sym_sec = bfd_und_section_ptr;
@@ -1318,7 +1318,7 @@ mn10200_elf_relax_delete_bytes (abfd, sec, addr, count)
Elf_Internal_Sym isym;
Elf_External_Sym_Shndx dummy;
- bfd_elf32_swap_symbol_in (abfd, (const PTR *) esym, (const PTR *) shndx,
+ bfd_elf32_swap_symbol_in (abfd, (const PTR) esym, (const PTR) shndx,
&isym);
if (isym.st_shndx == sec_shndx
@@ -1380,7 +1380,7 @@ mn10200_elf_symbol_address_p (abfd, sec, addr)
{
Elf_Internal_Sym isym;
- bfd_elf32_swap_symbol_in (abfd, (const PTR *) esym, (const PTR *) shndx,
+ bfd_elf32_swap_symbol_in (abfd, (const PTR) esym, (const PTR) shndx,
&isym);
if (isym.st_shndx == sec_shndx
@@ -1503,8 +1503,8 @@ mn10200_elf_get_relocated_section_contents (output_bfd, link_info, link_order,
{
asection *isec;
- bfd_elf32_swap_symbol_in (input_bfd, (const PTR *) esym,
- (const PTR *) shndx, isymp);
+ bfd_elf32_swap_symbol_in (input_bfd, (const PTR) esym,
+ (const PTR) shndx, isymp);
if (isymp->st_shndx == SHN_UNDEF)
isec = bfd_und_section_ptr;