bfd: remove use of PTR

* coffcode.h (coff_write_object_contents): Don't cast to PTR.
	* elf32-csky.c (csky_elf_link_hash_traverse): Remove use of PTR
	and PARAMS.
	(csky_allocate_dynrelocs): Don't use PTR cast.
	* elf32-nios2.c (adjust_dynrelocs, allocate_dynrelocs): Replace
	PTR with void *.
	* elf32-visium.c (visium_elf_howto_parity_reloc): Likewise.
	* elfxx-ia64.c (ia64_elf_reloc): Likewise.
	* plugin.c (bfd_plugin_bfd_print_private_bfd_data): Likewise.
This commit is contained in:
Alan Modra
2022-05-10 08:52:39 +09:30
parent c2dae75149
commit f3b9cfd195
6 changed files with 11 additions and 11 deletions

View File

@@ -3843,7 +3843,7 @@ coff_write_object_contents (bfd * abfd)
bfd_byte *b = bfd_zmalloc (fill_size);
if (b)
{
bfd_bwrite ((PTR)b, fill_size, abfd);
bfd_bwrite (b, fill_size, abfd);
free (b);
}
}