--
You received this message because you are subscribed to the Google Groups "embox-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embox-devel...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Felix,
Sorry for delay with answer, I caught a cold...Are you now talking about FDPIC which you mentioned?Forget about precise implementation for a moment. Basically, I'd like
http://gcc.gnu.org/ml/gcc/2008-02/msg00619.html
If no, please explain what do you mean.
to understand all the problems.
Regarding dynamic linker: we do not intend to have one because we plan toRight. However, this need not to be a fully dynamic linker. You can
have everything linked statically together, including OS core, shared
libraries and applications.
postprocess the binaries, etc.
So, we are not talking about dynamic libraries, but only about sharedPlease clarify the differences between "shared" and "dynamic"
libraries.
libraries you're thinking. For me these look like pretty same beasts.
In this light id-shared-library method with all libraries IDs staticallyNot yet. I'd prefer to keep the toolchain changes minimal for the sake
preallocated looks preferable to me compared to FDPIC in terms of
implementation cost.
So, what do you think? Does this somehow change the situation in your
opinion?
of the maintenance costs.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
I will permit myself to intervene.I am describing how *usual* PIC is done. Nothing fancy. The only magic
I think Eldar was asking if what you are describing is some sort of already 'standardized' compilation mode for some compiler.
occurs later, i.e. how the loading and address resolution is being
done.
And in my opinion the answer should be 'no': this ABI is new, toolchain modifications are required.If you want to change the toolchain think twice. If you still think
that this is a good idea, think once again. Think about the
maintenance - who will support the patches in a year? In two? Will you
require specific version of say, gcc, to be used? What's about
compiler bugs which will need to be fixed? Are you going to support
the whole zoo of potential platforms? Are you going to introduce &
support Embox as full OS in, say, gcc / binutils? Note that these
folks are pretty fast on removing obsolete / unmaintained stuff :)
As for now, I still do not understand, why conventional PIC won't work
for Embox (with possible some post-processing at the link time, like,
e.g. turning ELF objects into some "embox blob").
There is also XFLAT: http://xflat.sourceforge.net/
That is something that I did for uClinux years ago. It does not depend on any features of the compiler and so is portable to any architecture that supports position independent execution. It includes some tools and the dynamic loader and should be more or less a drop in. There are some limitations to this approach as documented in the above reference.
Greg
Greg