diff options
author | Mohammed Khoory <mkhoory@eiast.ae> | 2013-11-04 10:49:44 +0900 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-01 09:32:37 +1000 |
commit | d7aca117e2aaa7dca6db40f182f64fd66644a198 (patch) | |
tree | 2328ea34464afe9141c1d26d33050efab537c681 /rtl-obj.h | |
parent | 0b81accba708e028d3e9828522907ca4fda77125 (diff) |
Fixed comparison of ELF object names
Diffstat (limited to 'rtl-obj.h')
-rw-r--r-- | rtl-obj.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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. |