Recent changes to 14: Add support for ELF symbols visibility support for ELF symbols visibility2006-05-28T02:01:13Z2006-05-28T02:01:13ZDiego Elio Pettenò<div class="markdown_content"><p>The attached patch adds support for GCC's ELF symbols <br /> visibility, making use of the already present <br /> dllexport support. Basically it checks if the <br /> compiler supports the visibility attribute <br /> and -fvisibility=hidden (the first is a prerequisite <br /> for the second), in which case it adds the <br /> declarations so that it exports the API.</p> <p>The patch is a bit big, because it uses my <br /> convenience attributes.m4 file (that is used already <br /> by a few packages, and allows to cache the test <br /> values) to do the configure-time checks.</p> <p>It also has to remove test_libFLAC because it tries <br /> to use an internal symbol of libFLAC that shouldn't <br /> be used as it's not exported. I wouldn't know how to <br /> fix the test exactly.</p> <p>The result after this patch is ~100 symbols less in <br /> libFLAC, and ~50 more in the other libraries, not a <br /> bad result after all.</p> <p>HTH,<br /> Diego "Flameeyes" Pettenò<br /> &lt;;</p></div>