Support Sun as visibility syntax

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Mar 16 09:03:00 GMT 2010


Eric Botcazou <ebotcazou@adacore.com> writes:

>> I'm using the USE_GAS macro to avoid having to redefine
>> TARGET_ASM_ASSEMBLE_VISIBLITY to the default in the gas-specific target
>> headers, but chose to avoid including gas.h for that.  Instead, I just
>> use the tm_defines feature of config.gcc to define USE_GAS for both
>> Solaris 2/SPARC and x86.
>
> Please don't do that, that's backward, use only header files in config.gcc.

Why?  tm_defines is heavily used, even for Solaris 2 targets, and I find
this easier to understand and use than a flurry of single-line header
files.

	Rainer

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



More information about the Gcc-patches mailing list