Date: Thursday, November 9, 2017 @ 22:49:59
  Author: anthraxx
Revision: 309366

archrelease: copy trunk to testing-x86_64

Added:
  mono/repos/testing-x86_64/PKGBUILD
    (from rev 309365, mono/trunk/PKGBUILD)
  mono/repos/testing-x86_64/mono.binfmt.d
    (from rev 309365, mono/trunk/mono.binfmt.d)
  mono/repos/testing-x86_64/mono.install
    (from rev 309365, mono/trunk/mono.install)
Deleted:
  mono/repos/testing-x86_64/Microsoft.Portable.Common.targets
  mono/repos/testing-x86_64/PKGBUILD
  mono/repos/testing-x86_64/bug434892.patch
  mono/repos/testing-x86_64/build_fix.patch
  mono/repos/testing-x86_64/fix-zlib-helper.patch
  mono/repos/testing-x86_64/mono.binfmt.d
  mono/repos/testing-x86_64/mono.install
  mono/repos/testing-x86_64/mono_context.patch
  mono/repos/testing-x86_64/sgen_fix.patch
  mono/repos/testing-x86_64/tls_fix.patch

-----------------------------------+
 Microsoft.Portable.Common.targets |    4 
 PKGBUILD                          |  220 +++++++++++++++++-------------------
 bug434892.patch                   |   11 -
 build_fix.patch                   |   25 ----
 fix-zlib-helper.patch             |   26 ----
 mono.binfmt.d                     |    2 
 mono.install                      |   14 +-
 mono_context.patch                |   54 --------
 sgen_fix.patch                    |  112 ------------------
 tls_fix.patch                     |   91 --------------
 10 files changed, 117 insertions(+), 442 deletions(-)

