[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r9021 - in /fsf/trunk/libc: ./ elf/ locale/programs/ sysdeps/mach/hurd/
- To: commits@xxxxxxxxxx
- Subject: [commits] r9021 - in /fsf/trunk/libc: ./ elf/ locale/programs/ sysdeps/mach/hurd/
- From: eglibc@xxxxxxxxxx
- Date: Tue, 29 Sep 2009 07:05:37 -0000
Author: eglibc
Date: Tue Sep 29 00:05:36 2009
New Revision: 9021
Log:
Import glibc-mainline for 2009-09-29
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/configure
fsf/trunk/libc/configure.in
fsf/trunk/libc/elf/dl-reloc.c
fsf/trunk/libc/locale/programs/locale-spec.c
fsf/trunk/libc/sysdeps/mach/hurd/mkdirat.c
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Tue Sep 29 00:05:36 2009
@@ -1,3 +1,24 @@
+2009-09-27 Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
+
+ * sysdeps/mach/hurd/mkdirat.c: Include <hurd/fd.h>.
+ (mkdirat): Call __directory_name_split_at instead of
+ __directory_name_split.
+
+2009-09-28 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * locale/programs/locale-spec.c (locale_special): If nothing matches
+ fail with an appropriate message.
+
+2009-09-10 H.J. Lu <hongjiu.lu@xxxxxxxxx>
+
+ * configure.in: Exclude binutils 2.X. Support binutils 2.100
+ and XX.
+
+2009-09-25 Andreas Schwab <schwab@xxxxxxxxxx>
+
+ * elf/dl-reloc.c (RESOLVE_MAP): Always pass
+ DL_LOOKUP_ADD_DEPENDENCY to _dl_lookup_symbol_x.
+
2009-09-28 Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
* bits/termios.h [__USE_UNIX98] (IXANY): Define macro.
Modified: fsf/trunk/libc/configure
==============================================================================
--- fsf/trunk/libc/configure (original)
+++ fsf/trunk/libc/configure Tue Sep 29 00:05:36 2009
@@ -4864,7 +4864,7 @@
ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*|[3-9].*)
+ 2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*)
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
@@ -4927,7 +4927,7 @@
ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*|3-9.*)
+ 2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*)
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
Modified: fsf/trunk/libc/configure.in
==============================================================================
--- fsf/trunk/libc/configure.in (original)
+++ fsf/trunk/libc/configure.in Tue Sep 29 00:05:36 2009
@@ -915,10 +915,10 @@
# Accept binutils 2.13 or newer.
AC_CHECK_PROG_VER(AS, $AS, --version,
[GNU assembler.* \([0-9]*\.[0-9.]*\)],
- [2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*|[3-9].*], AS=: critic_missing="$critic_missing as")
+ [2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*], AS=: critic_missing="$critic_missing as")
AC_CHECK_PROG_VER(LD, $LD, --version,
[GNU ld.* \([0-9][0-9]*\.[0-9.]*\)],
- [2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*]|[3-9].*, LD=: critic_missing="$critic_missing ld")
+ [2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*], LD=: critic_missing="$critic_missing ld")
# We need the physical current working directory. We cannot use the
# "pwd -P" shell builtin since that's not portable. Instead we try to
Modified: fsf/trunk/libc/elf/dl-reloc.c
==============================================================================
--- fsf/trunk/libc/elf/dl-reloc.c (original)
+++ fsf/trunk/libc/elf/dl-reloc.c Tue Sep 29 00:05:36 2009
@@ -254,14 +254,11 @@
l->l_lookup_cache.type_class = _tc; \
l->l_lookup_cache.sym = (*ref); \
const struct r_found_version *v = NULL; \
- int flags = DL_LOOKUP_ADD_DEPENDENCY; \
if ((version) != NULL && (version)->hash != 0) \
- { \
- v = (version); \
- flags = 0; \
- } \
+ v = (version); \
_lr = _dl_lookup_symbol_x (strtab + (*ref)->st_name, l, (ref), \
- scope, v, _tc, flags, NULL); \
+ scope, v, _tc, \
+ DL_LOOKUP_ADD_DEPENDENCY, NULL); \
l->l_lookup_cache.ret = (*ref); \
l->l_lookup_cache.value = _lr; })) \
: l)
Modified: fsf/trunk/libc/locale/programs/locale-spec.c
==============================================================================
--- fsf/trunk/libc/locale/programs/locale-spec.c (original)
+++ fsf/trunk/libc/locale/programs/locale-spec.c Tue Sep 29 00:05:36 2009
@@ -1,5 +1,5 @@
/* Handle special requests.
- Copyright (C) 1996, 1997, 1999, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1999, 2005, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxxxxxx>, 1996.
@@ -124,4 +124,7 @@
return;
}
#endif
+
+ /* If nothing matches, fail. */
+ error (1, 0, gettext ("unknown name \"%s\""), name);
}
Modified: fsf/trunk/libc/sysdeps/mach/hurd/mkdirat.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/mkdirat.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/mkdirat.c Tue Sep 29 00:05:36 2009
@@ -22,6 +22,7 @@
#include <stddef.h>
#include <sys/stat.h>
#include <hurd.h>
+#include <hurd/fd.h>
int
mkdirat (fd, path, mode)
@@ -31,7 +32,7 @@
{
error_t err;
const char *name;
- file_t parent = __directory_name_split (path, (char **) &name);
+ file_t parent = __directory_name_split_at (fd, path, (char **) &name);
if (parent == MACH_PORT_NULL)
return -1;
err = __dir_mkdir (parent, name, mode & ~_hurd_umask);