Martin Schwidefsky <schwidef...@de.ibm.com> writes:

> On Wed, 07 Dec 2011 10:33:54 +0100
> Rainer Orth <r...@cebitec.uni-bielefeld.de> wrote:
>
>> Mike Frysinger <vap...@gentoo.org> writes:
>> 
>> >      s390*-*-*)
>> >    $1=-fpic
>> >    ;;
>> 
>> Perhaps it's better to remove both s390* cases and use the -fPIC default
>> everywhere, as does libtool.  picflag.m4 is supposed to be usable
>> everywhere.
>
> What does "usable everywhere" actually mean, usable everywhere in binutils
> or usable in any imaginable piece of code? If we are only interested in
> binutils then -fpic is good enough for 31-bit s390 right now.

picflag.m4 isn't used only in binutils, but for several gcc libraries as
well.  That's why I'm arguing to use a safe default (-fPIC) if feasible,
rather than adjusting/overriding whenever -fpic breaks.  Overrides like
in libgcc/config/s390/t-crtstuff don't seem particularly useful to me,
especially when done with no explanation as I suggested when that patch
went in.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to