(_dl_map_object_from_fd): Declare it.
authorroland <roland>
Wed, 27 Sep 1995 03:36:48 +0000 (03:36 +0000)
committerroland <roland>
Wed, 27 Sep 1995 03:36:48 +0000 (03:36 +0000)
elf/link.h

index 6f44a0c..5564c1c 100644 (file)
@@ -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, const char *realname,
+                                               Elf32_Addr *entry_point);
+
 /* Cache the locations of MAP's hash table.  */
 extern void _dl_setup_hash (struct link_map *map);