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/elf32-visium.c | |
parent | c2dae75149ba2946111608205e0e1ccf8b028991 (diff) | |
download | gdb-f3b9cfd1954343ad443119cf0b545de9e45b9494.zip gdb-f3b9cfd1954343ad443119cf0b545de9e45b9494.tar.gz gdb-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/elf32-visium.c')
-rw-r--r-- | bfd/elf32-visium.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-visium.c b/bfd/elf32-visium.c index 4c27ba7..e189647 100644 --- a/bfd/elf32-visium.c +++ b/bfd/elf32-visium.c @@ -28,7 +28,7 @@ #include "libiberty.h" static bfd_reloc_status_type visium_elf_howto_parity_reloc - (bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **); + (bfd *, arelent *, asymbol *, void *, asection *, bfd *, char **); static reloc_howto_type visium_elf_howto_table[] = { /* This reloc does nothing. */ @@ -304,7 +304,7 @@ visium_parity_bit (bfd_vma insn) static bfd_reloc_status_type visium_elf_howto_parity_reloc (bfd * input_bfd, arelent *reloc_entry, - asymbol *symbol, PTR data, + asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) { |