[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r2600 - in /trunk/libc: ChangeLog.eglibc configure configure.in
- To: commits@xxxxxxxxxx
- Subject: [commits] r2600 - in /trunk/libc: ChangeLog.eglibc configure configure.in
- From: jimb@xxxxxxxxxx
- Date: Fri, 22 Jun 2007 23:11:09 -0000
Author: jimb
Date: Fri Jun 22 16:11:09 2007
New Revision: 2600
Log:
* configure.in: Hardware test for have-fpie to 'yes'.
* configure: Regenerated.
Modified:
trunk/libc/ChangeLog.eglibc
trunk/libc/configure
trunk/libc/configure.in
Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Fri Jun 22 16:11:09 2007
@@ -1,3 +1,8 @@
+2007-06-22 Jim Blandy <jimb@xxxxxxxxxxxxxxxx>
+
+ * configure.in: Hardware test for have-fpie to 'yes'.
+ * configure: Regenerated.
+
2007-06-21 Jim Blandy <jimb@xxxxxxxxxxxxxxxx>
* locale/C-ctype.c: If OPTION_EGLIBC_LOCALE_CODE is not enabled,
Modified: trunk/libc/configure
==============================================================================
--- trunk/libc/configure (original)
+++ trunk/libc/configure Fri Jun 22 16:11:09 2007
@@ -5848,32 +5848,7 @@
echo "${ECHO_T}$libc_cv_z_execstack" >&6
- echo "$as_me:$LINENO: checking for -fpie" >&5
-echo $ECHO_N "checking for -fpie... $ECHO_C" >&6
-if test "${libc_cv_fpie+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-int foo;
-main () { return 0;}
-EOF
- if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
- -o conftest conftest.c 1>&5'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }
- then
- libc_cv_fpie=yes
- else
- libc_cv_fpie=no
- fi
- rm -f conftest*
-fi
-echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
-echo "${ECHO_T}$libc_cv_fpie" >&6
-
+ libc_cv_fpie=yes
echo "$as_me:$LINENO: checking for --hash-style option" >&5
Modified: trunk/libc/configure.in
==============================================================================
--- trunk/libc/configure.in (original)
+++ trunk/libc/configure.in Fri Jun 22 16:11:09 2007
@@ -1577,20 +1577,11 @@
rm -f conftest*])
AC_SUBST(libc_cv_z_execstack)
- AC_CACHE_CHECK(for -fpie, libc_cv_fpie, [dnl
- cat > conftest.c <<EOF
-int foo;
-main () { return 0;}
-EOF
- if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
- -o conftest conftest.c 1>&AS_MESSAGE_LOG_FD])
- then
- libc_cv_fpie=yes
- else
- libc_cv_fpie=no
- fi
- rm -f conftest*])
-
+ dnl A build-and-link test for this fails during a bootstrap build,
+ dnl since we haven't yet built startup files needed for the link.
+ dnl However, we require versions of GCC and binutils that are new
+ dnl enough that -fpie should always work.
+ libc_cv_fpie=yes
AC_SUBST(libc_cv_fpie)
AC_CACHE_CHECK(for --hash-style option,