Deleted: Microsoft.Portable.Common.targets
===================================================================
--- Microsoft.Portable.Common.targets   2017-11-09 22:49:50 UTC (rev 309365)
+++ Microsoft.Portable.Common.targets   2017-11-09 22:49:59 UTC (rev 309366)
@@ -1,4 +0,0 @@
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
-       <Import Project="..\Microsoft.Portable.Core.props" />
-       <Import Project="..\Microsoft.Portable.Core.targets" />
-</Project>

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2017-11-09 22:49:50 UTC (rev 309365)
+++ PKGBUILD    2017-11-09 22:49:59 UTC (rev 309366)
@@ -1,111 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Giancarlo Razzolinit <[email protected]>
-# Contributor: Daniel Isenmann <[email protected]>
-# Contributor: Brice Carpentier <[email protected]>
-
-pkgname=mono
-_gitcommit=e66d9abbb271c3d08589c09afce4afc80de2d3b6
-pkgver=5.4.1.7
-pkgrel=1
-pkgdesc='Free implementation of the .NET platform including runtime and 
compiler'
-url='http://www.mono-project.com/'
-arch=('x86_64')
-license=('GPL' 'LGPL2.1' 'MPL')
-depends=('zlib' 'libgdiplus>=4.2' 'sh' 'python' 'ca-certificates')
-makedepends=('cmake' 'git')
-provides=('monodoc')
-conflicts=('monodoc')
-install=mono.install
-source=(${pkgname}::"git+https://github.com/mono/mono#commit=${_gitcommit}";
-        git+https://github.com/mono/aspnetwebstack
-        git+https://github.com/mono/Newtonsoft.Json
-        git+https://github.com/mono/cecil
-        git+https://github.com/mono/rx
-        git+https://github.com/mono/ikvm-fork
-        git+https://github.com/mono/ikdasm
-        git+https://github.com/mono/reference-assemblies
-        git+https://github.com/mono/NUnitLite
-        git+https://github.com/mono/NuGet.BuildTasks
-        git+https://github.com/mono/boringssl
-        git+https://github.com/mono/corefx
-        git+https://github.com/mono/bockbuild
-        git+https://github.com/mono/linker
-        git+https://github.com/mono/roslyn-binaries
-        git+https://github.com/mono/corert
-        git+https://github.com/mono/xunit-binaries
-        git+https://github.com/mono/api-doc-tools
-        git+https://github.com/mono/api-snapshot
-        mono.binfmt.d
-        mono_context.patch)
-sha256sums=('SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            '9a657fc153ef4ce23bf5fc369a26bf4a124e9304bde3744d04c583c54ca47425'
-            '9028f9c84bc035fb452712e92dbc62195fae1e8c5985c5ce45e75bc5e046f642')
-
-pkgver() {
-  cd ${pkgname}
-  git describe --always --tags | sed 's/^v//;s/^mono-//;s/-/./g'
-}
-
-prepare() {
-  cd ${pkgname}
-  git submodule init
-  git config submodule."external/aspnetwebstack".url "${srcdir}/aspnetwebstack"
-  git config submodule."external/Newtonsoft.Json".url 
"${srcdir}/Newtonsoft.Json"
-  git config submodule."external/cecil".url "${srcdir}/cecil"
-  git config submodule."external/rx".url "${srcdir}/rx"
-  git config submodule."external/ikvm".url "${srcdir}/ikvm-fork"
-  git config submodule."external/ikdasm".url "${srcdir}/ikdasm"
-  git config submodule."external/reference-assemblies".url 
"${srcdir}/reference-assemblies"
-  git config submodule."external/nunit-lite".url "${srcdir}/NUnitLite"
-  git config submodule."external/nuget-buildtasks".url 
"${srcdir}/NuGet.BuildTasks"
-  git config submodule."external/cecil-legacy".url "${srcdir}/cecil"
-  git config submodule."external/boringssl".url "${srcdir}/boringssl"
-  git config submodule."external/corefx".url "${srcdir}/corefx"
-  git config submodule."external/bockbuild".url "${srcdir}/bockbuild"
-  git config submodule."external/linker".url "${srcdir}/linker"
-  git config submodule."external/roslyn-binaries".url 
"${srcdir}/roslyn-binaries"
-  git config submodule."external/corert".url "${srcdir}/corert"
-  git config submodule."external/xunit-binaries".url "${srcdir}/xunit-binaries"
-  git config submodule."external/api-doc-tools".url "${srcdir}/api-doc-tools"
-  git config submodule."external/api-snapshot".url "${srcdir}/api-snapshot"
-  git submodule update --recursive
-}
-
-build() {
-  cd ${pkgname}
-  ./autogen.sh \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --bindir=/usr/bin \
-    --sbindir=/usr/bin \
-    --with-mcs-docs=no
-  make
-  make -C mcs/jay
-}
-
-package() {
-  cd ${pkgname}
-  make DESTDIR="${pkgdir}" install
-  make -C mcs/jay DESTDIR="${pkgdir}" prefix=/usr INSTALL=../../install-sh 
install
-  install -Dm 644 "${srcdir}/mono.binfmt.d" 
"${pkgdir}/usr/lib/binfmt.d/mono.conf"
-}
-
-# vim: ts=2 sw=2 et:

