mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
* configure: Regenerated (using Autoconf 2.54).
* sysdeps/alpha/elf/configure: Likewise. * sysdeps/generic/configure: Likewise. * sysdeps/i386/elf/configure: Likewise. * sysdeps/ia64/elf/configure: Likewise. * sysdeps/mach/hurd/configure: Likewise. * sysdeps/mach/configure: Likewise. * sysdeps/unix/configure: Likewise. * sysdeps/unix/common/configure: Likewise. * sysdeps/unix/sysv/aix/configure: Likewise. * sysdeps/unix/sysv/linux/configure: Likewise. * sysdeps/unix/sysv/linux/mips/configure: Likewise. * sysdeps/x86_64/elf/configure: Likewise. * config.make.in: Nix completely-soft nonsense. * configure.in: Likewise. Under --without-fp, use nofpu subdirectory of machine directories instead of fpu subdirectory. * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change. * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead. * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ... * sysdeps/powerpc/nofpu/sim-full.c: ... here. * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ... * sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here. * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ... * sysdeps/powerpc/nofpu/fegetexcept.c: ... here. * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ... * sysdeps/powerpc/nofpu/fclrexcpt.c: ... here. * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ... * sysdeps/powerpc/nofpu/ftestexcept.c: ... here. * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ... * sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here. * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ... * sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here. * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ... * sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here. * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ... * sysdeps/powerpc/nofpu/feenablxcpt.c: ... here. * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ... * sysdeps/powerpc/nofpu/fegetenv.c: ... here. * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ... * sysdeps/powerpc/nofpu/fesetenv.c: ... here. * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ... * sysdeps/powerpc/nofpu/fegetround.c: ... here. * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ... * sysdeps/powerpc/nofpu/fesetround.c: ... here. * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ... * sysdeps/powerpc/nofpu/feupdateenv.c: ... here. * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ... * sysdeps/powerpc/nofpu/feholdexcpt.c: ... here. * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ... * sysdeps/powerpc/nofpu/fenv_const.c: ... here. * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ... * sysdeps/powerpc/nofpu/libm-test-ulps: ... here. * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ... * sysdeps/powerpc/nofpu/soft-supp.h: ... here. * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ... * sysdeps/powerpc/nofpu/Versions: ... here, new file. 2002-10-19 Bruno Haible <bruno@clisp.org> * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file. 2002-10-18 Roland McGrath <roland@redhat.com> * io/Makefile (routines): Add lchmod. * io/sys/stat.h [__USE_BSD] (lchmod): Declare it. * sysdeps/generic/lchmod.c: New file. * sysdeps/mach/hurd/lchmod.c: New file. * io/Versions (libc: GLIBC_2.3.2): New set, add lchmod.
This commit is contained in:
parent
0b4ee387e5
commit
f4b07664fb
72
ChangeLog
72
ChangeLog
@ -1,3 +1,75 @@
|
||||
2002-10-19 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* configure: Regenerated (using Autoconf 2.54).
|
||||
* sysdeps/alpha/elf/configure: Likewise.
|
||||
* sysdeps/generic/configure: Likewise.
|
||||
* sysdeps/i386/elf/configure: Likewise.
|
||||
* sysdeps/ia64/elf/configure: Likewise.
|
||||
* sysdeps/mach/hurd/configure: Likewise.
|
||||
* sysdeps/mach/configure: Likewise.
|
||||
* sysdeps/unix/configure: Likewise.
|
||||
* sysdeps/unix/common/configure: Likewise.
|
||||
* sysdeps/unix/sysv/aix/configure: Likewise.
|
||||
* sysdeps/unix/sysv/linux/configure: Likewise.
|
||||
* sysdeps/unix/sysv/linux/mips/configure: Likewise.
|
||||
* sysdeps/x86_64/elf/configure: Likewise.
|
||||
|
||||
* config.make.in: Nix completely-soft nonsense.
|
||||
* configure.in: Likewise. Under --without-fp, use nofpu subdirectory
|
||||
of machine directories instead of fpu subdirectory.
|
||||
* sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
|
||||
* sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
|
||||
* sysdeps/powerpc/soft-fp/sim-full.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/sim-full.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/fegetexcept.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/fclrexcpt.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/ftestexcept.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/feenablxcpt.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/fegetenv.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/fesetenv.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/fegetround.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/fegetround.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/fesetround.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/fesetround.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/feupdateenv.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/feholdexcpt.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/fenv_const.c: ... here.
|
||||
* sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/libm-test-ulps: ... here.
|
||||
* sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ...
|
||||
* sysdeps/powerpc/nofpu/soft-supp.h: ... here.
|
||||
* sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
|
||||
* sysdeps/powerpc/nofpu/Versions: ... here, new file.
|
||||
|
||||
2002-10-19 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file.
|
||||
|
||||
2002-10-18 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* io/Makefile (routines): Add lchmod.
|
||||
* io/sys/stat.h [__USE_BSD] (lchmod): Declare it.
|
||||
* sysdeps/generic/lchmod.c: New file.
|
||||
* sysdeps/mach/hurd/lchmod.c: New file.
|
||||
* io/Versions (libc: GLIBC_2.3.2): New set, add lchmod.
|
||||
|
||||
2002-10-18 Art Haas <ahaas@neosoft.com>
|
||||
|
||||
* configure.in: Remove remaining AC_FD_CC macros, and replace
|
||||
|
@ -65,8 +65,6 @@ have-ksh = @libc_cv_have_ksh@
|
||||
|
||||
sizeof-long-double = @sizeof_long_double@
|
||||
|
||||
completely-soft = @completely_soft@
|
||||
|
||||
# Configuration options.
|
||||
gnu-as = @gnu_as@
|
||||
gnu-ld = @gnu_ld@
|
||||
|
18
configure.in
18
configure.in
@ -281,6 +281,13 @@ if test "$machine" = rs6000; then
|
||||
machine="powerpc"
|
||||
fi
|
||||
|
||||
# Braindead PowerPC box with absolutely no FPU.
|
||||
case "$machine-$host_os" in
|
||||
powerpc*-*soft)
|
||||
with_fp=no
|
||||
;;
|
||||
esac
|
||||
|
||||
###
|
||||
### I put this here to prevent those annoying emails from people who cannot
|
||||
### read and try to compile glibc on unsupported platforms. --drepper
|
||||
@ -305,15 +312,6 @@ if test -z "$enable_hacker_mode"; then
|
||||
esac
|
||||
fi
|
||||
|
||||
# Brain dead PowerPC box with absolutely no FPU.
|
||||
case "$machine-$host_os" in
|
||||
powerpc*-*soft)
|
||||
with_fp=no
|
||||
completely_soft=yes
|
||||
AC_SUBST(completely_soft)
|
||||
;;
|
||||
esac
|
||||
|
||||
dnl We need to use [ and ] for other purposes for a while now.
|
||||
changequote(,)dnl
|
||||
# Expand the configuration machine name into a subdirectory by architecture
|
||||
@ -428,6 +426,8 @@ while m=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
|
||||
# Prepend the machine's FPU directory unless --without-fp.
|
||||
if test "$with_fp" = yes; then
|
||||
mach="$mach /$1/fpu"
|
||||
else
|
||||
mach="$mach /$1/nofpu"
|
||||
fi
|
||||
mach="$mach /$1"
|
||||
tail="$2"
|
||||
|
@ -33,7 +33,7 @@ routines := \
|
||||
xstat fxstat lxstat xmknod xstat64 fxstat64 lxstat64 \
|
||||
statfs fstatfs statfs64 fstatfs64 \
|
||||
statvfs fstatvfs statvfs64 fstatvfs64 \
|
||||
umask chmod fchmod mkdir \
|
||||
umask chmod fchmod lchmod mkdir \
|
||||
open open64 close read write lseek lseek64 access euidaccess \
|
||||
fcntl flock lockf lockf64 \
|
||||
dup dup2 pipe \
|
||||
|
@ -89,6 +89,10 @@ libc {
|
||||
# s*
|
||||
sendfile64;
|
||||
}
|
||||
GLIBC_2.3.2 {
|
||||
# l*
|
||||
lchmod;
|
||||
}
|
||||
GLIBC_PRIVATE {
|
||||
# functions which have an additional interface since they are
|
||||
# cancelable.
|
||||
|
@ -1,4 +1,5 @@
|
||||
/* Copyright (C) 1991, 92, 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991,1992,1995-1999,2000,2001,2002
|
||||
Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -244,10 +245,16 @@ extern int lstat64 (__const char *__restrict __file,
|
||||
#endif
|
||||
|
||||
/* Set file access permissions for FILE to MODE.
|
||||
This takes an `int' MODE argument because that
|
||||
is what `mode_t's get widened to. */
|
||||
If FILE is a symbolic link, this affects its target instead. */
|
||||
extern int chmod (__const char *__file, __mode_t __mode) __THROW;
|
||||
|
||||
#ifdef __USE_BSD
|
||||
/* Set file access permissions for FILE to MODE.
|
||||
If FILE is a symbolic link, this affects the link itself
|
||||
rather than its target. */
|
||||
extern int lchmod (__const char *__file, __mode_t __mode) __THROW;
|
||||
#endif
|
||||
|
||||
/* Set file access permissions of the file FD is open on to MODE. */
|
||||
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
|
||||
extern int fchmod (int __fd, __mode_t __mode) __THROW;
|
||||
|
47
sysdeps/alpha/elf/configure
vendored
47
sysdeps/alpha/elf/configure
vendored
@ -1,12 +1,13 @@
|
||||
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
||||
# Local configure fragment for sysdeps/alpha/elf.
|
||||
|
||||
if test "$usetls" != no; then
|
||||
# Check for support of thread-local storage handling in assembler and
|
||||
# linker.
|
||||
echo $ac_n "checking for Alpha TLS support""... $ac_c" 1>&6
|
||||
echo "configure:8: checking for Alpha TLS support" >&5
|
||||
if eval "test \"`echo '$''{'libc_cv_alpha_tls'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
echo "$as_me:$LINENO: checking for Alpha TLS support" >&5
|
||||
echo $ECHO_N "checking for Alpha TLS support... $ECHO_C" >&6
|
||||
if test "${libc_cv_alpha_tls+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
cat > conftest.s <<\EOF
|
||||
.section ".tdata", "awT", @progbits
|
||||
@ -42,27 +43,32 @@ baz:
|
||||
lda $16, m($16) !tprello
|
||||
lda $16, n($31) !tprel
|
||||
EOF
|
||||
if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:46: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
|
||||
if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
|
||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }; then
|
||||
libc_cv_alpha_tls=yes
|
||||
else
|
||||
libc_cv_alpha_tls=no
|
||||
fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_alpha_tls" 1>&6
|
||||
echo "$as_me:$LINENO: result: $libc_cv_alpha_tls" >&5
|
||||
echo "${ECHO_T}$libc_cv_alpha_tls" >&6
|
||||
if test $libc_cv_alpha_tls = yes; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define HAVE_TLS_SUPPORT 1
|
||||
EOF
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for GP relative module local relocs""... $ac_c" 1>&6
|
||||
echo "configure:64: checking for GP relative module local relocs" >&5
|
||||
if eval "test \"`echo '$''{'libc_cv_alpha_hidden_gprel'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
echo "$as_me:$LINENO: checking for GP relative module local relocs" >&5
|
||||
echo $ECHO_N "checking for GP relative module local relocs... $ECHO_C" >&6
|
||||
if test "${libc_cv_alpha_hidden_gprel+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
cat > conftest.c <<\EOF
|
||||
static int bar;
|
||||
@ -75,7 +81,12 @@ int foo (void)
|
||||
EOF
|
||||
|
||||
libc_cv_alpha_hidden_gprel=no
|
||||
if { ac_try='${CC-cc} -S $CFLAGS -O2 -fpic conftest.c 1>&5'; { (eval echo configure:79: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
|
||||
if { ac_try='${CC-cc} -S $CFLAGS -O2 -fpic conftest.c 1>&5'
|
||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }; then
|
||||
if grep -q 'bar.*!gprel' conftest.s \
|
||||
&& grep -q 'baz.*!gprel' conftest.s \
|
||||
&& ! grep -q 'bar.*!literal' conftest.s \
|
||||
@ -85,11 +96,11 @@ if { ac_try='${CC-cc} -S $CFLAGS -O2 -fpic conftest.c 1>&5'; { (eval echo config
|
||||
fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_alpha_hidden_gprel" 1>&6
|
||||
echo "$as_me:$LINENO: result: $libc_cv_alpha_hidden_gprel" >&5
|
||||
echo "${ECHO_T}$libc_cv_alpha_hidden_gprel" >&6
|
||||
if test $libc_cv_alpha_hidden_gprel = yes; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define PI_STATIC_AND_HIDDEN 1
|
||||
EOF
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
8
sysdeps/generic/configure
vendored
8
sysdeps/generic/configure
vendored
@ -1,7 +1,5 @@
|
||||
#! /bin/sh
|
||||
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
||||
|
||||
|
||||
if test -z "$inhibit_glue"; then
|
||||
# For signame.c, used in make_siglist.
|
||||
|
||||
@ -29,12 +27,6 @@ extern "C"
|
||||
char $ac_func ();
|
||||
char (*f) ();
|
||||
|
||||
#ifdef F77_DUMMY_MAIN
|
||||
# ifdef __cplusplus
|
||||
extern "C"
|
||||
# endif
|
||||
int F77_DUMMY_MAIN() { return 1; }
|
||||
#endif
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
33
sysdeps/generic/lchmod.c
Normal file
33
sysdeps/generic/lchmod.c
Normal file
@ -0,0 +1,33 @@
|
||||
/* lchmod -- Change the protections of a file or symbolic link. Stub version.
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
The GNU C Library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, write to the Free
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307 USA. */
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
/* Change the protections of FILE to MODE. */
|
||||
int
|
||||
lchmod (const char *file, mode_t mode)
|
||||
{
|
||||
__set_errno (ENOSYS);
|
||||
return -1;
|
||||
}
|
||||
|
||||
stub_warning (lchmod)
|
||||
#include <stub-tag.h>
|
2
sysdeps/i386/elf/configure
vendored
2
sysdeps/i386/elf/configure
vendored
@ -1,6 +1,4 @@
|
||||
#! /bin/sh
|
||||
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
||||
|
||||
# Local configure fragment for sysdeps/i386/elf.
|
||||
|
||||
if test "$usetls" != no; then
|
||||
|
5
sysdeps/ia64/elf/configure
vendored
5
sysdeps/ia64/elf/configure
vendored
@ -1,6 +1,7 @@
|
||||
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
||||
# Local configure fragment for sysdeps/ia64/elf.
|
||||
|
||||
cat >> confdefs.h <<\EOF
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define PI_STATIC_AND_HIDDEN 1
|
||||
EOF
|
||||
_ACEOF
|
||||
|
||||
|
66
sysdeps/mach/configure
vendored
66
sysdeps/mach/configure
vendored
@ -1,21 +1,4 @@
|
||||
#! /bin/sh
|
||||
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
||||
# The user is always right.
|
||||
if test "${PATH_SEPARATOR+set}" != set; then
|
||||
echo "#! /bin/sh" >conftest.sh
|
||||
echo "exit 0" >>conftest.sh
|
||||
chmod +x conftest.sh
|
||||
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
|
||||
PATH_SEPARATOR=';'
|
||||
else
|
||||
PATH_SEPARATOR=:
|
||||
fi
|
||||
rm -f conftest.sh
|
||||
fi
|
||||
|
||||
as_executable_p="test -f"
|
||||
|
||||
|
||||
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
# Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
|
||||
@ -119,7 +102,7 @@ _ACEOF
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
||||
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
||||
ac_status=$?
|
||||
egrep -v '^ *\+' conftest.er1 >conftest.err
|
||||
grep -v '^ *+' conftest.er1 >conftest.err
|
||||
rm -f conftest.er1
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
@ -165,7 +148,7 @@ _ACEOF
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
||||
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
||||
ac_status=$?
|
||||
egrep -v '^ *\+' conftest.er1 >conftest.err
|
||||
grep -v '^ *+' conftest.er1 >conftest.err
|
||||
rm -f conftest.er1
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
@ -210,12 +193,6 @@ else
|
||||
#line $LINENO "configure"
|
||||
#include "confdefs.h"
|
||||
#include <mach/mach_types.h>
|
||||
#ifdef F77_DUMMY_MAIN
|
||||
# ifdef __cplusplus
|
||||
extern "C"
|
||||
# endif
|
||||
int F77_DUMMY_MAIN() { return 1; }
|
||||
#endif
|
||||
int
|
||||
main ()
|
||||
{
|
||||
@ -258,12 +235,6 @@ else
|
||||
#line $LINENO "configure"
|
||||
#include "confdefs.h"
|
||||
#include <mach/mach_types.h>
|
||||
#ifdef F77_DUMMY_MAIN
|
||||
# ifdef __cplusplus
|
||||
extern "C"
|
||||
# endif
|
||||
int F77_DUMMY_MAIN() { return 1; }
|
||||
#endif
|
||||
int
|
||||
main ()
|
||||
{
|
||||
@ -307,12 +278,6 @@ else
|
||||
#line $LINENO "configure"
|
||||
#include "confdefs.h"
|
||||
#include <mach/task_info.h>
|
||||
#ifdef F77_DUMMY_MAIN
|
||||
# ifdef __cplusplus
|
||||
extern "C"
|
||||
# endif
|
||||
int F77_DUMMY_MAIN() { return 1; }
|
||||
#endif
|
||||
int
|
||||
main ()
|
||||
{
|
||||
@ -371,7 +336,7 @@ _ACEOF
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
||||
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
||||
ac_status=$?
|
||||
egrep -v '^ *\+' conftest.er1 >conftest.err
|
||||
grep -v '^ *+' conftest.er1 >conftest.err
|
||||
rm -f conftest.er1
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
@ -407,6 +372,21 @@ echo "$as_me: error: what manner of Mach is this?" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
|
||||
echo "$as_me:$LINENO: checking for egrep" >&5
|
||||
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
||||
if test "${ac_cv_prog_egrep+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
||||
then ac_cv_prog_egrep='grep -E'
|
||||
else ac_cv_prog_egrep='egrep'
|
||||
fi
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
||||
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
||||
EGREP=$ac_cv_prog_egrep
|
||||
|
||||
|
||||
echo "$as_me:$LINENO: checking for host_page_size in mach_host.defs" >&5
|
||||
echo $ECHO_N "checking for host_page_size in mach_host.defs... $ECHO_C" >&6
|
||||
if test "${libc_cv_mach_host_page_size+set}" = set; then
|
||||
@ -419,7 +399,7 @@ else
|
||||
|
||||
_ACEOF
|
||||
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||
egrep "host_page_size" >/dev/null 2>&1; then
|
||||
$EGREP "host_page_size" >/dev/null 2>&1; then
|
||||
libc_cv_mach_host_page_size=yes
|
||||
else
|
||||
libc_cv_mach_host_page_size=no
|
||||
@ -449,7 +429,7 @@ _ACEOF
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
||||
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
||||
ac_status=$?
|
||||
egrep -v '^ *\+' conftest.er1 >conftest.err
|
||||
grep -v '^ *+' conftest.er1 >conftest.err
|
||||
rm -f conftest.er1
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
@ -489,7 +469,7 @@ _ACEOF
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
||||
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
||||
ac_status=$?
|
||||
egrep -v '^ *\+' conftest.er1 >conftest.err
|
||||
grep -v '^ *+' conftest.er1 >conftest.err
|
||||
rm -f conftest.er1
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
@ -534,7 +514,7 @@ else
|
||||
|
||||
_ACEOF
|
||||
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||
egrep "i386_io_perm_modify" >/dev/null 2>&1; then
|
||||
$EGREP "i386_io_perm_modify" >/dev/null 2>&1; then
|
||||
libc_cv_mach_i386_ioports=yes
|
||||
else
|
||||
libc_cv_mach_i386_ioports=no
|
||||
@ -563,7 +543,7 @@ else
|
||||
|
||||
_ACEOF
|
||||
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||
egrep "i386_set_gdt" >/dev/null 2>&1; then
|
||||
$EGREP "i386_set_gdt" >/dev/null 2>&1; then
|
||||
libc_cv_mach_i386_gdt=yes
|
||||
else
|
||||
libc_cv_mach_i386_gdt=no
|
||||
|
12
sysdeps/mach/hurd/configure
vendored
12
sysdeps/mach/hurd/configure
vendored
@ -1,7 +1,5 @@
|
||||
#! /bin/sh
|
||||
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
||||
|
||||
|
||||
# GNU libc on the Hurd is always reentrant.
|
||||
DEFINES="$DEFINES -D_LIBC_REENTRANT"
|
||||
|
||||
@ -29,22 +27,16 @@ case "$machine" in
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
echo "$as_me:$LINENO: checking Hurd header version" >&5
|
||||
echo $ECHO_N "checking Hurd header version... $ECHO_C" >&6
|
||||
if test "${libc_cv_hurd_version+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
#line $LINENO "configure"
|
||||
#include "confdefs.h"
|
||||
#include <hurd/version.h>
|
||||
#ifdef F77_DUMMY_MAIN
|
||||
# ifdef __cplusplus
|
||||
extern "C"
|
||||
# endif
|
||||
int F77_DUMMY_MAIN() { return 1; }
|
||||
#endif
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
38
sysdeps/mach/hurd/lchmod.c
Normal file
38
sysdeps/mach/hurd/lchmod.c
Normal file
@ -0,0 +1,38 @@
|
||||
/* lchmod -- Change the protections of a file or symbolic link. Hurd version.
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
The GNU C Library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, write to the Free
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307 USA. */
|
||||
|
||||
#include <errno.h>
|
||||
#include <stddef.h>
|
||||
#include <sys/stat.h>
|
||||
#include <hurd.h>
|
||||
|
||||
/* Change the protections of FILE to MODE. */
|
||||
int
|
||||
lchmod (const char *file, mode_t mode)
|
||||
{
|
||||
error_t err;
|
||||
file_t port = __file_name_lookup (file, O_NOLINK, 0);
|
||||
if (port == MACH_PORT_NULL)
|
||||
return -1;
|
||||
err = __file_chmod (port, mode);
|
||||
__mach_port_deallocate (__mach_task_self (), port);
|
||||
if (err)
|
||||
return __hurd_fail (err);
|
||||
return 0;
|
||||
}
|
9
sysdeps/powerpc/nofpu/Makefile
Normal file
9
sysdeps/powerpc/nofpu/Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
# Makefile fragment for PowerPC with no FPU.
|
||||
|
||||
ifeq ($(subdir),soft-fp)
|
||||
sysdep_routines += $(gcc-single-routines) $(gcc-double-routines) sim-full
|
||||
endif
|
||||
|
||||
ifeq ($(subdir),math)
|
||||
libm-support += fenv_const fe_nomask
|
||||
endif
|
13
sysdeps/powerpc/nofpu/Versions
Normal file
13
sysdeps/powerpc/nofpu/Versions
Normal file
@ -0,0 +1,13 @@
|
||||
libc {
|
||||
GLIBC_2.3.2 {
|
||||
__sim_exceptions; __sim_disabled_exceptions; __sim_round_mode;
|
||||
__adddf3; __addsf3; __divdf3; __divsf3; __eqdf2; __eqsf2;
|
||||
__extendsfdf2; __fixdfdi; __fixdfsi; __fixsfdi; __fixsfsi;
|
||||
__fixtfdi; __fixtfsi;
|
||||
__fixunsdfdi; __fixunsdfsi; __fixunssfdi; __fixunssfsi;
|
||||
__floatdidf; __floatdisf; __floatsidf; __floatsisf;
|
||||
__gedf2; __gesf2; __ledf2; __lesf2; __muldf3; __mulsf3;
|
||||
__negdf2; __negsf2; __sqrtdf2; __sqrtsf2; __subdf3;
|
||||
__subsf3; __truncdfsf2; __trunctfsf2;
|
||||
}
|
||||
}
|
@ -22,9 +22,6 @@
|
||||
# 02111-1307 USA.
|
||||
|
||||
ifeq ($(subdir),soft-fp)
|
||||
ifeq ($(completely-soft),yes)
|
||||
sysdep_routines += $(gcc-single-routines) $(gcc-double-routines) sim-full
|
||||
endif
|
||||
ifeq ($(sizeof-long-double),16)
|
||||
powerpc-quad-routines := q_add q_cmp q_cmpe q_div q_dtoq q_feq q_fge \
|
||||
q_fgt q_fle q_flt q_fne q_itoq q_mul q_neg q_qtod q_qtoi \
|
||||
@ -35,8 +32,5 @@ endif
|
||||
endif
|
||||
|
||||
ifeq ($(subdir),math)
|
||||
ifeq ($(completely-soft),yes)
|
||||
libm-support += fenv_const fe_nomask
|
||||
endif
|
||||
CPPFLAGS += -I../soft-fp/
|
||||
endif
|
||||
|
@ -6,16 +6,4 @@ libc {
|
||||
_q_utoq;
|
||||
_q_lltoq; _q_qtoll; _q_qtoull; _q_ulltoq;
|
||||
}
|
||||
|
||||
GLIBC_2.3.2 {
|
||||
__sim_exceptions; __sim_disabled_exceptions; __sim_round_mode;
|
||||
__adddf3; __addsf3; __divdf3; __divsf3; __eqdf2; __eqsf2;
|
||||
__extendsfdf2; __fixdfdi; __fixdfsi; __fixsfdi; __fixsfsi;
|
||||
__fixtfdi; __fixtfsi;
|
||||
__fixunsdfdi; __fixunsdfsi; __fixunssfdi; __fixunssfsi;
|
||||
__floatdidf; __floatdisf; __floatsidf; __floatsisf;
|
||||
__gedf2; __gesf2; __ledf2; __lesf2; __muldf3; __mulsf3;
|
||||
__negdf2; __negsf2; __sqrtdf2; __sqrtsf2; __subdf3;
|
||||
__subsf3; __truncdfsf2; __trunctfsf2;
|
||||
}
|
||||
}
|
||||
|
28
sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h
Normal file
28
sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h
Normal file
@ -0,0 +1,28 @@
|
||||
/* Definitions of macros to access `dev_t' values. FreeBSD version.
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
The GNU C Library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, write to the Free
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307 USA. */
|
||||
|
||||
#ifndef _SYS_SYSMACROS_H
|
||||
#define _SYS_SYSMACROS_H 1
|
||||
|
||||
/* For compatibility we provide alternative names. */
|
||||
#define major(dev) ((int)(((unsigned int) (dev) >> 8) & 0xff))
|
||||
#define minor(dev) ((int)((dev) & 0xffff00ff))
|
||||
#define makedev(major, minor) (((major) << 8) | (minor))
|
||||
|
||||
#endif /* sys/sysmacros.h */
|
20
sysdeps/unix/common/configure
vendored
20
sysdeps/unix/common/configure
vendored
@ -1,7 +1,5 @@
|
||||
#! /bin/sh
|
||||
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
||||
|
||||
|
||||
if test -z "$inhibit_glue"; then
|
||||
|
||||
# Find out what this system calls `sys_siglist'.
|
||||
@ -15,12 +13,6 @@ else
|
||||
#line $LINENO "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#ifdef F77_DUMMY_MAIN
|
||||
# ifdef __cplusplus
|
||||
extern "C"
|
||||
# endif
|
||||
int F77_DUMMY_MAIN() { return 1; }
|
||||
#endif
|
||||
int
|
||||
main ()
|
||||
{
|
||||
@ -68,12 +60,6 @@ else
|
||||
#line $LINENO "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#ifdef F77_DUMMY_MAIN
|
||||
# ifdef __cplusplus
|
||||
extern "C"
|
||||
# endif
|
||||
int F77_DUMMY_MAIN() { return 1; }
|
||||
#endif
|
||||
int
|
||||
main ()
|
||||
{
|
||||
@ -125,12 +111,6 @@ cat >conftest.$ac_ext <<_ACEOF
|
||||
#line $LINENO "configure"
|
||||
#include "confdefs.h"
|
||||
#include <ctype.h>
|
||||
#ifdef F77_DUMMY_MAIN
|
||||
# ifdef __cplusplus
|
||||
extern "C"
|
||||
# endif
|
||||
int F77_DUMMY_MAIN() { return 1; }
|
||||
#endif
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
8
sysdeps/unix/configure
vendored
8
sysdeps/unix/configure
vendored
@ -1,6 +1,4 @@
|
||||
#! /bin/sh
|
||||
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
||||
|
||||
# Local configure fragment for sysdeps/unix.
|
||||
|
||||
if test -z "$inhibit_glue"; then
|
||||
@ -30,12 +28,6 @@ extern "C"
|
||||
char $ac_func ();
|
||||
char (*f) ();
|
||||
|
||||
#ifdef F77_DUMMY_MAIN
|
||||
# ifdef __cplusplus
|
||||
extern "C"
|
||||
# endif
|
||||
int F77_DUMMY_MAIN() { return 1; }
|
||||
#endif
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
1
sysdeps/unix/sysv/aix/configure
vendored
1
sysdeps/unix/sysv/aix/configure
vendored
@ -1,3 +1,4 @@
|
||||
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
||||
# Local configure fragment for sysdeps/unix/sysv/aix.
|
||||
|
||||
# Don't bother trying to generate any glue code to be compatible with the
|
||||
|
27
sysdeps/unix/sysv/linux/configure
vendored
27
sysdeps/unix/sysv/linux/configure
vendored
@ -1,6 +1,4 @@
|
||||
#! /bin/sh
|
||||
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
||||
|
||||
# Local configure fragment for sysdeps/unix/sysv/linux.
|
||||
|
||||
# The Linux kernel headers can be found in
|
||||
@ -21,14 +19,29 @@ if test -n "$sysheaders"; then
|
||||
OLD_CPPFLAGS=$CPPFLAGS
|
||||
CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
|
||||
fi
|
||||
|
||||
|
||||
echo "$as_me:$LINENO: checking for egrep" >&5
|
||||
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
||||
if test "${ac_cv_prog_egrep+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
||||
then ac_cv_prog_egrep='grep -E'
|
||||
else ac_cv_prog_egrep='egrep'
|
||||
fi
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
||||
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
||||
EGREP=$ac_cv_prog_egrep
|
||||
|
||||
|
||||
echo "$as_me:$LINENO: checking installed Linux kernel header files" >&5
|
||||
echo $ECHO_N "checking installed Linux kernel header files... $ECHO_C" >&6
|
||||
if test "${libc_cv_linux2010+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
|
||||
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
#line $LINENO "configure"
|
||||
#include "confdefs.h"
|
||||
#include <linux/version.h>
|
||||
@ -37,7 +50,7 @@ eat flaming death
|
||||
#endif
|
||||
_ACEOF
|
||||
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||
egrep "eat flaming death" >/dev/null 2>&1; then
|
||||
$EGREP "eat flaming death" >/dev/null 2>&1; then
|
||||
libc_cv_linux2010='TOO OLD!'
|
||||
else
|
||||
libc_cv_linux2010='2.0.10 or later'
|
||||
@ -157,7 +170,7 @@ eat flaming death
|
||||
#endif
|
||||
_ACEOF
|
||||
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||
egrep "eat flaming death" >/dev/null 2>&1; then
|
||||
$EGREP "eat flaming death" >/dev/null 2>&1; then
|
||||
libc_minimum_kernel='too old!'
|
||||
else
|
||||
libc_minimum_kernel=ok
|
||||
|
61
sysdeps/unix/sysv/linux/mips/configure
vendored
61
sysdeps/unix/sysv/linux/mips/configure
vendored
@ -1,45 +1,52 @@
|
||||
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
||||
# Local configure fragment for sysdeps/unix/sysv/linux/mips.
|
||||
|
||||
for ac_prog in $AS
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:9: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
||||
if test "${ac_cv_prog_AS+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
if test -n "$AS"; then
|
||||
ac_cv_prog_AS="$AS" # Let the user override the test.
|
||||
else
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
||||
ac_dummy="$PATH"
|
||||
for ac_dir in $ac_dummy; do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test -f $ac_dir/$ac_word; then
|
||||
ac_cv_prog_AS="$ac_prog"
|
||||
break
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
||||
ac_cv_prog_AS="$ac_prog"
|
||||
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
fi
|
||||
fi
|
||||
AS="$ac_cv_prog_AS"
|
||||
AS=$ac_cv_prog_AS
|
||||
if test -n "$AS"; then
|
||||
echo "$ac_t""$AS" 1>&6
|
||||
echo "$as_me:$LINENO: result: $AS" >&5
|
||||
echo "${ECHO_T}$AS" >&6
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6
|
||||
fi
|
||||
|
||||
test -n "$AS" && break
|
||||
test -n "$AS" && break
|
||||
done
|
||||
|
||||
if test -z "$AS"; then
|
||||
ac_verc_fail=yes
|
||||
else
|
||||
# Found it, now check the version.
|
||||
echo $ac_n "checking version of $AS""... $ac_c" 1>&6
|
||||
echo "configure:43: checking version of $AS" >&5
|
||||
echo "$as_me:$LINENO: checking version of $AS" >&5
|
||||
echo $ECHO_N "checking version of $AS... $ECHO_C" >&6
|
||||
ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\(-ia64-[0-9]*\)*\).*$/\1/p'`
|
||||
case $ac_prog_version in
|
||||
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
||||
@ -48,11 +55,15 @@ echo "configure:43: checking version of $AS" >&5
|
||||
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
|
||||
|
||||
esac
|
||||
echo "$ac_t""$ac_prog_version" 1>&6
|
||||
echo "$as_me:$LINENO: result: $ac_prog_version" >&5
|
||||
echo "${ECHO_T}$ac_prog_version" >&6
|
||||
fi
|
||||
if test $ac_verc_fail = yes; then
|
||||
echo "configure: warning: *** Your binutils versions are too old.
|
||||
*** We strongly advise to update binutils. For details check
|
||||
*** the FAQ and INSTALL documents." 1>&2
|
||||
{ echo "$as_me:$LINENO: WARNING: *** Your binutils versions are too old.
|
||||
*** We strongly advise to update binutils. For details check
|
||||
*** the FAQ and INSTALL documents." >&5
|
||||
echo "$as_me: WARNING: *** Your binutils versions are too old.
|
||||
*** We strongly advise to update binutils. For details check
|
||||
*** the FAQ and INSTALL documents." >&2;}
|
||||
fi
|
||||
|
||||
|
28
sysdeps/x86_64/elf/configure
vendored
28
sysdeps/x86_64/elf/configure
vendored
@ -1,11 +1,12 @@
|
||||
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
||||
# Local configure fragment for sysdeps/x86_64/elf.
|
||||
|
||||
if test "$usetls" != no; then
|
||||
# Check for support of thread-local storage handling in assembler and linker.
|
||||
echo $ac_n "checking for x86-64 TLS support""... $ac_c" 1>&6
|
||||
echo "configure:7: checking for x86-64 TLS support" >&5
|
||||
if eval "test \"`echo '$''{'libc_cv_x86_64_tls'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
echo "$as_me:$LINENO: checking for x86-64 TLS support" >&5
|
||||
echo $ECHO_N "checking for x86-64 TLS support... $ECHO_C" >&6
|
||||
if test "${libc_cv_x86_64_tls+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
cat > conftest.s <<\EOF
|
||||
.section ".tdata", "awT", @progbits
|
||||
@ -20,24 +21,29 @@ baz: leaq bar@TLSLD(%rip), %rdi
|
||||
addq foo@GOTTPOFF(%rip), %rax
|
||||
movq $bar@TPOFF, %rdx
|
||||
EOF
|
||||
if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:24: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
|
||||
if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
|
||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }; then
|
||||
libc_cv_x86_64_tls=yes
|
||||
else
|
||||
libc_cv_x86_64_tls=no
|
||||
fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_x86_64_tls" 1>&6
|
||||
echo "$as_me:$LINENO: result: $libc_cv_x86_64_tls" >&5
|
||||
echo "${ECHO_T}$libc_cv_x86_64_tls" >&6
|
||||
if test $libc_cv_x86_64_tls = yes; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define HAVE_TLS_SUPPORT 1
|
||||
EOF
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
cat >> confdefs.h <<\EOF
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define PI_STATIC_AND_HIDDEN 1
|
||||
EOF
|
||||
_ACEOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user