From: Jonathan Chambers Date: Tue, 27 Mar 2012 18:27:56 +0000 (-0400) Subject: Check lmf_addr_tls_offset for size greater than 64 like other tls offsets. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=e1ccc6fd26bf9e4db139d9cc409bd9b313cd10ab;p=mono.git Check lmf_addr_tls_offset for size greater than 64 like other tls offsets. --- diff --git a/mono/mini/mini-amd64.c b/mono/mini/mini-amd64.c index 9e9af931519..3e926c59de2 100644 --- a/mono/mini/mini-amd64.c +++ b/mono/mini/mini-amd64.c @@ -8012,6 +8012,8 @@ mono_arch_finish_init (void) appdomain_tls_offset = -1; if (lmf_tls_offset >= 64) lmf_tls_offset = -1; + if (lmf_addr_tls_offset >= 64) + lmf_addr_tls_offset = -1; #else #ifdef MONO_XEN_OPT optimize_for_xen = access ("/proc/xen", F_OK) == 0;