Date: Wed, 18 Apr 2007 10:25:34 -0700 From: Marcel Moolenaar <xcllnt@mac.com> To: Peter Holmes <peter_holmes2003@yahoo.com> Cc: fbsd hackers <freebsd-hackers@freebsd.org> Subject: Re: Shared library support Message-ID: <394DF199-B2AA-467E-99AE-85AF5BBF0903@mac.com> In-Reply-To: <408150.28627.qm@web32901.mail.mud.yahoo.com> References: <408150.28627.qm@web32901.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@mac.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?394DF199-B2AA-467E-99AE-85AF5BBF0903>