Commit a6ccdbab by Eric Christopher

configure.ac: Check for __stack_chk_fail for darwin.

2007-01-07  Eric Christopher  <echristo@apple.com>

        * configure.ac: Check for __stack_chk_fail for darwin.
        * configure: Regenerate.

From-SVN: r120559
parent 16fd4d2d
2007-01-07 Eric Christopher <echristo@apple.com>
* configure.ac: Check for __stack_chk_fail for darwin.
* configure: Regenerate.
2007-01-07 Richard Guenther <rguenther@suse.de>
* tree-vrp.c (extract_range_from_assert): CSE calls to
......@@ -10,7 +15,7 @@
* config/avr/avr.c (call_insn_operand): Delete function.
* config/avr/avr.md (*pushqi, *pushhi, *pushsi, *pushsf): Use REG_SP
instead of register number. Use predicates.
* config/avr/predicates.md (const0_operand, reg_or_0_operand,
* config/avr/predicates.md (const0_operand, reg_or_0_operand,
call_insn_operand): Add.
2007-01-06 Jan Hubicka <jh@suse.cz>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3328,11 +3328,11 @@ if test x$with_sysroot = x && test x$host = x$target \
fi
# Test for stack protector support in target C library.
case "$target" in
*-*-linux*)
AC_CACHE_CHECK(__stack_chk_fail in target GNU C library,
AC_CACHE_CHECK(__stack_chk_fail in target C library,
gcc_cv_libc_provides_ssp,
[gcc_cv_libc_provides_ssp=no
case "$target" in
*-*-linux*)
if test x$host != x$target || test "x$TARGET_SYSTEM_ROOT" != x; then
if test "x$with_sysroot" = x; then
glibc_header_dir="${exec_prefix}/${target_noncanonical}/sys-include"
......@@ -3358,9 +3358,15 @@ case "$target" in
$glibc_header_dir/features.h > /dev/null; then
gcc_cv_libc_provides_ssp=yes
fi
fi]) ;;
fi
;;
*-*-darwin*)
AC_CHECK_FUNC(__stack_chk_fail,[gcc_cv_libc_provides_ssp=yes],
[echo "no __stack_chk_fail on this target"])
;;
*) gcc_cv_libc_provides_ssp=no ;;
esac
esac])
if test x$gcc_cv_libc_provides_ssp = xyes; then
AC_DEFINE(TARGET_LIBC_PROVIDES_SSP, 1,
[Define if your target C library provides stack protector support])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment