Some runtime linker bugs

Mohammed Khoory mkhoory at eiast.ae
Tue Apr 1 06:33:46 UTC 2014


>
>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.

Hope this helps.




More information about the users mailing list