pkgsrc-WIP-changes archive

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

coreclr-git: Add workaround for DAC_TABLE_RVA



Module Name:	pkgsrc-wip
Committed By:	jasonwilliams200ok <necmon%yahoo.com@localhost>
Pushed By:	danglingpointer
Date:		Tue Feb 9 14:20:14 2016 +0000
Changeset:	30d0ca988177d98e96fc472d92592c9e304ac1fb

Modified Files:
	coreclr-git/distinfo
Added Files:
	coreclr-git/patches/patch-src_debug_daccess_daccess.cpp

Log Message:
coreclr-git: Add workaround for DAC_TABLE_RVA

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=30d0ca988177d98e96fc472d92592c9e304ac1fb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 coreclr-git/distinfo                                    |  1 +
 coreclr-git/patches/patch-src_debug_daccess_daccess.cpp | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diffs:
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index d52170d..83b681c 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -1,6 +1,7 @@
 $NetBSD$
 
 SHA1 (patch-build.sh) = 18610c0707583e6501a01b2c25644cbc91786d3e
+SHA1 (patch-src_debug_daccess_daccess.cpp) = 7c154b6e049ac6a3280db3d5b5c91b0195cfa623
 SHA1 (patch-src_pal_inc_pal__char16.h) = ca743d8330802f1a626b1c335461c733eb2a6325
 SHA1 (patch-src_pal_tools_gen-buildsys-clang.sh) = 81e547b9024b498bc9a003037122c71da712d240
 SHA1 (patch-src_vm_amd64_externalmethodfixupthunk.S) = 5e84b369f30ea62e391e1f949d0d01e1995e5192
diff --git a/coreclr-git/patches/patch-src_debug_daccess_daccess.cpp b/coreclr-git/patches/patch-src_debug_daccess_daccess.cpp
new file mode 100644
index 0000000..b7b2927
--- /dev/null
+++ b/coreclr-git/patches/patch-src_debug_daccess_daccess.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/debug/daccess/daccess.cpp.orig	2016-02-09 14:14:20.000000000 +0000
++++ src/debug/daccess/daccess.cpp
+@@ -7223,7 +7223,7 @@ ClrDataAccess::GetDacGlobals()
+         return E_INVALIDARG;
+     }
+ #endif
+-#define DAC_TABLE_RVA 1
++#define  DAC_TABLE_RVA 1 
+     ULONG64 dacTableAddress = m_globalBase + DAC_TABLE_RVA;
+     if (FAILED(ReadFromDataTarget(m_pTarget, dacTableAddress, (BYTE*)&g_dacGlobals, sizeof(g_dacGlobals))))
+     {


Home | Main Index | Thread Index | Old Index