Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/jemalloc/include/jemalloc/internal Vax ain't ha...



details:   https://anonhg.NetBSD.org/src/rev/c7bf0dba3dfe
branches:  trunk
changeset: 997939:c7bf0dba3dfe
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Apr 02 21:19:20 2019 +0000

description:
Vax ain't having any of that newfangled TLS crap (yet).

diffstat:

 external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 1e2ef00575a9 -r c7bf0dba3dfe external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
--- a/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h  Tue Apr 02 20:00:36 2019 +0000
+++ b/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h  Tue Apr 02 21:19:20 2019 +0000
@@ -151,7 +151,9 @@
 /* #undef JEMALLOC_MUTEX_INIT_CB */
 
 /* Non-empty if the tls_model attribute is supported. */
+#ifndef __vax__
 #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
+#endif
 
 /*
  * JEMALLOC_DEBUG enables assertions and other sanity checks, and disables
@@ -233,7 +235,9 @@
 /* #undef JEMALLOC_RETAIN */
 
 /* TLS is used to map arenas and magazine caches to threads. */
+#ifndef __vax__
 #define JEMALLOC_TLS 
+#endif
 
 /*
  * Used to mark unreachable code to quiet "end of non-void" compiler warnings.



Home | Main Index | Thread Index | Old Index