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.c | |
parent | 0b81accba708e028d3e9828522907ca4fda77125 (diff) |
Fixed comparison of ELF object names
Diffstat (limited to 'rtl.c')
-rw-r--r-- | rtl.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -375,6 +375,13 @@ rtems_rtl_obj_t* rtems_rtl_find_obj (const char* name) { rtems_chain_node* node; + rtems_rtl_obj_t* found = NULL; + const char* aname = NULL; + const char* oname = NULL; + int ooffset; + + if (!rtems_rtl_parse_name (name, &aname, &oname, &ooffset)) + return NULL; node = rtems_chain_first (&rtl->objects); |