On 14/07/2014 11:23 pm, Peng Fan wrote:

When the first time executing such a command "dlo libxx.ra:yy.rap" or
"dlo libxx.a:yy.o", RTL complains "no format loader found". when
executing the command the second time, the archive files can be loaded
correctly. It is because cache flush uses `file_size = -1` while
file_size is unsigned type , and  `rtems_rtl_obj_cache_read` should
include a if condition because A cache obj can cache different files but
it can only cache one file  once.  Hope this explaination is clear:)
Details is in the patch.

Applied. Thanks.

Chris
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to