_dl_signal_error (ENOMEM, name, NULL, N_("cannot allocate name record"));
INT(_dl_signal_error) (ENOMEM, name, NULL, N_("cannot allocate name record"));
add_name_to_object (struct link_map *l, const char *name){  struct libname_list *lnp, *lastp;  struct libname_list *newname;  size_t name_len;  lastp = NULL;  for (lnp = l->l_libname; lnp != NULL; lastp = lnp, lnp = lnp->next)    if (strcmp (name, lnp->name) == 0)      return;  name_len = strlen (name) + 1;  newname = (struct libname_list *) malloc (sizeof *newname + name_len);  if (newname == NULL)    {      /* No more memory.  */      _dl_signal_error (ENOMEM, name, NULL, N_("cannot allocate name record"));      return;    }  /* The object should have a libname set from _dl_new_object.  */  assert (lastp != NULL);  newname->name = memcpy (newname + 1, name, name_len);  newname->next = NULL;  newname->dont_free = 0;  lastp->next = newname;}