diff options
author | Alan Modra <amodra@gmail.com> | 2022-05-10 08:52:39 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-05-10 11:21:37 +0930 |
commit | f3b9cfd1954343ad443119cf0b545de9e45b9494 (patch) | |
tree | c77605f1f184a6ba3197343ae3da69989782645a /bfd/plugin.c | |
parent | c2dae75149ba2946111608205e0e1ccf8b028991 (diff) | |
download | binutils-f3b9cfd1954343ad443119cf0b545de9e45b9494.zip binutils-f3b9cfd1954343ad443119cf0b545de9e45b9494.tar.gz binutils-f3b9cfd1954343ad443119cf0b545de9e45b9494.tar.bz2 |
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.
Diffstat (limited to 'bfd/plugin.c')
-rw-r--r-- | bfd/plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/plugin.c b/bfd/plugin.c index fb45cbe..c69fbd7 100644 --- a/bfd/plugin.c +++ b/bfd/plugin.c @@ -617,7 +617,7 @@ bfd_plugin_bfd_copy_private_symbol_data (bfd *ibfd ATTRIBUTE_UNUSED, } static bool -bfd_plugin_bfd_print_private_bfd_data (bfd *abfd ATTRIBUTE_UNUSED, PTR ptr ATTRIBUTE_UNUSED) +bfd_plugin_bfd_print_private_bfd_data (bfd *abfd ATTRIBUTE_UNUSED, void *ptr ATTRIBUTE_UNUSED) { BFD_ASSERT (0); return true; @@ -749,7 +749,7 @@ bfd_plugin_canonicalize_symtab (bfd *abfd, static void bfd_plugin_print_symbol (bfd *abfd ATTRIBUTE_UNUSED, - PTR afile ATTRIBUTE_UNUSED, + void *afile ATTRIBUTE_UNUSED, asymbol *symbol ATTRIBUTE_UNUSED, bfd_print_symbol_type how ATTRIBUTE_UNUSED) { |