Check lmf_addr_tls_offset for size greater than 64 like other tls offsets.
authorJonathan Chambers <jonathan@unity3d.com>
Tue, 27 Mar 2012 18:27:56 +0000 (14:27 -0400)
committerJonathan Chambers <jonathan@unity3d.com>
Tue, 27 Mar 2012 18:27:56 +0000 (14:27 -0400)
mono/mini/mini-amd64.c

index 9e9af931519dd70f130100e8f6285b12802e7617..3e926c59de292e1489303d02f9ff2d67a8cb753b 100644 (file)
@@ -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;