[PATCH] PPC + ARC: Fix calloc() call
Peter Bergner
bergner@linux.ibm.com
Tue Nov 21 15:19:57 GMT 2023
On 11/21/23 7:40 AM, Jan-Benedict Glaw wrote:
> Recently, -Walloc-size warnings started to kick in. Fix these two
> calloc() calls to match the intended usage pattern.
>
> opcodes/ChangeLog:
>
> * arc-dis.c (init_arc_disasm_info): Fix calloc() call.
> * ppc-dis.c (powerpc_init_dialect): Ditto.
Looks obvious to me, but to remove any doubt, the ppc change is ok.
Thanks!
Peter
More information about the Binutils
mailing list