Re: Shared library support
- From: Marcel Moolenaar <xcllnt@xxxxxxx>
- Date: Wed, 18 Apr 2007 10:25:34 -0700
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"
- References:
- Shared library support
- From: Peter Holmes
- Shared library support
- Prev by Date: Shared library support
- Next by Date: Re: a simple patch to enable RFC2640 for /usr/libexec/ftpd
- Previous by thread: Shared library support
- Index(es):