mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
Update.
2003-07-03 Ulrich Drepper <drepper@redhat.com> * configure.in: Also check for .cfi_rel_offset pseudo-op.
This commit is contained in:
parent
414f49c034
commit
fbd90f6c25
@ -1,3 +1,7 @@
|
||||
2003-07-03 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* configure.in: Also check for .cfi_rel_offset pseudo-op.
|
||||
|
||||
2003-07-03 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency): Fix a
|
||||
|
@ -1530,6 +1530,7 @@ cat > conftest.s <<EOF
|
||||
func:
|
||||
.cfi_startproc
|
||||
.cfi_remember_state
|
||||
.cfi_rel_offset 1, 0
|
||||
.cfi_endproc
|
||||
EOF
|
||||
if AC_TRY_COMMAND(${CC-cc} $ASFLAGS -c conftest.s 1>&AS_MESSAGE_LOG_FD); then
|
||||
|
@ -1,5 +1,7 @@
|
||||
2003-07-03 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/pthread/configure.in: Require CFI directives.
|
||||
|
||||
* sysdeps/pthread/librt-cancellation.c (__pthread_unwind): Remove
|
||||
definition.
|
||||
* pthreadP.h (__pthread_unwind): Add hidden_proto if used in
|
||||
|
24
nptl/sysdeps/pthread/configure
vendored
24
nptl/sysdeps/pthread/configure
vendored
@ -6,6 +6,12 @@ echo "$as_me: error: compiler support for __thread is required" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
|
||||
if test "x$libc_cv_asm_cfi_directives" != xyes; then
|
||||
{ { echo "$as_me:$LINENO: error: CFI directive support in assembler is required" >&5
|
||||
echo "$as_me: error: CFI directive support in assembler is required" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
|
||||
|
||||
echo "$as_me:$LINENO: checking for forced unwind support" >&5
|
||||
echo $ECHO_N "checking for forced unwind support... $ECHO_C" >&6
|
||||
@ -14,11 +20,7 @@ if test "${libc_cv_forced_unwind+set}" = set; then
|
||||
else
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
#line $LINENO "configure"
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
#include "confdefs.h"
|
||||
#include <unwind.h>
|
||||
int
|
||||
main ()
|
||||
@ -46,8 +48,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||
libc_cv_forced_unwind=yes
|
||||
else
|
||||
echo "$as_me: failed program was:" >&5
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
cat conftest.$ac_ext >&5
|
||||
libc_cv_forced_unwind=no
|
||||
fi
|
||||
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
||||
@ -68,11 +69,7 @@ if test "${libc_cv_c_cleanup+set}" = set; then
|
||||
else
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
#line $LINENO "configure"
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <stdio.h>
|
||||
void cl (void *a) { }
|
||||
@ -102,8 +99,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||
libc_cv_c_cleanup=yes
|
||||
else
|
||||
echo "$as_me: failed program was:" >&5
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
cat conftest.$ac_ext >&5
|
||||
libc_cv_c_cleanup=no
|
||||
fi
|
||||
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
||||
|
@ -5,6 +5,10 @@ if test "x$libc_cv_gcc___thread" != xyes; then
|
||||
AC_MSG_ERROR(compiler support for __thread is required)
|
||||
fi
|
||||
|
||||
if test "x$libc_cv_asm_cfi_directives" != xyes; then
|
||||
AC_MSG_ERROR(CFI directive support in assembler is required)
|
||||
fi
|
||||
|
||||
dnl Iff <unwind.h> is available, make sure it is the right one and it
|
||||
dnl contains struct _Unwind_Exception.
|
||||
AC_CACHE_CHECK(dnl
|
||||
|
Loading…
Reference in New Issue
Block a user