Change sparc64 to use the initial exec TLS model, too. This avoids random

assertion failures in _malloc_thread_cleanup().
This commit is contained in:
Marius Strobl 2011-06-21 19:15:23 +00:00
parent 0ea9a5ddd4
commit 1e01d8915a

View File

@ -234,7 +234,7 @@ __FBSDID("$FreeBSD$");
#ifdef __sparc64__
# define LG_QUANTUM 4
# define LG_SIZEOF_PTR 3
# define TLS_MODEL /* default */
# define TLS_MODEL __attribute__((tls_model("initial-exec")))
#endif
#ifdef __amd64__
# define LG_QUANTUM 4