This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Object File Loader


Nick:

> There are two sets of labels here. The loader API routines should have
> cyg_ldr prefixes, and they all currently do. However, the
> library_open() and library_close() functions are a different
> case. These are visible as labels only in the loaded object, and are
> really part of the application. So I'm not sure that they should have
> cyg_ldr prefixes.

Actually, I have debated myself on whether a library_open() and a
library_close()
functions are even necessary, since the user can call his own init function just
as easily. I guess it is a matter of convenience to have them there. And if we
do, I agree we should strip the cyg_ldr from these.

> Perhaps a middle way is to define a set of super-macros that include
> blocks of functionality and are defined only when the equivalent
> packages are present. 

I like the idea. I will try it out today and send you a patch in case
you want to
include it.

Tony

P.S.
Apparently the solution to my posting woes was to switch to gmail and 
ditch lycos...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]