Re: [PATCH v2] Check if gcc complains about __attribute__ (visibility(..))

2017-08-19 Thread Mark Wielaard
On Fri, Aug 18, 2017 at 01:06:36PM +0200, Ulf Hermann wrote: > If so, define attribute_hidden to be empty. Also, use attribute_hidden > in all places where we hide symbols. If this attribute is missing, it > simply means that we cannot hide private symbols in the binary using > attributes. This dis

[PATCH v2] Check if gcc complains about __attribute__ (visibility(..))

2017-08-18 Thread Ulf Hermann
If so, define attribute_hidden to be empty. Also, use attribute_hidden in all places where we hide symbols. If this attribute is missing, it simply means that we cannot hide private symbols in the binary using attributes. This disables some optimizations and may increase the risk of symbol name cl