struct elf_stat st;
struct stat64 st;
_dl_sysdep_read_whole_file (const char *file, size_t *sizep, int prot){  void *result;  struct elf_stat st;  int fd = __open (file, O_RDONLY);  if (fd < 0)    return NULL;  if (elf_fxstat (_STAT_VER, fd, &st) < 0      /* No need to map the file if it is empty.  */      || st.st_size == 0)    result = NULL;  else    {      /* Map a copy of the file contents.  */      result = __mmap (0, st.st_size, prot,#ifdef MAP_COPY                       MAP_COPY#else                       MAP_PRIVATE#endif#ifdef MAP_FILE                       | MAP_FILE#endif                       , fd, 0);      if (result == MAP_FAILED)        result = NULL;      else        *sizep = st.st_size;    }  __close (fd);  return result;}