lf32-target.h:787:3: note: in expansion of macro 'elf_backend_allow_non_load_phdr'
787 | elf_backend_allow_non_load_phdr,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elf32-target.h:206:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' {aka 'void * (*)(struct bfd *)'} to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)'} [-Wcast-function-type]
206 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
| ^
bfd.h:7486:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol'
7486 | NAME##_bfd_make_debug_symbol, \
| ^~~~
elf32-target.h:972:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS'
972 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32),
| ^~~~~~~~~~~~~~~~~~~~~~
elf32-target.h:206:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' {aka 'void * (*)(struct bfd *)'} to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)'} [-Wcast-function-type]
206 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
| ^
bfd.h:7486:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol'
7486 | NAME##_bfd_make_debug_symbol, \
| ^~~~
elf32-target.h:1073:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS'
1073 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32),
| ^~~~~~~~~~~~~~~~~~~~~~
elf32-target.h:490:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(struct bfd *)'} to 'bfd_boolean (*)(bfd *, const Elf_Internal_Phdr *, unsigned int)' {aka 'int (*)(struct bfd *, const struct elf_internal_phdr *, unsigned int)'} [-Wcast-function-type]
490 | ((bfd_boolean (*) (bfd *, const Elf_Internal_Phdr *, unsigned)) bfd_false)
| ^
elf32-target.h:787:3: note: in expansion of macro 'elf_backend_allow_non_load_phdr'
787 | elf_backend_allow_non_load_phdr,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elf32-target.h:206:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' {aka 'void * (*)(struct bfd *)'} to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)'} [-Wcast-function-type]
206 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
| ^