summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-06 22:58:39 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-06 22:58:39 +0000
commitced368f7dc4df79822d88988365a82b5dd3bec16 (patch)
treeefdb37880d81b19b140091b960df9a534ec0b13c /configure.in
parentcbbbb1887f2c4a4a620627d5d1b0619368d2d511 (diff)
downloadglibc-ced368f7dc4df79822d88988365a82b5dd3bec16.tar.gz
glibc-ced368f7dc4df79822d88988365a82b5dd3bec16.tar.xz
glibc-ced368f7dc4df79822d88988365a82b5dd3bec16.zip
* scripts/check-c++-types.sh: Add more pthread types.
	* scripts/data//c++-types-i386-linux-gnu.data: Adjust.
	* scripts/data//c++-types-ia64-linux-gnu.data: Likewise.
	* scripts/data//c++-types-powerpc-linux-gnu.data: Likewise.
	* scripts/data//c++-types-powerpc64-linux-gnu.data: Likewise.
	* scripts/data//c++-types-s390-linux-gnu.data: Likewise.
	* scripts/data//c++-types-s390x-linux-gnu.data: Likewise.
	* scripts/data//c++-types-x86_64-linux-gnu.data: Likewise.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 1199ac00ea..b5d4e3ff4b 100644
--- a/configure.in
+++ b/configure.in
@@ -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