target-ppc: Fix overallocation of opcode tables
commita80172a4762465a40f6b59d10d64360bd272b700
authorStuart Brady <sdb@zubnet.me.uk>
Wed, 19 Mar 2014 14:07:26 +0000 (19 14:07 +0000)
committerAndreas Färber <afaerber@suse.de>
Thu, 20 Mar 2014 01:39:33 +0000 (20 02:39 +0100)
tree8020ad0858f75629baa539f302a66d0e1b2f45c0
parentd197fdbc3b83655f3c145722805f0998c04dce16
target-ppc: Fix overallocation of opcode tables

create_new_table() should allocate 0x20 opc_handler_t pointers, but
actually allocates 0x20 opc_handler_t structs.  Fix this.

Signed-off-by: Stuart Brady <sdb@zubnet.me.uk>
Reviewed-by: Tom Musta <tommusta@gmail.com>
Tested-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-ppc/translate_init.c