[PATCH] RTL module file loading
Chris Johns
chrisj at rtems.org
Thu May 16 10:52:21 UTC 2013
Mohammed Khoory wrote:
> Two issues were fixed in these patches for the RTL project:
>
> 1. The mksyms.awk script did not correctly handle --no-embed
>
Committed. Thanks.
> 2. loading an ELF object file from the file system using dlopen failed with
> a similar error to the following: "offset past end of file: offset=54660
> size=0", where in reality the size is actually supposed to be bigger than
> the offset.
The patch has a mistake, the 'fstat' is missing. I do not see a need to
move that piece code. Setting the file_size to 0 looks like it should
work but I need to check it a little more to be certain.
Can you please reset send the patch with just setting the file_size to 0
? If it is ok I will commit it after I take a closer look I think it is ok.
Chris
More information about the devel
mailing list