[PATCH] Fix RTL archive file load
Chris Johns
chrisj at rtems.org
Tue Jul 15 10:15:16 UTC 2014
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
More information about the devel
mailing list