summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/malloc.c
Commit message (Collapse)AuthorAgeFilesLines
* In preparation for a new malloc implementation:jasone2006-01-121-0/+16
| | | | | | | | | | | | | * Add posix_memalign(). * Move calloc() from calloc.c to malloc.c. Add a calloc() implementation in rtld-elf in order to make the loader happy (even though calloc() isn't used in rtld-elf). * Add _malloc_prefork() and _malloc_postfork(), and use them instead of directly manipulating __malloc_lock. Approved by: phk, markm (mentor)
* Very minor style nit: sort include files alphabetically.imp2003-08-221-1/+1
|
* Fix signed/unsigned comparison warnings.obrien2003-05-041-4/+4
|
* Add missing include files I forgot about in previous commit.kan2003-02-131-0/+2
|
* Remove /usr/lib/elf from a default search path.kan2003-02-131-1/+16
| | | | | | Move xprintf to malloc.c, it is only used there. Make static. Submitted by: phantom
* Include stddef.h for NULL definition, rather than rolling our own here.imp2002-08-211-2/+1
| | | | Reviewed by: jdp
* Change brk's prototype from char *brk(const char *) to int brk(const void *)dwmalone2002-01-241-1/+0
| | | | | | | | | | | | | | | and sbrk's prototype from char *sbrk(int) to void *sbrk(intptr_t). This makes us more consistant with NetBSD and standards which include these functions. Bruce pointed out that ptrdiff_t would probably have been better than intptr_t, but this doesn't match other implimentations. Also remove local declarations of sbrk and unnecessary casting. PR: 32296 Tested by: Harti Brandt <brandt@fokus.gmd.de> MFC after: 1 month
* Add `_PATH_DEVZERO'.obrien2000-12-091-2/+3
| | | | Use _PATH_* where where possible.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add alpha support.dfr1998-09-041-5/+6
| | | | | Submitted by: John Birrell <jb@cimlogic.com.au> (with extra hacks by me) Obtained from: Probably NetBSD
* Import the ELF dynamic linker. This is the ElfKit version withjdp1998-03-071-0/+485
quite a few enhancements and bug fixes. There are still some known deficiencies, but it should be adequate to get us started with ELF. Submitted by: John Polstra <jdp@polstra.com>
OpenPOWER on IntegriCloud