summaryrefslogtreecommitdiff
path: root/bfd/elf-m10200.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-10-17 12:01:05 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-10-17 12:01:05 +0000
commit780381282c153040e4e154af87ae46c334c8b5d9 (patch)
treef339b619d82be629223af245ebd3ef68bae47660 /bfd/elf-m10200.c
parent7edc5876b6f41787a275e1053a2409a6624f8e7e (diff)
downloadgdb-780381282c153040e4e154af87ae46c334c8b5d9.tar.gz
* elf-m10200.c (mn10200_elf_relax_section): Cast assignment to
Elf_Internal_Shdr.contents now that it's no longer a PTR. * elf-m10300.c (mn10300_elf_relax_section): Likewise. * elf32-h8300.c (elf32_h8_relax_section): Likewise. * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise. * elf32-sh.c (sh_elf_relax_section): Likewise. * elf64-alpha.c (elf64_alpha_relax_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. * elf.c (setup_group): Warning fixes. * elflink.h (elf_link_sort_relocs): Likewise. * pdp11.c (slurp_reloc_table): Likewise.
Diffstat (limited to 'bfd/elf-m10200.c')
-rw-r--r--bfd/elf-m10200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf-m10200.c b/bfd/elf-m10200.c
index 9caf1bbc135..b73ebec33d7 100644
--- a/bfd/elf-m10200.c
+++ b/bfd/elf-m10200.c
@@ -1225,7 +1225,7 @@ mn10200_elf_relax_section (abfd, sec, link_info, again)
else
{
/* Cache the symbols for elf_link_input_bfd. */
- symtab_hdr->contents = extsyms;
+ symtab_hdr->contents = (unsigned char *) extsyms;
}
free_extsyms = NULL;
}