Module Name: src
Committed By: christos
Date: Tue Apr 2 21:19:20 UTC 2019
Modified Files:
src/external/bsd/jemalloc/include/jemalloc/internal:
jemalloc_internal_defs.h
Log Message:
Vax ain't having any of that newfangled TLS crap (yet).
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
diff -u src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h:1.4 src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h:1.5
--- src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h:1.4 Fri Mar 29 09:04:00 2019
+++ src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h Tue Apr 2 17:19:20 2019
@@ -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.