summaryrefslogtreecommitdiff
path: root/user/valgrind/0001-Ensure-ELFv2-is-supported-on-PPC64.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-22 06:40:16 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-22 06:40:16 +0000
commitf9558def812134e8c40d4d71d5c1cb7f998a4c48 (patch)
tree6adafd85d2edffc388c5b1078faf2224e8d875ba /user/valgrind/0001-Ensure-ELFv2-is-supported-on-PPC64.patch
parent4acbd138dac4624add31178f0c68dcee5332ed38 (diff)
downloadpackages-f9558def812134e8c40d4d71d5c1cb7f998a4c48.tar.gz
packages-f9558def812134e8c40d4d71d5c1cb7f998a4c48.tar.bz2
packages-f9558def812134e8c40d4d71d5c1cb7f998a4c48.tar.xz
packages-f9558def812134e8c40d4d71d5c1cb7f998a4c48.zip
user/valgrind: Update to 3.16.0
Diffstat (limited to 'user/valgrind/0001-Ensure-ELFv2-is-supported-on-PPC64.patch')
-rw-r--r--user/valgrind/0001-Ensure-ELFv2-is-supported-on-PPC64.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/user/valgrind/0001-Ensure-ELFv2-is-supported-on-PPC64.patch b/user/valgrind/0001-Ensure-ELFv2-is-supported-on-PPC64.patch
index 5d7dbe29c..247657759 100644
--- a/user/valgrind/0001-Ensure-ELFv2-is-supported-on-PPC64.patch
+++ b/user/valgrind/0001-Ensure-ELFv2-is-supported-on-PPC64.patch
@@ -302,12 +302,13 @@ diff --git a/coregrind/m_machine.c b/coregrind/m_machine.c
index df842aa..de37070 100644
--- a/coregrind/m_machine.c
+++ b/coregrind/m_machine.c
-@@ -2073,7 +2073,8 @@ void* VG_(fnptr_to_fnentry)( void* f )
+@@ -2073,8 +2073,9 @@ void* VG_(fnptr_to_fnentry)( void* f )
|| defined(VGP_ppc32_linux) || defined(VGP_ppc64le_linux) \
|| defined(VGP_s390x_linux) || defined(VGP_mips32_linux) \
|| defined(VGP_mips64_linux) || defined(VGP_arm64_linux) \
-- || defined(VGP_x86_solaris) || defined(VGP_amd64_solaris)
-+ || defined(VGP_x86_solaris) || defined(VGP_amd64_solaris) \
+ || defined(VGP_x86_solaris) || defined(VGP_amd64_solaris) \
+- || defined(VGP_nanomips_linux)
++ || defined(VGP_nanomips_linux) \
+ || (defined(VGP_ppc64be_linux) && !defined(VG_PLAT_USES_PPCTOC))
return f;
# elif defined(VGP_ppc64be_linux)