Copied: mono/repos/testing-x86_64/PKGBUILD (from rev 309365, 
mono/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2017-11-09 22:49:59 UTC (rev 309366)
@@ -0,0 +1,109 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Giancarlo Razzolinit <[email protected]>
+# Contributor: Daniel Isenmann <[email protected]>
+# Contributor: Brice Carpentier <[email protected]>
+
+pkgname=mono
+_gitcommit=e66d9abbb271c3d08589c09afce4afc80de2d3b6
+pkgver=5.4.1.7
+pkgrel=2
+pkgdesc='Free implementation of the .NET platform including runtime and 
compiler'
+url='http://www.mono-project.com/'
+arch=('x86_64')
+license=('GPL' 'LGPL2.1' 'MPL')
+depends=('zlib' 'libgdiplus>=4.2' 'sh' 'python' 'ca-certificates')
+makedepends=('cmake' 'git')
+provides=('monodoc')
+conflicts=('monodoc')
+install=mono.install
+source=(${pkgname}::"git+https://github.com/mono/mono#commit=${_gitcommit}";
+        git+https://github.com/mono/aspnetwebstack
+        git+https://github.com/mono/Newtonsoft.Json
+        git+https://github.com/mono/cecil
+        git+https://github.com/mono/rx
+        git+https://github.com/mono/ikvm-fork
+        git+https://github.com/mono/ikdasm
+        git+https://github.com/mono/reference-assemblies
+        git+https://github.com/mono/NUnitLite
+        git+https://github.com/mono/NuGet.BuildTasks
+        git+https://github.com/mono/boringssl
+        git+https://github.com/mono/corefx
+        git+https://github.com/mono/bockbuild
+        git+https://github.com/mono/linker
+        git+https://github.com/mono/roslyn-binaries
+        git+https://github.com/mono/corert
+        git+https://github.com/mono/xunit-binaries
+        git+https://github.com/mono/api-doc-tools
+        git+https://github.com/mono/api-snapshot
+        mono.binfmt.d)
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            '9a657fc153ef4ce23bf5fc369a26bf4a124e9304bde3744d04c583c54ca47425')
+
+pkgver() {
+  cd ${pkgname}
+  git describe --always --tags | sed 's/^v//;s/^mono-//;s/-/./g'
+}
+
+prepare() {
+  cd ${pkgname}
+  git submodule init
+  git config submodule."external/aspnetwebstack".url "${srcdir}/aspnetwebstack"
+  git config submodule."external/Newtonsoft.Json".url 
"${srcdir}/Newtonsoft.Json"
+  git config submodule."external/cecil".url "${srcdir}/cecil"
+  git config submodule."external/rx".url "${srcdir}/rx"
+  git config submodule."external/ikvm".url "${srcdir}/ikvm-fork"
+  git config submodule."external/ikdasm".url "${srcdir}/ikdasm"
+  git config submodule."external/reference-assemblies".url 
"${srcdir}/reference-assemblies"
+  git config submodule."external/nunit-lite".url "${srcdir}/NUnitLite"
+  git config submodule."external/nuget-buildtasks".url 
"${srcdir}/NuGet.BuildTasks"
+  git config submodule."external/cecil-legacy".url "${srcdir}/cecil"
+  git config submodule."external/boringssl".url "${srcdir}/boringssl"
+  git config submodule."external/corefx".url "${srcdir}/corefx"
+  git config submodule."external/bockbuild".url "${srcdir}/bockbuild"
+  git config submodule."external/linker".url "${srcdir}/linker"
+  git config submodule."external/roslyn-binaries".url 
"${srcdir}/roslyn-binaries"
+  git config submodule."external/corert".url "${srcdir}/corert"
+  git config submodule."external/xunit-binaries".url "${srcdir}/xunit-binaries"
+  git config submodule."external/api-doc-tools".url "${srcdir}/api-doc-tools"
+  git config submodule."external/api-snapshot".url "${srcdir}/api-snapshot"
+  git submodule update --recursive
+}
+
+build() {
+  cd ${pkgname}
+  ./autogen.sh \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --bindir=/usr/bin \
+    --sbindir=/usr/bin \
+    --with-mcs-docs=no
+  make
+  make -C mcs/jay
+}
+
+package() {
+  cd ${pkgname}
+  make DESTDIR="${pkgdir}" install
+  make -C mcs/jay DESTDIR="${pkgdir}" prefix=/usr INSTALL=../../install-sh 
install
+  install -Dm 644 "${srcdir}/mono.binfmt.d" 
"${pkgdir}/usr/lib/binfmt.d/mono.conf"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: bug434892.patch
===================================================================
--- bug434892.patch     2017-11-09 22:49:50 UTC (rev 309365)
+++ bug434892.patch     2017-11-09 22:49:59 UTC (rev 309366)
@@ -1,11 +0,0 @@
---- 
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs
 2008/07/01 20:17:46     107006
-+++ 
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs
 2008/10/28 09:32:46     117243
-@@ -177,7 +177,7 @@
-                               foreach (OperationMessage om in op.Messages) {
-                                       Message msg = ctx.Services.GetMessage 
(om.Message);
-                                       foreach (MessagePart part in msg.Parts)
--                                              parts.Add (part,part);
-+                                              parts [part] = part; // do not 
use Add() - there could be the same MessagePart instance.
-                               }
-                       }
-                       

