Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!think.com!paperboy!meissner From: meissner@osf.org (Michael Meissner) Newsgroups: comp.unix.internals Subject: Re: Fundamental defect of the concept of shared libraries Message-ID: Date: 25 May 91 00:07:39 GMT References: <215@titccy.cc.titech.ac.jp> <1991May22.063425.26144@kithrup.COM> <225@titccy.cc.titech.ac.jp> <1991May23.082658.4881@kithrup.COM> Sender: news@OSF.ORG Organization: Open Software Foundation Lines: 34 In-reply-to: sef@kithrup.COM's message of 23 May 91 08:26:58 GMT In article <1991May23.082658.4881@kithrup.COM> sef@kithrup.COM (Sean Eric Fagan) writes: | In article <225@titccy.cc.titech.ac.jp> mohta@necom830.cc.titech.ac.jp (Masataka Ohta) writes: | >You poor boy, such an old trick is already known to me. I sometimes use | >the trick if it is possible. | >The problem here is that "jal" is not PC-relative. | | *sigh* | Fine. How about: | | mov 1, $at | bgezal $at, foo1$ | nop | foo1$: | mov $r31, $at Well actually, the move of 1 to $at is unnessary, since you already have 0 in $0, and the test is >= 0. .set noreorder .set noat bgezal $0, foo1$ nop foo1$: mov $r31, $at .set at .set reorder -- Michael Meissner email: meissner@osf.org phone: 617-621-8861 Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142 You are in a twisty little passage of standards, all conflicting.