qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] e06335: target-moxie: Fix pointer-to-integer


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] e06335: target-moxie: Fix pointer-to-integer conversion (M...
Date: Sat, 30 Mar 2013 12:00:10 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: e06335b9515f0508f33846e58b2028dfa4fc9983
      
https://github.com/qemu/qemu/commit/e06335b9515f0508f33846e58b2028dfa4fc9983
  Author: Stefan Weil <address@hidden>
  Date:   2013-03-30 (Sat, 30 Mar 2013)

  Changed paths:
    M target-moxie/translate.c

  Log Message:
  -----------
  target-moxie: Fix pointer-to-integer conversion (MinGW-w64)

The type cast must use tcg_target_long instead of long.
This makes a difference for hosts where sizeof(long) != sizeof(void *).

Cc: Anthony Green <address@hidden>
Cc: Blue Swirl <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Anthony Green <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 5e3a0f418c4d57399778cee0b55aebfb663b6425
      
https://github.com/qemu/qemu/commit/5e3a0f418c4d57399778cee0b55aebfb663b6425
  Author: Stefan Weil <address@hidden>
  Date:   2013-03-30 (Sat, 30 Mar 2013)

  Changed paths:
    M configure

  Log Message:
  -----------
  w32: Fix build with older gcc (unresolved symbol)

The cross i586-mingw32msvc-gcc 4.4.4 from Debian Squeeze does not support
__sync_val_compare_and_swap by default.

Using -march=i686 fixes that and should also result in better code.

Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


Compare: https://github.com/qemu/qemu/compare/c9721215126a...5e3a0f418c4d

reply via email to

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