Expandable arrays of arbitrary element type T are a simple, useful
abstraction implemented independently in several places in the code
base (bad!).  This commit moves into public view a generic
implementation of it which has been lurking in readxcoff.c for some
time.  Currently nothing uses it.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6614 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am
index 42f6c05..578e77d 100644
--- a/coregrind/Makefile.am
+++ b/coregrind/Makefile.am
@@ -130,6 +130,7 @@
 	pub_core_ume.h		\
 	pub_core_vki.h		\
 	pub_core_vkiscnums.h	\
+	pub_core_xarray.h	\
 	m_coredump/priv_elf.h	\
 	m_debuginfo/priv_storage.h	\
 	m_debuginfo/priv_readstabs.h	\
@@ -188,6 +189,7 @@
 	m_ume.c \
 	m_vki.c \
 	m_vkiscnums.c \
+	m_xarray.c \
 	m_aspacemgr/aspacemgr-common.c \
 	m_debuginfo/storage.c \
 	m_debuginfo/debuginfo.c \