-2006-02-03 Jakub Jelinek <jakub@redhat.com>
+2006-02-03 Ulrich Drepper <drepper@redhat.com>
- * stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r,
- qfcvt_r): Guard with #if defined __USE_SVID || defined
- __USE_XOPEN_EXTENDED.
+ * manual/stdio.texi (Formatted Output Functions): Fix make_message
+ example. Patch by NIIBE Yutaka <gniibe@m17n.org>.
- * sysdeps/unix/sysv/linux/futimesat.c (futimesat): If
- file == NULL, use __futimes unconditionally.
+2006-02-03 Roland McGrath <roland@redhat.com>
- * manual/filesys.texi (futimes): Fix prototype.
+ [BZ #2268]
+ * sysdeps/posix/profil.c (__profil): Use __profile_frequency to choose
+ timer interval, don't assume smallest possible interval is it.
+
+2006-02-03 Jakub Jelinek <jakub@redhat.com>
+
+ * sysdeps/powerpc/fpu/bits/fenvinline.h (fegetround): Make asm
+ volatile.
+
+ * stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):
+ Guard with [__USE_SVID || __USE_XOPEN_EXTENDED].
-2006-02-02 Jakub Jelinek <jakub@redhat.com>
+ * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New
+ prototype.
* math/math.h (__nldbl_nexttowardf): Put __THROW before
__attribute__ ((__const__)).
(__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT
followed by __THROW.
- * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New
- prototype.
+ * sysdeps/unix/sysv/linux/futimesat.c (futimesat): If
+ file == NULL, use __futimes unconditionally.
+
+ * manual/filesys.texi (futimes): Fix prototype.
2006-02-02 Ulrich Drepper <drepper@redhat.com>
glibc-base := HEAD
DIST_BRANCH := devel
COLLECTION := dist-fc4
-fedora-sync-date := 2006-02-03 09:32 UTC
-fedora-sync-tag := fedora-glibc-20060203T0932
+fedora-sync-date := 2006-02-04 07:58 UTC
+fedora-sync-tag := fedora-glibc-20060204T0758
-%define glibcrelease 35
+%define glibcrelease 36
%define auxarches i586 i686 athlon sparcv9 alphaev6
%define prelinkarches noarch
%define xenarches i686 athlon
%endif
%changelog
+* Sat Feb 4 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-36
+- update from CVS
+ - fix frequency setting for ITIMER_PROF (BZ #2268)
+ - fix powerpc inline fegetround ()
+
* Fri Feb 3 2006 Jakub Jelinek <jakub@redhat.com> 2.3.90-35
- update from CVS
- handle futimesat (fd, NULL, tvp) as futimes (fd, tvp)
@{
/* @r{Reallocate buffer now that we know
how much space is needed.} */
- buffer = (char *) xrealloc (buffer, nchars + 1);
+ size = nchars + 1;
+ buffer = (char *) xrealloc (buffer, size);
if (buffer != NULL)
/* @r{Try again.} */
+2006-02-03 Roland McGrath <roland@redhat.com>
+
+ * structs.def: Add a descriptor for pointer.val field of dtv_t.
+ * td_thr_tlsbase.c (td_thr_tlsbase): Extract pointer.val field from
+ DTV slot.
+
2004-09-09 Roland McGrath <roland@redhat.com>
* td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Don't abort if inferior's
/* List of types and symbols in libpthread examined by libthread_db.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006 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
#if !defined IS_IN_libpthread || USE_TLS
DB_STRUCT_ARRAY_FIELD (dtv, dtv)
+# define pointer_val pointer.val /* Field of anonymous struct in dtv_t. */
+DB_STRUCT_FIELD (dtv_t, pointer_val)
#endif
#if !defined IS_IN_libpthread || TLS_TCB_AT_TP
DB_STRUCT_FIELD (pthread, dtvp)
/* Locate TLS data for a thread.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006 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
psaddr_t *base)
{
td_err_e err;
- psaddr_t dtv, dtvptr;
+ psaddr_t dtv, dtvslot, dtvptr;
if (modid < 1)
return TD_NOTLS;
if (err != TD_OK)
return err;
- /* Get the corresponding entry in the DTV. */
- err = DB_GET_FIELD (dtvptr, th->th_ta_p, dtv, dtv, dtv, modid);
+ /* Find the corresponding entry in the DTV. */
+ err = DB_GET_FIELD_ADDRESS (dtvslot, th->th_ta_p, dtv, dtv, dtv, modid);
+ if (err != TD_OK)
+ return err;
+
+ /* Extract the TLS block address from that DTV slot. */
+ err = DB_GET_FIELD (dtvptr, th->th_ta_p, dtvslot, dtv_t, pointer_val, 0);
if (err != TD_OK)
return err;
/* Low-level statistical profiling support function. Mostly POSIX.1 version.
- Copyright (C) 1996,97,98,2002, 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1996,1997,1998,2002,2004,2005,2006
+ 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
#include <errno.h>
#include <signal.h>
#include <sys/time.h>
+#include <libc-internal.h>
#ifndef SIGPROF
return -1;
timer.it_value.tv_sec = 0;
- timer.it_value.tv_usec = 1;
+ timer.it_value.tv_usec = 1000000 / __profile_frequency ();
timer.it_interval = timer.it_value;
return __setitimer (ITIMER_PROF, &timer, otimer_ptr);
}
/* Inline floating-point environment handling functions for powerpc.
- Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1998, 1999, 2006
+ 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
/* Inline definition for fegetround. */
# define fegetround() \
(__extension__ ({ int __fegetround_result; \
- __asm__ ("mcrfs 7,7 ; mfcr %0" \
- : "=r"(__fegetround_result) : : "cr7"); \
+ __asm__ __volatile__ \
+ ("mcrfs 7,7 ; mfcr %0" \
+ : "=r"(__fegetround_result) : : "cr7"); \
__fegetround_result & 3; }))
/* The weird 'i#*X' constraints on the following suppress a gcc