aboutsummaryrefslogtreecommitdiff
path: root/elf/link.h
diff options
context:
space:
mode:
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 6f44a0c..aacb3f1 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);