diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-11-08 01:48:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-11-08 01:48:57 +0000 |
commit | 40b07f5b942d6af4d575274853331590d2ee8ab3 (patch) | |
tree | 61cbcd7aa37ec6f649d1d04f7707564ed37d32c9 /sysdeps/generic/ldsodefs.h | |
parent | 6ed623f848489d5946b1caf61a8a5061bc933b0d (diff) | |
download | glibc-40b07f5b942d6af4d575274853331590d2ee8ab3.tar.gz glibc-40b07f5b942d6af4d575274853331590d2ee8ab3.tar.xz glibc-40b07f5b942d6af4d575274853331590d2ee8ab3.zip |
Update.
* sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and HWCAP_CHECK macro code. * elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit. Now returns MAP_FAILED on error. * elf/rtld.c: Adjust caller. * sysdeps/generic/dl-cache.c: Likewise. * sysdeps/generic/ldsodefs.h: Adjust description.
Diffstat (limited to 'sysdeps/generic/ldsodefs.h')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 64e5a16b6b..2a4491d1f9 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -495,8 +495,9 @@ extern const char *_dl_load_cache_lookup (const char *name) once needed. */ extern void _dl_unload_cache (void); -/* System-dependent function to read a file's whole contents - in the most convenient manner available. */ +/* System-dependent function to read a file's whole contents in the + most convenient manner available. *SIZEP gets the size of the + file. On error MAP_FAILED is returned. */ extern void *_dl_sysdep_read_whole_file (const char *file, size_t *sizep, int prot) internal_function; |