aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2018-12-12 14:34:34 -0800
committerH. Peter Anvin (Intel) <hpa@zytor.com>2018-12-12 14:34:34 -0800
commiteb5b3ae0d3383cef2651ae642ad297bc1dc6f228 (patch)
treec16780b9a0ef1bf47009c452733dba699cd94c38 /Makefile.in
parent64471097ca7598e8238f9e5ed25b3afaa9b10f2c (diff)
downloadnasm-eb5b3ae0d3383cef2651ae642ad297bc1dc6f228.tar.gz
nasm-eb5b3ae0d3383cef2651ae642ad297bc1dc6f228.tar.xz
nasm-eb5b3ae0d3383cef2651ae642ad297bc1dc6f228.zip
nasmlib: Add nasm_(v)asprintf()
Add a version of (v)asprintf(), which allocates a string on the heap. Unlike the standard version of (v)asprintf(), we return the pointer; if one wants the length of the string then one can simply use the %n pattern. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 82939be3..8e55e83e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -96,7 +96,7 @@ LIBOBJ = stdlib/snprintf.$(O) stdlib/vsnprintf.$(O) stdlib/strlcpy.$(O) \
stdlib/strnlen.$(O) stdlib/strrchrnul.$(O) \
\
nasmlib/ver.$(O) \
- nasmlib/crc64.$(O) nasmlib/malloc.$(O) \
+ nasmlib/crc64.$(O) nasmlib/alloc.$(O) nasmlib/asprintf.$(O) \
nasmlib/md5c.$(O) nasmlib/string.$(O) nasmlib/nctype.$(O) \
nasmlib/file.$(O) nasmlib/mmap.$(O) nasmlib/ilog2.$(O) \
nasmlib/realpath.$(O) nasmlib/path.$(O) \