Deleted: build_fix.patch
===================================================================
--- build_fix.patch     2017-11-09 22:49:50 UTC (rev 309365)
+++ build_fix.patch     2017-11-09 22:49:59 UTC (rev 309366)
@@ -1,25 +0,0 @@
-From c68c72144d7b2a0516276137855d4508a3f59a17 Mon Sep 17 00:00:00 2001
-From: Michael Hutchinson <[email protected]>
-Date: Tue, 1 Apr 2014 17:21:51 -0400
-Subject: [PATCH] [xbuild] Include PCL common targets in tarball
-
-BXC18690 - Microsoft.Portable.Common.targets is missing in mono 3.4.0 tarball
----
- mcs/tools/xbuild/Makefile | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/mcs/tools/xbuild/Makefile b/mcs/tools/xbuild/Makefile
-index c3a5d6a..31d5329 100644
---- a/mcs/tools/xbuild/Makefile
-+++ b/mcs/tools/xbuild/Makefile
-@@ -93,6 +93,7 @@ EXTRA_DISTFILES = \
-       frameworks/net_4.5.xml \
-       targets/Microsoft.Portable.CSharp_4.0.targets \
-       targets/Microsoft.Portable.CSharp_4.5.targets \
-+      targets/Microsoft.Portable.Common.targets \
-       targets/Microsoft.Portable.Core.targets \
-       targets/Microsoft.Portable.Core.props \
-       targets/Microsoft.WebApplication.targets \
--- 
-1.9.3
-

