Is there a way to build a non-PIC shared library with l4env?
Valery V. Sedletski
_valerius at mail.ru
Wed Sep 28 20:01:50 CEST 2011
I am trying to establish a shared arena for loading DLL's, i.e. a shared memory region, in which DLL's are
loaded at the same address in each address space. I also need some ELF shared library loaded at fixed
address, so I could call routines in .so from these DLL's (yes, a mixed case: LX format DLL's calling an ELF
shared object, this shared object is a client library for some servers, and I want to call their API's from DLL's).
So, I intend to load a shared oblect at fixed address to be the same in different address spaces. But the l4env
build system seems to produce PIC shared objects only, and no suitable example. Is there any way to compile
a non-PIC shared object with l4env build system?
I also hope the 'loader' server will load the shared library at pre-compiled address. Maybe, also the PIC ones
could be loaded at desired address (I know that, at least, libloader.s.so is loaded at fixed address, but maybe,
this is a single hardcoded case)
Thanks in advance,
More information about the l4-hackers