(libc_cv_asm_cfi_directives): Use CFI rel offset 2047 instead of 0 in
authordrepper <drepper>
Fri, 6 Jan 2006 22:44:22 +0000 (22:44 +0000)
committerdrepper <drepper>
Fri, 6 Jan 2006 22:44:22 +0000 (22:44 +0000)
the test on sparc64.

configure.in

index 1199ac0..b5d4e3f 100644 (file)
@@ -1676,13 +1676,17 @@ elif test $libc_cv_asm_weakext_directive = yes; then
 fi
 
 AC_CACHE_CHECK(whether CFI directives are supported, libc_cv_asm_cfi_directives, [dnl
+case $machine in
+  sparc/sparc64*) cfi_offset=2047;;
+  *) cfi_offset=0;;
+esac
 cat > conftest.s <<EOF
         .text
         .type   func,%function
 func:
         .cfi_startproc
        .cfi_remember_state
-       .cfi_rel_offset 1, 0
+       .cfi_rel_offset 1, $cfi_offset
         .cfi_endproc
 EOF
 if AC_TRY_COMMAND(${CC-cc} $ASFLAGS -c conftest.s 1>&AS_MESSAGE_LOG_FD); then