Some runtime linker bugs

Chris Johns chrisj at rtems.org
Thu Apr 3 01:17:34 UTC 2014


On 1/04/2014 5:33 pm, Mohammed Khoory wrote:
>>
>> I use runtime linker with mips bsp (custom, genmongoose based) and find
>> some bugs:
>> 1. Incorrect work "rtems_rtl_match_name"  (or generate oname field).
>> dlo /nv/x.rap
>> dlo /nv/tst2.rap
>> oname1=fname1=/nv/x.rap
>> oname2=fname2=/nv/tst2.rap and rtems_rtl_match_name compare to '/' and say
>> name matched.
>>
>> if dlo x.rap
>> dlo tst2.rap - all ok, name different
>>
>
> I believe I also encountered this bug, but it only occurs for ELF files for
> me. RAPs didn't seem to have a problem. I wrote a patch, but I'm not sure if
> this is the best approach and I haven't received any feedback. It seems to
> fix the problem for me however.
>
> http://www.rtems.org/pipermail/rtems-devel/2013-November/004882.html
>
> Because rtems_rtl_match_name() is used for other functions in the code, I
> wrote a new function and used that for filename comparison.
>

Thanks for helping out. I have your post flagged and I plan to work on 
this code this month.

Chris



More information about the users mailing list