Re: Shared library support




On Apr 18, 2007, at 10:06 AM, Peter Holmes wrote:

I am trying to implement shared library support for a new architecture. Where can I start looking . Can someone point out the architecture dependent pieces.

Roughly speaking:

Start with the runtime specification for that architecture. In particular,
look at the relocations designed for shared linking. Those relocations need
to be supported by both the toolchain (gcc, as and ld) and the runtime
linker (rtld). Assuming that the toolchain already supports shared linking,
most of the work will be in rtld-elf.

After the basics work, look at TLS (more relocations) and gdb. You may need
to review threading support...

HTH,

--
Marcel Moolenaar
xcllnt@xxxxxxx


_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"