aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.ac
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-10-16 10:15:57 +1030
committerAlan Modra <amodra@gmail.com>2020-10-16 10:35:23 +1030
commite7f2f959e38e929ee04601abf97c4a637305771d (patch)
tree17325126904dab376d42c74a1317ef0e809847ff /bfd/configure.ac
parentfd63a770b74293b20b150b83782f72d2f106f5c3 (diff)
downloadgdb-e7f2f959e38e929ee04601abf97c4a637305771d.zip
gdb-e7f2f959e38e929ee04601abf97c4a637305771d.tar.gz
gdb-e7f2f959e38e929ee04601abf97c4a637305771d.tar.bz2
elf32-arc.c: Don't cast between function pointer and void pointer
Casts should be avoided if at all possible, and in particular the C standard doesn't promise that function pointers can be cast to void* or vice-versa. It is only mentioned under J.5 Common extensions, saying "The following extensions are widely used in many systems, but are not portable to all implementations." * elf32-arc.c (replace_func): Correct return type. (get_replace_function): Use a replace_func function pointer rather than void*. Update associated ARC_RELOC_HOWTO define.
Diffstat (limited to 'bfd/configure.ac')
0 files changed, 0 insertions, 0 deletions