diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-06-26 17:33:32 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-06-26 17:33:32 +0000 |
commit | a8779c28a8172b6573c9dd1724540e679c77168c (patch) | |
tree | d0a1bd81d9e6657d05d4c52f27eeeb62ad31aa1b /sysdeps/arm/configure.ac | |
parent | 059bf913b5b3c5553a3756b4d9794e2eb3ce4f25 (diff) | |
download | glibc-a8779c28a8172b6573c9dd1724540e679c77168c.zip glibc-a8779c28a8172b6573c9dd1724540e679c77168c.tar.gz glibc-a8779c28a8172b6573c9dd1724540e679c77168c.tar.bz2 |
Remove configure tests for assembler CFI support.
This patch removes configure tests for assembler CFI support (and
thereby eliminates an architecture-specific case in the main
configure.ac), instead assuming that support is present
unconditionally.
The main test was added in 2003 around the time CFI support was added
to the assembler. cfi_personality and cfi_lsda support were added to
the assembler in 2006. cfi_sections support was added in 2009, a few
weeks before binutils 2.20 was released; it's in 2.20, the minimum
supported version, so even that configure test is obsolete.
Tested x86_64 that the installed shared libraries are unchanged by
this patch.
* configure.ac (libc_cv_asm_cfi_directives): Remove configure
test.
* configure: Regenerated.
* config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
* sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
Remove configure test.
* sysdeps/arm/configure: Regenerated.
* sysdeps/nptl/configure.ac: Do not check
libc_cv_asm_cfi_directives.
* sysdeps/nptl/configure: Regenerated.
* sysdeps/x86_64/nptl/configure.ac: Remove file.
* sysdeps/x86_64/nptl/configure: Remove generated file.
* b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
unconditional.
[!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
Diffstat (limited to 'sysdeps/arm/configure.ac')
-rw-r--r-- | sysdeps/arm/configure.ac | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sysdeps/arm/configure.ac b/sysdeps/arm/configure.ac index fdc52c0..f1d9804 100644 --- a/sysdeps/arm/configure.ac +++ b/sysdeps/arm/configure.ac @@ -7,24 +7,6 @@ dnl NOTE: This feature was added by the GCC TLS patches. We should test for dnl it. Until we do, don't define it. #AC_DEFINE(PI_STATIC_AND_HIDDEN) -AC_CACHE_CHECK([whether the CFI directive .cfi_sections is supported], - [libc_cv_asm_cfi_directive_sections], - [cat > conftest.s <<EOF - .text - .cfi_sections .debug_frame, .eh_frame - .cfi_startproc - .cfi_endproc -EOF - if AC_TRY_COMMAND(${CC-cc} $ASFLAGS -c conftest.s 1>&AS_MESSAGE_LOG_FD); then - libc_cv_asm_cfi_directive_sections=yes - else - libc_cv_asm_cfi_directive_sections=no - fi - rm -f conftest*]) -if test $libc_cv_asm_cfi_directive_sections != yes; then - AC_MSG_ERROR([need .cfi_sections in this configuration]) -fi - # We check to see if the compiler and flags are # selecting the hard-float ABI and if they are then # we set libc_cv_arm_pcs_vfp to yes which causes |