This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: Object_loader_patch
- From: John Dallaway <john at dallaway dot org dot uk>
- To: Stanislav Karpenko <s dot o dot karpenko at gmail dot com>
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: Thu, 01 Apr 2010 14:18:38 +0100
- Subject: Re: Object_loader_patch
- References: <s2gaa10070c1003310700k11f7f4a8m2b4a8aa667246556@mail.gmail.com>
Hi Stanislav
Stanislav Karpenko wrote:
> I have discovered a minor defect in ECOS Object loader package. It is
> related with CYG_LDR_TABLE_KAPI_MUTEX() definition placed in
> cyg/objloader/objelf.h. In details, there are ALMOST all ECOS API
> cyg_mutex_XXX functions placed under CYG_LDR_TABLE_KAPI_MUTEX().
> Important, that ALMOST all, but not absolutely all. Fuction
> cyg_mutex_lock has been omitted I don't know why. Of course a simple
> way to fix this issue without any ECOS repository changes is to use
> construction like this
>
> CYG_LDR_TABLE_ENTRY(cyg_mutex_lock_entry, "cyg_mutex_lock", &cyg_mutex_lock );
>
> but I thing a better way to fix it under ECOS repository. Therefore I
> propose a special patch attached.
Thank you for the patch. Now checked-in.
John Dallaway
eCos maintainer