-typedef struct lm_info *lm_info_p;
-DEF_VEC_P(lm_info_p);
-
-/* Return a deep copy of the given struct lm_info object. */
-
-static struct lm_info *
-solib_aix_new_lm_info (struct lm_info *info)
-{
- struct lm_info *result = xmalloc (sizeof (struct lm_info));
-
- memcpy (result, info, sizeof (struct lm_info));
- result->filename = xstrdup (info->filename);
- if (info->member_name != NULL)
- result->member_name = xstrdup (info->member_name);
-
- return result;
-}
-
-/* Free the memory allocated for the given lm_info. */
-
-static void
-solib_aix_xfree_lm_info (struct lm_info *info)
-{
- xfree (info->filename);
- xfree (info->member_name);
- xfree (info);
-}