* Makefile.in: Add support for new malloc.o and renamed malloc_wrapper.o. Use

-fomit-frame-pointer for malloc.o compilation.
* malloc_wrapper.cc: New file.  Rename from malloc.cc.  Add support for more
malloc functions.  Eliminate export_* calls.  Just use straight malloc names.
Remove unused argument from malloc lock functions.
* cygwin.din: Just export straight malloc names.  Add malloc_stats,
malloc_trim, malloc_usable_size, mallopt, memalign, valloc.
* dcrt0.cc (__cygwin_user): Eliminate export_* malloc entries.
* fork.cc (fork_parent): Remove unused argument from malloc_lock argument.
* malloc.cc: New file.  Doug Lea's malloc v2.7.1.
* cygmalloc.h: New file.
* include/cygwin/version.h: Bump API_MINOR.
* sync.h (muto::acquire): Use appropriate number for regparm attribute.
(muto::reset): Ditto.
(muto::release): Ditto.
This commit is contained in:
Christopher Faylor
2002-08-16 19:41:39 +00:00
parent 775275aac7
commit c7e2187a60
10 changed files with 5661 additions and 31 deletions

View File

@@ -84,8 +84,8 @@ cabs
_cabs = cabs
cabsf
_cabsf = cabsf
calloc = export_calloc
_calloc = export_calloc
calloc
_calloc = calloc
cbrt
_cbrt = cbrt
cbrtf
@@ -296,8 +296,8 @@ fputs
_fputs = fputs
fread
_fread = fread
free = export_free
_free = export_free
free
_free = free
freopen
_freopen = freopen
frexp
@@ -535,8 +535,12 @@ lseek64
lstat = cygwin_lstat
_lstat = cygwin_lstat
lstat64
malloc = export_malloc
_malloc = export_malloc
malloc
_malloc = malloc
malloc_stats
malloc_trim
malloc_usable_size
mallopt
matherr
_matherr = matherr
mblen
@@ -545,6 +549,7 @@ mbstowcs
_mbstowcs = mbstowcs
mbtowc
_mbtowc = mbtowc
memalign
memchr
_memchr = memchr
memcmp
@@ -626,8 +631,8 @@ readlink
_readlink = readlink
readv
_readv = readv
realloc = export_realloc
_realloc = export_realloc
realloc
_realloc = realloc
posix_regcomp
posix_regerror
posix_regexec
@@ -917,6 +922,7 @@ utimes
_utimes = utimes
utmpname
_utmpname = utmpname
valloc
vfiprintf
_vfiprintf = vfiprintf
vfork