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/elf-m10300.c | |
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/elf-m10300.c')
-rw-r--r-- | bfd/elf-m10300.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c index 1cc9f4c..56350e5 100644 --- a/bfd/elf-m10300.c +++ b/bfd/elf-m10300.c @@ -938,8 +938,8 @@ mn10300_elf_relax_section (abfd, sec, link_info, again) esym = extsyms + r_index; shndx = shndx_buf + (shndx_buf ? r_index : 0); bfd_elf32_swap_symbol_in (input_bfd, - (const PTR *) esym, - (const PTR *) shndx, + (const PTR) esym, + (const PTR) shndx, &isym); if (isym.st_shndx == SHN_UNDEF) @@ -1030,8 +1030,8 @@ mn10300_elf_relax_section (abfd, sec, link_info, again) { Elf_Internal_Sym isym; - bfd_elf32_swap_symbol_in (input_bfd, (const PTR *) esym, - (const PTR *) shndx, &isym); + bfd_elf32_swap_symbol_in (input_bfd, (const PTR) esym, + (const PTR) shndx, &isym); if (isym.st_shndx == sec_shndx && ELF_ST_TYPE (isym.st_info) == STT_FUNC) { @@ -1257,8 +1257,8 @@ mn10300_elf_relax_section (abfd, sec, link_info, again) struct elf_link_hash_table *elftab; bfd_size_type amt; - bfd_elf32_swap_symbol_in (input_bfd, (const PTR *) esym, - (const PTR *) shndx, &isym); + bfd_elf32_swap_symbol_in (input_bfd, (const PTR) esym, + (const PTR) shndx, &isym); if (isym.st_shndx != sec_shndx) continue; @@ -1555,8 +1555,8 @@ mn10300_elf_relax_section (abfd, sec, link_info, again) /* A local symbol. */ 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; @@ -2679,7 +2679,7 @@ mn10300_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 @@ -2741,7 +2741,7 @@ mn10300_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 @@ -2864,8 +2864,8 @@ mn10300_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; |