--as-needed by default

Alexandre Oliva aoliva@redhat.com
Wed Mar 9 05:41:00 GMT 2005


On Mar  8, 2005, Zack Weinberg <zack@codesourcery.com> wrote:

> What I was saying is, I don't think anyone has ever attempted, or is
> likely ever to attempt, to construct such a libfoo.so, because it
> wouldn't help with the corresponding libfoo.a.

libfoo.a could be the linker script you suggest.

> People instead bite the bullet and increment libfoo's soname.

Yuck.  I'd hope not.  Breaking binary compatibility shouldn't be done
lightly.

> Therefore I do not think this is a case to be worried about.

We'll have to agree to disagree on this one.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the Binutils mailing list