qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 6fa9ba: target/m68k: Switch fpu_rom from make


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 6fa9ba: target/m68k: Switch fpu_rom from make_floatx80() t...
Date: Mon, 11 Sep 2017 03:07:16 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 6fa9ba09dbf4eb8b52bcb47d6820957f1b77ee0b
      
https://github.com/qemu/qemu/commit/6fa9ba09dbf4eb8b52bcb47d6820957f1b77ee0b
  Author: Kamil Rytarowski <address@hidden>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M target/m68k/fpu_helper.c

  Log Message:
  -----------
  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 <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: a6e8c1dacfd37d34542e33600dcc50b7683b735a
      
https://github.com/qemu/qemu/commit/a6e8c1dacfd37d34542e33600dcc50b7683b735a
  Author: Peter Maydell <address@hidden>
  Date:   2017-09-11 (Mon, 11 Sep 2017)

  Changed paths:
    M target/m68k/fpu_helper.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/vivier/tags/m68k-for-2.11-pull-request' 
into staging

# gpg: Signature made Sun 10 Sep 2017 17:17:28 BST
# gpg:                using RSA key 0xF30C38BD3F2FBE3C
# gpg: Good signature from "Laurent Vivier <address@hidden>"
# gpg:                 aka "Laurent Vivier <address@hidden>"
# gpg:                 aka "Laurent Vivier (Red Hat) <address@hidden>"
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/vivier/tags/m68k-for-2.11-pull-request:
  target/m68k: Switch fpu_rom from make_floatx80() to make_floatx80_init()

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/fcea73709b96...a6e8c1dacfd3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]