fixes
-----BEGIN PGP SIGNATURE----- iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmfYLB4UHHBib256aW5p QHJlZGhhdC5jb20ACgkQv/vSX3jHroNp4Qf/U6yNnZ1I7yVwg7718TJBgOn3wyhI 9wNGF6nPCqEOimZU+nzHXcdp7p+zvNCOdQdscZ2Sw+Ps3Sb6bCJ8wJFOxQdozq+W QBH0s0/ni393XsZ7GoqgUBCh+SiaEVR+0oX8eGgxthnxFZ2IZG8qOl7kBw8ZPx3y kMq08JF3jbotNMj0gK1MEK7SMM7aGp7z5vxnEIoo6qqfxVeACDmPMfyObxEVsCLx GHu0mUfwoVSy1Azld81Q/fLgVqsuGulXqbfUvjw9a9yDdcB8p6ZlqsZyz1m7mqOO 7eBzaJB4EiVPbfJb+Ybd4cmiUMM31RlXmI2vXMKTsgkoKUUnqFtyWbxMcg== =dMFm -----END PGP SIGNATURE----- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging fixes # -----BEGIN PGP SIGNATURE----- # # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmfYLB4UHHBib256aW5p # QHJlZGhhdC5jb20ACgkQv/vSX3jHroNp4Qf/U6yNnZ1I7yVwg7718TJBgOn3wyhI # 9wNGF6nPCqEOimZU+nzHXcdp7p+zvNCOdQdscZ2Sw+Ps3Sb6bCJ8wJFOxQdozq+W # QBH0s0/ni393XsZ7GoqgUBCh+SiaEVR+0oX8eGgxthnxFZ2IZG8qOl7kBw8ZPx3y # kMq08JF3jbotNMj0gK1MEK7SMM7aGp7z5vxnEIoo6qqfxVeACDmPMfyObxEVsCLx # GHu0mUfwoVSy1Azld81Q/fLgVqsuGulXqbfUvjw9a9yDdcB8p6ZlqsZyz1m7mqOO # 7eBzaJB4EiVPbfJb+Ybd4cmiUMM31RlXmI2vXMKTsgkoKUUnqFtyWbxMcg== # =dMFm # -----END PGP SIGNATURE----- # gpg: Signature made Mon 17 Mar 2025 10:05:18 EDT # gpg: using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg: issuer "pbonzini@redhat.com" # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full] # gpg: aka "Paolo Bonzini <pbonzini@redhat.com>" [full] # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * tag 'for-upstream' of https://gitlab.com/bonzini/qemu: Revert "meson.build: default to -gsplit-dwarf for debug info" hw/misc: use extract64 instead of 1 << i Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
commit
fae3f5df75
@ -198,7 +198,7 @@ static void mps2_fpgaio_write(void *opaque, hwaddr offset, uint64_t value,
|
|||||||
|
|
||||||
s->led0 = value & MAKE_64BIT_MASK(0, s->num_leds);
|
s->led0 = value & MAKE_64BIT_MASK(0, s->num_leds);
|
||||||
for (i = 0; i < s->num_leds; i++) {
|
for (i = 0; i < s->num_leds; i++) {
|
||||||
led_set_state(s->led[i], value & (1 << i));
|
led_set_state(s->led[i], extract64(value, i, 1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -604,10 +604,6 @@ if get_option('tsan')
|
|||||||
qemu_ldflags = ['-fsanitize=thread'] + qemu_ldflags
|
qemu_ldflags = ['-fsanitize=thread'] + qemu_ldflags
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('debug') and get_option('split_debug')
|
|
||||||
qemu_cflags += '-gsplit-dwarf'
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Detect support for PT_GNU_RELRO + DT_BIND_NOW.
|
# Detect support for PT_GNU_RELRO + DT_BIND_NOW.
|
||||||
# The combination is known as "full relro", because .got.plt is read-only too.
|
# The combination is known as "full relro", because .got.plt is read-only too.
|
||||||
qemu_ldflags += cc.get_supported_link_arguments('-Wl,-z,relro', '-Wl,-z,now')
|
qemu_ldflags += cc.get_supported_link_arguments('-Wl,-z,relro', '-Wl,-z,now')
|
||||||
@ -4599,8 +4595,6 @@ if have_rust
|
|||||||
summary_info += {'bindgen': bindgen.full_path()}
|
summary_info += {'bindgen': bindgen.full_path()}
|
||||||
summary_info += {'bindgen version': bindgen.version()}
|
summary_info += {'bindgen version': bindgen.version()}
|
||||||
endif
|
endif
|
||||||
# option_cflags is purely for the summary display, meson will pass
|
|
||||||
# -g/-O options directly
|
|
||||||
option_cflags = (get_option('debug') ? ['-g'] : [])
|
option_cflags = (get_option('debug') ? ['-g'] : [])
|
||||||
if get_option('optimization') != 'plain'
|
if get_option('optimization') != 'plain'
|
||||||
option_cflags += ['-O' + get_option('optimization')]
|
option_cflags += ['-O' + get_option('optimization')]
|
||||||
|
@ -362,8 +362,6 @@ option('debug_mutex', type: 'boolean', value: false,
|
|||||||
description: 'mutex debugging support')
|
description: 'mutex debugging support')
|
||||||
option('debug_stack_usage', type: 'boolean', value: false,
|
option('debug_stack_usage', type: 'boolean', value: false,
|
||||||
description: 'measure coroutine stack usage')
|
description: 'measure coroutine stack usage')
|
||||||
option('split_debug', type: 'boolean', value: true,
|
|
||||||
description: 'split debug info from object files')
|
|
||||||
option('qom_cast_debug', type: 'boolean', value: true,
|
option('qom_cast_debug', type: 'boolean', value: true,
|
||||||
description: 'cast debugging support')
|
description: 'cast debugging support')
|
||||||
option('slirp_smbd', type : 'feature', value : 'auto',
|
option('slirp_smbd', type : 'feature', value : 'auto',
|
||||||
|
@ -504,8 +504,6 @@ _meson_option_parse() {
|
|||||||
--disable-strict-rust-lints) printf "%s" -Dstrict_rust_lints=false ;;
|
--disable-strict-rust-lints) printf "%s" -Dstrict_rust_lints=false ;;
|
||||||
--enable-strip) printf "%s" -Dstrip=true ;;
|
--enable-strip) printf "%s" -Dstrip=true ;;
|
||||||
--disable-strip) printf "%s" -Dstrip=false ;;
|
--disable-strip) printf "%s" -Dstrip=false ;;
|
||||||
--enable-split-debug) printf "%s" -Dsplit_debug=true ;;
|
|
||||||
--disable-split-debug) printf "%s" -Dsplit_debug=false ;;
|
|
||||||
--sysconfdir=*) quote_sh "-Dsysconfdir=$2" ;;
|
--sysconfdir=*) quote_sh "-Dsysconfdir=$2" ;;
|
||||||
--enable-tcg) printf "%s" -Dtcg=enabled ;;
|
--enable-tcg) printf "%s" -Dtcg=enabled ;;
|
||||||
--disable-tcg) printf "%s" -Dtcg=disabled ;;
|
--disable-tcg) printf "%s" -Dtcg=disabled ;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user