[Celinux-dev] shared library support for uClinux?

Shawn Kwon ksoonson at samsung.com
Wed Aug 23 01:25:31 PDT 2006


Thank you for your reply.
It sounds like both RidgeRun and SnapGear method
is somehow incorporated to the 2.6.x kernel.
I will look into the code.

(http://linuxdevices.com/articles/AT3186625227.html
says that RidgeRun approach uses ELF format file
and SnapGear approach uses flat file format.)

I wondered for 2.4.x uClinux kernel actually.
If you have something to say about 2.4.x, 
that would be very good.

Thanks very much anyway.


-----Original Message-----
From: Paul Mundt [mailto:lethal at linux-sh.org] 
Sent: Wednesday, August 23, 2006 5:17 PM
To: Shawn Kwon
Cc: celinux-dev at tree.celinuxforum.org
Subject: Re: [Celinux-dev] shared library support for uClinux?

On Wed, Aug 23, 2006 at 05:02:32PM +0900, Shawn Kwon wrote:
> Hi, I have been trying to find a way to use shared library support for
> uClinux.
> 
> As you know, being MMU-less means that there is no hardware to handle 
> shared library operation so developing on uClinux will probably mean that
> no shared library support.
> 
No, being MMU-less has nothing to do with whether you can do shared
libraries or not, you just aren't able to do COW.

At the moment there are two options for shared support, there's a shared
flat format (grep the kernel for CONFIG_BINFMT_SHARED_FLAT), and then
there's support for FDPIC ELF (currently only implemented for FR-V).
Look at fs/Kconfig.binfmt in a recent 2.6 kernel to get a better idea of
your options.

Barring that, you may also want to post your inquiry to uClinux-dev, as
it's a more appropriate forum for these questions.




More information about the Celinux-dev mailing list