about summary refs log tree commit diff
path: root/sysdeps/i386/elf/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/elf/configure.in')
-rw-r--r--sysdeps/i386/elf/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/i386/elf/configure.in b/sysdeps/i386/elf/configure.in
index 3c27d0171f..89a43b04b9 100644
--- a/sysdeps/i386/elf/configure.in
+++ b/sysdeps/i386/elf/configure.in
@@ -18,6 +18,9 @@ baz:	leal	bar@TLSLDM(%ebx), %eax
 	leal	bar@DTPOFF(%eax), %edx
 	subl	foo@GOTTPOFF(%edx), %eax
 	subl	$bar@TPOFF, %eax
+	movl	foo@GOTNTPOFF(%edx), %ecx
+	movl	%gs:(%ecx), %eax
+	movl	%gs:bar@NTPOFF, %eax
 EOF
 dnl
 if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AC_FD_CC); then