Module Name: src Committed By: mrg Date: Sun May 3 07:32:54 UTC 2020
Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: turn off TLS for mips on old jemalloc. it doesn't work. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/lib/libc/stdlib/jemalloc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/stdlib/jemalloc.c diff -u src/lib/libc/stdlib/jemalloc.c:1.51 src/lib/libc/stdlib/jemalloc.c:1.52 --- src/lib/libc/stdlib/jemalloc.c:1.51 Wed Apr 22 08:48:12 2020 +++ src/lib/libc/stdlib/jemalloc.c Sun May 3 07:32:54 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: jemalloc.c,v 1.51 2020/04/22 08:48:12 rin Exp $ */ +/* $NetBSD: jemalloc.c,v 1.52 2020/05/03 07:32:54 mrg Exp $ */ /*- * Copyright (C) 2006,2007 Jason Evans <jas...@freebsd.org>. @@ -117,7 +117,7 @@ #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.147 2007/06/15 22:00:16 jasone Exp $"); */ -__RCSID("$NetBSD: jemalloc.c,v 1.51 2020/04/22 08:48:12 rin Exp $"); +__RCSID("$NetBSD: jemalloc.c,v 1.52 2020/05/03 07:32:54 mrg Exp $"); #ifdef __FreeBSD__ #include "libc_private.h" @@ -284,6 +284,9 @@ __RCSID("$NetBSD: jemalloc.c,v 1.51 2020 # endif # define QUANTUM_2POW_MIN 4 # define USE_BRK +# if defined(__mips__) +# define NO_TLS +# endif #endif #ifdef __hppa__ # define QUANTUM_2POW_MIN 4