+2007-08-16 Jakub Jelinek <jakub@redhat.com>
+
+ * elf/Makefile ($(objpfx)ld.so): Use readelf -s and awk instead of nm -u
+ to check for undefined symbols.
+
+ * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone):
+ If the syscall fails, set errno to the actual returned error number
+ rather than EINVAL.
+ * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): If
+ arguments are incorrect, set errno to EINVAL, if the syscall
+ fails, set errno to the actual returned error number.
+
+ * stdlib/bits/stdlib-ldbl.h (__strtold_internal): Remove.
+ * wcsmbs/bits/wchar-ldbl.h (__wcstold_internal): Remove.
+
+ * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: Moved to...
+ * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: ... here. New
+ file.
+ (ASI_PNF, ASI_BLK_P): Don't define.
+ * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: Moved to...
+ * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: ... here. New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9v/memset.S: Moved to...
+ * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: ... here. New
+ file.
+
2007-08-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Fix raising
$(filter-out $(map-file),$^) $(load-map-file) \
-Wl,-soname=$(rtld-installed-name) -T $@.lds
rm -f $@.lds
- nm -u $@ | cmp -s /dev/null -
+ readelf -s $@ \
+ | awk '($$7 ~ /^UND(|EF)$$/ && $$1 != "0:" && $$4 != "REGISTER") { print; p=1 } END { exit p != 0 }'
# interp.c exists just to get this string into the libraries.
CFLAGS-interp.c = -D'RUNTIME_LINKER="$(slibdir)/$(rtld-installed-name)"' \
glibc-base := HEAD
DIST_BRANCH := devel
COLLECTION := dist-f8
-fedora-sync-date := 2007-08-15 20:49 UTC
-fedora-sync-tag := fedora-glibc-20070815T2049
+fedora-sync-date := 2007-08-16 21:21 UTC
+fedora-sync-tag := fedora-glibc-20070816T2121
-%define glibcrelease 10
+%define glibcrelease 11
%define run_glibc_tests 1
%define auxarches i586 i686 athlon sparcv9v sparc64v alphaev6
%define xenarches i686 athlon
# memmove. The memcpy implementation below is not tolerant at
# all.
rm -f sysdeps/alpha/alphaev6/memcpy.S
-mv sysdeps/sparc/sparc32/{,sparcv9/}sparcv9b
-mv sysdeps/sparc/sparc32/{,sparcv9/}sparcv9v
find . -type f -size 0 -o -name "*.orig" -exec rm -f {} \;
cat > find_provides.sh <<EOF
%endif
%changelog
+* Fri Aug 17 2007 Jakub Jelinek <jakub@redhat.com> 2.6.90-11
+- remove __strtold_internal and __wcstold_internal from ppc*/s390*/sparc*
+ *-ldbl.h headers
+- temporarily backout x86_64 gettimeofday.S changes (#252453)
+- some further sparc, sparc64 and alpha fixes
+
* Wed Aug 15 2007 Jakub Jelinek <jakub@redhat.com> 2.6.90-10
- don't open /etc/ld.so.{cache,preload} with O_NOATIME (#252146)
- s390{,x}, alpha and sparc fixes
+2007-08-16 Jakub Jelinek <jakub@redhat.com>
+
+ * sysdeps/unix/sysv/linux/alpha/lowlevellock.h
+ (__lll_robust_timedlock): Pass private as last argument to
+ __lll_robust_timedlock_wait.
+ (__lll_unlock): Fix a pasto.
+
2007-08-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/internaltypes.h (sparc_new_sem,
{
int result = 0;
if (atomic_compare_and_exchange_bool_acq (futex, id, 0) != 0)
- result = __lll_robust_timedlock_wait (futex, abstime);
+ result = __lll_robust_timedlock_wait (futex, abstime, private);
return result;
}
#define lll_robust_timedlock(futex, abstime, id, private) \
#define __lll_unlock(futex, private) \
(void) \
({ int *__futex = (futex); \
- ({ int __oldval = atomic_exchange_rel (__futex, 0); \
+ int __oldval = atomic_exchange_rel (__futex, 0); \
if (__builtin_expect (__oldval > 1, 0)) \
lll_futex_wake (__futex, 1, private); \
})
/* -mlong-double-64 compatibility mode for <stdlib.h> functions.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2007 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
__LDBL_REDIR1_DECL (strtold_l, strtod_l)
#endif
-__LDBL_REDIR1_DECL (__strtold_internal, __strtod_internal)
-
#if defined __USE_SVID || defined __USE_XOPEN_EXTENDED
# ifdef __USE_MISC
__LDBL_REDIR1_DECL (qecvt, ecvt)
-#define ASI_PNF 0x82
-#define ASI_BLK_P 0xf0
#define XCC icc
#include <sparc64/sparcv9b/memcpy.S>
/* sanity check arguments */
orcc %i0,%g0,%g2
- be .Lerror
+ be .Leinval
orcc %i1,%g0,%o1
- be .Lerror
+ be .Leinval
mov %i2,%o0
/* The child_stack is the top of the stack, allocate one
jmpl %i7 + 8, %g0
restore %o0,%g0,%o0
+.Leinval:
+ mov EINVAL, %o0
.Lerror:
call HIDDEN_JUMPTARGET(__errno_location)
- or %g0,EINVAL,%i0
+ mov %o0, %i0
st %i0,[%o0]
jmpl %i7 + 8, %g0
restore %g0,-1,%o0
/* Do the system call */
set __NR_clone, %g1
ta 0x6d
- bcs,pn %xcc, 99f
+ bcs,pn %xcc, 98f
nop
brnz,pn %o1, __thread_start
nop
jmpl %i7 + 8, %g0
restore %o0, %g0, %o0
-99:
-#ifndef _LIBC_REENTRANT
-#ifdef PIC
- call 1f
- sethi %hi(_GLOBAL_OFFSET_TABLE_-(99b-.)), %l7
-1: or %l7, %lo(_GLOBAL_OFFSET_TABLE_-(99b-.)), %l7
- add %l7, %o7, %l7
- set EINVAL, %i0
- sethi %hi(errno), %g2
- or %g2, %lo(errno), %g2
- st %i0, [%l7+%g2]
-#else
- sethi %hi(errno), %g2
- set EINVAL, %i0
- st %i0, [%g2+%lo(errno)]
-#endif
-#else
- call HIDDEN_JUMPTARGET(__errno_location)
- nop
+99: mov EINVAL, %o0
+98: call HIDDEN_JUMPTARGET(__errno_location)
+ mov %o0, %i0
st %i0, [%o0]
-#endif
jmpl %i7 + 8, %g0
restore %g0,-1,%o0
END(__clone)
/* Align stack. */
sub $0x8, %rsp
cfi_adjust_cfa_offset(8)
-#ifdef SHARED
+#if 0 /* def SHARED */
movq __vdso_gettimeofday(%rip), %rax
PTR_DEMANGLE (%rax)
#else
/* -mlong-double-64 compatibility mode for <wchar.h> functions.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2007 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
__LDBL_REDIR1_DECL (wcstold_l, wcstod_l);
#endif
-__LDBL_REDIR1_DECL (__wcstold_internal, __wcstod_internal);
-
#if __USE_FORTIFY_LEVEL > 0 && !defined __cplusplus
__LDBL_REDIR_DECL (__swprintf_chk)
__LDBL_REDIR_DECL (__vswprintf_chk)