This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Fix Solaris/SPARC bootstrap without gas


From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date: Thu, 04 Feb 2010 13:30:26 +0100

> * If we have to revisit this and do it properly, the right way to me
>   seems to simply check for the gas/as feature we need in configure.ac,
>   define an appropriate macro, and use that instead of statically
>   including some header.  It might even be that older versions of gas
>   don't support what we need (I have no idea, though), so the static
>   approach is highly problematic.

It's not about features.

It's about the fact that Solaris's assembler uses different
section attribute specifiers than any other ELF assembler
in the world.

That's the only reason the override exists.

So we really, and truly, want to test whether we are using
GAS or not.

Basically, the only configuration that should be using the
sparc target override function is Solaris without GAS.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]