summaryrefslogtreecommitdiff
path: root/libssp
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-20 21:33:25 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-20 21:33:25 +0000
commit2965360cafea2e52a76ef477803729e24f13990c (patch)
tree60e8efcd9866b93595080235d3954b0167272337 /libssp
parent8f399589922c25f04e19d5780b908fa517d05020 (diff)
downloadgcc-2965360cafea2e52a76ef477803729e24f13990c.tar.gz
2006-01-20 Richard Guenther <rguenther@suse.de>
* configure.ac: Use -fPIC for symbol versioning test. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110040 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libssp')
-rw-r--r--libssp/ChangeLog5
-rwxr-xr-xlibssp/configure2
-rw-r--r--libssp/configure.ac2
3 files changed, 7 insertions, 2 deletions
diff --git a/libssp/ChangeLog b/libssp/ChangeLog
index fd1bc71ca2f..125fb1e3862 100644
--- a/libssp/ChangeLog
+++ b/libssp/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-20 Richard Guenther <rguenther@suse.de>
+
+ * configure.ac: Use -fPIC for symbol versioning test.
+ * configure: Regenerate.
+
2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
* ALL: Update FSF address.
diff --git a/libssp/configure b/libssp/configure
index e603accfb82..396bf5c355b 100755
--- a/libssp/configure
+++ b/libssp/configure
@@ -3404,7 +3404,7 @@ FOO_1.0 {
};
EOF
save_LDFLAGS="$LDFLAGS"
-LDFLAGS="$LDFLAGS -shared -Wl,--version-script,./conftest.map"
+LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
diff --git a/libssp/configure.ac b/libssp/configure.ac
index 05c84f6f70a..0bec15c140f 100644
--- a/libssp/configure.ac
+++ b/libssp/configure.ac
@@ -75,7 +75,7 @@ FOO_1.0 {
};
EOF
save_LDFLAGS="$LDFLAGS"
-LDFLAGS="$LDFLAGS -shared -Wl,--version-script,./conftest.map"
+LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
AC_TRY_LINK([int foo;],[],[ssp_use_symver=yes],[ssp_use_symver=no])
LDFLAGS="$save_LDFLAGS"
AC_MSG_RESULT($ssp_use_symver)