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: Support Sun as visibility syntax


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


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