mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-13 09:09:20 +00:00
1a55d90320
Release notes: https://valgrind.org/docs/manual/dist.news.html The patch `130-fix_arm_arch_detection.patch` was added upstream in https://sourceware.org/git/?p=valgrind.git;a=commitdiff;h=5bdb86cc9a962f04f2dd3816b7d3a96288b09b72 Replace `010-mips-Fix-new-syscall-numbers.patch` with backport from upstream. Backport patch `020-no-member-guest_IP_AT_SYSCALL.patch` to fix a compile problem on MIPS. Small size increase: 1527884 bin/packages/mips_24kc-old/base/valgrind_3.22.0-r1_mips_24kc.ipk 3352210 bin/packages/mips_24kc-old/base/valgrind-cachegrind_3.22.0-r1_mips_24kc.ipk 3522982 bin/packages/mips_24kc-old/base/valgrind-callgrind_3.22.0-r1_mips_24kc.ipk 3573577 bin/packages/mips_24kc-old/base/valgrind-drd_3.22.0-r1_mips_24kc.ipk 3647835 bin/packages/mips_24kc-old/base/valgrind-helgrind_3.22.0-r1_mips_24kc.ipk 3383239 bin/packages/mips_24kc-old/base/valgrind-massif_3.22.0-r1_mips_24kc.ipk 22332 bin/packages/mips_24kc-old/base/valgrind-vgdb_3.22.0-r1_mips_24kc.ipk 1541969 bin/packages/mips_24kc-new/base/valgrind_3.23.0-r1_mips_24kc.ipk 3378595 bin/packages/mips_24kc-new/base/valgrind-cachegrind_3.23.0-r1_mips_24kc.ipk 3548415 bin/packages/mips_24kc-new/base/valgrind-callgrind_3.23.0-r1_mips_24kc.ipk 3592715 bin/packages/mips_24kc-new/base/valgrind-drd_3.23.0-r1_mips_24kc.ipk 3664706 bin/packages/mips_24kc-new/base/valgrind-helgrind_3.23.0-r1_mips_24kc.ipk 3411485 bin/packages/mips_24kc-new/base/valgrind-massif_3.23.0-r1_mips_24kc.ipk 22869 bin/packages/mips_24kc-new/base/valgrind-vgdb_3.23.0-r1_mips_24kc.ipk Link: https://github.com/openwrt/openwrt/pull/16584 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
62 lines
1.9 KiB
Diff
62 lines
1.9 KiB
Diff
From 7214886886bce9029f325214156c02dcfff760d5 Mon Sep 17 00:00:00 2001
|
|
From: Paul Floyd <pjfloyd@wanadoo.fr>
|
|
Date: Sat, 27 Apr 2024 13:07:07 +0200
|
|
Subject: 486180 - [Valgrind][MIPS] 'VexGuestArchState' has no member named
|
|
'guest_IP_AT_SYSCALL'
|
|
|
|
---
|
|
NEWS | 34 ++++++++++++++++++++++++++++++++++
|
|
VEX/priv/guest_mips_helpers.c | 4 ++++
|
|
VEX/pub/libvex_guest_mips32.h | 6 +++---
|
|
VEX/pub/libvex_guest_mips64.h | 2 ++
|
|
configure.ac | 6 +++---
|
|
5 files changed, 46 insertions(+), 6 deletions(-)
|
|
|
|
--- a/VEX/priv/guest_mips_helpers.c
|
|
+++ b/VEX/priv/guest_mips_helpers.c
|
|
@@ -187,6 +187,8 @@ void LibVEX_GuestMIPS32_initialise( /*OU
|
|
vex_state->guest_w1.w64[1] = 0;
|
|
vex_state->guest_w2.w64[0] = 0;
|
|
vex_state->guest_w2.w64[1] = 0;
|
|
+
|
|
+ vex_state->guest_IP_AT_SYSCALL = 0;
|
|
}
|
|
|
|
void LibVEX_GuestMIPS64_initialise ( /*OUT*/ VexGuestMIPS64State * vex_state )
|
|
@@ -294,6 +296,8 @@ void LibVEX_GuestMIPS64_initialise ( /*O
|
|
vex_state->guest_LLaddr = 0xFFFFFFFFFFFFFFFFULL;
|
|
vex_state->guest_LLdata = 0;
|
|
|
|
+ vex_state->guest_IP_AT_SYSCALL = 0;
|
|
+
|
|
vex_state->guest_MSACSR = 0;
|
|
}
|
|
|
|
--- a/VEX/pub/libvex_guest_mips32.h
|
|
+++ b/VEX/pub/libvex_guest_mips32.h
|
|
@@ -188,10 +188,10 @@ typedef
|
|
|
|
/* 1016 */ UInt guest_MSACSR;
|
|
|
|
- /* 1020 */ UInt _padding3;
|
|
+ /* 1020 */ UInt guest_IP_AT_SYSCALL;
|
|
|
|
- /* 1020 */ ULong guest_LLdata64;
|
|
- /* 1028 */ ULong _padding4;
|
|
+ /* 1024 */ ULong guest_LLdata64;
|
|
+ /* 1032 */ ULong _padding3;
|
|
} VexGuestMIPS32State;
|
|
/*---------------------------------------------------------------*/
|
|
/*--- Utility functions for MIPS32 guest stuff. ---*/
|
|
--- a/VEX/pub/libvex_guest_mips64.h
|
|
+++ b/VEX/pub/libvex_guest_mips64.h
|
|
@@ -184,6 +184,8 @@ typedef
|
|
/* 1144 */ UInt guest_MSACSR;
|
|
|
|
/* 1148 */ UInt _padding2;
|
|
+ /* 1152 */ ULong guest_IP_AT_SYSCALL;
|
|
+ /* 1160 */ ULong _padding3;
|
|
|
|
} VexGuestMIPS64State;
|
|
|