[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFD] optimized versions of openssl



On Wed, Sep 04, 2002 at 12:40:57PM -0400, Daniel Jacobowitz wrote:
> You can make the linker do most of the work for you.  Glibc's linker
> tries CPU-specific directory prefixes before looking straight in /lib
> or /usr/lib.  You could provide small sub-libraries in /usr/lib/sparcv8
> (I think that works.... someone should check; I know /lib/686 works on
> i386) that contain the optimized code.  Then a normal version in
> /usr/lib and openssl's main shared library can link to the small
> library, trusting the linker to find the right one.

Except, IIRC, we stopped doing that for glibc since it caused all sorts
of hell. (Don't remember the specific hellaciousness, but I don't recall
it being good. :) If that method can be used sucessfully it would be
nice for this case. 

-- 
Mike Stone

Attachment: pgp2_zrqXGxo7.pgp
Description: PGP signature


Reply to: