]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Regenerated configure file for SPARC64.
authorUlrich Drepper <drepper@redhat.com>
Tue, 12 Mar 2002 00:37:05 +0000 (00:37 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 12 Mar 2002 00:37:05 +0000 (00:37 +0000)
sysdeps/sparc/sparc64/configure [new file with mode: 0644]

diff --git a/sysdeps/sparc/sparc64/configure b/sysdeps/sparc/sparc64/configure
new file mode 100644 (file)
index 0000000..954ff7a
--- /dev/null
@@ -0,0 +1,33 @@
+ # Local configure fragment for sysdeps/sparc/sparc64.
+
+# Check whether .got section comes before or after .dynamic
+echo $ac_n "checking where sparc64 .dynamic section comes before .got""... $ac_c" 1>&6
+echo "configure:6: checking where sparc64 .dynamic section comes before .got" >&5
+if eval "test \"`echo '$''{'libc_cv_sparc64_dynamic_before_got'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  
+${CC-cc} $CFLAGS -shared -Wl,--verbose 2>&1 \
+  | grep '^[   ]*\.\(got\|dynamic\)[^A-Za-z0-9_]' > conftest.order
+
+if test `cat conftest.order | wc -l` != 2; then
+  { echo "configure: error: Couldn't figure .got/.dynamic relative placement" 1>&2; exit 1; }
+else
+  
+  if head -n 1 conftest.order | grep '^[       ]*\.got'; then
+    libc_cv_sparc64_dynamic_before_got=no
+  else
+    libc_cv_sparc64_dynamic_before_got=yes
+  fi
+  
+fi
+rm -f conftest*
+fi
+
+echo "$ac_t""$libc_cv_sparc64_dynamic_before_got" 1>&6
+if test $libc_cv_sparc64_dynamic_before_got = yes; then
+  cat >> confdefs.h <<\EOF
+#define SPARC64_DYNAMIC_BEFORE_GOT 1
+EOF
+
+fi