OSDN Git Service

2009-09-11 Loren J. Rittle <ljrittle@acm.org>
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Sep 2009 15:37:40 +0000 (15:37 +0000)
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Sep 2009 15:37:40 +0000 (15:37 +0000)
* configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151638 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index 5b43e8a..82f22ad 100644 (file)
@@ -4,6 +4,9 @@
        to match the system compiler's configuration at inflection point.
        Add comment to remark a remaining difference with system compiler.
 
+       * configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail.
+       * configure: Regenerate.
+
 2009-09-11  Bernd Schmidt  <bernd.schmidt@analog.com>
 
        From Jie Zhang <jie.zhang@analog.com>:
index 3cfc903..2e9385e 100755 (executable)
@@ -24388,7 +24388,7 @@ else
         # simply assert that glibc does provide this, which is true for all
         # realistically usable GNU/Hurd configurations.
         gcc_cv_libc_provides_ssp=yes;;
-       *-*-darwin*)
+       *-*-darwin* | *-*-freebsd*)
         ac_fn_c_check_func "$LINENO" "__stack_chk_fail" "ac_cv_func___stack_chk_fail"
 if test "x$ac_cv_func___stack_chk_fail" = x""yes; then :
   gcc_cv_libc_provides_ssp=yes
index b8ec90e..ca6e3c2 100644 (file)
@@ -3720,7 +3720,7 @@ AC_CACHE_CHECK(__stack_chk_fail in target C library,
         # simply assert that glibc does provide this, which is true for all
         # realistically usable GNU/Hurd configurations.
         gcc_cv_libc_provides_ssp=yes;;
-       *-*-darwin*)
+       *-*-darwin* | *-*-freebsd*)
         AC_CHECK_FUNC(__stack_chk_fail,[gcc_cv_libc_provides_ssp=yes],
            [echo "no __stack_chk_fail on this target"])
         ;;