Deleted: fix-zlib-helper.patch
===================================================================
--- fix-zlib-helper.patch       2017-11-09 22:49:50 UTC (rev 309365)
+++ fix-zlib-helper.patch       2017-11-09 22:49:59 UTC (rev 309366)
@@ -1,26 +0,0 @@
-@@ -, +, @@ 
----
- support/zlib-helper.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
---- a/support/zlib-helper.c    
-+++ a/support/zlib-helper.c    
-@@ -90,6 +90,8 @@ CreateZStream (gint compress, guchar gzip, read_write_func 
func, void *gchandle)
-       result->gchandle = gchandle;
-       result->compress = compress;
-       result->buffer = g_new (guchar, BUFFER_SIZE);
-+      result->stream->next_out = result->buffer;
-+      result->stream->avail_out = BUFFER_SIZE;
-       return result;
- }
- 
-@@ -148,7 +150,7 @@ flush_internal (ZStream *stream, gboolean is_final)
-       if (!stream->compress)
-               return 0;
- 
--      if (!is_final) {
-+      if (!is_final && stream->stream->avail_in != 0) {
-               status = deflate (stream->stream, Z_PARTIAL_FLUSH);
-               if (status != Z_OK && status != Z_STREAM_END)
-                       return status;
--- 
-

Deleted: mono.binfmt.d
===================================================================
--- mono.binfmt.d       2017-11-09 22:49:50 UTC (rev 309365)
+++ mono.binfmt.d       2017-11-09 22:49:59 UTC (rev 309366)
@@ -1 +0,0 @@
-:CLR:M::MZ::/usr/bin/mono:

Copied: mono/repos/testing-x86_64/mono.binfmt.d (from rev 309365, 
mono/trunk/mono.binfmt.d)
===================================================================
--- mono.binfmt.d                               (rev 0)
+++ mono.binfmt.d       2017-11-09 22:49:59 UTC (rev 309366)
@@ -0,0 +1 @@
+:CLR:M::MZ::/usr/bin/mono:

Deleted: mono.install
===================================================================
--- mono.install        2017-11-09 22:49:50 UTC (rev 309365)
+++ mono.install        2017-11-09 22:49:59 UTC (rev 309366)
@@ -1,7 +0,0 @@
-post_install() {
-    post_upgrade
-}
-
-post_upgrade() {
-    cert-sync /etc/ssl/certs/ca-certificates.crt
-}

Copied: mono/repos/testing-x86_64/mono.install (from rev 309365, 
mono/trunk/mono.install)
===================================================================
--- mono.install                                (rev 0)
+++ mono.install        2017-11-09 22:49:59 UTC (rev 309366)
@@ -0,0 +1,7 @@
+post_install() {
+    post_upgrade
+}
+
+post_upgrade() {
+    cert-sync /etc/ssl/certs/ca-certificates.crt
+}

Deleted: mono_context.patch
===================================================================
--- mono_context.patch  2017-11-09 22:49:50 UTC (rev 309365)
+++ mono_context.patch  2017-11-09 22:49:59 UTC (rev 309366)
@@ -1,54 +0,0 @@
-From 23e34d77f2fd23ab5d61f6ba4aa905817f57668a Mon Sep 17 00:00:00 2001
-From: Rodrigo Kumpera <[email protected]>
-Date: Tue, 22 Sep 2015 15:37:07 -0400
-Subject: [PATCH] [utils] Fix amd64 version of MONO_CONTEXT_GET_CURRENT.
-
-Registers must be saved in MonoContext in the same order as 
mono_sigctx_to_monoctx.
-
-This caused crashes on linux when unified suspend was enabled.
----
- mono/utils/mono-context.h | 21 +++++++++++----------
- 1 file changed, 11 insertions(+), 10 deletions(-)
-
-diff --git a/mono/utils/mono-context.h b/mono/utils/mono-context.h
-index a2a0b7e..dc53e85 100644
---- a/mono/utils/mono-context.h
-+++ b/mono/utils/mono-context.h
-@@ -183,11 +183,11 @@ extern void mono_context_get_current (void *);
- #define MONO_CONTEXT_GET_CURRENT(ctx) \
-       __asm__ __volatile__(   \
-               "movq $0x0,  %%nacl:0x00(%%r15, %0, 1)\n"       \
--              "movq %%rbx, %%nacl:0x08(%%r15, %0, 1)\n"       \
--              "movq %%rcx, %%nacl:0x10(%%r15, %0, 1)\n"       \
--              "movq %%rdx, %%nacl:0x18(%%r15, %0, 1)\n"       \
--              "movq %%rbp, %%nacl:0x20(%%r15, %0, 1)\n"       \
--              "movq %%rsp, %%nacl:0x28(%%r15, %0, 1)\n"       \
-+              "movq %%rcx, %%nacl:0x08(%%r15, %0, 1)\n"       \
-+              "movq %%rdx, %%nacl:0x10(%%r15, %0, 1)\n"       \
-+              "movq %%rbx, %%nacl:0x18(%%r15, %0, 1)\n"       \
-+              "movq %%rsp, %%nacl:0x20(%%r15, %0, 1)\n"       \
-+              "movq %%rbp, %%nacl:0x28(%%r15, %0, 1)\n"       \
-               "movq %%rsi, %%nacl:0x30(%%r15, %0, 1)\n"       \
-               "movq %%rdi, %%nacl:0x38(%%r15, %0, 1)\n"       \
-               "movq %%r8,  %%nacl:0x40(%%r15, %0, 1)\n"       \
-@@ -204,14 +204,15 @@ extern void mono_context_get_current (void *);
-               : "a" ((int64_t)&(ctx)) \
-               : "rdx", "memory")
- #else
-+
- #define MONO_CONTEXT_GET_CURRENT(ctx) \
-       __asm__ __volatile__(   \
-               "movq $0x0,  0x00(%0)\n"        \
--              "movq %%rbx, 0x08(%0)\n"        \
--              "movq %%rcx, 0x10(%0)\n"        \
--              "movq %%rdx, 0x18(%0)\n"        \
--              "movq %%rbp, 0x20(%0)\n"        \
--              "movq %%rsp, 0x28(%0)\n"        \
-+              "movq %%rcx, 0x08(%0)\n"        \
-+              "movq %%rdx, 0x10(%0)\n"        \
-+              "movq %%rbx, 0x18(%0)\n"        \
-+              "movq %%rsp, 0x20(%0)\n"        \
-+              "movq %%rbp, 0x28(%0)\n"        \
-               "movq %%rsi, 0x30(%0)\n"        \
-               "movq %%rdi, 0x38(%0)\n"        \
-               "movq %%r8,  0x40(%0)\n"        \

Deleted: sgen_fix.patch
===================================================================
--- sgen_fix.patch      2017-11-09 22:49:50 UTC (rev 309365)
+++ sgen_fix.patch      2017-11-09 22:49:59 UTC (rev 309366)
@@ -1,112 +0,0 @@
-From d2cc22580898df5d4a15e0f99ab513e1570a6082 Mon Sep 17 00:00:00 2001
-From: Zoltan Varga <[email protected]>
-Date: Fri, 20 Sep 2013 19:06:34 +0200
-Subject: [PATCH] [sgen] Use __builtin_ctzl () in OBJ_BITMAP_FOREACH_PTR () on
- 64 bit platforms. Fixes #14834.
-
----
- mono/metadata/sgen-descriptor.h | 28 +++++++++++++++++++++++++---
- mono/tests/sgen-descriptors.cs  | 15 +++++++++++++--
- 2 files changed, 38 insertions(+), 5 deletions(-)
-
-diff --git a/mono/metadata/sgen-descriptor.h b/mono/metadata/sgen-descriptor.h
-index cd53a86..3a00589 100644
---- a/mono/metadata/sgen-descriptor.h
-+++ b/mono/metadata/sgen-descriptor.h
-@@ -170,21 +170,43 @@ enum {
-               }       \
-       } while (0)
- 
--#ifdef __GNUC__
-+#if defined(__GNUC__) && SIZEOF_VOID_P==4
-+#define OBJ_BITMAP_FOREACH_PTR(desc,obj)       do {    \
-+              /* there are pointers */        \
-+              void **_objptr = (void**)(obj); \
-+              gsize _bmap = (desc) >> 16;     \
-+              _objptr += OBJECT_HEADER_WORDS; \
-+              { \
-+                      int _index = __builtin_ctz (_bmap);             \
-+                      _objptr += _index; \
-+                      _bmap >>= (_index + 1);                         \
-+                      HANDLE_PTR (_objptr, (obj));            \
-+                      _objptr ++;                                             
        \
-+                      } \
-+              while (_bmap) { \
-+                      int _index = __builtin_ctz (_bmap);             \
-+                      _objptr += _index; \
-+                      _bmap >>= (_index + 1);                         \
-+                      HANDLE_PTR (_objptr, (obj));            \
-+                      _objptr ++;                                             
        \
-+              }                                                               
                \
-+      } while (0)
-+#elif defined(__GNUC__) && SIZEOF_VOID_P==8
-+/* Same as above, but use _builtin_ctzl () */
- #define OBJ_BITMAP_FOREACH_PTR(desc,obj)       do {    \
-               /* there are pointers */        \
-               void **_objptr = (void**)(obj); \
-               gsize _bmap = (desc) >> 16;     \
-               _objptr += OBJECT_HEADER_WORDS; \
-               { \
--                      int _index = __builtin_ctz (_bmap); \
-+                      int _index = __builtin_ctzl (_bmap);            \
-                       _objptr += _index; \
-                       _bmap >>= (_index + 1);                         \
-                       HANDLE_PTR (_objptr, (obj));            \
-                       _objptr ++;                                             
        \
-                       } \
-               while (_bmap) { \
--                      int _index = __builtin_ctz (_bmap); \
-+                      int _index = __builtin_ctzl (_bmap);            \
-                       _objptr += _index; \
-                       _bmap >>= (_index + 1);                         \
-                       HANDLE_PTR (_objptr, (obj));            \
-diff --git a/mono/tests/sgen-descriptors.cs b/mono/tests/sgen-descriptors.cs
-index ae00084..246e5aa 100644
---- a/mono/tests/sgen-descriptors.cs
-+++ b/mono/tests/sgen-descriptors.cs
-@@ -1,4 +1,5 @@
- using System;
-+using System.Runtime.InteropServices;
- 
- public struct SmallMixed
- {
-@@ -47,6 +48,13 @@ public class HugePtrFree {
-       public LargeStruct2 c;
- }
- 
-+[StructLayout (LayoutKind.Sequential)]
-+public class Non32bitBitmap {
-+      public object o;
-+      public long i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, 
i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26, i27, i28, i29, 
i30, i31, i32, i33, i34, i35;
-+      public object o2;
-+}
-+
- /*
- This is a stress test for descriptors.
- */
-@@ -54,10 +62,10 @@ class Driver {
-       static char[] FOO = new char[] { 'f', 'o', 'b' };
- 
-       static void Fill (int cycles) {
--              object[] root = new object [12];
-+              object[] root = new object [13];
-               object[] current = root;
-               for (int i = 0; i < cycles; ++i) {
--                      current [0] = new object [12];
-+                      current [0] = new object [13];
-                       current [1] = new int [6];
-                       current [2] = new int [2,3];
-                       current [3] = new string (FOO);
-@@ -72,6 +80,9 @@ class Driver {
-                               current [10] = new HugePtrFree ();
-                       if ((i %  10000) == 0)
-                               current [11] = new LargeStruct2 [1];
-+
-+                      /* Test for 64 bit bitmap descriptors (#14834) */
-+                      current [12] = new Non32bitBitmap () { o = new object 
(), i32 = 1, i33 = 1, i34 = 1, i35 = 1, o2 = new object () };
-       
-                       current = (object[])current [0];
-               }
--- 
-1.8.4
-

Deleted: tls_fix.patch
===================================================================
--- tls_fix.patch       2017-11-09 22:49:50 UTC (rev 309365)
+++ tls_fix.patch       2017-11-09 22:49:59 UTC (rev 309366)
@@ -1,91 +0,0 @@
-From 04eb667e1bc4282a22f291b39099b23611793851 Mon Sep 17 00:00:00 2001
-From: Martin Baulig <[email protected]>
-Date: Tue, 15 Mar 2016 18:50:08 -0400
-Subject: [PATCH] [System]: Fix certificate validation on Linux.  Bug #39307.
-
-(cherry picked from commit 37b2b9fbc25a2199aba1d794117924d4828360a7)
----
- .../System/Mono.Net.Security/ChainValidationHelper.cs    |  3 ---
- .../Mono.Net.Security/SystemCertificateValidator.cs      | 16 +++++++++++-----
- 2 files changed, 11 insertions(+), 8 deletions(-)
-
-diff --git a/mcs/class/System/Mono.Net.Security/ChainValidationHelper.cs 
b/mcs/class/System/Mono.Net.Security/ChainValidationHelper.cs
-index 70c6996..63a781d 100644
---- a/mcs/class/System/Mono.Net.Security/ChainValidationHelper.cs
-+++ b/mcs/class/System/Mono.Net.Security/ChainValidationHelper.cs
-@@ -292,9 +292,6 @@ ValidationResult ValidateChain (string host, bool server, 
XX509CertificateCollec
-                       if (wantsChain)
-                               chain = 
SystemCertificateValidator.CreateX509Chain (certs);
- 
--                      if (wantsChain || SystemCertificateValidator.NeedsChain 
(settings))
--                              SystemCertificateValidator.BuildX509Chain 
(certs, chain, ref errors, ref status11);
--
-                       bool providerValidated = false;
-                       if (provider != null && 
provider.HasCustomSystemCertificateValidator) {
-                               var xerrors = (MonoSslPolicyErrors)errors;
-diff --git a/mcs/class/System/Mono.Net.Security/SystemCertificateValidator.cs 
b/mcs/class/System/Mono.Net.Security/SystemCertificateValidator.cs
-index f0a0be3..dd67b66 100644
---- a/mcs/class/System/Mono.Net.Security/SystemCertificateValidator.cs
-+++ b/mcs/class/System/Mono.Net.Security/SystemCertificateValidator.cs
-@@ -86,13 +86,13 @@ public static X509Chain CreateX509Chain 
(XX509CertificateCollection certs)
-                       return chain;
-               }
- 
--              public static bool BuildX509Chain (XX509CertificateCollection 
certs, X509Chain chain, ref SslPolicyErrors errors, ref int status11)
-+              static bool BuildX509Chain (XX509CertificateCollection certs, 
X509Chain chain, ref SslPolicyErrors errors, ref int status11)
-               {
- #if MOBILE
--                      return true;
-+                      return false;
- #else
-                       if (is_macosx)
--                              return true;
-+                              return false;
- 
-                       var leaf = (X509Certificate2)certs [0];
- 
-@@ -130,7 +130,7 @@ static bool CheckUsage (XX509CertificateCollection certs, 
string host, ref SslPo
-                                       return false;
-                               }
- 
--                              if (host != null && !CheckServerIdentity (leaf, 
host)) {
-+                              if (!string.IsNullOrEmpty (host) && 
!CheckServerIdentity (leaf, host)) {
-                                       errors |= 
SslPolicyErrors.RemoteCertificateNameMismatch;
-                                       status11 = -2146762481; // 
CERT_E_CN_NO_MATCH 0x800B010F
-                                       return false;
-@@ -143,7 +143,7 @@ static bool CheckUsage (XX509CertificateCollection certs, 
string host, ref SslPo
-               static bool EvaluateSystem (XX509CertificateCollection certs, 
XX509CertificateCollection anchors, string host, X509Chain chain, ref 
SslPolicyErrors errors, ref int status11)
-               {
-                       var leaf = certs [0];
--                      var result = false;
-+                      bool result;
- 
- #if MONODROID
-                       result = AndroidPlatform.TrustEvaluateSsl (certs);
-@@ -166,6 +166,8 @@ static bool EvaluateSystem (XX509CertificateCollection 
certs, XX509CertificateCo
-                                       result = (trustResult == 
OSX509Certificates.SecTrustResult.Proceed ||
-                                               trustResult == 
OSX509Certificates.SecTrustResult.Unspecified);
-                               } catch {
-+                                      result = false;
-+                                      errors |= 
SslPolicyErrors.RemoteCertificateChainErrors;
-                                       // Ignore
-                               }
- 
-@@ -178,6 +180,8 @@ static bool EvaluateSystem (XX509CertificateCollection 
certs, XX509CertificateCo
-                                       status11 = (int)trustResult;
-                                       errors |= 
SslPolicyErrors.RemoteCertificateChainErrors;
-                               }
-+                      } else {
-+                              result = BuildX509Chain (certs, chain, ref 
errors, ref status11);
-                       }
- #endif
- 
-@@ -203,6 +207,8 @@ internal static bool NeedsChain (MonoTlsSettings settings)
- #if MOBILE
-                       return false;
- #else
-+                      if (!is_macosx)
-+                              return true;
-                       if (!CertificateValidationHelper.SupportsX509Chain)
-                               return false;
-                       if (settings != null)

Reply via email to