This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 4.0.2/4.1 PATCH: Enforce PIC code for mips libffi (PR libgcj/21943)
"Maciej W. Rozycki" <macro@linux-mips.org> writes:
> On Fri, 10 Jun 2005, Richard Sandiford wrote:
>> > I'd suggest changing specs to pass "-KPIC" to gas instead or otherwise
>> > you'll have problems with other assembly language sources anyway. For
>> > Linux GCC passes this option to gas unless "-mno-abicalls" is given -- I
>> > guess it should work for you as well. But I'll leave the decision up to
>> > the MIPS maintainers.
>>
>> As so often with MIPS stuff, no-one would have really wanted the
>> current situation. Having GAS default to one thing and GCC default
>> to the opposite is just plain silly. The problem is, once you have
>> that silliness, none of the possible ways of resolving it are
>> "obviously" better than the others.
>
> Agreed. And I'm glad both default to the same settings consistently for
> Linux.
> [...]
> Well, if you want to keep the IRIX setup strange, please feel free --
> frankly I don't care at all.
Huh? Like you said yourself in your earlier reply, mips*-linux-gnu GAS
defaults to non-PIC too, just like IRIX does. My point was that it's silly
to have mips*-linux-gnu GAS default to one thing (when invoked directly)
and mips*-linux-gnu GCC to default to the opposite.
Richard