Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/stdlib Use __mc68010__ to distinguish m68000 (sun2)...



details:   https://anonhg.NetBSD.org/src/rev/8464b2f714e4
branches:  trunk
changeset: 1009378:8464b2f714e4
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Apr 22 08:48:12 2020 +0000

description:
Use __mc68010__ to distinguish m68000 (sun2) from other m68k ports;
__mc68000__ is defined both for m68000 and m68k.

diffstat:

 lib/libc/stdlib/jemalloc.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 721cd83efbb9 -r 8464b2f714e4 lib/libc/stdlib/jemalloc.c
--- a/lib/libc/stdlib/jemalloc.c        Wed Apr 22 08:45:06 2020 +0000
+++ b/lib/libc/stdlib/jemalloc.c        Wed Apr 22 08:48:12 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: jemalloc.c,v 1.50 2020/04/22 08:45:06 rin Exp $        */
+/*     $NetBSD: jemalloc.c,v 1.51 2020/04/22 08:48:12 rin Exp $        */
 
 /*-
  * Copyright (C) 2006,2007 Jason Evans <jasone%FreeBSD.org@localhost>.
@@ -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.50 2020/04/22 08:45:06 rin Exp $");
+__RCSID("$NetBSD: jemalloc.c,v 1.51 2020/04/22 08:48:12 rin Exp $");
 
 #ifdef __FreeBSD__
 #include "libc_private.h"
@@ -271,8 +271,8 @@
 #  define QUANTUM_2POW_MIN     4
 #  define SIZEOF_PTR_2POW      2
 #  define USE_BRK
-#  ifdef __mc68000__
-#  define NO_TLS
+#  ifdef __mc68010__
+#    define NO_TLS
 #  endif
 #endif
 #if defined(__mips__) || defined(__riscv__)



Home | Main Index | Thread Index | Old Index