summaryrefslogtreecommitdiff
path: root/nuttx/binfmt/libelf/libelf.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/binfmt/libelf/libelf.h')
-rw-r--r--nuttx/binfmt/libelf/libelf.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/nuttx/binfmt/libelf/libelf.h b/nuttx/binfmt/libelf/libelf.h
index bea92496a..5b0be9ab0 100644
--- a/nuttx/binfmt/libelf/libelf.h
+++ b/nuttx/binfmt/libelf/libelf.h
@@ -236,4 +236,23 @@ int elf_reallocbuffer(FAR struct elf_loadinfo_s *loadinfo, size_t increment);
int elf_loadctors(FAR struct elf_loadinfo_s *loadinfo);
#endif
+/****************************************************************************
+ * Name: elf_loaddtors
+ *
+ * Description:
+ * Load pointers to static destructors into an in-memory array.
+ *
+ * Input Parameters:
+ * loadinfo - Load state information
+ *
+ * Returned Value:
+ * 0 (OK) is returned on success and a negated errno is returned on
+ * failure.
+ *
+ ****************************************************************************/
+
+#ifdef CONFIG_BINFMT_CONSTRUCTORS
+int elf_loaddtors(FAR struct elf_loadinfo_s *loadinfo);
+#endif
+
#endif /* __BINFMT_LIBELF_LIBELF_H */