Xref: utzoo comp.windows.x:19768 comp.unix.questions:20597 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.windows.x,comp.unix.questions Subject: Re: Motif shared library? Message-ID: <3033@auspex.auspex.com> Date: 13 Mar 90 19:34:24 GMT References: <132807@sun.Eng.Sun.COM> <3024@auspex.auspex.com> <132857@sun.Eng.Sun.COM> Followup-To: comp.unix.questions Organization: Auspex Systems, Santa Clara Lines: 20 >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).