summaryrefslogtreecommitdiff
path: root/elf/link.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-09-27 06:49:48 +0000
committerRoland McGrath <roland@gnu.org>1995-09-27 06:49:48 +0000
commitea03559a9d4730f89105b6f5e674a0aaefc74b3b (patch)
tree103d2993e5d4eb971c2eec94c4c77a45abc8e2dc /elf/link.h
parentc709e372e8940b3f374b690d7eb7521e69ab4228 (diff)
Wed Sep 27 00:27:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* config.make.in (AS): New variable; set to `$(CC) -c'. * posix/unistd.h [__USE_BSD]: Declare profil. * elf/dl-load.c (_dl_map_object_from_fd): New function, broken out of _dl_map_object. (_dl_map_object): Call it. * elf/link.h (_dl_map_object_from_fd): Declare it.
Diffstat (limited to 'elf/link.h')
-rw-r--r--elf/link.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/link.h b/elf/link.h
index 6f44a0cfdb..aacb3f1630 100644
--- a/elf/link.h
+++ b/elf/link.h
@@ -164,6 +164,12 @@ extern struct link_map *_dl_map_object (struct link_map *loader,
const char *name,
Elf32_Addr *entry_point);
+/* Similar, but file found at REALNAME and opened on FD.
+ REALNAME must malloc'd storage and is used in internal data structures. */
+extern struct link_map *_dl_map_object_from_fd (const char *name,
+ int fd, char *realname,
+ Elf32_Addr *entry_point);
+
/* Cache the locations of MAP's hash table. */
extern void _dl_setup_hash (struct link_map *map);