qemu/target
Kohei Tokunaga c4eb098bc1 target/s390x: Fix type conflict of GLib function pointers
On Emscripten, function pointer casts can result in runtime failures due to
strict function signature checks. This affects the use of g_list_sort and
g_slist_sort, which internally perform function pointer casts that are not
supported by Emscripten. To avoid these issues, g_list_sort_with_data and
g_slist_sort_with_data should be used instead, as they do not rely on
function pointer casting.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/e91c4e266b839f62b5c41173a05896b210ae1180.1745820062.git.ktokunaga.mail@gmail.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-05-06 16:02:04 +02:00
..
alpha qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
arm target/arm/helper.c: Fix type conflict of GLib function pointers 2025-05-06 16:02:04 +02:00
avr qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
hexagon target/hexagon: Include missing 'accel/tcg/getpc.h' 2025-04-25 17:09:58 +02:00
hppa target/hppa: Use tcg_gen_addcio_i64 2025-04-28 13:40:17 -07:00
i386 target/i386/cpu.c: Fix type conflict of GLib function pointers 2025-05-06 16:02:04 +02:00
loongarch qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
m68k qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
microblaze target/microblaze: Use tcg_gen_addcio_i32 2025-04-28 13:40:17 -07:00
mips target/mips: Check CPU endianness at runtime using env_is_bigendian() 2025-04-25 17:09:58 +02:00
openrisc target/openrisc: Use tcg_gen_addcio_* for ADDC 2025-04-28 13:40:17 -07:00
ppc target/ppc: Fix type conflict of GLib function pointers 2025-05-06 16:02:04 +02:00
riscv qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
rx qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
s390x target/s390x: Fix type conflict of GLib function pointers 2025-05-06 16:02:04 +02:00
sh4 target/sh4: Use tcg_gen_addcio_i32 for addc 2025-04-28 13:40:17 -07:00
sparc target/sparc: Use tcg_gen_addcio_tl for gen_op_addcc_int 2025-04-28 13:40:17 -07:00
tricore target/tricore: Use tcg_gen_addcio_i32 for gen_addc_CC 2025-04-28 13:40:17 -07:00
xtensa target/xtensa: Evaluate TARGET_BIG_ENDIAN at compile time 2025-04-25 17:09:58 +02:00
Kconfig target/cris: Remove the deprecated CRIS target 2024-09-13 20:11:13 +02:00
meson.build target/cris: Remove the deprecated CRIS target 2024-09-13 20:11:13 +02:00