This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: 4.0.2/4.1 PATCH: Enforce PIC code for mips libffi (PR libgcj/21943)
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.
> I agree that your position makes as much sense as can be expected under
> the circumstances, but the same is true of the current IRIX situation.
> (Which, just to be clear, is that we use assembler directives to select
> the kind of code we want.) I don't see a strong argument for changing
> it and I'm inclined to keep things the way they are. Maybe Eric has a
> stronger opinion.
Well, if you want to keep the IRIX setup strange, please feel free --
frankly I don't care at all.
Maciej