summaryrefslogtreecommitdiff
path: root/rtl-obj.h
diff options
context:
space:
mode:
authorMohammed Khoory <mkhoory@eiast.ae>2013-11-04 10:49:44 +0900
committerChris Johns <chrisj@rtems.org>2014-09-01 09:32:37 +1000
commitd7aca117e2aaa7dca6db40f182f64fd66644a198 (patch)
tree2328ea34464afe9141c1d26d33050efab537c681 /rtl-obj.h
parent0b81accba708e028d3e9828522907ca4fda77125 (diff)
Fixed comparison of ELF object names
Diffstat (limited to 'rtl-obj.h')
-rw-r--r--rtl-obj.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/rtl-obj.h b/rtl-obj.h
index 2f7c403..7e200d6 100644
--- a/rtl-obj.h
+++ b/rtl-obj.h
@@ -281,6 +281,22 @@ bool rtems_rtl_obj_free (rtems_rtl_obj_t* obj);
bool rtems_rtl_obj_unresolved (rtems_rtl_obj_t* obj);
/**
+ * Parses a filename and returns newly allocated strings with the archive name,
+ * object name, and the object's offset
+ *
+ * @param name The filename of the object
+ * @param aname Address of a string pointer that holds the archive name
+ * @param oname Address of a string pointer that holds the object name
+ * @param ooffset Address of an int that holds the object offset
+ * @retval true The parsing was successful
+ * @retval false The parsing was unsuccessful
+ */
+bool rtems_rtl_parse_name (const char* name,
+ const char** aname,
+ const char** oname,
+ int* ooffset);
+
+/**
* Load the object file.
*
* @param obj The object file's descriptor.