Object_loader_patch

Stanislav Karpenko s.o.karpenko@gmail.com
Wed Mar 31 14:00:00 GMT 2010


Dear developers,
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.
Best regards,
Stanislav
-------------- next part --------------
A non-text attachment was scrubbed...
Name: objelf.h.patch
Type: text/x-diff
Size: 1486 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20100331/2228fccf/attachment.bin>


More information about the Ecos-patches mailing list