unicorn/qemu/target
Kamil Rytarowski b10922fb33
target/m68k: Switch fpu_rom from make_floatx80() to make_floatx80_init()
GCC 4.7.2 on SunOS reports that the values assigned to array members are not
real constants:

target/m68k/fpu_helper.c:32:5: error: initializer element is not constant
target/m68k/fpu_helper.c:32:5: error: (near initialization for 'fpu_rom[0]')
rules.mak:66: recipe for target 'target/m68k/fpu_helper.o' failed

Convert the array to make_floatx80_init() to fix it.
Replace floatx80_pi-like constants with make_floatx80_init() as they are
defined as make_floatx80().

This fixes build on SmartOS (Joyent).

Backports commit 6fa9ba09dbf4eb8b52bcb47d6820957f1b77ee0b from qemu
2018-03-04 23:05:01 -05:00
..
arm target/arm: Implement new do_transaction_failed hook 2018-03-04 21:29:05 -05:00
i386 target/i386: Remove unnecessary unicorn hooking code in i386_tr_init_disas_context 2018-03-04 20:31:07 -05:00
m68k target/m68k: Switch fpu_rom from make_floatx80() to make_floatx80_init() 2018-03-04 23:05:01 -05:00
mips gen-icount: check cflags instead of use_icount global 2018-03-04 14:26:26 -05:00
sparc gen-icount: check cflags instead of use_icount global 2018-03-04 14:26:26 -05:00