diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-10-29 12:48:24 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-10-29 12:48:24 +0000 |
commit | 2a723ff6ff8ebbcb6759bfaf28fd25b390ce9390 (patch) | |
tree | 1cb4271a1fa63ea1e0d0a72fb56505e1dd41c953 /sysdeps/generic/machine-lock.h | |
parent | dbb7600658d8ea633083ee99572622b04ef23a3f (diff) | |
download | glibc-2a723ff6ff8ebbcb6759bfaf28fd25b390ce9390.tar.gz glibc-2a723ff6ff8ebbcb6759bfaf28fd25b390ce9390.tar.xz glibc-2a723ff6ff8ebbcb6759bfaf28fd25b390ce9390.zip |
Remove configure tests for visibility support.
There are various configure tests for visibility support in the compiler and assember. GCC support for visibility attributes was added in GCC 3.3. I don't know what specific fix was intended by the test "for broken __attribute__((visibility())", but it was added by <https://sourceware.org/ml/libc-hacker/2002-08/msg00030.html>, and GCC 3.3 appears not to have that breakage, so I suspect it was only ever in development versions before 3.3 was released. The assembler support was added in binutils 2.10. This patch removes the tests in question as obsolete. Two tests that were formerly conditional on "if test $libc_cv_visibility_attribute = yes", including the one for linker support for protected data, are now unconditional. Tested for x86_64 and x86 (testsuite, and that installed shared libraries are unchanged by the patch). * configure.ac (libc_cv_asm_protected_directive): Remove configure test. (libc_cv_visibility_attribute): Likewise. (libc_cv_protected_data): Test unconditionally. (libc_cv_broken_visibility_attribute): Remove configure test. (libc_cv_have_sdata_section): Test unconditionally. * configure: Regenerated.
Diffstat (limited to 'sysdeps/generic/machine-lock.h')
0 files changed, 0 insertions, 0 deletions