summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020-06-03 19:22:12 -0400
committerRich Felker <dalias@aerifal.cx>2020-06-03 19:23:02 -0400
commit384c0131ccda2656dec23a0416ad3f14101151a7 (patch)
tree0561f403dafc58c8e29de0f0105fc9d69e095550 /src
parenteaa0f2496700c238e7e3c112d36445f3aee06ff1 (diff)
downloadmusl-384c0131ccda2656dec23a0416ad3f14101151a7.tar.gz
move oldmalloc to its own directory under src/malloc
this sets the stage for replacement, and makes it practical to keep oldmalloc around as a build option for a while if that ends up being useful. only the files which are actually part of the implementation are moved. memalign and posix_memalign are entirely generic. in theory calloc could be pulled out too, but it's useful to have it tied to the implementation so as to optimize out unnecessary memset when implementation details make it possible to know the memory is already clear.
Diffstat (limited to 'src')
-rw-r--r--src/malloc/oldmalloc/aligned_alloc.c (renamed from src/malloc/aligned_alloc.c)0
-rw-r--r--src/malloc/oldmalloc/malloc.c (renamed from src/malloc/malloc.c)0
-rw-r--r--src/malloc/oldmalloc/malloc_impl.h (renamed from src/malloc/malloc_impl.h)0
-rw-r--r--src/malloc/oldmalloc/malloc_usable_size.c (renamed from src/malloc/malloc_usable_size.c)0
4 files changed, 0 insertions, 0 deletions
diff --git a/src/malloc/aligned_alloc.c b/src/malloc/oldmalloc/aligned_alloc.c
index e06c76ed..e06c76ed 100644
--- a/src/malloc/aligned_alloc.c
+++ b/src/malloc/oldmalloc/aligned_alloc.c
diff --git a/src/malloc/malloc.c b/src/malloc/oldmalloc/malloc.c
index df3ea1be..df3ea1be 100644
--- a/src/malloc/malloc.c
+++ b/src/malloc/oldmalloc/malloc.c
diff --git a/src/malloc/malloc_impl.h b/src/malloc/oldmalloc/malloc_impl.h
index e1cf4774..e1cf4774 100644
--- a/src/malloc/malloc_impl.h
+++ b/src/malloc/oldmalloc/malloc_impl.h
diff --git a/src/malloc/malloc_usable_size.c b/src/malloc/oldmalloc/malloc_usable_size.c
index 672b518a..672b518a 100644
--- a/src/malloc/malloc_usable_size.c
+++ b/src/malloc/oldmalloc/malloc_usable_size.c