Deleted Added
full compact
malloc.c (160761) malloc.c (161131)
1/*-
2 * Copyright (C) 2006 Jason Evans <jasone@FreeBSD.org>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 171 unchanged lines hidden (view full) ---

180 */
181/* #define NO_MALLOC_EXTRAS */
182
183#ifndef NO_MALLOC_EXTRAS
184# define MALLOC_DEBUG
185#endif
186
187#include <sys/cdefs.h>
1/*-
2 * Copyright (C) 2006 Jason Evans <jasone@FreeBSD.org>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 171 unchanged lines hidden (view full) ---

180 */
181/* #define NO_MALLOC_EXTRAS */
182
183#ifndef NO_MALLOC_EXTRAS
184# define MALLOC_DEBUG
185#endif
186
187#include <sys/cdefs.h>
188__FBSDID("$FreeBSD: head/lib/libc/stdlib/malloc.c 160761 2006-07-27 19:09:32Z jasone $");
188__FBSDID("$FreeBSD: head/lib/libc/stdlib/malloc.c 161131 2006-08-09 19:01:27Z marcel $");
189
190#include "libc_private.h"
191#ifdef MALLOC_DEBUG
192# define _LOCK_DEBUG
193#endif
194#include "spinlock.h"
195#include "namespace.h"
196#include <sys/mman.h>

--- 77 unchanged lines hidden (view full) ---

274# define SIZEOF_PTR 4
275# define USE_BRK
276# define NO_TLS
277#endif
278#ifdef __powerpc__
279# define QUANTUM_2POW_MIN 4
280# define SIZEOF_PTR 4
281# define USE_BRK
189
190#include "libc_private.h"
191#ifdef MALLOC_DEBUG
192# define _LOCK_DEBUG
193#endif
194#include "spinlock.h"
195#include "namespace.h"
196#include <sys/mman.h>

--- 77 unchanged lines hidden (view full) ---

274# define SIZEOF_PTR 4
275# define USE_BRK
276# define NO_TLS
277#endif
278#ifdef __powerpc__
279# define QUANTUM_2POW_MIN 4
280# define SIZEOF_PTR 4
281# define USE_BRK
282# define NO_TLS
282#endif
283
284/* sizeof(int) == (1 << SIZEOF_INT_2POW). */
285#ifndef SIZEOF_INT_2POW
286# define SIZEOF_INT_2POW 2
287#endif
288
289/* We can't use TLS in non-PIC programs, since TLS relies on loader magic. */

--- 3376 unchanged lines hidden ---
283#endif
284
285/* sizeof(int) == (1 << SIZEOF_INT_2POW). */
286#ifndef SIZEOF_INT_2POW
287# define SIZEOF_INT_2POW 2
288#endif
289
290/* We can't use TLS in non-PIC programs, since TLS relies on loader magic. */

--- 3376 unchanged lines hidden ---