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/coffcode.h | |
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/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 31bd975..dde8a64 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -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); } } |