diff options
author | kib <kib@FreeBSD.org> | 2013-12-13 06:00:44 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-12-13 06:00:44 +0000 |
commit | d22cb2f95ea300443f067b7feec3432fed15cf65 (patch) | |
tree | e16800b64ce5b8da3d984bb530c997b600d7a913 /libexec/rtld-elf/rtld.h | |
parent | a455348768c94edff360c66f151bddaab070fb1b (diff) | |
download | FreeBSD-src-d22cb2f95ea300443f067b7feec3432fed15cf65.zip FreeBSD-src-d22cb2f95ea300443f067b7feec3432fed15cf65.tar.gz |
MFC r259043:
Build an allocator for the aligned memory on top of the rtld-private
malloc.
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
-rw-r--r-- | libexec/rtld-elf/rtld.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h index 083f5a4..d186dcc 100644 --- a/libexec/rtld-elf/rtld.h +++ b/libexec/rtld-elf/rtld.h @@ -352,6 +352,8 @@ Obj_Entry *map_object(int, const char *, const struct stat *); void *xcalloc(size_t, size_t); void *xmalloc(size_t); char *xstrdup(const char *); +void *malloc_aligned(size_t size, size_t align); +void free_aligned(void *ptr); extern Elf_Addr _GLOBAL_OFFSET_TABLE_[]; extern Elf_Sym sym_zero; /* For resolving undefined weak refs. */ |