diff options
author | Alan Modra <amodra@gmail.com> | 2001-10-17 12:01:05 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-10-17 12:01:05 +0000 |
commit | 973ffd6335bb35d78d2ea2b844019f38ac9dbba5 (patch) | |
tree | a548469d1bf253352b594add8587d718e094299d /bfd/elf32-m68k.c | |
parent | 1ba7c32c230bcfb82b8a052d8fc4f9d4b7c0de2d (diff) | |
download | gdb-973ffd6335bb35d78d2ea2b844019f38ac9dbba5.zip gdb-973ffd6335bb35d78d2ea2b844019f38ac9dbba5.tar.gz gdb-973ffd6335bb35d78d2ea2b844019f38ac9dbba5.tar.bz2 |
* 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/elf32-m68k.c')
-rw-r--r-- | bfd/elf32-m68k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c index c325224..609e91a 100644 --- a/bfd/elf32-m68k.c +++ b/bfd/elf32-m68k.c @@ -2202,7 +2202,7 @@ bfd_m68k_elf32_create_embedded_relocs (abfd, info, datasec, relsec, errmsg) != symtab_hdr->sh_size)) goto error_return; if (info->keep_memory) - symtab_hdr->contents = extsyms; + symtab_hdr->contents = (unsigned char *) extsyms; } /* Get a copy of the native relocations. */ |