This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What is needed to support uclinux shared libraries on MMU-less ARM?
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: "John Lee" <chunqiang77 at 163 dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: 09 Jun 2004 08:10:49 -0300
- Subject: Re: What is needed to support uclinux shared libraries on MMU-less ARM?
- Organization: Red Hat Global Engineering Services Compiler Team
- References: <200406070507.i5757rkl023903@emilia.lsd.ic.unicamp.br>
> I would like to know how to modify the kernel/tools to
> support shared libraries.Or what is needed to support uclinux
> shared libraries on MMU-less ARM?
Shared libraries on MMU-less systems are tricky. Unless the ABI was
designed with this kind of use in place, enabling functions to get a
context pointer from the caller, you're probably out of luck. Unless
you're willing to design a new ABI from scratch, of course, which is
what we ended up doing while porting uclinux/uclibc to the Fujitsu
FR-V architecture.
The GCC and binutils ports are already in CVS; uClibc changes are
mostly in the CVS repository, but there are still some uncommitted
patches, mostly for the dynamic loader. If you search the uclibc
archives you'll probably find the missing bits. Have fun!
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}