diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-01-15 22:25:24 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-01-15 22:25:24 +0000 |
commit | a3dd15112e6e0a672607f7ab4b9234131de6bac4 (patch) | |
tree | 5d169750c2b3470ab6474287151ec27e62399f0e /gnu | |
parent | 756b78b0899784d745da695da0c2a3c6e1864ab4 (diff) |
Bring back symbol visibility support. This had been done, then backed out,
a long time ago, because I had not realized symbol visibility required a
lot of shared library major bumps to avoid mixed binaries.
However, at the moment, none of the platforms using gcc 3 supports shared
libraries (this is being worked on), and the remaining gcc 2 platforms won't
support gcc 3 until switching from a.out to ELF, which makes the risk of mixing
visibility-unaware binaries with visibility-aware binaries moot.
Reminded by brad@.
Diffstat (limited to 'gnu')
-rwxr-xr-x | gnu/usr.bin/gcc/gcc/configure | 2 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/configure.in | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/configure b/gnu/usr.bin/gcc/gcc/configure index dfe788e4b96..7ee431b97b8 100755 --- a/gnu/usr.bin/gcc/gcc/configure +++ b/gnu/usr.bin/gcc/gcc/configure @@ -7274,6 +7274,7 @@ elif test x$gcc_cv_as != x; then fi rm -f conftest.s conftest.o conftest.nm1 conftest.nm2 + if false; then # GNU LD versions before 2.12.1 have buggy support for STV_HIDDEN. # This is irritatingly difficult to feature test for. Look for # the date string after the version number. @@ -7307,6 +7308,7 @@ elif test x$gcc_cv_as != x; then # non-GNU linkers don't seem to support .hidden yet gcc_cv_as_hidden=no fi + fi fi if test x"$gcc_cv_as_hidden" = xyes; then cat >> confdefs.h <<\EOF diff --git a/gnu/usr.bin/gcc/gcc/configure.in b/gnu/usr.bin/gcc/gcc/configure.in index 0f64d07bf85..a9c1e9ecbc2 100644 --- a/gnu/usr.bin/gcc/gcc/configure.in +++ b/gnu/usr.bin/gcc/gcc/configure.in @@ -1629,6 +1629,7 @@ elif test x$gcc_cv_as != x; then fi rm -f conftest.s conftest.o conftest.nm1 conftest.nm2 + if false; then # GNU LD versions before 2.12.1 have buggy support for STV_HIDDEN. # This is irritatingly difficult to feature test for. Look for # the date string after the version number. @@ -1664,6 +1665,7 @@ changequote([,])dnl # non-GNU linkers don't seem to support .hidden yet gcc_cv_as_hidden=no fi + fi fi if test x"$gcc_cv_as_hidden" = xyes; then AC_DEFINE(HAVE_GAS_HIDDEN, 1, |