* 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.
This commit is contained in:
Alan Modra
2001-10-17 12:01:05 +00:00
parent 1ba7c32c23
commit 973ffd6335
11 changed files with 29 additions and 15 deletions

View File

@@ -2247,7 +2247,7 @@ NAME(aout,slurp_reloc_table) (abfd, asect, symbols)
{
int x;
x = GET_WORD (abfd, relocs + each_size * counter);
x = GET_WORD (abfd, (char *) relocs + each_size * counter);
if (x != 0)
real_count++;
}