Mike Stump <mikest...@comcast.net> writes: > On Apr 5, 2011, at 1:56 AM, Rainer Orth wrote: >> * lto.c (promote_var): Only set VISIBILITY_HIDDEN if >> HAVE_GAS_HIDDEN. > > This looks wrong, there are more things that have visibility than those > things that use GAS and have .hidden. Darwin I think is one of them. ? > cygming.h seems to be another.
As for many of the HAVE_GAS_* macros, this one is a misnomer: it simply describes if the target assembler has visibility support (at least for many targets). Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University