This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Support Sun as visibility syntax
- From: Janis Johnson <janis dot marie dot johnson at gmail dot com>
- To: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Janis Johnson <janis187 at us dot ibm dot com>
- Date: Mon, 15 Mar 2010 16:53:06 -0700
- Subject: Re: Support Sun as visibility syntax
- References: <ydd8w9t5pb8.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
On Mon, Mar 15, 2010 at 12:59 PM, Rainer Orth
<ro@cebitec.uni-bielefeld.de> wrote:
> While comparing mainline testsuite results on Solaris 11/x86 between Sun
> as and gas, I noticed a few failing testcases with Sun as: while it does
> understand .hidden, just like gas, it fails both with .internal and
> .protected. ?Looking at the Studio 12.1 cc -S output (which supports
> __attribute__((visibility("internal"))) etc. just like gcc), I found
> what's going on:
>
>
> Ok for mainline? ?I only need approval for the testsuite changes (which
> are almost obvious).
Don't change the expected expressions for all targets. Instead, use the
new one only for solaris and the existing one for non-Solaris.
Janis