Date: Sat, 30 Aug 1997 21:46:58 -0500 (EST) From: "John S. Dyson" <toor@dyson.iquest.net> To: mike@ducky.net (Mike Haertel) Cc: dyson@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: PIC (was: shared libraries?) Message-ID: <199708310246.VAA27134@dyson.iquest.net> In-Reply-To: <199708310233.TAA00415@ducky.net> from Mike Haertel at "Aug 30, 97 07:33:49 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Haertel said: > > One thing that's always baffled me is, why does gcc insist > on *dedicating* a register for the global offset table pointer? > > I would hope that instead of dedicating a register, they would > just make the global offset table pointer a regular variable > subject to register allocation just like any other variable. > Then, code that doesn't use global variables wouldn't be hurt > by being put in a shared library. > Good idea. It appears that the GCC folks are moving much faster now, and perhaps, maybe they'll look into that some day :-). -- John dyson@freebsd.org jdyson@nc.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708310246.VAA27134>