Motif shared library?

Guy Harris guy at auspex.auspex.com
Wed Mar 14 05:34:24 AEST 1990


>The .sa file may have to contain code, if the address of a function is
>referenced by both library code and library client code (e.g. mem_rop in
>the pixrect library).

Yup, I'd forgotten that little Tale of Terror from 4.0 development days.
If you have to do something like

	if (foo->bar->bletch == mem_rop) {
		/*
		 * Do special memory pixrect stuff
		 */
	} else {
		/*
		 * Do other pixrect stuff
		 */
	}

this comes into play (i.e., it's not *any* reference by name that causes
problems, it's references that actually care about the address of the
function as something other than the target of a jump).



More information about the Comp.unix.questions mailing list