shared libraries and dynamic relocation

Andrew Klossner andrew at frip.gwd.tek.com
Tue Sep 13 14:02:00 AEST 1988


[]

		"It also means it's easier to make it more powerful;
		the SunOS shared libraries are not tied to specific
		locations, and relocation is done when the library is
		mapped in."

	"What are the performance trade-offs here?  All of Sun's
	hardware may support position independent code, but I wonder
	what the expense would be of actually relocating the library
	code on each and every exec() on a processor where all branches
	are absolutely addressed."

Note that AT&T has announced that, with system V release 4, they will
also do dynamic loading on exec to support shared system calls.  They
will also trash the COFF format in favor of yet another object file
format, ELF.

  -=- Andrew Klossner   (decvax!tektronix!tekecs!andrew)       [UUCP]
                        (andrew%tekecs.tek.com at relay.cs.net)   [ARPA]



More information about the Comp.unix.wizards mailing list