diff options
author | Kamil Rytarowski <n54@gmx.com> | 2017-09-04 23:23:06 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2017-09-10 18:07:40 +0200 |
commit | 6fa9ba09dbf4eb8b52bcb47d6820957f1b77ee0b (patch) | |
tree | ba2587f74d992720abd6d238066ad5f340812544 /io/channel-buffer.c | |
parent | fcea73709b966a7ded9efa7b106ea50c7fe9025c (diff) | |
download | qemu-6fa9ba09dbf4eb8b52bcb47d6820957f1b77ee0b.zip |
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).
Signed-off-by: Kamil Rytarowski <n54@gmx.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20170904212306.3020-1-n54@gmx.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'io/channel-buffer.c')
0 files changed, 0 insertions, 0 deletions