OpenSolaris

  subsites   code review   repo   packages   bugs   defect   polls   planet
You are not signed in. Sign in or register.

Dynamic Linking

Community Leader

Community Alias

Discussions within this community are held through tools dash linking at opensolaris dot org.

OpenSolaris Dynamic Linking

The primary purpose of this community is to discuss issues regarding the runtime linker ld.so.1(1), and the link-editor ld(1).

However, having supported these utilities for some time now, the core issues that are normally discussed regarding these utilities revolve around dynamic linking in general; that is, creating dynamic objects, together with running, locating, binding and diagnosing these objects.

The individual tools are often the source of a number of questions, and this community is intended to be the resource to get the answers.

Various support utilities fall under the dynamic linking umbrella, including ldd(1), elfdump(1), pvs(1), crle(1), moe(1), and lari(1).

The runtime linker provides support for the dynamic linking interfaces dlopen(3c), dlclose(3c), dlsym(3c), dlerror(3c), dlinfo(3c), dladdr(3c), and dldump(3c).

These tools are a family of utilities whose purpose is to provide dynamic linking support. Problem solving within the dynamic linking framework, and any extensions that might be useful, are the focus of many customers. Thus, this community is intended to be the place for an overall dynamic linking exchange.

Dynamic linking is covered extensively in the Linker and Libraries Guide.

The source code lives under usr/src/cmd/sgs, for which there is a introductory source tour.

New Stuff

A new chapter for the Linker and Libraries Guide, that describes in detail the use of direct bindings, is now available in the appendix Direct Binding.

A new utility for examining or modifying the contents of an existing ELF object is now available as elfedit.