diff options
Diffstat (limited to 'bfd/elf-m10200.c')
-rw-r--r-- | bfd/elf-m10200.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bfd/elf-m10200.c b/bfd/elf-m10200.c index 4e8de60df94..fe240fd6301 100644 --- a/bfd/elf-m10200.c +++ b/bfd/elf-m10200.c @@ -630,7 +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, esym, 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; @@ -1317,7 +1318,8 @@ mn10200_elf_relax_delete_bytes (abfd, sec, addr, count) Elf_Internal_Sym isym; Elf_External_Sym_Shndx dummy; - bfd_elf32_swap_symbol_in (abfd, esym, shndx, &isym); + bfd_elf32_swap_symbol_in (abfd, (const PTR *) esym, (const PTR *) shndx, + &isym); if (isym.st_shndx == sec_shndx && isym.st_value > addr @@ -1378,7 +1380,8 @@ mn10200_elf_symbol_address_p (abfd, sec, addr) { Elf_Internal_Sym isym; - bfd_elf32_swap_symbol_in (abfd, esym, shndx, &isym); + bfd_elf32_swap_symbol_in (abfd, (const PTR *) esym, (const PTR *) shndx, + &isym); if (isym.st_shndx == sec_shndx && isym.st_value == addr) @@ -1500,7 +1503,8 @@ mn10200_elf_get_relocated_section_contents (output_bfd, link_info, link_order, { asection *isec; - bfd_elf32_swap_symbol_in (input_bfd, esym, 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; |