Update powerpc-fpu ULPs.
[glibc.git] / ChangeLog
blobed66e5442a3de38856c0cd6ee0f7bae5c0ae0c00
1 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12         * sysdeps/arm/libm-test-ulps: Regenerated.
14 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15             Roland McGrath <roland@hack.frob.com>
17         * test-skeleton.c (signal_handler): Kill the whole process group
18         before killing the child individually.
19         (main): Report any failure on `setpgid'.
21 2014-06-30  Roland McGrath  <roland@hack.frob.com>
23         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24         from _TLS_H to _ARM_NPTL_TLS_H.
25         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
26         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30         [BZ #16539]
31         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32         (__expm1l): Return argument unchanged when small but not
33         subnormal.
35         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36         include macro name.
37         (_FP_UNPACK_RAW_1_P): Likewise.
38         (_FP_PACK_RAW_1): Likewise.
39         (_FP_PACK_RAW_1_P): Likewise.
40         (_FP_MUL_MEAT_1_wide): Likewise.
41         (_FP_MUL_MEAT_DW_1_hard): Likewise.
42         (_FP_MUL_MEAT_1_hard): Likewise.
43         (_FP_DIV_MEAT_1_imm): Likewise.
44         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
45         (_FP_DIV_MEAT_1_udiv): Likewise.
46         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
47         (_FP_UNPACK_RAW_2): Likewise.
48         (_FP_UNPACK_RAW_2_P): Likewise.
49         (_FP_PACK_RAW_2): Likewise.
50         (_FP_PACK_RAW_2_P): Likewise.
51         (_FP_MUL_MEAT_DW_2_wide): Likewise.
52         (_FP_MUL_MEAT_2_wide): Likewise.
53         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
54         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
55         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
56         (_FP_MUL_MEAT_2_gmp): Likewise.
57         (_FP_DIV_MEAT_2_udiv): Likewise.
58         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
59         (_FP_FRAC_SRL_4): Likewise.
60         (_FP_FRAC_SRST_4): Likewise.
61         (_FP_FRAC_SRS_4): Likewise.
62         (_FP_UNPACK_RAW_4): Likewise.
63         (_FP_UNPACK_RAW_4_P): Likewise.
64         (_FP_PACK_RAW_4): Likewise.
65         (_FP_PACK_RAW_4_P): Likewise.
66         (_FP_MUL_MEAT_DW_4_wide): Likewise.
67         (_FP_MUL_MEAT_4_wide): Likewise.
68         (_FP_MUL_MEAT_4_gmp): Likewise.
69         (umul_ppppmnnn): Likewise.
70         (_FP_DIV_MEAT_4_udiv): Likewise.
71         (__FP_FRAC_ADD_4): Likewise.
72         (__FP_FRAC_SUB_3): Likewise.
73         (__FP_FRAC_SUB_4): Likewise.
74         (__FP_FRAC_DEC_3): Likewise.
75         (__FP_FRAC_DEC_4): Likewise.
76         (__FP_FRAC_ADDI_4): Likewise.
77         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
78         (_FP_FRAC_SRL_8): Likewise.
79         (_FP_FRAC_SRS_8): Likewise.
81         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
82         include macro name.
83         (FP_UNPACK_RAW_EP): Likewise.
84         (FP_PACK_RAW_E): Likewise.
85         (FP_PACK_RAW_EP): Likewise.
86         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
87         (_FP_ISSIGNAN): Likewise.
88         (_FP_ADD_INTERNAL): Likewise.
89         (_FP_FMA): Likewise.
90         (_FP_CMP): Likewise.
91         (_FP_SQRT): Likewise.
92         (_FP_TO_INT): Likewise.
93         (_FP_FROM_INT): Likewise.
94         (FP_EXTEND): Likewise.
95         (_FP_DIV_MEAT_N_loop): Likewise.
97 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
99         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
100         throughout.
102 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
104         [BZ #17097]
105         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
106         result with correct sign in case of exponents that produce
107         overflow except for X very close to 1.
109 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
111         mktime: merge #if/#ifdef usage from glibc
112         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
113         as that works with both Glibc's and Gnulib's style.
114         See thread starting at Siddhesh Poyarekar's bug report at:
115         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
117 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
119         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
120         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
121         * sysdeps/tile/tilegx/memmove.c: Remove file.
123 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
125         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
126         abi-name definition.
127         * scripts/soversions.awk: Do not handle or generate ABI lines.
128         * shlib-versions: Remove ABI entries.
129         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
130         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
132 2014-06-27  Roland McGrath  <roland@hack.frob.com>
134         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
135         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
136         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
137         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
138         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
139         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
140         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
141         Moved ...
142         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
143         ... here.
144         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
145         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
146         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
147         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
148         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
149         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
150         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
151         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
152         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
153         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
154         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
155         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
156         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
157         Moved ...
158         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
159         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
160         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
161         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
162         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
163         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
164         Moved ...
165         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
167         Moved ...
168         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
169         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
170         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
171         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
172         Moved ...
173         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
174         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
175         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
177         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
179         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
181         Moved ...
182         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
184         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
185         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
186         Moved ...
187         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
188         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
189         Moved ...
190         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
191         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
192         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
193         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
194         Moved ...
195         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
196         ... here.
197         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
198         Identical file removed.
199         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
200         Moved ...
201         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
202         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
203         Identical file removed.
204         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
205         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
206         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
207         Moved ...
208         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
209         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
210         Identical file removed.
211         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
212         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
213         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
214         Identical file removed.
215         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
216         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
217         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
218         Identical file removed.
219         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
220         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
221         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
222         Identical file removed.
223         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
224         Moved ...
225         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
226         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
227         Identical file removed.
228         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
229         Moved ...
230         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
231         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
232         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
233         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
234         Identical file removed.
235         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
236         Moved ...
237         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
238         ... here.
239         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
240         Identical file removed.
241         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
242         Moved ...
243         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
244         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
245         Identical file removed.
246         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
247         Moved ...
248         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
249         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
250         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
251         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
252         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
253         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
254         Moved ...
255         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
256         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
257         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
259         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
260         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
261         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
262         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
263         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
265 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
267         [BZ #17092]
268         * nscd/nscd.c (monitor_child): Return exit status of child
269         instead of return value from wait syscall.
271 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
273         * configure.ac (libc_commonpagesize): Remove variable.
274         (libc_relro_required): Likewise.
275         (libc_cv_z_relro): Remove configure test.
276         * configure: Regenerated.
277         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
278         variable.
279         (libc_relro_required): Likewise.
280         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
281         (libc_relro_required): Likewise.
282         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
283         (libc_relro_required): Likewise.
284         * sysdeps/arm/preconfigure: Regenerated.
285         * sysdeps/ia64/preconfigure: Remove file.
286         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
287         variable.
288         (libc_relro_required): Likewise.
290         [BZ #16561]
291         [BZ #16562]
292         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
293         (__ieee754_yn): Set FE_TONEAREST mode internally and then
294         recompute overflowing results in original rounding mode.
295         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
296         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
297         recompute overflowing results in original rounding mode.
298         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
299         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
300         recompute overflowing results in original rounding mode.
301         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
302         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
303         recompute overflowing results in original rounding mode.
304         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
305         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
306         recompute overflowing results in original rounding mode.
307         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
308         (libc_feholdsetround_ctx): New macro.
309         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
310         * sysdeps/i386/fpu/libm-test-ulps: Update.
311         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
313 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
315         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
316         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
317         corresponding .cpsetup call.
319 2014-06-26  Roland McGrath  <roland@hack.frob.com>
321         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
322         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
323         * sysdeps/arm/Makefile [$(subdir) = csu]
324         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
325         (static-only-routines): Add aeabi_read_tp here.
326         (shared-only-routines): Add libc-aeabi_read_tp here.
327         (CFLAGS-libc-start.c): Add -fexceptions here.
328         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
329         (sysdep_routines, static-only-routines, shared-only-routines):
330         Don't add to these here.
331         (CFLAGS-libc-start.c): Likewise.
333         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
334         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
335         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
336         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
337         * sysdeps/arm/Makefile [$(subdir) = rt]
338         (librt-sysdep_routines, librt-shared-only-routines):
339         Append rt-aeabi_unwind_cpp_pr1 here.
340         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
341         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
342         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
343         (libpthread-sysdep_routines, libpthread-shared-only-routines):
344         Append nptl-aeabi_unwind_cpp_pr1 here.
345         (tests): Filter out tst-cleanupx4 here.
346         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
347         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
348         Don't do those here.
350 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
352         * scripts/list-sources.sh: Do not handle ports specially.
354 2014-06-26  Roland McGrath  <roland@hack.frob.com>
356         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
357         * sysdeps/arm/feupdateenv.c: Likewise.
359         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
361 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
363         * manual/texinfo.tex: Update to version 2014-05-05.10 with
364         trailing whitespace removed.
365         * scripts/config.guess: Update to version 2014-03-23.
366         * scripts/config.sub: Update to version 2014-05-01
367         * scripts/install-sh: Update to version 2013-12-25.23.
368         * scripts/move-if-change: Update from gnulib.
370 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
372         * debug/memmove_chk.c: Remove pagecopy.h include.
374 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
376         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
377         identical to gnulib mktime.
379 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
381         * configure.ac: Do not test for machine being rs6000.  Do not test
382         for powerpc*-*soft.
383         * configure: Regenerated.
385         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
386         test.
387         * configure: Regenerated.
388         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
389         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
390         Remove configure test.
391         * sysdeps/arm/configure: Regenerated.
392         * sysdeps/nptl/configure.ac: Do not check
393         libc_cv_asm_cfi_directives.
394         * sysdeps/nptl/configure: Regenerated.
395         * sysdeps/x86_64/nptl/configure.ac: Remove file.
396         * sysdeps/x86_64/nptl/configure: Remove generated file.
397         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
398         unconditional.
399         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
401 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
403         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
404         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
405         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
406         it is defined.
408         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
409         instead of whether it is defined.
410         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
411         * sysdeps/hppa/dl-machine.h: Likewise.
412         * sysdeps/ia64/dl-machine.h: Likewise.
413         * sysdeps/m68k/dl-machine.h: Likewise.
414         * sysdeps/microblaze/dl-machine.h: Likewise.
415         * sysdeps/mips/dl-machine.: Likewise.
416         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
417         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
418         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
419         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
420         * sysdeps/sh/dl-machine.h: Likewise.
421         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
422         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
423         * sysdeps/tile/dl-machine.h: Likewise.
424         * sysdeps/x86_64/dl-machine.h: Likewise.
426         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
427         code.
428         (verify_persistent_db): Likewise.
430 2014-06-26  Roland McGrath  <roland@hack.frob.com>
432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
433         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
435         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
437         Moved ...
438         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
439         ... here.
440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
441         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
443         Identical file removed.
444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
445         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
447         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
449         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
451         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
453         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
455         Moved ...
456         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
458         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
460         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
462         Moved ...
463         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
465         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
467         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
469         Identical file removed.
470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
471         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
473         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
475         Moved ...
476         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
477         ... here.
478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
479         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
481         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
483         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
485         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
487         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
489         Moved ...
490         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
492         Moved ...
493         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
495         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
497         Moved ...
498         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
500         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
502         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
503         folded into ...
504         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
505         * sysdeps/unix/sysv/linux/s390/Versions
506         (libpthread: GLIBC_2.19): New version set.
507         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
508         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
509         (librt: GLIBC_2.3.3): New version set.
510         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
511         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
512         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
513         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
514         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
515         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
516         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
517         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
518         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
519         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
520         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
521         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
522         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
523         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
524         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
525         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
526         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
527         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
528         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
529         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
530         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
531         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
532         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
533         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
534         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
535         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
536         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
537         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
538         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
539         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
540         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
541         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
542         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
543         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
544         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
545         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
546         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
547         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
548         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
549         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
550         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
551         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
552         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
553         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
554         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
556         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
557         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
558         (__libc_vfork): Define the function under this name.
559         [!NOT_IN_libc] (__vfork): Make this an alias.
560         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
561         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
562         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
563         (__libc_vfork): Define the function under this name.
564         [!NOT_IN_libc] (__vfork): Make this an alias.
565         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
566         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
567         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
568         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
569         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
570         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
572         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
573         code that was previously under [RESET_PID].
574         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
575         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
576         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
578         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
579         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
580         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
581         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
582         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
583         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
584         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
585         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
586         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
587         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
588         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
589         Moved ...
590         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
591         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
592         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
593         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
594         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
595         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
596         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
597         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
598         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
599         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
600         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
601         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
602         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
603         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
604         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
605         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
606         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
607         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
608         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
609         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
610         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
611         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
612         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
613         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
614         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
615         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
616         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
617         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
618         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
620 2014-06-25  Roland McGrath  <roland@hack.frob.com>
622         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
623         that was previously under [RESET_PID].
624         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
626 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
628         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
629         not undefine and redefine.
630         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
631         [O_CLOEXEC]: Make code unconditional.
632         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
633         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
634         <kernel-features.h>.
635         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
636         conditional variable definition.
637         (shm_open) [O_CLOEXEC]: Make code unconditional.
638         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
639         code.
641         * configure.ac (USE_REGPARMS): Don't define here.
642         * configure: Regenerated.
643         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
644         * sysdeps/i386/configure: Regenerated.
646         * nptl/createthread.c: Don't include kernel-features.h.
647         * nptl/pthread_cancel.c: Likewise.
648         * nptl/pthread_condattr_setclock.c: Likewise.
649         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
650         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
651         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
652         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
653         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
654         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
655         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
657         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
658         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
659         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
660         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
661         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
662         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
663         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
664         * nscd/gai.c: Likewise.
665         * nss/nss_db/db-open.c: Likewise.
666         * sysdeps/generic/ldsodefs.h: Likewise.
667         * sysdeps/sh/nptl/tls.h: Likewise.
668         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
669         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
670         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
671         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
672         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
673         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
674         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
675         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
676         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
677         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
678         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
679         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
680         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
681         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
682         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
683         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
684         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
685         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
686         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
687         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
688         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
689         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
690         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
691         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
692         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
693         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
694         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
695         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
696         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
697         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
698         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
699         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
700         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
701         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
702         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
703         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
704         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
705         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
706         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
707         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
708         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
709         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
710         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
711         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
712         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
713         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
714         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
715         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
716         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
717         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
718         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
719         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
720         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
721         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
722         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
723         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
724         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
725         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
748         * sysdeps/unix/sysv/linux/pread.c: Likewise.
749         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
750         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
751         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
752         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
753         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
754         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
755         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
756         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
757         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
758         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
759         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
760         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
761         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
762         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
763         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
764         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
765         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
766         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
767         * sysdeps/unix/sysv/linux/system.c: Likewise.
768         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
769         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
770         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
771         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
772         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
773         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
774         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
776         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
777         * configure: Regenerated.
778         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
780         * configure.ac (base_machine): Do not set specially for particular
781         machines here.
782         * configure: Regenerated.
783         * sysdeps/powerpc/preconfigure: Move machine and base_machine
784         settings from configure.ac.
785         * sysdeps/i386/preconfigure: New file.
786         * sysdeps/s390/preconfigure: Likewise.
787         * sysdeps/sh/preconfigure: Likewise.
788         * sysdeps/sparc/preconfigure: Likewise.
790 2014-06-25  Roland McGrath  <roland@hack.frob.com>
792         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
793         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
794         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
795         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
796         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
797         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
798         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
799         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
800         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
801         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
802         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
803         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
804         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
805         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
806         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
807         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
808         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
809         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
810         * sysdeps/sparc/sparc64/Makefile: ... appended here.
812         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
813         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
814         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
815         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
816         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
817         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
818         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
819         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
820         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
821         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
822         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
823         * sysdeps/sparc/sparc32/sem_post.c: ... here.
824         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
825         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
826         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
827         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
828         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
829         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
830         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
831         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
832         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
833         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
834         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
835         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
836         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
837         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
838         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
839         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
840         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
841         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
842         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
843         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
844         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
845         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
846         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
847         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
848         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
849         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
852         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
854         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
856         Moved ...
857         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
858         ... here.
859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
860         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
862         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
864         Moved ...
865         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
867         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
869         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
871         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
873         Moved ...
874         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
876         Moved ...
877         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
879         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
881         Moved ...
882         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
884         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
886         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
888         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
890         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
892         Moved ...
893         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
894         ... here.
895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
896         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
898         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
900         Moved ...
901         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
903         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
905         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
907         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
909         Moved ...
910         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
912         Moved ...
913         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
915         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
917         Moved ...
918         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
920         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
922         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
924 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
926         * timezone/checktab.awk: Update from tzcode 2014e.
927         * timezone/private.h: Likewise.
928         * timezone/tzfile.h: Likewise.
929         * timezone/zdump.c: Likewise.
930         * timezone/zic.c: Likewise.
932         * sysdeps/unix/sysv/linux/kernel-features.h
933         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
934         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
935         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
936         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
937         Remove conditional code.
939 2014-06-25  Will Newton  <will.newton@linaro.org>
941         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
942         (_dl_arm_cap_flags): Add HWCAP2 values.
943         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
944         (_DL_HWCAP_COUNT): Increase to 37.
945         (_DL_HWCAP_LAST): New define.
946         (_DL_HWCAP2_LAST): New define.
947         (_dl_procinfo): Add support for printing
948         AT_HWCAP2 entries.
949         (_dl_string_hwcap): Use _dl_hwcap_string.
951 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
955 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
957         * README: Do not mention ports directory.
959         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
960         Remove macro.
961         * sysdeps/unix/sysv/linux/futimes.c: Do not include
962         <kernel-features.h>.
963         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
964         conditional variable definition.
965         (__futimes): Update comment.
966         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
967         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
969         [BZ #16560]
970         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
971         arguments close to 0.
972         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
973         Likewise.
974         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
975         Likewise.
976         * math/auto-libm-test-in: Add more tests of exp10.
977         * math/auto-libm-test-out: Regenerated.
978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
980         * sysdeps/unix/sysv/linux/kernel-features.h
981         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
982         * sysdeps/unix/sysv/linux/readv.c: Do not include
983         <kernel-features.h>.
984         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
985         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
986         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
987         unconditional.
988         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
989         conditional code.
990         * sysdeps/unix/sysv/linux/writev.c: Do not include
991         <kernel-features.h>.
992         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
993         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
994         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
995         unconditional.
996         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
997         conditional code.
999 2014-06-25  Will Newton  <will.newton@linaro.org>
1001         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1002         comment changes throughout the file.  Remove checks
1003         for HAVE_*_H definitions that are not required.
1004         (__gen_tempname): Call abort if an unknown kind value is
1005         passed.
1007 2014-06-25  Andreas Schwab  <schwab@suse.de>
1009         [BZ #17086]
1010         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1011         scalbln, scalblnf, scalblnl in libc.
1013 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1015         [BZ #17086]
1016         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1017         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1018         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1020 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1022         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1023         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1024         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1025         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1026         Update #include.
1027         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1028         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1029         Update #include.
1030         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1031         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1032         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1033         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1034         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1035         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1036         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1037         * sysdeps/x86/bits/semaphore.h: ... here.
1038         * sysdeps/x86/nptl/elide.h: Moved ...
1039         * sysdeps/x86/elide.h: ... here.
1040         * sysdeps/x86_64/nptl/Implies: File removed.
1041         * sysdeps/i386/nptl/Implies: File removed.
1043 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1045         [BZ #16539]
1046         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1047         return the argument for normal arguments with exponent below -64.
1048         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1049         Likewise.
1050         * math/auto-libm-test-in: Add another test of expm1.
1051         * math/auto-libm-test-out: Regenerated.
1053         [BZ #16287]
1054         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1055         calling __erfcl for arguments at least 16.
1056         * math/auto-libm-test-in: Add more tests of erf.
1057         * math/auto-libm-test-out: Regenerated.
1059         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1060         individual architectures.
1061         * sysdeps/unix/sysv/linux/configure: Regenerated.
1062         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1063         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1064         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1065         (ldd_rewrite_script): Define variable.
1066         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1068         file.
1069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1070         generated file.
1071         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1072         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1073         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1074         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1075         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1076         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1077         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1078         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1080 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1082         [BZ #17084]
1083         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1084         Rename member __data.d to __data.__elision_data.
1086 2014-06-24  Wilco  <wdijkstr@arm.com>
1088         * NEWS: Add 16918 to fixed bug list.
1090 2014-06-24  Wilco  <wdijkstr@arm.com>
1092         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1094 2014-06-24  Wilco  <wdijkstr@arm.com>
1096         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1097         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1098         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1099         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1100         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1101         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1102         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1103         Use _FPU_MASK_RM.
1105 2014-06-24  Wilco  <wdijkstr@arm.com>
1107         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1109 2014-06-24  Wilco  <wdijkstr@arm.com>
1111         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1112         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1113         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1114         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1116 2014-06-24  Wilco  <wdijkstr@arm.com>
1118         [BZ #16918]
1119         * sysdeps/arm/feupdateenv.c (feupdateenv):
1120         Rewrite to reduce FPSCR accesses and fix return value.
1122 2014-06-24  Wilco  <wdijkstr@arm.com>
1124         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1125         Optimize to avoid unnecessary FPSCR writes.
1126         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1127         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1128         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1129         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1131 2014-06-24  Wilco  <wdijkstr@arm.com>
1133         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1134         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1135         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1136         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1137         Call libc_fetestexcept_vfp.
1138         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1139         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1140         __SOFTFP__ ifdef so that they can be built for softfp.
1142 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1144         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1145         argument type signed char.
1147         * Makerules (check-abi): Dump diff of symlist if the test
1148         fails.
1150 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1152         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1153         using abort.
1155         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1156         Remove unused variable ST.
1158 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1160         [BZ #16354]
1161         [BZ #17061]
1162         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1163         small arguments before calling __expm1.
1164         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1165         small arguments before calling __expm1f.
1166         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1167         small arguments before calling __expm1l.
1168         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1169         Likewise.
1170         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1171         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1172         spurious underflow for some cosh tests.
1173         * math/auto-libm-test-out: Regenerated.
1174         * sysdeps/i386/fpu/libm-test-ulps: Update.
1176         [BZ #17050]
1177         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1178         (__ieee754_y1): Set errno if return value overflows.
1179         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1180         (__ieee754_y1f): Set errno if return value overflows.
1181         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1182         (__ieee754_y1l): Set errno if return value overflows.
1183         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1184         (__ieee754_y1l): Set errno if return value overflows.
1185         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1186         * math/auto-libm-test-out: Regenerated.
1188         * math/gen-auto-libm-tests.c: Document use of
1189         ignore-zero-inf-sign.
1190         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1191         (input_flags): Add ignore-zero-inf-sign.
1192         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1193         * math/gen-libm-test.pl (generate_testfile): Handle
1194         ignore-zero-inf-sign.
1195         * math/auto-libm-test-in: Mark some cpow tests with
1196         ignore-zero-inf-sign and some with xfail-rounding.
1197         * math/auto-libm-test-out: Regenerated.
1198         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1199         * sysdeps/i386/fpu/libm-test-ulps: Update.
1200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1202         [BZ #16315]
1203         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1204         overflowing or underflowing operations take place with sign of
1205         result.
1206         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1207         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1208         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1209         (__ieee754_pow): Recompute overflowing and underflowing results in
1210         original rounding mode.
1211         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1212         (__powl_helper): Allow negative argument X and scale negated value
1213         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1214         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1215         overflowing or underflowing operations take place with sign of
1216         result.
1217         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1218         Include <math.h>.
1219         * math/auto-libm-test-in: Add more tests of pow.
1220         * math/auto-libm-test-out: Regenerated.
1221         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1222         (pow_tonearest_test_data): Remove.
1223         (pow_test_tonearest): Likewise.
1224         (pow_towardzero_test_data): Likewise.
1225         (pow_test_towardzero): Likewise.
1226         (pow_downward_test_data): Likewise.
1227         (pow_test_downward): Likewise.
1228         (pow_upward_test_data): Likewise.
1229         (pow_test_upward): Likewise.
1230         (main): Don't call removed functions.
1231         * sysdeps/i386/fpu/libm-test-ulps: Update.
1232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1234 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1237         Moved ...
1238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1240         Moved ...
1241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1243         Moved ...
1244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1246         Moved ...
1247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1249         File removed.
1250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1251         File removed.
1252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1253         File removed.
1254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1255         File removed.
1256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1257         File removed.
1258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1259         File removed.
1260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1261         File removed.
1262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1263         File removed.
1264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1265         File removed.
1266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1267         File removed.
1268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1269         File removed.
1270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1271         File removed.
1272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1273         Moved ...
1274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1276         Moved ...
1277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1278         ... here.
1279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1280         Moved ...
1281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1283         Moved ...
1284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1286         Moved ...
1287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1289         Moved ...
1290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1292         Moved ...
1293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1295         Moved ...
1296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1298         Moved ...
1299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1302         ... here.
1303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1304         Moved ...
1305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1307         Moved ...
1308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1309         ... here.
1310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1311         Moved ...
1312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1313         ... here.
1314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1315         Moved ...
1316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1317         ... here.
1318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1319         Moved ...
1320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1322         Moved ...
1323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1327         Moved ...
1328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1329         ... here.
1330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1331         Moved ...
1332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1333         ... here.
1334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1335         Moved ...
1336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1338         Moved ...
1339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1341         Moved ...
1342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1344         Moved ...
1345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1347         Moved ...
1348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1349         ... here.
1350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1351         Moved ...
1352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1354         Moved ...
1355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1357         Moved ...
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1360         Moved ...
1361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1365         Moved ...
1366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1368         Moved ...
1369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1371         Moved ...
1372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1373         ... here.
1374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1375         Moved ...
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1377         ... here.
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1379         Moved ...
1380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1381         ... here.
1382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1383         Moved ...
1384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1386         Moved ...
1387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1389         Moved ...
1390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1392         Moved ...
1393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1394         ... here.
1395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1396         Moved ...
1397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1398         ... here.
1399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1400         Moved ...
1401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1402         ... here.
1403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1404         Moved ...
1405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1407         Moved ...
1408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1410 2014-06-23  Will Newton  <will.newton@linaro.org>
1411             Wilco  <wdijkstr@arm.com>
1413         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1414         implementation.  Include get-rounding-mode.h.
1415         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1416         [!libc_feholdsetround_noex_ctx]: Define
1417         libc_feholdsetround_noex_ctx.
1418         [!libc_feholdsetround_noexf_ctx]: Define
1419         libc_feholdsetround_noexf_ctx.
1420         [!libc_feholdsetround_noexl_ctx]: Define
1421         libc_feholdsetround_noexl_ctx.
1422         (libc_feholdsetround_ctx): New function.
1423         (libc_feresetround_ctx): New function.
1424         (libc_feholdsetround_noex_ctx): New function.
1425         (libc_feresetround_noex_ctx): New function.
1427 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1429         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1430         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1431         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1432         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1433         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1434         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1436         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1437         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1438         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1439         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1440         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1441         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1442         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1443         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1444         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1445         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1446         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1447         Moved ...
1448         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1449         ... here.
1450         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1451         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1452         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1453         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1454         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1455         Moved ...
1456         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1457         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1458         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1459         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1460         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1461         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1462         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1463         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1464         Moved ...
1465         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1466         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1467         Moved ...
1468         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1469         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1470         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1471         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1472         Moved ...
1473         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1474         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1475         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1476         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1477         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1478         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1479         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1480         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1481         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1482         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1483         Moved ...
1484         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1485         ... here.
1486         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1487         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1488         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1489         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1490         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1491         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1492         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1493         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1494         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1495         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1496         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1497         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1498         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1499         Moved ...
1500         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1501         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1502         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1504         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1505         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1506         Moved ...
1507         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1508         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1509         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1510         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1511         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1513         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1514         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1515         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1516         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1517         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1518         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1519         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1520         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1521         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1522         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1523         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1524         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1525         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1526         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1527         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1528         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1529         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1530         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1531         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1532         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1533         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1534         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1535         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1536         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1537         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1538         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1539         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1540         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1542 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1544         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1545         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1546         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1547         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1548         (IPV6_PMTUDISC_INTERFACE): Likewise.
1549         (IPV6_PMTUDISC_OMIT): Likewise.
1551 2014-06-23  Andreas Schwab  <schwab@suse.de>
1553         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1554         Remove unused errout label.
1556 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1558         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1559         macro: hardware supports Vector Crypto instructions.
1561 2014-06-23  Will Newton  <will.newton@linaro.org>
1563         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1564         rather than __builtin_expect.
1566         * elf/dl-lookup.c (undefined_msg): Remove variable.
1567         (_dl_lookup_symbol_x): Replace undefined_msg with string
1568         literal.
1570         * elf/dl-lookup.c (do_lookup_unique): New function.
1571         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1572         to a separate function.
1574 2014-06-23  Andreas Schwab  <schwab@suse.de>
1576         [BZ #17079]
1577         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1578         before reading the next line.
1580 2014-06-23  Will Newton  <will.newton@linaro.org>
1582         * test-skeleton.c (signal_handler): Use printf and %m
1583         rather than perror.  Use printf rather than fprintf to
1584         stderr.  Use puts rather than fputs to stderr.
1585         (main): Likewise.
1587 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1589         * nscd/nscd.c (thread_info_t): Remove typedef.
1590         (thread_info): Remove variable.
1592 2014-06-21  Allan McRae  <allan@archlinux.org>
1594         * NEWS: Mention CVE-2014-4043.
1596 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1598         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1599         * nptl/smp.h: ... here.
1601         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1603         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1604         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1605         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1606         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1608         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1609         * nptl/stack-aliasing.h: New file.
1610         * sysdeps/i386/i686/stack-aliasing.h: New file.
1611         * sysdeps/i386/i686/nptl/Makefile: File removed.
1612         * sysdeps/x86_64/stack-aliasing.h: New file.
1613         * sysdeps/x86_64/nptl/Makefile
1614         (CFLAGS-pthread_create.c): Variable removed.
1616         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1617         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1618         old file.
1619         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1620         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1621         old file.
1623 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1625         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1626         (__ASSUME_SIGFRAME_V2): Remove macro.
1627         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1628         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1629         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1630         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1631         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1632         Declare as function.  Remove conditional macro definitions.
1633         (__default_rt_sa_restorer): Likewise.
1634         (__default_sa_restorer_v1): Remove declaration.
1635         (__default_sa_restorer_v2): Likewise.
1636         (__default_rt_sa_restorer_v1): Likewise.
1637         (__default_rt_sa_restorer_v2): Likewise.
1638         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1639         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1640         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1642 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1644         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1645         (libpthread-routines): Add sysdep.
1646         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1647         * sysdeps/unix/sysv/linux/sparc/Versions
1648         (libpthread: GLIBC_2.3.3): New version set.
1649         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1650         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1651         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1652         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1653         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1654         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1655         Moved ...
1656         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1657         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1658         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1659         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1660         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1661         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1662         * sysdeps/sparc/nptl/sem_init.c: ... here.
1663         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1664         * sysdeps/sparc/nptl/sem_post.c: ... here.
1665         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1666         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1667         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1668         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1669         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1670         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1671         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1672         (libpthread-routines): Add cpu_relax.
1673         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1674         File removed.
1675         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1676         (librt: GLIBC_2.3.3): New version set.
1677         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1678         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1679         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1680         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1681         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1683         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1684         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1685         Moved ...
1686         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1688         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1690         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1691         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1692         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1694         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1695         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1696         Moved ...
1697         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1698         Update #include.
1699         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1700         Moved ...
1701         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1702         Update #include.
1703         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1704         Moved ...
1705         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1706         Update #include.
1707         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1708         Moved ...
1709         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1710         Update #include.
1711         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1712         Moved ...
1713         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1714         Update #include.
1715         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1716         Moved ...
1717         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1718         Update #include.
1719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1720         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1724         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1726         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1728         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1729         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1730         Moved ...
1731         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1733         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1735         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1737 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1739         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1740         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1741         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1742         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1743         * nscd/nscd.c: Likewise.
1744         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1745         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1746         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1747         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1749         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1750         <kernel-features.h>.
1751         (init_mq_netlink): Remove conditional have_sock_cloexec
1752         definitions.  Remove code conditional on have_sock_cloexec < 0.
1753         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1754         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1755         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1756         <kernel-features.h>.
1757         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1758         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1760 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1762         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1763         Add tests for memset_chk and memset.
1765         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1766         with AVX2_Usable.
1768 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1770         [BZ #16046]
1771         * elf/tst-dl-iter-static.c: New file.
1772         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1774         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1775         error.
1777 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1779         * sysdeps/unix/sysv/linux/kernel-features.h
1780         (__ASSUME_F_GETOWN_EX): Remove macro.
1781         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1782         <kernel-features.h>.
1783         (miss_F_GETOWN_EX): Remove variable or macro.
1784         (do_fcntl): Do not check miss_F_GETOWN_EX.
1785         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1787         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1788         Remove macro.
1789         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1790         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1791         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1793         * sysdeps/unix/sysv/linux/kernel-features.h
1794         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1795         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1796         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1797         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1799 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1801         [BZ #17075]
1802         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1803         Fix calculation of the symbol's value.
1804         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1805         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1806         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1807         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1808         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1809         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1810         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1811         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1812         (modules-names): Add `tst-armtlsdescmod',
1813         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1814         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1815         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1816         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1817         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1818         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1819         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1820         ($(objpfx)tst-armtlsdescloc): New dependency.
1821         ($(objpfx)tst-armtlsdescextnow): Likewise.
1822         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1823         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1824         TLS scheme support.
1825         * sysdeps/arm/configure: Regenerate.
1827 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1829         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1830         (__atfct_seterrno_2): Likewise.
1831         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1832         <kernel-features.h>.
1833         (__ASSUME_ATFCTS): Do not undefine and redefine.
1834         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1835         (__have_atfcts): Remove conditional definition.
1836         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1837         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1838         unreachable if [__ASSUME_ATFCTS].
1839         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1840         not undefine and redefine.
1841         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1842         <kernel-features.h>.
1843         (faccessat) [__NR_faccessat]: Make code unconditional.
1844         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1845         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1846         <kernel-features.h>.
1847         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1848         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1849         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1850         <kernel-features.h>.
1851         (fchownat) [__NR_fchownat]: Make code unconditional.
1852         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1853         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1854         <kernel-features.h>.
1855         (futimesat) [__NR_futimesat]: Make code unconditional.
1856         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1857         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1858         <kernel-features.h>.
1859         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1860         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1861         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1862         <kernel-features.h>.
1863         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1864         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1865         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1866         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1867         <kernel-features.h>.
1868         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1869         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1870         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1871         <kernel-features.h>.
1872         (linkat) [__NR_linkat]: Make code unconditional.
1873         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1874         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1875         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1876         <kernel-features.h>.
1877         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1878         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1879         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1880         <kernel-features.h>.
1881         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1882         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1883         * sysdeps/unix/sysv/linux/openat.c: Do not include
1884         <kernel-features.h>.
1885         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1886         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1887         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1888         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1889         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1890         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1891         <kernel-features.h>.
1892         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1893         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1894         result of INLINE_SYSCALL directly, not via int variable.
1895         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1896         <kernel-features.h>.
1897         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1898         (renameat) [__NR_renameat]: Make code unconditional.
1899         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1900         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1901         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1902         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1903         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1904         (__ASSUME_ATFCTS): Do not undefine and redefine.
1905         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1906         <kernel-features.h>.
1907         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1908         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1909         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1910         <kernel-features.h>.
1911         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1912         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1913         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1914         (__ASSUME_ATFCTS): Do not undefine and redefine.
1915         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1916         <kernel-features.h>.
1917         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1918         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1919         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1920         <kernel-features.h>.
1921         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1922         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1924 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1926         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1928 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1930         [BZ #17069]
1931         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1932         constructed tree before returning error.
1933         * posix/bug-regexp36.c: Expand test case.
1935 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1937         [BZ #6803]
1938         * math/libm-test.inc (scalbln_test_date):
1939         Add errno expectations.
1940         * math/w_scalblnf.c: New File.
1941         Add wrapper which checks for setting errno to ERANGE.
1942         Add weak_alias for corresponding scalbln function.
1943         * math/w_scalbln.c: Likewise.
1944         * math/w_scalblnl.c: Likewise.
1945         * math/Makefile (libm-calls): Add w_scalbln.
1946         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1947         Remove weak_alias for corresponding scalbln function.
1948         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1949         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1950         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1951         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1952         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1953         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1954         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1955         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1956         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1957         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1958         Remove long_double_symbol for scalblnl function in libm, libc.
1959         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1960         Add wrapper which checks for setting errno to ERANGE.
1961         Add long_double_symbol for scalblnl function in libm, libc.
1962         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1963         Remove long_double_symbol for scalblnl in libm.
1964         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1965         Add wrapper which checks for setting errno to ERANGE.
1966         Add long_double_symbol for scalblnl function in libm.
1967         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1968         Do not use wrapper because of own implementation.
1970 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1972         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1973         3 bytes for __pad1 for x32.
1974         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1976 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1977             H.J. Lu  <hongjiu.lu@intel.com>
1979         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1980         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1981         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1982         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1983         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1985 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1987         [BZ #17069]
1988         * posix/regcomp.c (parse_expression): Deallocate partially
1989         constructed tree before returning error.
1990         * posix/Makefile.c (tests): Add bug-regex36.
1991         (generated): Add bug-regex36.mtrace.
1992         (tests-special): Add $(objpfx)bug-regex36-mem.out
1993         (bug-regex36-ENV): New variable.
1994         ($(objpfx)bug-regex36-mem.out): New rule.
1995         * posix/bug-regex36.c: New file.
1997 2014-06-19  Will Newton  <will.newton@linaro.org>
1999         * malloc/malloc.c (systrim): If extra is zero then return
2000         early.
2002 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2004         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2006 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2008         * sysdeps/aarch64/strchr.S: New file.
2010 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2012         [BZ #17022]
2013         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2014         from arguments -2 or below.
2015         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2016         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2018 2014-06-18  Andreas Schwab  <schwab@suse.de>
2020         [BZ #17062]
2021         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2022         of a bracket expr not to run off the end of the string.
2023         * posix/Makefile (tests): Add tst-fnmatch3.
2024         * posix/tst-fnmatch3.c: New file.
2026 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2028         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2029         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2030         [$(cross-compiling) = no]: Likewise.
2031         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2032         [$(cross-compiling) = no]: Likewise.
2034 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2036         [BZ #17031]
2037         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2038         double, adjusted for any remainder from the high double.
2039         * math/libm-test.inc (nearbyint): Add tests.
2040         (rint): Likewise.
2042 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2044         * nptl/sysdeps/powerpc/Makefile: Moved ...
2045         * sysdeps/powerpc/nptl/Makefile: ... here.
2046         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2047         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2048         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2049         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2050         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2051         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2052         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2053         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2054         * nptl/sysdeps/powerpc/tls.h: Moved ...
2055         * sysdeps/powerpc/nptl/tls.h: ... here.
2057 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2059         [BZ #16681]
2060         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2061         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2062         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2063         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2064         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2065         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2066         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2067         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2068         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2070 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2072         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2074 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2076         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2077         defined operator.
2079         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2080         $TIMEOUTFACTOR.
2082 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2084         [BZ #17058]
2085         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2086         non-executed part of the test.
2088 2014-06-16  Andreas Schwab  <schwab@suse.de>
2090         * string/bits/string2.h (strdup, strndup): Update feature guard.
2092 2014-06-14  David S. Miller  <davem@davemloft.net>
2094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2096 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2098         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2099         that was previously under [RESET_PID].
2100         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2102         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2103         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2104         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2105         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2106         (__libc_vfork): New strong alias.
2107         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2109 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2111         * sysdeps/generic/elide.h: New file.
2113 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2115         * Makefile (installed-headers): Adjust path of pthread.h header.
2117 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2119         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2120         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2121         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2122         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2124         * nptl/sysdeps/s390/Makefile: Moved ...
2125         * sysdeps/s390/nptl/Makefile: ... here.
2126         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2127         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2128         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2129         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2130         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2131         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2132         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2133         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2134         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2135         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2136         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2137         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2138         * nptl/sysdeps/s390/tls.h: Moved ...
2139         * sysdeps/s390/nptl/tls.h: ... here.
2141         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2142         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2144 2014-06-13  David S. Miller  <davem@davemloft.net>
2146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2149         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2153         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2154         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2155         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2156         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2157         Remove RESET_PID cpp guards.
2158         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2159         Remove RESET_PID cpp guards.
2160         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2162 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2164         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2165         __sp to uintptr_t.
2167 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2169         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2170         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2171         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2172         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2173         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2174         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2175         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2176         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2177         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2178         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2179         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2180         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2181         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2182         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2183         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2184         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2185         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2186         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2187         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2188         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2190         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2191         (pthread_rwlock_rdlock): Add elision.
2192         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2193         (pthread_rwlock_wrlock): Add elision.
2194         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2195         (pthread_rwlock_trywrlock): Add elision.
2196         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2197         (pthread_rwlock_tryrdlock): Add elision.
2198         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2199         (pthread_rwlock_tryrdlock): Add elision unlock.
2200         * nptl/sysdeps/pthread/pthread.h:
2201         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2202         (PTHREAD_RWLOCK_INITIALIZER,
2203         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2204         Handle new elision field.
2205         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2206         * sysdeps/arm/nptl/bits/pthreadtypes.h
2207         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2208         * sysdeps/sh/nptl/bits/pthreadtypes.h
2209         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2210         * sysdeps/tile/nptl/bits/pthreadtypes.h
2211         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2212         * sysdeps/a/nptl/bits/pthreadtypes.h
2213         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2214         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2215         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2216         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2217         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2218         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2219         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2220         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2221         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2222         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2223         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2224         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2225         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2226         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2227         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2228         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2229         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2230         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2231         (elision_init): Set try_xbegin to zero when no RTM.
2232         * sysdeps/x86/nptl/bits/pthreadtypes.h
2233         (pthread_rwlock_t): Change __pad1 to __rwelision.
2234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2236 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2238         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2239         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2240         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2241         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2243 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2245         [BZ #16996]
2246         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2247         that the cached result has been set before returning it.
2249 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2251         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2252         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2253         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2254         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2255         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2256         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2258         * nptl/sysdeps/sparc/Makefile: Moved ...
2259         * sysdeps/sparc/nptl/Makefile: ... here.
2260         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2261         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2262         * nptl/sysdeps/sparc/tls.h: Moved ...
2263         * sysdeps/sparc/nptl/tls.h: ... here.
2264         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2265         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2266         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2267         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2268         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2269         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2270         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2271         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2272         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2273         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2274         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2275         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2276         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2277         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2278         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2279         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2280         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2281         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2282         Update #include.
2283         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2284         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2285         Update #include.
2286         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2287         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2288         Update #include.
2289         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2290         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2291         Update #include.
2293         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2295         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2296         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2298         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2299         (struct list_links): Type removed.
2300         (struct thread_node, struct timer_node): Replace struct list_links
2301         with struct list_head.
2302         (list_unlink_ip): Likewise.
2303         * sysdeps/pthread/timer_routines.c
2304         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2305         (list_append, list_insbefore): Likewise.
2306         (list_init): Function removed.
2307         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2308         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2309         * sysdeps/pthread/Makefile: ... here, new file.
2311         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2312         * sysdeps/nptl/Implies: ... here.
2313         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2314         * nptl/sysdeps/pthread/list.h: Moved ...
2315         * include/list.h: ... here.
2316         * nptl/sysdeps/pthread/createthread.c: Moved ...
2317         * nptl/createthread.c: ... here.
2318         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2319         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2320         * nptl/pt-longjmp.c: ... here.
2321         * nptl/sysdeps/pthread/Makefile: Moved ...
2322         * sysdeps/nptl/Makefile: ... here.
2323         * nptl/sysdeps/pthread/Subdirs: Moved ...
2324         * sysdeps/nptl/Subdirs: ... here.
2325         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2326         * sysdeps/nptl/aio_misc.h: ... here.
2327         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2328         * sysdeps/nptl/bits/libc-lock.h: ... here.
2329         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2330         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2331         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2332         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2333         * nptl/sysdeps/pthread/configure: Moved ...
2334         * sysdeps/nptl/configure: ... here.
2335         * nptl/sysdeps/pthread/configure.ac: Moved ...
2336         * sysdeps/nptl/configure.ac: ... here.
2337         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2338         * sysdeps/nptl/gai_misc.h: ... here.
2339         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2340         * sysdeps/nptl/librt-cancellation.c: ... here.
2341         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2342         * sysdeps/nptl/malloc-machine.h: ... here.
2343         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2344         * sysdeps/nptl/pthread-functions.h: ... here.
2345         * nptl/sysdeps/pthread/pthread.h: Moved ...
2346         * sysdeps/nptl/pthread.h: ... here.
2347         * nptl/sysdeps/pthread/setxid.h: Moved ...
2348         * sysdeps/nptl/setxid.h: ... here.
2349         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2350         * sysdeps/nptl/sigfillset.c: ... here.
2351         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2352         * sysdeps/nptl/tcb-offsets.h: ... here.
2353         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2354         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2355         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2356         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2357         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2358         * sysdeps/pthread/allocalim.h: ... here.
2359         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2360         * sysdeps/pthread/bits/sigthread.h: ... here.
2361         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2362         * sysdeps/pthread/flockfile.c: ... here.
2363         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2364         * sysdeps/pthread/ftrylockfile.c: ... here.
2365         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2366         * sysdeps/pthread/funlockfile.c: ... here.
2367         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2368         * sysdeps/pthread/posix-timer.h: ... here.
2369         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2370         * sysdeps/pthread/timer_create.c: ... here.
2371         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2372         * sysdeps/pthread/timer_delete.c: ... here.
2373         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2374         * sysdeps/pthread/timer_getoverr.c: ... here.
2375         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2376         * sysdeps/pthread/timer_gettime.c: ... here.
2377         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2378         * sysdeps/pthread/timer_routines.c: ... here.
2379         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2380         * sysdeps/pthread/timer_settime.c: ... here.
2381         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2382         * sysdeps/pthread/tst-timer.c: ... here.
2383         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2384         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2386         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2387         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2389         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2390         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2391         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2392         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2393         Update #include target.
2394         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2395         * sysdeps/i386/i686/nptl/Makefile: ... here.
2396         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2397         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2398         Update #include target.
2399         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2400         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2401         * nptl/sysdeps/i386/Makefile: Moved ...
2402         * sysdeps/i386/nptl/Makefile: ... here.
2403         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2404         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2405         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2406         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2407         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2408         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2409         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2410         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2411         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2412         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2413         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2414         * nptl/sysdeps/i386/tls.h: Moved ...
2415         * sysdeps/i386/nptl/tls.h: ... here.
2417         * sysdeps/sh/Makefile [$(subdir) = csu]
2418         (gen-as-const-headers): Add tcb-offsets.sym.
2419         * nptl/sysdeps/sh/Makefile: File removed.
2420         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2421         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2422         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2423         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2424         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2425         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2426         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2427         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2428         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2429         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2430         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2431         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2432         * nptl/sysdeps/sh/tls.h: Moved ...
2433         * sysdeps/sh/nptl/tls.h: ... here.
2434         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2435         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2436         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2437         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2438         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2439         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2440         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2441         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2442         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2443         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2444         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2445         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2446         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2447         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2448         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2449         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2450         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2451         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2452         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2453         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2454         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2455         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2456         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2457         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2458         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2459         Moved ...
2460         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2461         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2462         Moved ...
2463         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2464         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2465         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2466         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2467         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2468         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2469         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2470         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2471         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2472         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2473         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2474         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2475         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2476         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2477         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2478         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2479         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2480         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2481         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2483 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2485         * posix/spawn_faction_addopen.c: Include string.h.
2487 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2489         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2490         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2491         * nptl/sysdeps/x86_64/Makefile: Moved ...
2492         * sysdeps/x86_64/nptl/Makefile: ... here.
2493         * nptl/sysdeps/x86_64/configure: Moved ...
2494         * sysdeps/x86_64/nptl/configure: ... here.
2495         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2496         * sysdeps/x86_64/nptl/configure.ac: ... here.
2497         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2498         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2499         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2500         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2501         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2502         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2503         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2504         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2505         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2506         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2507         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2508         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2509         * nptl/sysdeps/x86_64/tls.h: Moved ...
2510         * sysdeps/x86_64/nptl/tls.h: ... here.
2511         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2512         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2513         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2514         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2516         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2518 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2522 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2524         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2525         type.
2526         [POSIX] (off_t): Likewise.
2527         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2528         [POSIX] (S_ISBLK): Require macro.
2529         [POSIX] (S_ISCHR): Likewise.
2530         [POSIX] (S_ISDIR): Likewise.
2531         [POSIX] (S_ISFIFO): Likewise.
2532         [POSIX] (S_ISREG): Likewise.
2533         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2534         optional-macro.
2535         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2536         type.
2537         [POSIX] (time_t): Likewise.
2538         [POSIX] (timer_t): Likewise.
2540 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2542         [BZ #17048]
2543         * posix/spawn_int.h (struct __spawn_action): Make the path string
2544         non-const to support deallocation.
2545         * posix/spawn_faction_addopen.c
2546         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2547         * posix/spawn_faction_destroy.c
2548         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2549         path in all spawn_do_open actions.
2550         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2551         posix_spawn_file_actions_addopen.
2553 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2555         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2556         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2557         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2558         conditional code always true.
2559         (__libc_vfork): New alias.
2561 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2563         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2564         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2566         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2568         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2569         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2571         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2572         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2574         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2575         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2577 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2579         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2580         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2581         multiarch strcmp for PPC64.
2582         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2583         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2585         multiarch optimizations.
2586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2587         (__libc_ifunc_impl_list): Likewise.
2589 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2591         * benchtests/scripts/validate_benchout.py: New script.
2592         * benchtests/Makefile (bench-func): Call it.
2593         * benchtests/scripts/benchout.schema.json: New file.
2595 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2597         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2598         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2599         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2600         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2601         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2602         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2603         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2604         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2605         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2606         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2607         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2608         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2609         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2610         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2611         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2612         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2614         Moved ...
2615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2616         ... here.
2617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2618         Moved ...
2619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2621         Moved ...
2622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2623         ... here.
2624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2625         Moved ...
2626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2627         ... here.
2628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2629         Moved ...
2630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2632         Moved ...
2633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2634         ... here.
2635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2636         Moved ...
2637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2638         ... here.
2639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2640         Moved ...
2641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2643         Moved ...
2644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2645         ... here.
2646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2647         Moved ...
2648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2649         ... here.
2650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2651         Moved ...
2652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2653         ... here.
2654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2655         Moved ...
2656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2658         Moved ...
2659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2660         ... here.
2661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2662         Moved ...
2663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2664         ... here.
2665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2666         Moved ...
2667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2668         ... here.
2669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2670         Moved ...
2671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2673         Moved ...
2674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2675         ... here.
2676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2677         Moved ...
2678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2679         ... here.
2680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2681         Moved ...
2682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2684         Moved ...
2685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2686         ... here.
2687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2688         Moved ...
2689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2691         Moved ...
2692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2694         Moved ...
2695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2696         ... here.
2697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2698         Moved ...
2699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2700         ... here.
2701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2702         Moved ...
2703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2704         ... here.
2705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2706         Moved ...
2707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2709         Moved ...
2710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2711         ... here.
2712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2713         Moved ...
2714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2715         ... here.
2716         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2717         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2718         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2719         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2720         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2721         Moved ...
2722         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2723         ... here.
2724         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2725         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2726         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2727         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2728         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2729         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2730         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2731         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2732         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2733         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2734         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2735         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2736         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2737         Moved ...
2738         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2739         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2740         Moved ...
2741         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2742         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2743         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2744         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2745         Moved ...
2746         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2747         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2748         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2749         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2750         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2751         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2752         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2754 2014-06-10  Wilco  <wdijkstr@arm.com>
2756         * math/test-fenv-return.c: New file.
2757         * math/Makefile: Add new test test-fenv-return.
2759 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2761         [BZ #17042]
2762         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2763         when x - 1 is zero.
2764         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2765         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2766         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2767         0.0L for an argument of 1.0L.
2768         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2769         Likewise.
2770         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2771         value when x - 1 is zero.
2772         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2773         * sysdeps/i386/fpu/libm-test-ulps: Update.
2774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2776 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2778         [BZ #15119]
2779         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2781 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2783         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2784         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2786 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2788         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2789         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2791         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2792         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2794         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2795         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2797         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2798         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2800         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2801         if not already defined.
2802         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2803         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2804         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2805         (TLS_INIT_TP): Use it.
2806         (TLS_DEFINE_INIT_TP): New macro.
2807         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2809 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2811         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2812         constant.
2813         [POSIX] (IXANY): Likewise.
2814         [POSIX] (OLCUC): Likewise.
2815         [POSIX || POSIX2008] (CBAUD): Do not allow.
2816         [POSIX || POSIX2008] (DEFECHO): Likewise.
2817         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2818         [POSIX || POSIX2008] (ECHOKE): Likewise.
2819         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2820         [POSIX || POSIX2008] (EXTA): Likewise.
2821         [POSIX || POSIX2008] (EXTB): Likewise.
2822         [POSIX || POSIX2008] (FLUSHO): Likewise.
2823         [POSIX || POSIX2008] (LOBLK): Likewise.
2824         [POSIX || POSIX2008] (PENDIN): Likewise.
2825         [POSIX || POSIX2008] (SWTCH): Likewise.
2826         [POSIX || POSIX2008] (VDISCARD): Likewise.
2827         [POSIX || POSIX2008] (VDSUSP): Likewise.
2828         [POSIX || POSIX2008] (VLNEXT): Likewise.
2829         [POSIX || POSIX2008] (VREPRINT): Likewise.
2830         [POSIX || POSIX2008] (VSTATUS): Likewise.
2831         [POSIX || POSIX2008] (VWERASE): Likewise.
2832         (B*): Change to B[0123456789]*.
2833         * conform/data/time.h-data [POSIX || UNIX98]
2834         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2835         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2836         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2837         [POSIX] (tm_*): Do not allow.
2839 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2841         * Makefile (install): Don't set LANGUAGE.
2842         * Makefile.in (install): Likewise.
2843         * assert/Makefile (test-assert-ENV): Remove variable.
2844         (test-assert-perr-ENV): Likewise.
2845         * elf/Makefile (neededtest4-ENV): Likewise.
2846         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2847         [$(cross-compiling) = no]: Don't set LANGUAGE.
2848         * io/ftwtest-sh (LANG): Remove variable.
2849         * libio/Makefile (tst-widetext-ENV): Likewise.
2850         * manual/install.texi (Running make install): Don't refer to
2851         environment settings for make install.
2852         * INSTALL: Regenerated.
2853         * nptl/tst-tls6.sh: Don't set LANG.
2854         * posix/globtest.sh (LANG): Remove variable.
2855         * string/Makefile (tester-ENV): Likewise.
2856         (inl-tester-ENV): Likewise.
2857         (noinl-tester-ENV): Likewise.
2858         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2859         [$(cross-compiling) = no]: Don't set LANGUAGE.
2860         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2861         without explicit environment settings.
2863 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2865         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2866         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2867         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2868         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2870 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2872         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2873         other files in the crypt directory.
2874         * crypt/crypt.c: Remove duplicate includes.
2875         * crypt/crypt-entry.c: Likewise.
2876         * crypt/crypt_util.c: Likewise.
2878 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2880         * Makeconfig (run-program-env): New variable.
2881         (run-program-prefix-before-env): Likewise.
2882         (run-program-prefix-after-env): Likewise.
2883         (run-program-prefix): Define in terms of new variables.
2884         (built-program-cmd-before-env): New variable.
2885         (built-program-cmd-after-env): Likewise.
2886         (built-program-cmd): Define in terms of new variables.
2887         (test-program-prefix-before-env): New variable.
2888         (test-program-prefix-after-env): Likewise.
2889         (test-program-prefix): Define in terms of new variables.
2890         (test-program-cmd-before-env): New variable.
2891         (test-program-cmd-after-env): Likewise.
2892         (test-program-cmd): Define in terms of new variables.
2893         * Rules (make-test-out): Use $(run-program-env).
2894         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2895         (help): Do not mention environment variables.  Mention
2896         --timeoutfactor option.
2897         (timeoutfactor): New variable.
2898         (blacklist_exports): Remove function.
2899         (exports): Remove variable.
2900         (command): Do not include ${exports}.
2901         * manual/install.texi (Configuring and compiling): Do not mention
2902         test wrappers preserving environment variables.  Mention that last
2903         assignment to a variable must take precedence.
2904         * INSTALL: Regenerated.
2905         * benchtests/Makefile (run-bench): Use $(run-program-env).
2906         * catgets/Makefile ($(objpfx)test1.cat): Use
2907         $(built-program-cmd-before-env), $(run-program-env) and
2908         $(built-program-cmd-after-env).
2909         ($(objpfx)test2.cat): Do not specify environment variables
2910         explicitly.
2911         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2912         $(run-program-env) and $(built-program-cmd-after-env).
2913         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2914         $(run-program-env) and $(test-program-cmd-after-env).
2915         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2916         explicitly.
2917         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2918         run_program_env and test_program_cmd_after_env arguments.
2919         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2920         * elf/tst-pathopt.sh: Use run_program_env argument.
2921         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2922         $(test-wrapper-env) and $(run-program-env).
2923         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2924         run_program_env arguments.
2925         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2926         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2927         $(test-program-prefix-before-env), $(run-program-env) and
2928         $(test-program-prefix-after-env).
2929         ($(objpfx)tst-gettext2.out): Likewise.
2930         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2931         run_program_env and test_program_prefix_after_env arguments.
2932         * intl/tst-gettext2.sh: Likewise.
2933         * intl/tst-gettext4.sh: Do not set environment variables
2934         explicitly.
2935         * intl/tst-gettext6.sh: Likewise.
2936         * intl/tst-translit.sh: Likewise.
2937         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2938         $(test-program-prefix-before-env), $(run-program-env) and
2939         $(test-program-prefix-after-env).
2940         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2941         run_program_env and test_program_prefix_after_env arguments.
2942         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2943         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2944         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2945         explicitly with each use of ${test_wrapper_env}.
2946         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2947         $(test-program-prefix-before-env), $(run-program-env) and
2948         $(test-program-prefix-after-env).
2949         * posix/tst-getconf.sh: Do not set environment variables
2950         explicitly.
2951         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2952         run_program_env and test_program_prefix_after_env arguments.
2953         * stdio-common/tst-printf.sh: Do not set environment variables
2954         explicitly.
2955         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2956         $(test-program-prefix-before-env), $(run-program-env) and
2957         $(test-program-prefix-after-env).
2958         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2959         run_program_env and test_program_prefix_after_env arguments.
2960         Split $test calls into $test_pre and $test.
2961         * timezone/Makefile (build-testdata): Use
2962         $(built-program-cmd-before-env), $(run-program-env) and
2963         $(built-program-cmd-after-env).
2965 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2967         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2968         strlen for non SHARED builds.
2970 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2972         * nptl/allocatestack.c (check_list): Inlined function...
2973         (__reclaim_stacks): ... here.
2975 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2977         [BZ #15698]
2978         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2979         memory overrun.
2981 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2983         * Rules (make-test-out): Include
2984         LOCPATH=$(common-objpfx)localedata in default environment.
2985         * debug/Makefile (tst-chk1-ENV): Remove variable.
2986         (tst-chk2-ENV): Likewise.
2987         (tst-chk3-ENV): Likewise.
2988         (tst-chk4-ENV): Likewise.
2989         (tst-chk5-ENV): Likewise.
2990         (tst-chk6-ENV): Likewise.
2991         (tst-lfschk1-ENV): Likewise.
2992         (tst-lfschk2-ENV): Likewise.
2993         (tst-lfschk3-ENV): Likewise.
2994         (tst-lfschk4-ENV): Likewise.
2995         (tst-lfschk5-ENV): Likewise.
2996         (tst-lfschk6-ENV): Likewise.
2997         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2998         (tst-iconv7-ENV): Likewise.
2999         * intl/Makefile (LOCPATH-ENV): Likewise.
3000         (tst-codeset-ENV): Likewise.
3001         (tst-gettext3-ENV): Likewise.
3002         (tst-gettext5-ENV): Likewise.
3003         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3004         (tst-fopenloc-ENV): Likewise.
3005         (tst-fgetws-ENV): Remove variable.
3006         (tst-ungetwc1-ENV): Likewise.
3007         (tst-ungetwc2-ENV): Likewise.
3008         (bug-ungetwc2-ENV): Likewise.
3009         (tst-swscanf-ENV): Likewise.
3010         (bug-ftell-ENV): Likewise.
3011         (tst-fgetwc-ENV): Likewise.
3012         (tst-fseek-ENV): Likewise.
3013         (tst-ftell-partial-wide-ENV): Likewise.
3014         (tst-ftell-active-handler-ENV): Likewise.
3015         (tst-ftell-append-ENV): Likewise.
3016         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3017         (tst-regexloc-ENV): Likewise.
3018         (bug-regex1-ENV): Likewise.
3019         (tst-regex-ENV): Likewise.
3020         (tst-regex2-ENV): Likewise.
3021         (bug-regex5-ENV): Likewise.
3022         (bug-regex6-ENV): Likewise.
3023         (bug-regex17-ENV): Likewise.
3024         (bug-regex18-ENV): Likewise.
3025         (bug-regex19-ENV): Likewise.
3026         (bug-regex20-ENV): Likewise.
3027         (bug-regex22-ENV): Likewise.
3028         (bug-regex23-ENV): Likewise.
3029         (bug-regex25-ENV): Likewise.
3030         (bug-regex26-ENV): Likewise.
3031         (bug-regex30-ENV): Likewise.
3032         (bug-regex32-ENV): Likewise.
3033         (bug-regex33-ENV): Likewise.
3034         (bug-regex34-ENV): Likewise.
3035         (bug-regex35-ENV): Likewise.
3036         (tst-rxspencer-ENV): Likewise.
3037         (tst-rxspencer-no-utf8-ENV): Likewise.
3038         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3039         (tst-sscanf-ENV): Likewise.
3040         (tst-swprintf-ENV): Likewise.
3041         (tst-swscanf-ENV): Likewise.
3042         (test-vfprintf-ENV): Likewise.
3043         (scanf13-ENV): Likewise.
3044         (bug14-ENV): Likewise.
3045         (tst-grouping-ENV): Likewise.
3046         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3047         (tst-strtod3-ENV): Likewise.
3048         (tst-strtod4-ENV): Likewise.
3049         (tst-strtod5-ENV): Likewise.
3050         (testmb2-ENV): Likewise./
3051         * string/Makefile (tst-strxfrm-ENV): Likewise.
3052         (tst-strxfrm2-ENV): Likewise.
3053         (bug-strcoll1-ENV): Likewise.
3054         (test-strcasecmp-ENV): Likewise.
3055         (test-strncasecmp-ENV): Likewise.
3056         * time/Makefile (tst-strptime-ENV): Likewise.
3057         (tst-ftime_l-ENV): Likewise.
3058         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3059         (tst-mbrtowc-ENV): Likewise.
3060         (tst-wcrtomb-ENV): Likewise.
3061         (tst-mbrtowc2-ENV): Likewise.
3062         (tst-c16c32-1-ENV): Likewise.
3063         (tst-mbsnrtowcs-ENV): Likewise.
3065 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3067         * manual/resource.texi (How to get information about the memory
3068         subsystem?): Fix typo.
3069         Reported by Peon de la Parra Ivan <peon@keba.com>
3071 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3073         [BZ #16882]
3074         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3075         (pthread_spin_lock): Branch out of spin loop to proper location.
3076         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3077         (pthread_spin_lock): Likewise.
3079         * nptl/tst-spin4.c: New test.
3080         * nptl/Makefile (tests): Add tst-spin4.
3082 2014-06-03  Andreas Schwab  <schwab@suse.de>
3084         [BZ #15946]
3085         * resolv/res_send.c (send_dg): Reload file descriptor after
3086         calling reopen.
3088 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3090         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3092 2014-06-03  Richard Henderson  <rth@redhat.com>
3094         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3095         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3096         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3097         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3098         in the SAVE_PID block.
3099         (__libc_vfork): New alias.
3100         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3102         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3103         child in registers, not on the stack.  Remove RESET_PID conditionals.
3104         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3106 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3108         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3110 2014-06-03  Wilco  <wdijkstr@arm.com>
3112         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3113         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3114         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3115         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3116         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3117         Likewise.
3119 2014-06-03  Wilco  <wdijkstr@arm.com>
3121         * sysdeps/aarch64/fpu/math_private.h
3122         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3123         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3124         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3125         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3126         Fix declarations.
3128 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3130         * crypt/crypt-private.h: Include ufc-crypt.h.
3131         (__b64_from_24bit): Declare extern.
3132         * crypt/crypt_util.c(__b64_from_24bit): New function.
3133         (b64t): New static const variable.
3134         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3135         (b64t): Remove variable.
3136         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3137         * crypt/sha256-crypt.c: Include crypt-private.h.
3138         (b64t): Remove variable.
3139         (__sha256_crypt_r): Remove b64_from_24bit and replace
3140         with __b64_from_24bit.
3141         * crypt/sha512-crypt.c: Likewise.
3143 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3145         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3146         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3147         Label the code __libc_vfork rather than __vfork.
3148         [!NOT_IN_libc] (vfork): Define as weak alias.
3149         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3150         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3151         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3153 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3155         * malloc/malloc.c (malloc_info): Fix format specifier for
3156         n_mmaps.
3158 2014-06-02  Wilco  <wdijkstr@arm.com>
3160         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3161         FPCR write.
3163 2014-06-02  Wilco  <wdijkstr@arm.com>
3165         [BZ #17009]
3166         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3167         Rewrite to reduce FPCR/FPSR accesses.
3169 2014-06-01  David S. Miller  <davem@davemloft.net>
3171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3173 2014-05-31  David S. Miller  <davem@davemloft.net>
3175         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3176         to occur in round to nearest mode when |x| >= 2.0
3178 2014-05-30  Richard Henderson  <rth@twiddle.net>
3180         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3181         (PSEUDO_RET_NOERRNO): Remove.
3182         (ret): Don't redefine.
3183         (ret_NOERRNO): Define in terms of ret.
3184         (ret_ERRVAL): Likewise.
3186         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3187         use of PSEUDO_RET; perform the error check directly.
3189 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3191         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3192         with __int128_t.
3194 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3196         * malloc/malloc (malloc_info): Fix formatting.
3198 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3199             Roland McGrath  <roland@hack.frob.com>
3201         * malloc/malloc (malloc_info): Also print mmapped statistics.
3203 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3205         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3206         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3208 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3210         * malloc/malloc.c (malloc_info): Inline mi_arena.
3212 2014-05-29  Richard Henderson  <rth@twiddle.net>
3214         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3215         Remove comma before expanding ASM_ARGS_##nr.
3216         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3217         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3218         of ASM_ARGS_##nr.
3219         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3220         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3221         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3222         (ASM_ARGS_1): Add leading comma.
3224         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3225         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3226         to __errno_location.
3227         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3228         Remove the expected plt for __errno_location.
3230         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3231         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3232         call to __read_tp.
3234         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3235         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3236         it and break it down.
3237         (DOCARGS_0, DOCARGS_1): Do nothing.
3238         (DOCARGS_2): Update to store into the new stack frame.
3239         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3240         (UNDOCARGS_1): Update to restore from the new stack frame.
3241         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3242         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3244         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3245         (SINGLE_THREAD_P): New parameter for result regno.
3246         (PSEUDO): Update to match; use cbz instead of beq.
3248         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3249         Use ENTRY to define the _nocancel entry point.  Share the syscall
3250         and syscall error check paths with the cancel path.
3251         (PSEUDO_END): New.
3253         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3254         whitespace; tabs before and after asm mnemonics.
3256 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3258         [BZ #15132]
3259         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3260         Call fstat64 or stat64 internally, depending on arguments passed.
3261         Replace stat buffer argument with file descriptor argument.
3262         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3263         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3264         Pass fd to __internal_statvfs instead of calling fstat64.
3265         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3266         Pass fd to __internal_statvfs64 instead of calling fstat64.
3267         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3268         Pass -1 to __internal_statvfs instead of calling stat64.
3269         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3270         Pass -1 to __internal_statvfs64 instead of calling stat64.
3272 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3274         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3275         that was previously under [RESET_PID].
3276         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3278         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3279         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3281 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3283         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3285         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3286         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3288 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3290         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3292 2014-05-27  Andreas Schwab  <schwab@suse.de>
3294         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3295         TLS_INIT_TP macro.
3296         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3297         * elf/rtld.c (init_tls, dl_main): Likewise.
3298         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3299         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3300         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3301         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3302         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3303         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3304         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3305         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3306         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3307         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3308         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3309         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3310         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3311         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3312         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3313         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3314         * sysdeps/generic/tls.h: Update description.
3316 2014-05-27  Will Newton  <will.newton@linaro.org>
3318         [BZ #16990]
3319         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3320         and restore r2 rather than just restoring.
3322 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3324         [BZ #16724]
3325         * libio/tst-ftell-append.c: New test case.
3326         * libio/Makefile (tests): Add test case.
3327         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3328         append mode.
3329         * libio/wfileops.c (do_ftell_wide): Likewise.
3331 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3335         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3336         ...
3337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3339         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3340         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3341         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3342         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3343         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3344         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3345         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3346         Moved ...
3347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3349         Moved ...
3350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3351         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3352         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3353         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3354         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3355         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3356         ...
3357         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3358         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3359         Moved ...
3360         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3361         here.
3362         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3363         ...
3364         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3365         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3366         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3368         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3369         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3370         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3371         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3373         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3374         merge into ...
3375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3376         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3377         ...
3378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3379         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3380         ...
3381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3382         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3383         Moved ...
3384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3385         here.
3386         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3387         Moved ...
3388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3389         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3390         Moved ...
3391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3394         conditional [RESET_PID].
3395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3396         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3397         removed.
3398         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3399         removed.
3401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3402         <tcb-offsets.h>.
3403         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3404         (__libc_vfork): New strong alias.
3405         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3406         removed.
3407         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3408         Removed.
3410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3411         <tcb-offsets.h>.
3412         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3413         (__libc_vfork): New strong alias.
3414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3415         removed.
3416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3417         removed.
3419 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3421         * malloc/malloc.c (mi_arena): New function.
3422         (malloc_info): Remove nested function mi_arena. Call non-nosted
3423         function mi_arena.
3425 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3427         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3428         by insrwi.
3429         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3430         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3431         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3432         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3433         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3434         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3435         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3437 2014-05-26  Andreas Schwab  <schwab@suse.de>
3439         [BZ #16984]
3440         * locale/programs/repertoire.c (repertoire_read): Add slash
3441         between I18NPATH element and file name.
3442         * locale/programs/locfile.c (locfile_read): Likewise.
3444 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3446         * nptl/pthread_mutexattr_settype.c
3447         (__pthread_mutexattr_settype):
3448         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3450 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3452         * nptl/tst-mutex5 (do_test):
3453         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3455 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3457         * benchtests/README: Document 'init' directive.
3458         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3459         BENCH_INIT.
3460         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3461         (parse_file): Recognize 'init' directive.
3463 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3465         [BZ #16796]
3466         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3467         alignment of struct pthread.
3469 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3471         [BZ #16878]
3472         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3473         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3474         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3475         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3477 2014-05-25  Richard Henderson  <rth@twiddle.net>
3479         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3480         (SINGLE_THREAD_P_PIC): Remove.
3481         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3482         (SINGLE_THREAD_P_PIC): Remove.
3484         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3485         branch to syscall error ...
3486         (PSEUDO): ... here.
3487         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3488         from __local_syscall_error to .Lsyscall_error.
3489         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3490         (SYSCALL_ERROR): Update label name.
3492         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3493         Do not use DOARGS/UNDOARGS.
3494         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3495         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3496         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3497         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3498         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3500         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3501         block comment.
3503         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3504         define if !NOT_IN_libc.
3505         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3506         define with non-default symbol versions.
3508 2014-05-23  Richard Henderson  <rth@twiddle.net>
3510         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3511         (vfork, __vfork): Define via compat_symbol.
3513         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3514         [!HAVE_IFUNC] (vfork_compat): Remove.
3515         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3517 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3519         [BZ #16978]
3520         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3521         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3522         variable.
3524 2014-05-23  Richard Henderson  <rth@twiddle.net>
3526         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3527         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3528         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3529         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3531         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3532         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3533         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3534         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3535         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3536         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3537         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3538         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3539         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3540         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3541         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3542         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3543         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3544         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3545         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3546         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3547         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3548         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3549         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3550         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3551         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3552         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3553         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3554         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3555         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3556         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3557         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3558         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3559         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3560         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3561         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3562         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3563         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3564         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3565         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3566         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3567         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3568         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3569         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3570         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3571         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3572         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3573         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3574         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3575         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3576         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3577         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3578         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3579         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3580         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3581         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3582         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3583         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3584         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3585         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3586         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3588         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3589         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3590         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3591         before exiting on error.
3592         (__libc_vfork): New strong alias.
3593         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3594         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3596         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3597         that was previously under [RESET_PID].
3598         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3600         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3602 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3604         [BZ #16977]
3605         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3606         value when x - 1 is zero.
3607         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3608         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3609         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3610         0.0L for an argument of 1.0L.
3611         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3612         Likewise.
3613         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3614         value when x - 1 is zero.
3615         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3616         * sysdeps/i386/fpu/libm-test-ulps: Update.
3617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3619 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3621         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3622         alphasort and versionsort.
3624 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3626         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3627         macro.
3628         [copysignf]: Likewise.
3630 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3632         * crypt/md5-crypt.c: Fix formatting.
3634 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3636         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3637         (b64_from_24bit): New function.
3639 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3641         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3642         libc_hidden_builtin_def to ifunc.
3643         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3644         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3646 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3648         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3649         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3651 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3653         * nscd/Depend (linuxthreads): Remove.
3654         (nptl): Add.
3655         * resolv/Depend (linuxthreads): Remove.
3656         * rt/Depend (linuxthreads): Remove.
3658         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3659         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3660         $(common-objpfx)elf/.
3661         (link-libc-before-gnulib): Likewise.
3662         (elfobjdir): Remove variable.
3663         * Makefile (install): Use $(elf-objpfx) instead of
3664         $(common-objpfx)elf/.
3665         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3666         $(elfobjdir)/.
3667         (link-libc-deps): Likewise.
3668         ($(common-objpfx)libc.so): Likewise.
3669         ($(common-objpfx)linkobj/libc.so): Likewise.
3670         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3671         instead of $(common-objpfx)elf/.
3672         (symbolic-link-list): Likewise.
3673         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3674         [$(cross-compiling) = no]: Likewise.
3675         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3676         $(elfobjdir)/.
3677         (static-gnulib-arch): Likewise.
3678         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3679         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3680         $(common-objpfx)elf/.
3682 2014-05-21  Richard Henderson  <rth@redhat.com>
3684         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3685         (SINGLE_THREAD_P): Use the correct width load.  Fold
3686         into the ldr offset.
3688         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3689         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3691 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3693         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3694         (libgcc_s_resume): Use __attribute_used__.
3695         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3696         Likewise.
3698 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3700         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3701         optimization when used with float constants.
3703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3705 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3707         [BZ #16915]
3708         * locale/nl_langinfo_l.c: Make direct reference to every
3709         _nl_current_CATEGORY symbol.
3710         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3711         (tests-static): Add tst-langinfo-static.
3712         (tests-special): Add tst-langinfo-static.out.
3713         ($(objpfx)tst-langinfo.out): Redirect output.
3714         ($(objpfx)tst-langinfo-static.out): New.
3715         * localedata/tst-langinfo.sh: Send output to stdout.
3716         * localedata/tst-langinfo-static.c: New file.
3718         [BZ #16965]
3719         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3720         when the shift amount is modulo the limb size.
3722 2014-05-20  Richard Henderson  <rth@redhat.com>
3724         [BZ #16967]
3725         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3726         Change type of sa_flags from unsigned int to int.
3728         [BZ #16966]
3729         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3731         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3733 2014-05-20  Will Newton  <will.newton@linaro.org>
3735         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3736         Test the return value of the system call in the nocancel case.
3738 2014-05-20  Will Newton  <will.newton@linaro.org>
3739             Yvan Roux  <yvan.roux@linaro.org>
3741         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3742         #include of asm/ptrace.h.
3743         (PTRACE_GET_THREAD_AREA): Remove #undef.
3744         (PTRACE_GETHBPREGS): Likewise.
3745         (PTRACE_SETHBPREGS): Likewise.
3746         (struct user_regs_struct): New structure.
3747         (struct user_fpsimd_struct): New structure.
3748         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3749         #include of asm/ptrace.h and second #include of sys/user.h.
3750         (PTRACE_GET_THREAD_AREA): Remove #undef.
3751         (PTRACE_GETHBPREGS): Likewise.
3752         (PTRACE_SETHBPREGS): Likewise.
3753         (ELF_NGREG): Use new struct user_regs_struct.
3754         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3756 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3758         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3759         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3761 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3763         [BZ #16958]
3764         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3765         membar to avoid block loads/stores to overlap previous stores.
3767 2014-05-17  Richard Henderson  <rth@redhat.com>
3769         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3770         Create the __##syscall_name##_nocancel entry point.
3771         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3772         Remove; let the sysdep-cancel.h code create it.
3774 2014-05-17  David S. Miller  <davem@davemloft.net>
3776         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3777         Protect with __USE_GNU.
3778         (TIOCSET_TEMPT): Likewise.
3779         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3780         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3781         these are already provided in bits/ioctl-types.h
3783 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3785         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3786         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3788         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3789         Use wait4 regardless of [__NR_waitpid].
3791 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3793         PR libgcc/60166
3794         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3795         (_FP_NANSIGN_Q): Set the quiet bit.
3797 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3799         * benchtests/Makefile
3800         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3801         not $(common-objpfx)math/libm.so.
3802         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3803         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3804         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3805         $(common-objpfx)dlfcn/libdl.so.
3806         ($(objpfx)tst-audit8): Depend on $(libm), not
3807         $(common-objpfx)math/libm.so.
3808         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3809         not $(common-objpfx)dlfcn/libdl.so.
3810         * math/Makefile
3811         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3812         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3813         [$(build-shared) = yes].
3814         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3815         $(common-objpfx)nptl/libpthread.so.
3816         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3817         $(common-objpfx)math/libm.so$(libm.so-version) or
3818         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3819         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3820         $(common-objpfx)dlfcn/libdl.so.
3821         * setjmp/Makefile (link-libm): Remove variable.
3822         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3823         * stdio-common/Makefile (link-libm): Remove variable.
3824         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3825         * stdlib/Makefile (link-libm): Remove variable.
3826         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3827         ($(objpfx)tst-strtod-round): Likewise.
3828         ($(objpfx)tst-tininess): Likewise.
3829         ($(objpfx)tst-strtod-underflow): Likewise.
3830         ($(objpfx)tst-strtod6): Likewise.
3831         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3832         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3833         $(common-objpfx)dlfcn/libdl.so.
3835 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3837         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3838         BSD terminal modes definitions.
3840 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3842         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3843         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3845         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3846         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3847         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3848         Don't do #include_next.
3849         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3850         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3851         Don't do #include_next.
3852         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3853         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3854         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3855         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3857 2014-05-16  Allan McRae  <allan@archlinux.org>
3859         * po/sv.po: Update Swedish translation from translation project.
3861         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3862         in sed expression.
3864 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3866         [BZ #16917]
3867         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3868         errno if the TIOCGPTN ioctl fails with an error different than
3869         EINVAL.
3870         * login/tst-ptsname.c: New file.
3871         * login/Makefile (tests): Add tst-ptsname.
3873         [BZ #16943]
3874         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3875         and prlimit64.
3877 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3879         [BZ #16849]
3880         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3881         herrno to return EAI_AGAIN.
3883 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3885         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3886         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3887         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3888         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3889         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3890         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3891         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3892         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3893         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3894         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3895         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3896         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3897         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3898         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3899         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3900         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3901         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3902         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3903         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3904         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3905         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3906         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3907         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3908         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3909         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3910         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3911         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3912         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3913         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3914         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3916         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3918         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3920         Moved ...
3921         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3923         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3925         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3927         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3929         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3931         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3933         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3935         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3937         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3939         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3941         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3943         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3945         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3947         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3949         Moved ...
3950         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3952         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3954         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3956         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3958         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3960         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3962         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3964         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3966         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3968         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3970         Moved ...
3971         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3973         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3975         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3976         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3977         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3978         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3979         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3980         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3981         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3982         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3983         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3984         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3985         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3986         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3987         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3988         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3989         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3990         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3991         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3992         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3993         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3994         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3995         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3996         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3997         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3998         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3999         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4000         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4001         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4002         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4003         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4004         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4005         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4007         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4008         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4010         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4011         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4012         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4013         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4014         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4015         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4016         Moved ...
4017         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4018         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4019         Moved ...
4020         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4021         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4022         Moved ...
4023         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4024         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4025         Moved ...
4026         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4027         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4028         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4029         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4030         Moved ...
4031         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4032         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4033         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4034         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4035         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4036         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4037         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4038         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4039         Moved ...
4040         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4041         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4042         Moved ...
4043         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4044         ... here.
4045         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4046         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4047         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4048         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4049         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4050         Moved ...
4051         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4052         ... here.
4053         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4054         Moved ...
4055         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4056         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4057         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4058         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4059         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4060         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4061         Moved ...
4062         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4063         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4064         Moved ...
4065         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4066         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4067         Moved ...
4068         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4069         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4070         Moved ...
4071         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4072         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4073         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4074         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4075         Moved ...
4076         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4077         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4078         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4079         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4080         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4081         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4082         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4083         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4084         Moved ...
4085         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4086         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4087         Moved ...
4088         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4089         ... here.
4090         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4091         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4092         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4093         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4094         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4095         Moved ...
4096         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4097         ... here.
4098         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4099         Moved ...
4100         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4101         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4102         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4103         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4104         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4105         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4106         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4107         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4108         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4109         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4110         Moved ...
4111         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4112         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4113         Moved ...
4114         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4115         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4116         Moved ...
4117         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4118         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4119         Moved ...
4120         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4121         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4122         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4123         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4124         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4125         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4126         Moved ...
4127         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4128         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4129         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4130         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4131         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4132         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4133         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4134         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4135         Moved ...
4136         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4137         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4138         Moved ...
4139         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4140         ... here.
4141         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4142         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4143         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4144         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4145         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4146         Moved ...
4147         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4148         ... here.
4149         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4150         Moved ...
4151         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4152         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4153         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4154         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4155         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4156         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4157         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4158         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4159         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4160         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4161         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4163         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4164         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4166         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4167         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4169         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4170         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4171         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4172         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4173         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4174         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4175         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4176         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4177         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4178         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4179         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4180         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4181         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4182         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4183         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4184         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4185         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4186         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4187         Moved ...
4188         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4189         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4190         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4191         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4192         Moved ...
4193         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4194         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4195         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4196         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4197         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4198         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4199         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4200         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4201         Moved ...
4202         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4203         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4204         Moved ...
4205         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4206         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4207         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4208         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4209         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4210         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4211         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4212         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4213         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4214         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4215         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4216         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4217         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4218         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4219         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4220         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4221         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4223         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4224         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4225         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4226         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4227         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4229         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4230         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4231         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4232         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4233         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4234         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4235         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4236         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4237         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4238         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4240         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4241         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4243         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4244         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4245         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4246         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4247         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4248         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4249         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4250         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4251         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4252         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4253         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4254         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4255         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4256         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4258         Update #include.
4259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4260         Likewise.
4261         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4262         Likewise.
4263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4264         Likewise.
4265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4266         Likewise.
4267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4268         Likewise.
4269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4270         Likewise.
4271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4272         Likewise.
4273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4274         Likewise.
4275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4276         Likewise.
4277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4278         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4279         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4280         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4281         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4282         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4283         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4284         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4285         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4286         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4287         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4288         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4289         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4290         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4291         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4293         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4294         that was previously under [RESET_PID].
4295         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4296         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4297         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4299         * sysdeps/i386/nptl/Implies: New file.
4300         * sysdeps/x86_64/nptl/Implies: New file.
4301         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4302         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4303         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4304         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4306         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4307         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4308         (__libc_vfork): New strong alias.
4309         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4310         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4312         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4313         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4314         (__libc_vfork): New strong alias.
4315         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4316         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4318         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4319         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4320         (__libc_vfork): New strong alias.
4321         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4322         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4323         * nptl/pt-vfork.c: New file.
4324         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4325         (libpthread: GLIBC_2.20): New version set (empty).
4327 2014-05-14  Will Newton  <will.newton@linaro.org>
4329         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4330         rather than #if.
4332 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4334         [BZ #16564]
4335         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4336         arguments with exponent 65 or above.
4337         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4338         arguments 0x1p113L or above.
4339         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4340         to arguments 0x1p107L or above.
4341         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4342         positive arguments with exponent 65 or above.
4343         * math/auto-libm-test-in: Add more tests of log1p.
4344         * math/auto-libm-test-out: Regenerated.
4346         [BZ #16928]
4347         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4348         non-finite arguments is +0.
4349         * math/s_cacosf.c (__cacosf): Likewise.
4350         * math/s_cacosl.c (__cacosl): Likewise.
4351         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4352         * sysdeps/i386/fpu/libm-test-ulps: Update.
4353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4355         [BZ #16927]
4356         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4357         value.
4358         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4359         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4360         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4361         for explicit high bit of mantissa when testing for argument equal
4362         to 1.
4363         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4364         * sysdeps/i386/fpu/libm-test-ulps: Update.
4365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4367         [BZ #16516]
4368         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4369         (__erf): Scale by 16 instead of 8 in potentially underflowing
4370         case.  Ensure exception if result actually underflows.
4371         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4372         (__erff): Scale by 16 instead of 8 in potentially underflowing
4373         case.  Ensure exception if result actually underflows.
4374         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4375         (efx8): Remove variable.
4376         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4377         case.  Ensure exception if result actually underflows.
4378         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4379         (efx8): Remove variable.
4380         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4381         case.  Ensure exception if result actually underflows.
4382         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4383         (efx8): Remove variable.
4384         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4385         case.  Ensure exception if result actually underflows.
4386         * math/auto-libm-test-in: Add more tests of erf.
4387         * math/auto-libm-test-out: Regenerated.
4389 2014-05-14  Andreas Schwab  <schwab@suse.de>
4391         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4392         Remove code conditionalized on USE___THREAD.
4394         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4395         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4396         not definedness.
4398 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4400         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4401         Define unconditionally.
4402         (__ASSUME_O_CLOEXEC): Likewise.
4403         (__ASSUME_SOCK_CLOEXEC): Likewise.
4404         (__ASSUME_IN_NONBLOCK): Likewise.
4405         (__ASSUME_PIPE2): Likewise.
4406         (__ASSUME_EVENTFD2): Likewise.
4407         (__ASSUME_SIGNALFD4): Likewise.
4408         (__ASSUME_DUP3): Likewise.
4409         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4410         (__ASSUME_DUP3): Do not define.
4411         (__ASSUME_EVENTFD2): Likewise.
4412         (__ASSUME_IN_NONBLOCK): Likewise.
4413         (__ASSUME_O_CLOEXEC): Likewise.
4414         (__ASSUME_PIPE2): Likewise.
4415         (__ASSUME_SIGNALFD4): Likewise.
4416         (__ASSUME_SOCK_CLOEXEC): Likewise.
4417         (__ASSUME_UTIMES): Undefine.
4418         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4419         (__ASSUME_UTIMES): Do not define.
4420         (__ASSUME_O_CLOEXEC): Likewise.
4421         (__ASSUME_SOCK_CLOEXEC): Likewise.
4422         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4423         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4424         0x020621].
4425         (__ASSUME_PIPE2): Likewise.
4426         (__ASSUME_EVENTFD2): Likewise.
4427         (__ASSUME_SIGNALFD4): Likewise.
4428         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4429         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4430         Do not define.
4431         (__ASSUME_EVENTFD2): Likewise.
4432         (__ASSUME_SIGNALFD4): Likewise.
4433         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4434         (__ASSUME_32BITUIDS): Likewise.
4435         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4436         (__ASSUME_IPC64): Likewise.
4437         (__ASSUME_ST_INO_64_BIT): Likewise.
4438         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4439         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4440         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4441         (__ASSUME_UTIMES): Do not define.
4442         (__ASSUME_PSELECT): Likewise.
4443         (__ASSUME_PPOLL): Likewise.
4444         (__ASSUME_O_CLOEXEC): Likewise.
4445         (__ASSUME_SOCK_CLOEXEC): Likewise.
4446         (__ASSUME_IN_NONBLOCK): Likewise.
4447         (__ASSUME_PIPE2): Likewise.
4448         (__ASSUME_EVENTFD2): Likewise.
4449         (__ASSUME_SIGNALFD4): Likewise.
4450         (__ASSUME_DUP3): Likewise.
4451         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4452         (__ASSUME_UTIMES): Likewise.
4453         (__ASSUME_O_CLOEXEC): Likewise.
4454         (__ASSUME_SOCK_CLOEXEC): Likewise.
4455         (__ASSUME_IN_NONBLOCK): Likewise.
4456         (__ASSUME_PIPE2): Likewise.
4457         (__ASSUME_EVENTFD2): Likewise.
4458         (__ASSUME_SIGNALFD4): Likewise.
4459         (__ASSUME_DUP3): Likewise.
4460         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4461         (__ASSUME_UTIMES): Likewise.
4462         (__ASSUME_O_CLOEXEC): Likewise.
4463         (__ASSUME_SOCK_CLOEXEC): Likewise.
4464         (__ASSUME_IN_NONBLOCK): Likewise.
4465         (__ASSUME_PIPE2): Likewise.
4466         (__ASSUME_EVENTFD2): Likewise.
4467         (__ASSUME_SIGNALFD4): Likewise.
4468         (__ASSUME_DUP3): Likewise.
4469         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4470         Likewise.
4471         (__ASSUME_UTIMES): Likewise.
4472         (__ASSUME_EVENTFD2): Likewise.
4473         (__ASSUME_SIGNALFD4): Likewise.
4474         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4475         (__ASSUME_O_CLOEXEC): Likewise.
4476         (__ASSUME_SOCK_CLOEXEC): Likewise.
4477         (__ASSUME_IN_NONBLOCK): Likewise.
4478         (__ASSUME_PIPE2): Likewise.
4479         (__ASSUME_EVENTFD2): Likewise.
4480         (__ASSUME_SIGNALFD4): Likewise.
4481         (__ASSUME_DUP3): Likewise.
4482         (__ASSUME_UTIMES): Undefine.
4484         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4485         feclearexcept.  Remove symbol versioning code.
4486         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4487         symbol versioning code.
4488         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4489         symbol versioning code.
4490         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4491         feupdateenv.  Remove symbol versioning code.
4492         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4493         fegetexceptflag.  Remove symbol versioning code.
4494         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4495         fesetexceptflag.  Remove symbol versioning code.
4496         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4497         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4498         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4499         (__posix_fadvise64_l32): Remove prototype.
4500         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4501         code.
4503 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4505         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4506         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4507         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4508         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4510 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4512         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4513         current working directory
4515 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4517         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4518         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4519         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4520         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4521         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4522         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4523         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4524         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4525         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4526         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4527         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4528         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4529         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4530         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4531         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4532         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4533         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4534         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4535         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4536         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4537         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4538         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4539         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4540         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4541         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4542         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4543         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4544         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4545         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4546         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4547         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4548         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4549         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4550         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4551         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4552         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4553         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4554         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4555         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4556         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4557         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4558         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4560         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4561         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4563         * sysdeps/unix/sysv/linux/arm/Makefile
4564         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4565         Add rt-aeabi_unwind_cpp_pr1.
4566         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4567         Add nptl-aeabi_unwind_cpp_pr1.
4568         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4569         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4570         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4571         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4572         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4573         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4575         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4576         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4577         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4578         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4580         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4581         Deconditionalize the code that was previously under [RESET_PID].
4582         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4584         * sysdeps/generic/exit-thread.h: New file.
4585         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4586         * include/unistd.h (__exit_thread): Remove declaration.
4587         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4588         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4589         * csu/libc-start.c: Include <exit-thread.h>.
4590         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4591         * nptl/pthread_create.c: Include <exit-thread.h>.
4592         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4593         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4594         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4595         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4596         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4597         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4598         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4599         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4600         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4601         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4602         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4603         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4604         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4605         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4606         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4607         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4608         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4610 2014-05-13  Andreas Schwab  <schwab@suse.de>
4612         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4614 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4616         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4617         (__ASSUME_UTIMES): Do not condition on kernel version.
4618         (__ASSUME_PSELECT): Define unconditionally.
4619         (__ASSUME_PPOLL): Likewise.
4620         (__ASSUME_ATFCTS): Likewise.
4621         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4622         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4623         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4624         (__ASSUME_UTIMENSAT): Define unconditionally.
4625         (__ASSUME_PRIVATE_FUTEX): Likewise.
4626         (__ASSUME_FALLOCATE): Likewise.
4627         (__ASSUME_O_CLOEXEC): Likewise.
4628         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4629         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4630         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4631         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4632         (__ASSUME_IN_NONBLOCK): Likewise.
4633         (__ASSUME_PIPE2): Likewise.
4634         (__ASSUME_EVENTFD2): Likewise.
4635         (__ASSUME_SIGNALFD4): Likewise.
4636         (__ASSUME_DUP3): Likewise.
4637         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4638         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4639         (__ASSUME_AT_RANDOM): Likewise.
4640         (__ASSUME_PREADV): Likewise.
4641         (__ASSUME_PWRITEV): Likewise.
4642         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4643         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4644         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4645         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4646         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4647         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4648         (__ASSUME_O_CLOEXEC): Define unconditionally.
4649         (__ASSUME_PSELECT): Do not undefine conditionally.
4650         (__ASSUME_PPOLL): Likewise.
4651         (__ASSUME_ATFCTS): Likewise.
4652         (__ASSUME_SET_ROBUST_LIST): Likewise.
4653         (__ASSUME_UTIMENSAT): Likewise.
4654         (__ASSUME_FDATASYNC): Define unconditionally.
4655         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4656         (__ASSUME_SIGFRAME_V2): Likewise.
4657         )__ASSUME_EVENTFD2): Likewise.
4658         (__ASSUME_SIGNALFD4): Likewise.
4659         (__ASSUME_PSELECT): Do not undefine conditionally.
4660         (__ASSUME_PPOLL): Likewise.
4661         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4662         (__ASSUME_PSELECT): Define unconditionally.
4663         (__ASSUME_PPOLL): Likewise.
4664         (__ASSUME_O_CLOEXEC): Likewise.
4665         (__ASSUME_SOCK_CLOEXEC): Likewise.
4666         (__ASSUME_IN_NONBLOCK): Likewise.
4667         (__ASSUME_PIPE2): Likewise.
4668         (__ASSUME_EVENTFD2): Likewise.
4669         (__ASSUME_SIGNALFD4): Likewise.
4670         (__ASSUME_DUP3): Likewise.
4671         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4672         (__ASSUME_O_CLOEXEC): Likewise.
4673         (__ASSUME_SOCK_CLOEXEC): Likewise.
4674         (__ASSUME_IN_NONBLOCK): Likewise.
4675         (__ASSUME_PIPE2): Likewise.
4676         (__ASSUME_EVENTFD2): Likewise.
4677         (__ASSUME_SIGNALFD4): Likewise.
4678         (__ASSUME_DUP3): Likewise.
4679         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4680         (__ASSUME_EVENTFD2): Likewise.
4681         (__ASSUME_SIGNALFD4): Likewise.
4682         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4684 2014-05-12  Andreas Schwab  <schwab@suse.de>
4686         [BZ #16932]
4687         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4688         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4689         than maximum RPC packet size.
4690         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4691         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4692         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4693         (_nss_nis_getservbyport_r): Likewise.
4695 2014-05-12  Will Newton  <will.newton@linaro.org>
4697         * malloc/Makefile (tests): Add tst-mallopt.
4698         * malloc/tst-mallopt.c: New file.
4700 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4702         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4703         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4705 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4707         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4708         (tst-tlsmod6.so): Likewise.
4710 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4712         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4714 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4716         [BZ #16064]
4717         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4718         and <dl-procinfo.h>.
4719         (__fegetenv): Save SSE state in envp->__eip if supported.
4720         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4721         envp->__eip if supported.
4722         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4723         and <dl-procinfo.h>.
4724         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4725         __data_offset and __data_selector in environment to 0.  Set SSE
4726         state if supported.
4727         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4728         test-fenv-sse.
4729         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4730         -mfpmath=sse.
4731         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4733 2014-05-09  Will Newton  <will.newton@linaro.org>
4735         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4736         and libc_relro_required for ARM.
4737         * sysdeps/arm/preconfigure: Regenerate.
4739 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4740             Stefan Liebler  <stli@linux.vnet.ibm.com>
4742         * config.make.in (enable-lock-elision): New Makefile variable.
4743         * configure.ac: Likewise.
4744         * configure: Regenerate.
4745         * sysdeps/s390/configure.ac:
4746         Add check for gcc transactions support.
4747         * sysdeps/s390/configure: Regenerate.
4748         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4749         Build elision files if enabled.
4750         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4751         Add lock elision support for s390.
4752         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4753         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4754         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4755         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4756         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4757         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4758         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4759         Likewise.
4760         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4761         Likewise.
4762         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4763         Likewise.
4764         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4765         Likewise.
4766         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4767         (__lll_timedlock_elision, __lll_lock_elision)
4768         (__lll_unlock_elision, __lll_trylock_elision)
4769         (lll_timedlock_elision, lll_lock_elision)
4770         (lll_unlock_elision, lll_trylock_elision): Add.
4771         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4772         (pthread_mutex_t): Add lock elision support for s390.
4774 2014-05-14  Wilco  <wdijkstr@arm.com>
4776         * sysdeps/arm/fclrexcpt.c: Cleanup.
4777         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4778         * sysdeps/arm/feenablxcpt.c: Cleanup.
4779         * sysdeps/arm/fegetenv.c: Cleanup.
4780         * sysdeps/arm/fegetexcept.c: Cleanup.
4781         * sysdeps/arm/fegetround.c: Cleanup.
4782         * sysdeps/arm/feholdexcpt.c: Cleanup.
4783         * sysdeps/arm/fesetenv.c: Cleanup.
4784         * sysdeps/arm/fesetround.c: Cleanup.
4785         * sysdeps/arm/feupdateenv.c: Cleanup.
4786         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4787         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4788         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4789         * sysdeps/arm/ftestexcept.c: Cleanup.
4790         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4791         * sysdeps/arm/setfpucw.c: Cleanup.
4793 2014-05-09  Will Newton  <will.newton@linaro.org>
4795         * sysdeps/arm/armv7/strcmp.S: New file.
4796         * NEWS: Mention addition of ARMv7 optimized strcmp.
4798 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4800         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4801         look for %.ac rather than %.in.
4803         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4804         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4805         * sysdeps/mach/hurd/configure: Regenerated.
4806         * sysdeps/unix/sysv/linux/configure: Regenerated.
4808         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4810 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4812         [BZ# 16922]
4813         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4814         (LONG_SUB): Ditto.
4815         (PTR_SUB): Ditto.
4817 2014-05-07  Andreas Schwab  <schwab@suse.de>
4819         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4820         when skipping over non-matching result from nscd.
4822 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4824         [BZ #16876]
4825         * nptl/sockperf.c (client): Check socket return value.
4827         [BZ #16877]
4828         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4829         nscd security class.
4831 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4833         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4834         * sysdeps/arm/unwind.h: ... here.
4836 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4838         [BZ# 16916]
4839         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4840         Define.
4842 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4844         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4845         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4846         multiarch strncpy for PPC64.
4847         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4848         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4850         multiarch optimizations.
4851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4852         (__libc_ifunc_impl_list): Likewise.
4853         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4854         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4855         multiarch stpncpy for PPC64.
4856         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4857         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4859 2014-05-06  Andreas Schwab  <schwab@suse.de>
4861         [BZ #16912]
4862         * gmon/mcount.c (_MCOUNT_DECL): Use
4863         atomic_compare_and_exchange_bool_acq instead of
4864         catomic_compare_and_exchange_bool_acq.
4866 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4868         * elf/Makefile (others, install-bin): Remove pldd.
4869         (pldd-modules): Variable removed.
4870         ($(objpfx)pldd): Target removed.
4871         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4872         (others, install-bin): Append pldd here.
4873         ($(objpfx)pldd): New target.
4875         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4876         to 0, so the first #if test emitted later doesn't see it undefined.
4877         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4878         * sysdeps/gnu/errlist.c: Regenerated.
4880 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4882         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4883         [libc_hidden_builtin_def]: Define to empty value.
4884         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4885         [libc_hidden_builtin_def]: Likewise.
4886         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4887         [libc_hidden_builtin_def]: Likewise.
4888         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4889         [libc_hidden_builtin_def]: Likewise.
4890         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4891         __redirect_memcpy and define ifunc as default hidden symbol.
4892         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4893         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4895 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4897         * locale/iso-4217.def: Reintroduce XDR currency.
4899 2014-05-04  Allan McRae  <allan@archlinux.org>
4901         * po/eo.po: Update Esperanto translation from translation project.
4903 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4905         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4906         and FEATURE_INDEX_MAX to 1.
4907         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4909 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4911         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4912         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4913         * iconvdata/big5.c (ONE_DIRECTION): Define.
4914         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4915         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4916         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4917         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4918         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4919         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4920         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4921         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4922         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4923         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4924         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4925         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4926         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4927         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4928         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4929         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4930         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4931         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4932         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4933         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4934         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4935         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4936         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4937         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4938         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4939         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4940         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4941         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4942         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4943         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4944         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4945         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4946         * iconvdata/johab.c (ONE_DIRECTION): Define.
4947         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4948         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4949         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4950         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4951         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4952         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4953         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4954         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4955         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4956         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4958 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4960         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4961         (_IO_JUMPS_OFFSET): Define to 0.
4963         * nptl/sysdeps/pthread/bits/libc-lock.h
4964         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4965         (__libc_lock_define_initialized_recursive): Always define using
4966         initializer.  Modern compilers treat uninitialized (implicit zero) and
4967         explicit zero initializers the same (i.e. put the datum in bss).
4969 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4971         * nscd/nscd-client.h: Include <string.h>.
4973 2014-05-01  David S. Miller  <davem@davemloft.net>
4975         [BZ #16885]
4976         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4977         multiple zero bytes exist at the end of a string.
4978         Reported by Aurelien Jarno <aurelien@aurel32.net>
4980         * string/test-strcmp.c (check): Add explicit test for situations where
4981         there are multiple zero bytes after the first.
4983 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4985         [BZ #16890]
4986         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4987         when compiling wprintf.
4988         * stdio-common/tstdiomisc.c (t3): New function.
4989         (main): Call it.
4991 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4993         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4994         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4995         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4996         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4998 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5000         * stdlib/longlong.h: Updated from GCC.
5002 2014-05-01  Will Newton  <will.newton@linaro.org>
5003             Bernard Ogden  <bernie.ogden@linaro.org>
5005         * NEWS: Update fixed bug list.
5007         [BZ #15119]
5008         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5010 2014-04-30  David S. Miller  <davem@davemloft.net>
5012         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5013         (libc_feholdexcept_setround_sparc_ctx): New function.
5014         (libc_fesetenv_sparc_ctx): Likewise.
5015         (libc_feupdateenv_sparc_ctx): Likewise.
5016         (libc_feholdsetround_sparc_ctx): Likewise.
5017         (libc_feholdexcept_setround_ctx): Define.
5018         (libc_feholdexcept_setroundf_ctx): Likewise.
5019         (libc_feholdexcept_setroundl_ctx): Likewise.
5020         (libc_fesetenv_ctx): Likewise.
5021         (libc_fesetenvf_ctx): Likewise.
5022         (libc_fesetenvl_ctx): Likewise.
5023         (libc_feupdateenv_ctx): Likewise.
5024         (libc_feupdateenvf_ctx): Likewise.
5025         (libc_feupdateenvl_ctx): Likewise.
5026         (libc_feresetround_ctx): Likewise.
5027         (libc_feresetroundf_ctx): Likewise.
5028         (libc_feresetroundl_ctx): Likewise.
5029         (libc_feholdsetround_ctx): Likewise.
5030         (libc_feholdsetroundf_ctx): Likewise.
5031         (libc_feholdsetroundl_ctx): Likewise.
5033         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5034         with __USE_GNU instead of XOPEN cpp guards.
5036         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5037         0.
5039         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5040         with XOPEN cpp guards.
5042 2014-04-30  Julian Brown  <julian@codesourcery.com>
5044         [BZ #16888]
5045         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5046         handling.
5048 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5050         [BZ #9894]
5051         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5052         Change to 2.6.32.
5053         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5054         * sysdeps/unix/sysv/linux/configure: Regenerated.
5055         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5056         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5057         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5058         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5059         * README: Update reference to required Linux kernel version.
5060         * manual/install.texi (Linux): Update reference to required Linux
5061         kernel headers version.
5062         * INSTALL: Regenerated.
5064         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5065         header inclusion.
5066         [POSIX] (limits.h): Likewise.
5067         [POSIX] (math.h): Likewise.
5068         [POSIX] (sys/wait.h): Likewise.
5069         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5070         function.
5071         [POSIX] (stddef.h): Do not allow header inclusion.
5073 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5075         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5077 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5079         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5080         Return immediately after lll_futex_wake.
5082 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5084         [BZ #16791]
5085         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5086         structure.
5087         (datahead_init_pos): Call datahead_init_common early.
5088         (datahead_init_neg): Likewise.
5090         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5091         datahead_init_neg): New functions.
5092         * nscd/aicache.c (addhstaiX): Use them.
5093         * nscd/grpcache.c (cache_addgr): Likewise.
5094         * nscd/hstcache.c (cache_addhst): Likewise.
5095         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5096         * nscd/netgroupcache.c (do_notfound): Likewise.
5097         (addgetnetgrentX): Likewise.
5098         (addinnetgrX): Likewise.
5099         * nscd/pwdcache.c (cache_addpw): Likewise.
5100         * nscd/servicescache.c (cache_addserv): Likewise.
5102 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5103             Atsushi Onoe  <atsushi@onoe.org>
5105         [BZ #14308]
5106         [BZ #12994]
5107         [BZ #13651]
5108         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5109         one response is valid.
5110         * resolv/res_send.c (send_dg): Check for validity of other
5111         response if the current response is a referral.
5113 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5115         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5117 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5119         [BZ #16823]
5120         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5121         Always divide by positive zero when computing -Inf result.
5122         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5123         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5125 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5127         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5128         FPSCR if value do not change.
5129         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5130         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5131         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5132         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5133         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5134         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5135         function.
5137 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5139         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5140         * sysdeps/unix/sysv/linux/hppa: Move directory from
5141         ports/systeps/unix/sysv/linux/hppa.
5142         * README: Update listing for hppa-*-linux-gnu.
5144 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5146         [BZ #16754]
5147         * manual/stdio.texi (Hook functions): Fix types of stream hook
5148         functions.
5149         [BZ #16854]
5150         * socket/sys/socket.h: Fix typo in comment.
5152 2014-04-28  Wilco  <wdijkstr@arm.com>
5154         * sysdeps/arm/fenv_private.h: New file.
5155         * sysdeps/arm/math_private.h: New file.
5156         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5158 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5160         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5161         with __int128_t.
5162         (La_x86_64_retval): Likewise.
5164 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5166         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5167         fpsr if value didn't change.
5168         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5169         to fpcr if value didn't change.
5170         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5171         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5172         fpsr or fpcr if value didn't change.
5173         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5174         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5175         fpcr if value didn't change.
5176         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5177         to fpsr if value didn't change.
5179 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5181         * nptl/tst-sem3.c: Use test-skeleton.c
5182         (main): Rename to do_test.  Use return instead of
5183         exit.
5184         * nptl/tst-sem4.c: Use test-skeleton.c
5185         (main): Rename to do_test.
5187 2014-04-22  David S. Miller  <davem@davemloft.net>
5189         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5190         (struct sigaction): New struct member __glibc_reserved0, change
5191         type of sa_flags to int.
5193 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5195         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5196         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5198 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5200         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5201         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5203 2014-04-22  Will Newton  <will.newton@linaro.org>
5204             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5206         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5207         (__longjmp): Add longjmp and longjmp_target SystemTap
5208         probes.
5209         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5210         (__sigsetjmp): Add setjmp SystemTap probe.
5212 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5214         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5215         match manual order.
5217 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5219         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5221         * sysdeps/powerpc/fpu/fenv_private.h
5222         (libc_feholdexcept_setroundl_ctx): Define to
5223         libc_feholdexcept_setround_ppc_ctx.
5224         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5225         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5226         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5227         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5229 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5231         * sysdeps/aarch64/math-tests.h: New file.
5233 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5235         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5236         New.
5237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5238         Check and set bit_AVX2_Usable.
5239         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5240         macro.
5241         (bit_AVX2): Likewise.
5242         (index_AVX2_Usable): Likewise.
5243         (CPUID_AVX2): Likewise.
5244         (HAS_AVX2): Likewise.
5246 2014-04-17  Will Newton  <will.newton@linaro.org>
5248         * manual/setjmp.texi (System V contexts): Add note that
5249         calling setcontext on a context created by a call to a
5250         signal handler is undefined.  Update text to note that
5251         setcontext from a signal handler is possible but not
5252         recommended.
5254         [BZ #16629]
5255         * stdlib/tst-setcontext.c: Include signal.h.
5256         (main): Check that the signal stack before and
5257         after swapcontext is the same.
5259         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5260         Re-implement to restore registers in user code and avoid
5261         rt_sigreturn system call.
5263 2014-04-17  Wilco  <wdijkstr@arm.com>
5265         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5266         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5267         * math/test-fenv.c: Skip exception trap tests on targets which only
5268         support non-stop mode.
5270 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5271             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5273         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5274         (libc_feholdsetround_aarch64_ctx)
5275         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5276         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5277         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5278         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5279         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5280         (libc_feresetround_noexl_ctx): Define.
5282 2014-04-16  Richard Henderson  <rth@redhat.com>
5284         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5286         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5287         unwind tables.
5289         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5290         const from the non-libc, non-ldso copy.
5292         * sysdeps/alpha/libm-test-ulps: Regenerate.
5294 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5295             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5297         * sysdeps/aarch64/fpu/math_private.h: New file.
5299 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5301         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5303 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5305         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5306         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5307         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5308         Intel MPX bound registers before _dl_profile_fixup.
5309         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5310         registers after _dl_profile_fixup.  Save and restore bound
5311         registers bnd0/bnd1 when calling _dl_call_pltexit.
5312         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5313         (LR_BND_OFFSET): Likewise.
5314         (LRV_BND0_OFFSET): Likewise.
5315         (LRV_BND1_OFFSET): Likewise.
5317 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5319         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5320         to...
5321         * sysdeps/mach/hurd/i386/tls.h: ... here.
5322         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5323         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5324         fields.
5326 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5328         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5330 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5332         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5334 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5336         [BZ #14770]
5337         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5338         * sysdeps/s390/configure: Regenerate.
5340         [BZ #16824]
5341         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5342         Set round-to-nearest internally to reduce error accumulation.
5344 2014-04-16  Alan Modra  <amodra@gmail.com>
5346         [BZ #16740]
5347         [BZ #16619]
5348         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5349         * math/libm-test.inc (frexp_test_data): Add tests.
5350         * NEWS: Update fixed bug list.
5352 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5354         * benchtests/Makefile: Depend on libraries in build directory.
5355         (bench-math): Separate out math tests.
5356         (bench-pthread): Separate out pthread tests.
5357         (bench): Include math and pthread tests.
5359 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5361         [BZ #16831]
5362         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5363         _dl_debug_initialize.
5365         * configure.ac: Remove SELinux header check.
5366         * configure: Regenerate.
5367         * nscd/selinux.c (perms): Array of const char* to permission names.
5368         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5369         default policy. Call string_to_security_class and string_to_av_perm to
5370         translate strings. Enforce default policy and call avs_has_perm with
5371         results of translated strings.
5373 2014-04-13  David S. Miller  <davem@davemloft.net>
5375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5377 2014-04-12  Allan McRae  <allan@archlinux.org>
5379         [BZ #16838]
5380         * manual/string.texi (Collation Functions): Fix qsort argument
5381         order in example.
5382         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5384 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5386         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5387         Make the test a no-op if there are no exceptions defined.
5389 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5391         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5392         enable-hardcoded-path-in-tests
5394 2014-04-11  Will Newton  <will.newton@linaro.org>
5396         * benchtests/Makefile (extra-objs): Add json-lib.o.
5397         (bench-func): Tidy up JSON output.
5398         * benchtests/bench-skeleton.c: Include json-lib.h.
5399         (main): Use JSON library functions to do output of
5400         benchmark results.
5401         * benchtests/bench-timing-type.c (main): Output the
5402         timing type simply, leaving formatting to the user.
5403         * benchtests/json-lib.c: New file.
5404         * benchtests/json-lib.h: Likewise.
5406 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5408         [BZ #15215]
5409         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5410         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5411         memory barriers.  Add comments.
5412         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5413         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5414         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5415         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5416         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5417         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5419 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5421         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5422         * sysdeps/s390/s390-64/configure.ac: ... this ...
5423         * sysdeps/s390/configure.ac: ... to here.
5424         * sysdeps/s390/s390-32/configure: Delete file.
5425         * sysdeps/s390/s390-64/configure: Delete file.
5426         * sysdeps/s390/configure: Regenerate.
5428 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5430         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5432 2014-04-11  Will Newton  <will.newton@linaro.org>
5434         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5435         to zero if it is not defined elsewhere.  (mtrim): Test
5436         the value of MALLOC_DEBUG with #if rather than #ifdef.
5438 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5440         * benchtests/pthread_once-inputs: New file.
5441         * benchtests/pthread_once-source.c: New file.
5442         * benchtests/README: Update documentation.
5444 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5445             H.J. Lu  <hongjiu.lu@intel.com>
5447         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5448         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5449         * sysdeps/x86_64/configure: Regenerated.
5450         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5451         macro.
5452         (REGISTER_SAVE_RAX): Likewise.
5453         (REGISTER_SAVE_RCX): Likewise.
5454         (REGISTER_SAVE_RDX): Likewise.
5455         (REGISTER_SAVE_RSI): Likewise.
5456         (REGISTER_SAVE_RDI): Likewise.
5457         (REGISTER_SAVE_R8): Likewise.
5458         (REGISTER_SAVE_R9): Likewise.
5459         (REGISTER_SAVE_BND0): Likewise.
5460         (REGISTER_SAVE_BND1): Likewise.
5461         (REGISTER_SAVE_BND2): Likewise.
5462         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5463         bound registers when calling _dl_fixup.
5465 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5467         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5468         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5469         of its definition.
5470         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5471         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5472         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5473         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5474         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5475         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5476         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5478 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5480         [BZ #15514]
5481         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5482         pathconf(_PC_NAME_MAX).
5484 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5486         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5487         Remove macro usage.
5488         (__PTHREAD_SPINS): Move definition to ...
5489         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5490         (__PTHREAD_SPINS): ... here.
5491         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5492         (__PTHREAD_SPIN): Likewise.
5493         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5494         (__PTHREAD_SPIN): Likewise.
5495         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5496         (__PTHREAD_SPIN): Likewise.
5497         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5498         (__PTHREAD_SPIN): Likewise.
5499         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5500         (__PTHREAD_SPIN): Likewise.
5501         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5502         (__PTHREAD_SPIN): Likewise.
5503         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5504         (__PTHREAD_SPIN): Likewise.
5505         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5506         (__PTHREAD_SPIN): Likewise.
5507         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5508         (__PTHREAD_SPIN): Likewise.
5509         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5510         (__PTHREAD_SPIN): Likewise.
5511         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5512         (__PTHREAD_SPIN): Likewise.
5513         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5514         (__PTHREAD_SPIN): Likewise.
5516         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5517         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5518         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5519         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5520         imply folder.
5521         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5522         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5523         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5524         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5525         correct imply path.
5526         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5527         strlen symbol for non multi-arch builds.
5528         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5529         missing hidden_def and weak_alias.
5531 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5533         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5535 2014-04-07  Will Newton  <will.newton@linaro.org>
5537         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5538         and contents.  [!_LIBC] Remove #ifndef and contents.
5539         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5540         * string/memccpy.c (__memccpy): Use ANSI prototype.
5541         * string/memfrob.c (memfrob): Likewise.
5542         * string/strcoll.c (STRCOLL): Likewise.
5543         * string/strlen.c (strlen): Likewise.
5544         * string/strtok.c (STRTOK): Likewise.
5545         * string/strcat.c: Remove unused #include of memcopy.h.
5546         (strcat): Use ANSI prototype.
5547         * string/strchr.c: Remove unused #include of memcopy.h.
5548         (strchr): Use ANSI prototype.
5549         * string/strcmp.c: Remove unused #include of memcopy.h.
5550         (strcmp): Use ANSI prototype.
5551         * string/strcpy.c: Remove unused #include of memcopy.h.
5552         (strcpy): Use ANSI prototype.
5554 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5556         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5557         * config.make.in (config-extra-cppflags): Set it from
5558         libc_extra_cppflags.
5559         * configure.ac (libc_extra_cflags): Make it accumulate over
5560         configure fragments.
5561         (libc_extra_cppflags): New flag.
5562         * configure. Regenerate.
5563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5564         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5565         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5568         [BZ #16815]
5569         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5570         result for FE_DOWNWARD rounding mode.
5571         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5572         Likewise.
5573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5575 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5577         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5578         in function argument name.
5580 2014-04-03  David Svoboda  <svoboda@cert.org>
5582         [BZ #5666]
5583         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5584         explicitly.
5586 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5588         * elf/dl-unmap-segments.h: New file.
5589         * sysdeps/generic/ldsodefs.h
5590         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5591         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5592         * elf/dl-fptr.c: Likewise.
5593         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5594         * sysdeps/aarch64/tlsdesc.c: Likewise.
5595         * sysdeps/arm/tlsdesc.c: Likewise.
5596         * sysdeps/i386/tlsdesc.c: Likewise.
5597         * sysdeps/tile/dl-runtime.c: Likewise.
5598         * sysdeps/x86_64/tlsdesc.c: Likewise.
5599         * elf/dl-load.h: New file.
5600         * elf/dl-load.c: Include it.
5601         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5602         Macros moved to dl-load.h.
5603         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5604         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5605         Use _dl_unmap_segments in place of __munmap.
5606         Break out segment-mapping loop into ...
5607         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5609 2014-04-03  Will Newton  <will.newton@linaro.org>
5611         * elf/dl-lookup.c (do_lookup_x): Remove comment
5612         referring to nested function and move variable
5613         declarations down to before first use.
5615 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5617         [BZ #16799]
5618         [BZ #16800]
5619         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5620         with 0 numerator.
5621         * math/s_catanf.c (__catanf): Likewise.
5622         * math/s_catanh.c (__catanh): Likewise.
5623         * math/s_catanhf.c (__catanhf): Likewise.
5624         * math/s_catanhl.c (__catanhl): Likewise.
5625         * math/s_catanl.c (__catanl): Likewise.
5626         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5627         by positive zero when computing -Inf result.
5628         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5629         (catanh_test): Likewise.
5630         * sysdeps/i386/fpu/libm-test-ulps: Update.
5631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5633         [BZ #16789]
5634         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5635         instead of using underflowing value in computing result.
5636         * math/s_clog10.c (__clog10): Likewise.
5637         * math/s_clog10f.c (__clog10f): Likewise.
5638         * math/s_clog10l.c (__clog10l): Likewise.
5639         * math/s_clogf.c (__clogf): Likewise.
5640         * math/s_clogl.c (__clogl): Likewise.
5641         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5642         (clog10_test): Likewise.
5643         * sysdeps/i386/fpu/libm-test-ulps: Update.
5644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5646 2014-04-02  Alan Modra  <amodra@gmail.com>
5648         [BZ #16739]
5649         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5650         output when value is near a power of two.  Use int64_t for lx and
5651         remove casts.  Use decimal rather than hex exponent constants.
5652         Don't use long double multiplication when double will suffice.
5653         * math/libm-test.inc (nextafter_test_data): Add tests.
5654         * NEWS: Add 16739 and 16786 to bug list.
5656         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5658         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5660 2014-04-01  Will Newton  <will.newton@linaro.org>
5662         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5663         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5665 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5667         [BZ #13347]
5668         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5669         * nptl/tst-setuid2.c: New file.
5670         * nptl/Makefile (xtests): Add tst-setuid2.
5672 2014-04-01  Alan Modra  <amodra@gmail.com>
5674         [BZ #16786]
5675         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5677 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5679         [BZ #6803]
5680         [BZ #6804]
5681         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5682         set errno as appropriate.
5683         * math/w_scalbf.c (__scalbf): Likewise.
5684         * math/w_scalbl.c (__scalbl): Likewise.
5685         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5686         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5687         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5688         Add more NaN tests.
5690         [BZ #16349]
5691         * math/w_atan2.c: Include <errno.h>.
5692         (__atan2): Set errno for result underflowing to zero.
5693         * math/w_atan2f.c: Include <errno.h>.
5694         (__atan2f): Set errno for result underflowing to zero.
5695         * math/w_atan2l.c: Include <errno.h>.
5696         (__atan2l): Set errno for result underflowing to zero.
5697         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5698         tests.
5699         * math/auto-libm-test-out: Regenerated.
5701 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5703         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5704         Encode instruction correctly in little endian.
5705         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5706         Likewise.
5707         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5708         Likewise.
5709         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5710         Likewise.
5711         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5712         Likewise.
5714 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5716         [BZ #9894]
5717         * sysdeps/unix/sysv/linux/kernel-features.h
5718         [__sparc__ && !__arch64__ && !__sparc_v9__]
5719         (__ASSUME_SET_ROBUST_LIST): Do not define.
5720         [__sparc__ && !__arch64__ && !__sparc_v9__]
5721         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5722         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5723         Likewise.
5724         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5725         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5726         (__ASSUME_REQUEUE_PI): Likewise.
5727         (__ASSUME_SET_ROBUST_LIST): Likewise.
5728         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5729         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5730         Undefine.
5731         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5732         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5733         Likewise.
5734         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5735         Likewise.
5736         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5737         Likewise.
5738         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5739         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5740         Undefine.
5741         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5742         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5743         Likewise.
5745         [BZ #16648]
5746         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5747         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5748         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5750 2014-03-31  Will Newton  <will.newton@linaro.org>
5752         * benchtests/Makefile (bench): Add ffs and ffsll to list
5753         of tests.
5754         * benchtests/ffs-inputs: New file.
5755         * benchtests/ffsll-inputs: Likewise.
5757 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5759         [BZ #16770]
5760         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5761         too large before casting to int.
5762         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5763         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5764         * math/libm-test.inc (scalb_test_data): Add more tests.
5766 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5768         * benchtests/Makefile (DETAILED_OPT): New make option.
5769         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5770         set.
5771         * benchtests/bench-skeleton.c: Include stdbool.h.
5772         (main): Store and print timings per input.
5773         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5774         member to each argument value.
5775         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5776         (_print_arg_data): Initialize per-input timing to 0.
5778         * benchtests/Makefile (timing-type): New binary.
5779         (bench-clean): Also remove bench-timing-type.
5780         (bench): New target for timing-type.
5781         (bench-func): Print output in JSON format.
5782         * benchtests/bench-skeleton.c (main): Print output in JSON
5783         format.
5784         * benchtests/bench-timing-type.c: New file.
5785         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5786         (TIMING_PRINT_STATS): Remove.
5787         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5788         name separately.
5790         * benchtests/bench-modf.c: Remove.
5791         * benchtests/modf-inputs: New inputs file.
5793 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5795         [BZ #16362]
5796         * math/s_clog10.c (M_PI_LOG10E): New macro.
5797         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5798         imaginary parts are 0.
5799         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5800         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5801         imaginary parts are 0.
5802         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5803         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5804         imaginary parts are 0.
5805         * math/libm-test.inc (clog10_test_data): Update expected results
5806         for when real and imaginary parts are 0.
5808 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5810         * elf/dl-load.c: Finish conversion of __builtin_expect into
5811         __glibc_{un}likely.
5813 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5815         [BZ #16348]
5816         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5817         1+x for argument with exponent below -67.
5818         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5819         Likewise.
5820         * math/auto-libm-test-in: Add more tests of exp.
5821         * math/auto-libm-test-out: Regenerated.
5823 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5825         [BZ #16759]
5826         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5827         (nscd_getnetgrent): Use it.
5829         [BZ #16760]
5830         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5831         of stpcpy.
5833 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5835         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5836         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5837         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5838         (lll_robust_unlock): Remove out of line section. Use cfi
5839         intrinsics.
5840         (LLL_STUB_UNWIND_INFO*): Remove.
5841         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5842         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5843         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5844         (lll_robust_unlock): Remove out of line section. Use cfi
5845         intrinsics.
5846         (LLL_STUB_UNWIND_INFO*): Remove.
5848 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5850         [BZ #16758]
5851         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5852         blank values.
5854 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5856         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5858 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5860         [BZ #16198]
5861         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5862         fnstenv.
5863         * math/test-fenv-preserve.c: New file.
5864         * math/Makefile (tests): Add test-fenv-preserve.
5866 2014-03-26  Will Newton <will.newton@linaro.org>
5868         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5870 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5872         * scripts/versionlist.awk: Partition the version sets and emit all
5873         GLIBC_* (sorted) before all others (sorted).
5875 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5877         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5878         GLIBC_2.2.5 version.
5880 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5882         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5883         calls.
5885         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5886         previous change.
5888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5890 2014-03-25  Andreas Schwab  <schwab@suse.de>
5892         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5893         label to be used after in6ailist is initialized.
5895 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5897         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5898         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5900 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5902         [BZ #16357]
5903         [BZ #16599]
5904         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5905         min_plus_half.
5906         (fp_formats): Update initializers.
5907         (init_fp_formats): Initialize new field.
5908         (output_for_one_input_case): Allow underflow for results up to
5909         min_plus_half.
5910         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5911         * math/auto-libm-test-in: Don't mark some underflows from asin and
5912         atanh as spurious.
5913         * math/auto-libm-test-out: Regenerated.
5914         * sysdeps/i386/fpu/libm-test-ulps: Update.
5915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5917 2014-03-25  Andreas Schwab  <schwab@suse.de>
5919         * libio/Makefile (tst-ftell-partial-wide-ENV)
5920         (tst-ftell-active-handler-ENV): Define.
5922 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5924         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5926 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5928         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5930 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5932         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5933         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5934         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5936 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5938         [BZ #16634]
5939         * elf/dl-load.c (open_verify): Add mode parameter.
5940         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5941         (open_path): Change from boolean 'secure' to complete flag 'mode'
5942         (_dl_map_object): Adjust.
5943         * elf/Makefile (tests): Add tst-dlopen-aout.
5944         * elf/tst-dlopen-aout.c: New test.
5946 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5948         [BZ #16714]
5949         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5950         (struct stat): Rename member pad0 to __glibc_reserved0.
5952         [BZ #16712]
5953         * sysdeps/s390/s390-32/bits/wordsize.h
5954         (__WORDSIZE32_SIZE_ULONG): New define.
5955         * sysdeps/s390/s390-64/bits/wordsize.h
5956         (__WORDSIZE32_SIZE_ULONG): Likewise.
5957         * sysdeps/generic/stdint.h (SIZE_MAX):
5958         Define as UL if __WORDSIZE32_SIZE_ULONG.
5960         [BZ #16713]
5961         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5962         (__glibc_reserved0): New variable.
5963         (sa_flags): Change type to int.
5965         * posix/Makefile (before-compile): Use += before-compile instead
5966         of a :=.
5968         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5969         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5971 2014-03-20  Andreas Schwab  <schwab@suse.de>
5973         [BZ #16743]
5974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5975         non-matching result from nscd.
5977 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5979         * scripts/bench.py: Moved to ...
5980         * benchtests/scripts/bench.py: ... here.
5981         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5983 2014-03-24  Andreas Schwab  <schwab@suse.de>
5985         [BZ #16002]
5986         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5987         alloca_account and account alloca use for struct in6ailist.
5989 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5991         [BZ #16284]
5992         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5993         rounding mode to recompute results that overflow to infinity or
5994         underflow to zero.
5995         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5996         bug 16284.
5997         * math/auto-libm-test-out: Regenerated.
5998         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5999         (ccosh_test): Likewise.
6000         (csin_test_data): Use plus_oflow.
6001         (csin_test): Use ALL_RM_TEST.
6002         (csinh_test_data): Use plus_oflow.
6003         (csinh_test): Use ALL_RM_TEST.
6004         * sysdeps/i386/fpu/libm-test-ulps: Update.
6005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6007 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6009         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6010         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6011         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6013         [BZ #16731]
6014         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6015         when x - 1 is zero.
6016         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6017         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6018         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6019         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6020         argument is 1.
6021         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6022         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6023         zero.
6024         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6025         * sysdeps/i386/fpu/libm-test-ulps: Update.
6026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6028 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6030         * scripts/bench.pl: Remove file.
6031         * scripts/bench.py: New benchmark script.
6032         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6033         * benchtests/README: Mention python dependency.
6034         * scripts/pylintrc: New file.
6035         * scripts/pylint: New file.
6037         * bits/mathdef.h: Use #ifdef instead of #if.
6038         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6039         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6040         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6041         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6042         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6043         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6045 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6046             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6048         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6050         and strpbrk-ppc64 objects.
6051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6052         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6053         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6054         multiarch strpbrk for POWER7.
6055         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6056         multiarch strpbrk for PPC64.
6057         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6058         ifunc selector.
6059         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6060         strpbrk for POWER7.
6062 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6064         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6065         (atan_test): Likewise.
6066         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6067         (atanh_test): Use ALL_RM_TEST.
6068         (atan2_test_data): Likewise.
6069         (cabs_test): Likewise.
6070         (cacosh_test): Likewise.
6071         (carg_test): Likewise.
6072         (casin_test): Likewise.
6073         (casinh_test): Likewise.
6074         (cbrt_test): Likewise.
6075         (csqrt_test): Likewise.
6076         (erf_test): Likewise.
6077         (erfc_test): Likewise.
6078         (pow10_test): Likewise.
6079         (exp2_test): Likewise.
6080         (hypot_test): Likewise.
6081         (j0_test): Likewise.
6082         (j1_test): Likewise.
6083         (lgamma_test): Likewise.
6084         (gamma_test): Likewise.
6085         (sincos_test): Likewise.
6086         (tanh_test): Likewise.
6087         (y0_test): Likewise.
6088         (y1_test): Likewise.
6089         * sysdeps/i386/fpu/libm-test-ulps: Update.
6090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6092 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6094         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6096         and strcspn-ppc64 objects.
6097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6098         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6099         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6100         multiarch strcspn for POWER7.
6101         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6102         multiarch strcspn for PPC64.
6103         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6104         ifunc selector.
6105         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6106         strcspn for POWER7.
6108 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6110         * math/gen-libm-test.pl (generate_testfile): Expect only function
6111         name as argument to AUTO_TESTS_* and pass results for all rounding
6112         modes to parse_args.
6113         (parse_auto_input): Separate inputs of automatic tests from
6114         outputs before storing in %auto_tests.
6115         * math/libm-test.inc (acos_test_data): Update call to
6116         AUTO_TESTS_f_f.
6117         (acos_test): Use ALL_RM_TEST.
6118         (acos_tonearest_test_data): Remove.
6119         (acos_test_tonearest): Likewise.
6120         (acos_towardzero_test_data): Likewise.
6121         (acos_test_towardzero): Likewise.
6122         (acos_downward_test_data): Likewise.
6123         (acos_test_downward): Likewise.
6124         (acos_upward_test_data): Likewise.
6125         (acos_test_upward): Likewise.
6126         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6127         (asin_test_data): Likewise.
6128         (asin_test): Use ALL_RM_TEST.
6129         (asin_tonearest_test_data): Remove.
6130         (asin_test_tonearest): Likewise.
6131         (asin_towardzero_test_data): Likewise.
6132         (asin_test_towardzero): Likewise.
6133         (asin_downward_test_data): Likewise.
6134         (asin_test_downward): Likewise.
6135         (asin_upward_test_data): Likewise.
6136         (asin_test_upward): Likewise.
6137         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6138         (atan_test_data): Likewise.
6139         (atanh_test_data): Likewise.
6140         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6141         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6142         (carg_test_data): Likewise.
6143         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6144         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6145         (ccosh_test_data): Likewise.
6146         (cexp_test_data): Likewise.
6147         (clog_test_data): Likewise.
6148         (clog10_test_data): Likewise.
6149         (cos_test_data): Update call to AUTO_TESTS_f_f.
6150         (cos_test): Use ALL_RM_TEST.
6151         (cos_tonearest_test_data): Remove.
6152         (cos_test_tonearest): Likewise.
6153         (cos_towardzero_test_data): Likewise.
6154         (cos_test_towardzero): Likewise.
6155         (cos_downward_test_data): Likewise.
6156         (cos_test_downward): Likewise.
6157         (cos_upward_test_data): Likewise.
6158         (cos_test_upward): Likewise.
6159         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6160         (cosh_test): Use ALL_RM_TEST.
6161         (cosh_tonearest_test_data): Remove.
6162         (cosh_test_tonearest): Likewise.
6163         (cosh_towardzero_test_data): Likewise.
6164         (cosh_test_towardzero): Likewise.
6165         (cosh_downward_test_data): Likewise.
6166         (cosh_test_downward): Likewise.
6167         (cosh_upward_test_data): Likewise.
6168         (cosh_test_upward): Likewise.
6169         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6170         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6171         (ctan_test_data): Likewise.
6172         (ctan_test): Use ALL_RM_TEST.
6173         (ctan_tonearest_test_data): Remove.
6174         (ctan_test_tonearest): Likewise.
6175         (ctan_towardzero_test_data): Likewise.
6176         (ctan_test_towardzero): Likewise.
6177         (ctan_downward_test_data): Likewise.
6178         (ctan_test_downward): Likewise.
6179         (ctan_upward_test_data): Likewise.
6180         (ctan_test_upward): Likewise.
6181         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6182         (ctanh_test): Use ALL_RM_TEST.
6183         (ctanh_tonearest_test_data): Remove.
6184         (ctanh_test_tonearest): Likewise.
6185         (ctanh_towardzero_test_data): Likewise.
6186         (ctanh_test_towardzero): Likewise.
6187         (ctanh_downward_test_data): Likewise.
6188         (ctanh_test_downward): Likewise.
6189         (ctanh_upward_test_data): Likewise.
6190         (ctanh_test_upward): Likewise.
6191         (erf_test_data): Update call to AUTO_TESTS_f_f.
6192         (erfc_test_data): Likewise.
6193         (exp_test_data): Likewise.
6194         (exp_test): Use ALL_RM_TEST.
6195         (exp_tonearest_test_data): Remove.
6196         (exp_test_tonearest): Likewise.
6197         (exp_towardzero_test_data): Likewise.
6198         (exp_test_towardzero): Likewise.
6199         (exp_downward_test_data): Likewise.
6200         (exp_test_downward): Likewise.
6201         (exp_upward_test_data): Likewise.
6202         (exp_test_upward): Likewise.
6203         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6204         (exp10_test): Use ALL_RM_TEST.
6205         (exp10_tonearest_test_data): Remove.
6206         (exp10_test_tonearest): Likewise.
6207         (exp10_towardzero_test_data): Likewise.
6208         (exp10_test_towardzero): Likewise.
6209         (exp10_downward_test_data): Likewise.
6210         (exp10_test_downward): Likewise.
6211         (exp10_upward_test_data): Likewise.
6212         (exp10_test_upward): Likewise.
6213         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6214         (expm1_test_data): Likewise.
6215         (expm1_test): Use ALL_RM_TEST.
6216         (expm1_tonearest_test_data): Remove.
6217         (expm1_test_tonearest): Likewise.
6218         (expm1_towardzero_test_data): Likewise.
6219         (expm1_test_towardzero): Likewise.
6220         (expm1_downward_test_data): Likewise.
6221         (expm1_test_downward): Likewise.
6222         (expm1_upward_test_data): Likewise.
6223         (expm1_test_upward): Likewise.
6224         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6225         (fma_test): Use ALL_RM_TEST.
6226         (fma_towardzero_test_data): Remove.
6227         (fma_test_towardzero): Likewise.
6228         (fma_downward_test_data): Likewise.
6229         (fma_test_downward): Likewise.
6230         (fma_upward_test_data): Likewise.
6231         (fma_test_upward): Likewise.
6232         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6233         (j0_test_data): Update call to AUTO_TESTS_f_f.
6234         (j1_test_data): Likewise.
6235         (jn_test_data): Update call to AUTO_TESTS_if_f.
6236         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6237         (log_test_data): Update call to AUTO_TESTS_f_f.
6238         (log10_test_data): Likewise.
6239         (log1p_test_data): Likewise.
6240         (log2_test_data): Likewise.
6241         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6242         (pow_tonearest_test_data): Likewise.
6243         (sin_test_data): Update call to AUTO_TESTS_f_f.
6244         (sin_test): Use ALL_RM_TEST.
6245         (sin_tonearest_test_data): Remove.
6246         (sin_test_tonearest): Likewise.
6247         (sin_towardzero_test_data): Likewise.
6248         (sin_test_towardzero): Likewise.
6249         (sin_downward_test_data): Likewise.
6250         (sin_test_downward): Likewise.
6251         (sin_upward_test_data): Likewise.
6252         (sin_test_upward): Likewise.
6253         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6254         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6255         (sinh_test): Use ALL_RM_TEST.
6256         (sinh_tonearest_test_data): Remove.
6257         (sinh_test_tonearest): Likewise.
6258         (sinh_towardzero_test_data): Likewise.
6259         (sinh_test_towardzero): Likewise.
6260         (sinh_downward_test_data): Likewise.
6261         (sinh_test_downward): Likewise.
6262         (sinh_upward_test_data): Likewise.
6263         (sinh_test_upward): Likewise.
6264         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6265         (sqrt_test): Use ALL_RM_TEST.
6266         (sqrt_tonearest_test_data): Remove.
6267         (sqrt_test_tonearest): Likewise.
6268         (sqrt_towardzero_test_data): Likewise.
6269         (sqrt_test_towardzero): Likewise.
6270         (sqrt_downward_test_data): Likewise.
6271         (sqrt_test_downward): Likewise.
6272         (sqrt_upward_test_data): Likewise.
6273         (sqrt_test_upward): Likewise.
6274         (tan_test_data): Update call to AUTO_TESTS_f_f.
6275         (tan_test): Use ALL_RM_TEST.
6276         (tan_tonearest_test_data): Remove.
6277         (tan_test_tonearest): Likewise.
6278         (tan_towardzero_test_data): Likewise.
6279         (tan_test_towardzero): Likewise.
6280         (tan_downward_test_data): Likewise.
6281         (tan_test_downward): Likewise.
6282         (tan_upward_test_data): Likewise.
6283         (tan_test_upward): Likewise.
6284         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6285         (tgamma_test_data): Likewise.
6286         (y0_test_data): Likewise.
6287         (y1_test_data): Likewise.
6288         (yn_test_data): Update call to AUTO_TESTS_if_f.
6289         (main): Do not call removed functions.
6291 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6293         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6294         (ldexp_test_data): Remove.
6295         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6296         scalbn_test_data.
6297         (scalb_test): Use ALL_RM_TEST.
6299 2014-03-19  Andreas Schwab  <schwab@suse.de>
6301         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6303 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6305         [BZ #16649]
6306         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6307         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6308         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6309         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6310         (__ASSUME_PREADV): Undefine.
6311         (__ASSUME_PWRITEV): Likewise.
6313 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6315         * bits/mman-linux.h: Add comment about non-Linux use.
6316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6317         bits/mman-linux.h resting place.
6319         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6320         * bits/mman-linux.h: ... here.
6322 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6324         * conform/conformtest.pl: Add standard definition when calling C
6325         preprocessor on data files.
6326         (checknamespace): Remove unused variable.
6328 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6330         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6331         minus_oflow, plus_uflow and minus_uflow in expected results.
6332         * math/libm-test.inc (scalbn_test_data): Add more tests of
6333         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6334         minus_uflow.
6335         (scalbn_test): Use ALL_RM_TEST.
6336         (scalbln_test_data): Add more tests of negative arguments.  Use
6337         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6338         (scalbln_test): Use ALL_RM_TEST.
6340 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6342         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6344 2014-03-18  Will Newton  <will.newton@linaro.org>
6346         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6347         inaccurate comment.
6349 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6351         * Makerules [!subdir] (check-abi): Exit with error status if a
6352         test failed.
6354 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6356         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6357         for rint.  Include results for all rounding modes.
6358         (nearbyint_test): Use ALL_RM_TEST.
6359         (rint_test_data): Include all tests used for nearbyint.
6361 2014-03-17  Will Newton  <will.newton@linaro.org>
6363         * nptl/sysdeps/pthread/pthread.h: Revert previous
6364         change.
6366         * sysdeps/generic/ldsodefs.h: Revert previous
6367         change.
6369         * libio/genops.c: Revert previous change.
6370         * libio/libioP.h: Likewise.
6371         * stdio-common/vfprintf.c: Likewise.
6373         * sysdeps/generic/math_private.h: Revert previous
6374         change.
6376         * sysdeps/generic/math_private.h: Check whether
6377         HAVE_RM_CTX is defined with #ifdef rather
6378         than #if.
6380         * argp/argp-fmtstream.h: Check whether
6381         __STRICT_ANSI__ is defined with #ifdef rather
6382         than #if.
6383         * argp/argp.h: Likewise.
6385         * libio/genops.c: Check whether
6386         _IO_JUMPS_OFFSET is defined with #ifdef rather
6387         than #if.
6388         * libio/libioP.h: Likewise.
6389         * stdio-common/vfprintf.c: Likewise.
6391         * sysdeps/generic/ldsodefs.h: Check whether
6392         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6393         than #if.
6395         * nptl/sysdeps/pthread/pthread.h: Check
6396         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6397         its value.
6399 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6401         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6402         setting O_APPEND.
6403         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6404         test case.
6406         [BZ #16680]
6407         * libio/fileops.c (_IO_file_open): Seek to end of file but
6408         don't cache the offset.
6409         (get_file_offset): Remove function.
6410         (do_ftell): Use cached offset when available.
6411         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6412         don't cache the offset.
6413         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6414         case.
6415         (do_one_test): Call it.
6416         (do_ftell_test): Fix up expected old offset for a+ mode.
6417         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6418         available.
6420         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6421         up test status with function return status.
6422         (do_write_test): Likewise.
6423         (do_append_test): Likewise.
6425         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6426         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6427         Remove.
6429 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6431         * math/gen-libm-test.pl (parse_args): Handle results specified for
6432         each rounding mode separately.
6433         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6434         tests and results from lrint_tonearest_test_data,
6435         lrint_towardzero_test_data, lrint_downward_test_data and
6436         lrint_upward_test_data.
6437         (lrint_test): Use ALL_RM_TEST.
6438         (lrint_tonearest_test_data): Remove.
6439         (lrint_test_tonearest): Likewise.
6440         (lrint_towardzero_test_data): Likewise.
6441         (lrint_test_towardzero): Likewise.
6442         (lrint_downward_test_data): Likewise.
6443         (lrint_test_downward): Likewise.
6444         (lrint_upward_test_data): Likewise.
6445         (lrint_test_upward): Likewise.
6446         (llrint_test_data): Merge in per-rounding-mode tests and results
6447         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6448         llrint_downward_test_data and llrint_upward_test_data.
6449         (llrint_test): Use ALL_RM_TEST.
6450         (llrint_tonearest_test_data): Remove.
6451         (llrint_test_tonearest): Likewise.
6452         (llrint_towardzero_test_data): Likewise.
6453         (llrint_test_towardzero): Likewise.
6454         (llrint_downward_test_data): Likewise.
6455         (llrint_test_downward): Likewise.
6456         (llrint_upward_test_data): Likewise.
6457         (llrint_test_upward): Likewise.
6458         (rint_test_data): Merge in per-rounding-mode tests and results
6459         from rint_tonearest_test_data, rint_towardzero_test_data,
6460         rint_downward_test_data and rint_upward_test_data.  Add
6461         per-rounding-mode results for tests not in those arrays.
6462         (rint_test): Use ALL_RM_TEST.
6463         (rint_tonearest_test_data): Remove.
6464         (rint_test_tonearest): Likewise.
6465         (rint_towardzero_test_data): Likewise.
6466         (rint_test_towardzero): Likewise.
6467         (rint_downward_test_data): Likewise.
6468         (rint_test_downward): Likewise.
6469         (rint_upward_test_data): Likewise.
6470         (rint_test_upward): Likewise.
6471         (main): Don't call removed functions.
6473 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6475         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6476         "Compiled on ..." crapola.  It is anti-useful.
6478 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6480         * scripts/evaluate-test.sh: Handle fourth argument to determine
6481         whether test run should stop on failure.
6482         * Makeconfig (stop-on-test-failure): New variable.
6483         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6484         $(stop-on-test-failure).
6485         * Makefile (tests): Give a summary of results from testing and
6486         exit with failure status if they include an ERROR or FAIL.
6487         (xtests): Likewise.
6488         * manual/install.texi (Configuring and compiling): Mention
6489         stop-on-test-failure=y.
6490         * INSTALL: Regenerated.
6492 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6494         * scripts/versionlist.awk: New file.
6495         * Makerules [$(build-shared) = yes]
6496         (postclean-generated): Add Versions.def, not Versions.def.v and
6497         Versions.def.v.i.
6498         ($(common-objpfx)Versions.def.v.i): Target removed.
6499         ($(common-objpfx)Versions.def): New target.
6500         ($(common-objpfx)Versions.all): Depend on that rather that
6501         $(common-objpfx)Versions.def.v.
6502         * Versions.def: File removed.
6504         * Makeconfig (+gccwarn): Add -Wundef.
6505         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6506         a dl-sysdep.h breaking its contract.
6507         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6508         * include/stackinfo.h: New file.
6509         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6510         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6511         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6512         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6513         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6514         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6515         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6516         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6517         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6518         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6519         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6520         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6521         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6522         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6523         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6525 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6527         [BZ #16707]
6528         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6529         implementation.
6530         * math/libm-test.inc (round_test_data): Add more tests.
6532         [BZ #16706]
6533         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6534         implementation.
6535         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6537         [BZ #16701]
6538         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6539         implementation.
6540         * math/libm-test.inc (ceil_test_data): Add more tests.
6542         * math/libm-test.inc (trunc_test_data): Add more tests related to
6543         BZ#16414.
6545 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6547         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6548         with #if rather than #ifdef.
6549         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6551 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6553         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6554         first.  Disable AVX-512 GCC support if assembler doesn't support
6555         it.
6556         * sysdeps/x86_64/configure: Regenerated.
6558 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6560         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6561         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6562         (__old_pthread_attr_setstack): Likewise.
6563         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6564         [!_STACK_GROWS_DOWN]: Likewise.
6566 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6568         * config.make.in (have-bash2): Delete.
6569         * configure.ac (libc_cv_have_bash2): Delete.
6570         * configure: Regenerate.
6571         * elf/Makefile (common-ldd-rewrite): Rename to ...
6572         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6573         (sh-ldd-rewrite): Delete.
6574         (bash-ldd-rewrite): Delete.
6575         (have-bash2): Delete checks.
6576         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6577         ldd-rewrite.
6579         * config.make.in (have-ksh): Delete.
6580         (KSH): Delete.
6581         * configure.ac (libc_cv_have_ksh): Delete.
6582         * configure: Regenerate.
6584         * elf/Makefile: Delete $(have-ksh) check.
6585         ($(objpfx)sotruss): Change KSH to BASH.
6586         * elf/sotruss.ksh: Rename to ...
6587         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6588         function style to match POSIX.  Drop ksh vim mode setting.
6590         * manual/time.texi (Specifying the Time Zone with TZ): Change
6591         Tuesday to Thursday.
6593         * debug/tst-longjmp_chk2.c: Update header comment.
6594         (stackoverflow_handler): Add comment.  Call assert on pass value.
6596 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6598         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6599         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6600         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6601         (La_x86_64_vector): Add zmm.
6602         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6603         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6604         ($(objpfx)tst-audit10): New target.
6605         ($(objpfx)tst-audit10.out): Likewise.
6606         (tst-audit10-ENV): New.
6607         (AVX512-CFLAGS): Likewise.
6608         (CFLAGS-tst-audit10.c): Likewise.
6609         (CFLAGS-tst-auditmod10a.c): Likewise.
6610         (CFLAGS-tst-auditmod10b.c): Likewise.
6611         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6612         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6613         * sysdeps/x86_64/configure: Regenerated.
6614         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6615         AVX-512 zmm register support.
6616         (_dl_x86_64_save_sse): Likewise.
6617         (_dl_x86_64_restore_sse): Likewise.
6618         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6619         size vector registers.
6620         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6621         (ZMM_SIZE): Likewise.
6622         * sysdeps/x86_64/tst-audit10.c: New file.
6623         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6624         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6626 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6628         * configure.ac (HAVE_EHDR_START): New check.
6629         * configure: Regenerated.
6630         * config.h.in (HAVE_EHDR_START): New #undef.
6631         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6632         assuming the lowest-addressed segment maps the start of the file.
6634 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6636         * INSTALL: Regenerated.
6638 2014-03-13  Will Newton  <will.newton@linaro.org>
6640         * manual/setjmp.texi (System V contexts): Improve
6641         clarity and grammar of documentation.
6643 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6645         [BZ #16381]
6646         * elf/Makefile (tests): Add tst-pie2.
6647         (tests-pie): Add tst-pie2.
6648         * elf/tst-pie2.c: New file.
6649         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6650         for ET_EXEC.
6651         * elf/rtld.c (map_doit): Load executable as lt_executable.
6652         (dl_main): Likewise.
6654 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6656         [BZ #16642]
6657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6658         (__ASSUME_PSELECT): Undefine.
6660 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6662         [BZ #16689]
6663         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6664         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6665         static build.
6666         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6667         selector for static builds.
6669 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6671         [BZ #16695]
6672         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6673         key in the buffer.
6675 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6677         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6678         IFUNC selector for static builds.
6680 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6682         * sysdeps/mips/math_private.h [__mips_hard_float]
6683         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6684         libc_feresetround_mips_ctx.
6685         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6686         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6687         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6689         [BZ #16677]
6690         * math/s_nextafter.c (__nextafter): Do not return value from
6691         overflowing computation.
6692         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6693         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6694         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6695         Likewise.
6696         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6697         Likewise.
6698         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6699         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6701 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6703         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6704         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6705         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6706         the new mov targetting sp.
6708 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6710         [BZ #16683]
6711         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6712         Define it for static builds as well.
6713         (NO_BZERO_IMPL): Likewise.
6715 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6717         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6718         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6719         multiarch strspn for PPC64.
6720         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6721         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6723         (__libc_ifunc_impl_list): Likewise.
6724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6725         multiarch optimizations
6726         * string/strspn.c (strspn): Using macro to redefine symbol name.
6728 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6729             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6731         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6732         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6733         multiarch strncat for PPC64.
6734         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6735         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6737         (__libc_ifunc_impl_list): Likewise.
6738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6739         multiarch optimizations
6741 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6743         [BZ #16639]
6744         * nscd/nscd.service: Make service type forking.
6746 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6748         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6749         sign in non default rounding modes.
6750         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6752 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6754         * math/libm-test.inc (ALL_RM_TEST): New macro.
6755         (ceil_test): Use ALL_RM_TEST.
6756         (cimag_test): Likewise.
6757         (conj_test): Likewise.
6758         (copysign_test): Likewise.
6759         (cproj_test): Likewise.
6760         (creal_test): Likewise.
6761         (fabs_test): Likewise.
6762         (floor_test): Likewise.
6763         (fmax_test): Likewise.
6764         (fmin_test): Likewise.
6765         (fmod_test): Likewise.
6766         (fpclassify_test): Likewise.
6767         (frexp_test): Likewise.
6768         (ilogb_test): Likewise.
6769         (isfinite_test): Likewise.
6770         (finite_test): Likewise.
6771         (isgreater_test): Likewise.
6772         (isgreaterequal_test): Likewise.
6773         (isinf_test): Likewise.
6774         (isless_test): Likewise.
6775         (islessequal_test): Likewise.
6776         (islessgreater_test): Likewise.
6777         (isnan_test): Likewise.
6778         (isnormal_test): Likewise.
6779         (issignaling_test): Likewise.
6780         (isunordered_test): Likewise.
6781         (logb_test): Likewise.
6782         (logb_downward_test_data): Remove.
6783         (logb_test_downward): Likewise.
6784         (lround_test): Use ALL_RM_TEST.
6785         (llround_test): Likewise.
6786         (modf_test): Likewise.
6787         (nexttoward_test): Likewise.
6788         (remainder_test): Likewise.
6789         (drem_test): Likewise.
6790         (remainder_tonearest_test_data): Likewise.
6791         (remainder_test_tonearest): Likewise.
6792         (drem_test_tonearest): Likewise.
6793         (remainder_towardzero_test_data): Likewise.
6794         (remainder_test_towardzero): Likewise.
6795         (drem_test_towardzero): Likewise.
6796         (remainder_downward_test_data): Likewise.
6797         (remainder_test_downward): Likewise.
6798         (drem_test_downward): Likewise.
6799         (remainder_upward_test_data): Likewise.
6800         (remainder_test_upward): Likewise.
6801         (drem_test_upward): Likewise.
6802         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6803         (round_test): Use ALL_RM_TEST.
6804         (signbit_test): Likewise.
6805         (trunc_test): Likewise.
6806         (significand_test): Likewise.
6807         (main): Don't call removed functions.
6809 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6811         [BZ #16674]
6812         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6813         || __USE_XOPEN2K8].
6814         (ILL_ILLOPN): Likewise.
6815         (ILL_ILLADR): Likewise.
6816         (ILL_ILLTRP): Likewise.
6817         (ILL_PRVOPC): Likewise.
6818         (ILL_PRVREG): Likewise.
6819         (ILL_COPROC): Likewise.
6820         (ILL_BADSTK): Likewise.
6821         (FPE_INTDIV): Likewise.
6822         (FPE_INTOVF): Likewise.
6823         (FPE_FLTDIV): Likewise.
6824         (FPE_FLTOVF): Likewise.
6825         (FPE_FLTUND): Likewise.
6826         (FPE_FLTRES): Likewise.
6827         (FPE_FLTINV): Likewise.
6828         (FPE_FLTSUB): Likewise.
6829         (SEGV_MAPERR): Likewise.
6830         (SEGV_ACCERR): Likewise.
6831         (BUS_ADRALN): Likewise.
6832         (BUS_ADRERR): Likewise.
6833         (BUS_OBJERR): Likewise.
6834         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6835         (TRAP_TRACE): Likewise.
6836         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6837         __USE_XOPEN2K8].
6838         (CLD_KILLED): Likewise.
6839         (CLD_DUMPED): Likewise.
6840         (CLD_TRAPPED): Likewise.
6841         (CLD_STOPPED): Likewise.
6842         (CLD_CONTINUED): Likewise.
6843         (POLL_IN): Likewise.
6844         (POLL_OUT): Likewise.
6845         (POLL_MSG): Likewise.
6846         (POLL_ERR): Likewise.
6847         (POLL_PRI): Likewise.
6848         (POLL_HUP): Likewise.
6849         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6850         Likewise.
6851         (ILL_ILLOPN): Likewise.
6852         (ILL_ILLADR): Likewise.
6853         (ILL_ILLTRP): Likewise.
6854         (ILL_PRVOPC): Likewise.
6855         (ILL_PRVREG): Likewise.
6856         (ILL_COPROC): Likewise.
6857         (ILL_BADSTK): Likewise.
6858         (FPE_INTDIV): Likewise.
6859         (FPE_INTOVF): Likewise.
6860         (FPE_FLTDIV): Likewise.
6861         (FPE_FLTOVF): Likewise.
6862         (FPE_FLTUND): Likewise.
6863         (FPE_FLTRES): Likewise.
6864         (FPE_FLTINV): Likewise.
6865         (FPE_FLTSUB): Likewise.
6866         (SEGV_MAPERR): Likewise.
6867         (SEGV_ACCERR): Likewise.
6868         (BUS_ADRALN): Likewise.
6869         (BUS_ADRERR): Likewise.
6870         (BUS_OBJERR): Likewise.
6871         (BUS_MCEERR_AR): Likewise.
6872         (BUS_MCEERR_AO): Likewise.
6873         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6874         (TRAP_TRACE): Likewise.
6875         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6876         __USE_XOPEN2K8].
6877         (CLD_KILLED): Likewise.
6878         (CLD_DUMPED): Likewise.
6879         (CLD_TRAPPED): Likewise.
6880         (CLD_STOPPED): Likewise.
6881         (CLD_CONTINUED): Likewise.
6882         (POLL_IN): Likewise.
6883         (POLL_OUT): Likewise.
6884         (POLL_MSG): Likewise.
6885         (POLL_ERR): Likewise.
6886         (POLL_PRI): Likewise.
6887         (POLL_HUP): Likewise.
6888         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6889         (ILL_ILLOPN): Likewise.
6890         (ILL_ILLADR): Likewise.
6891         (ILL_ILLTRP): Likewise.
6892         (ILL_PRVOPC): Likewise.
6893         (ILL_PRVREG): Likewise.
6894         (ILL_COPROC): Likewise.
6895         (ILL_BADSTK): Likewise.
6896         (FPE_INTDIV): Likewise.
6897         (FPE_INTOVF): Likewise.
6898         (FPE_FLTDIV): Likewise.
6899         (FPE_FLTOVF): Likewise.
6900         (FPE_FLTUND): Likewise.
6901         (FPE_FLTRES): Likewise.
6902         (FPE_FLTINV): Likewise.
6903         (FPE_FLTSUB): Likewise.
6904         (SEGV_MAPERR): Likewise.
6905         (SEGV_ACCERR): Likewise.
6906         (BUS_ADRALN): Likewise.
6907         (BUS_ADRERR): Likewise.
6908         (BUS_OBJERR): Likewise.
6909         (BUS_MCEERR_AR): Likewise.
6910         (BUS_MCEERR_AO): Likewise.
6911         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6912         (TRAP_TRACE): Likewise.
6913         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6914         __USE_XOPEN2K8].
6915         (CLD_KILLED): Likewise.
6916         (CLD_DUMPED): Likewise.
6917         (CLD_TRAPPED): Likewise.
6918         (CLD_STOPPED): Likewise.
6919         (CLD_CONTINUED): Likewise.
6920         (POLL_IN): Likewise.
6921         (POLL_OUT): Likewise.
6922         (POLL_MSG): Likewise.
6923         (POLL_ERR): Likewise.
6924         (POLL_PRI): Likewise.
6925         (POLL_HUP): Likewise.
6926         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6927         Likewise.
6928         (ILL_ILLOPN): Likewise.
6929         (ILL_ILLADR): Likewise.
6930         (ILL_ILLTRP): Likewise.
6931         (ILL_PRVOPC): Likewise.
6932         (ILL_PRVREG): Likewise.
6933         (ILL_COPROC): Likewise.
6934         (ILL_BADSTK): Likewise.
6935         (ILL_BADIADDR): Likewise.
6936         (ILL_BREAK): Likewise.
6937         (FPE_INTDIV): Likewise.
6938         (FPE_INTOVF): Likewise.
6939         (FPE_FLTDIV): Likewise.
6940         (FPE_FLTOVF): Likewise.
6941         (FPE_FLTUND): Likewise.
6942         (FPE_FLTRES): Likewise.
6943         (FPE_FLTINV): Likewise.
6944         (FPE_FLTSUB): Likewise.
6945         (FPE_DECOVF): Likewise.
6946         (FPE_DECDIV): Likewise.
6947         (FPE_DECERR): Likewise.
6948         (FPE_INVASC): Likewise.
6949         (FPE_INVDEC): Likewise.
6950         (SEGV_MAPERR): Likewise.
6951         (SEGV_ACCERR): Likewise.
6952         (SEGV_PSTKOVF): Likewise.
6953         (BUS_ADRALN): Likewise.
6954         (BUS_ADRERR): Likewise.
6955         (BUS_OBJERR): Likewise.
6956         (BUS_MCEERR_AR): Likewise.
6957         (BUS_MCEERR_AO): Likewise.
6958         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6959         (TRAP_TRACE): Likewise.
6960         (TRAP_BRANCH): Likewise.
6961         (TRAP_HWBKPT): Likewise.
6962         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6963         __USE_XOPEN2K8].
6964         (CLD_KILLED): Likewise.
6965         (CLD_DUMPED): Likewise.
6966         (CLD_TRAPPED): Likewise.
6967         (CLD_STOPPED): Likewise.
6968         (CLD_CONTINUED): Likewise.
6969         (POLL_IN): Likewise.
6970         (POLL_OUT): Likewise.
6971         (POLL_MSG): Likewise.
6972         (POLL_ERR): Likewise.
6973         (POLL_PRI): Likewise.
6974         (POLL_HUP): Likewise.
6975         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6976         (ILL_ILLOPN): Likewise.
6977         (ILL_ILLADR): Likewise.
6978         (ILL_ILLTRP): Likewise.
6979         (ILL_PRVOPC): Likewise.
6980         (ILL_PRVREG): Likewise.
6981         (ILL_COPROC): Likewise.
6982         (ILL_BADSTK): Likewise.
6983         (FPE_INTDIV): Likewise.
6984         (FPE_INTOVF): Likewise.
6985         (FPE_FLTDIV): Likewise.
6986         (FPE_FLTOVF): Likewise.
6987         (FPE_FLTUND): Likewise.
6988         (FPE_FLTRES): Likewise.
6989         (FPE_FLTINV): Likewise.
6990         (FPE_FLTSUB): Likewise.
6991         (SEGV_MAPERR): Likewise.
6992         (SEGV_ACCERR): Likewise.
6993         (BUS_ADRALN): Likewise.
6994         (BUS_ADRERR): Likewise.
6995         (BUS_OBJERR): Likewise.
6996         (BUS_MCEERR_AR): Likewise.
6997         (BUS_MCEERR_AO): Likewise.
6998         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6999         (TRAP_TRACE): Likewise.
7000         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7001         __USE_XOPEN2K8].
7002         (CLD_KILLED): Likewise.
7003         (CLD_DUMPED): Likewise.
7004         (CLD_TRAPPED): Likewise.
7005         (CLD_STOPPED): Likewise.
7006         (CLD_CONTINUED): Likewise.
7007         (POLL_IN): Likewise.
7008         (POLL_OUT): Likewise.
7009         (POLL_MSG): Likewise.
7010         (POLL_ERR): Likewise.
7011         (POLL_PRI): Likewise.
7012         (POLL_HUP): Likewise.
7013         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7014         (ILL_ILLOPN): Likewise.
7015         (ILL_ILLADR): Likewise.
7016         (ILL_ILLTRP): Likewise.
7017         (ILL_PRVOPC): Likewise.
7018         (ILL_PRVREG): Likewise.
7019         (ILL_COPROC): Likewise.
7020         (ILL_BADSTK): Likewise.
7021         (FPE_INTDIV): Likewise.
7022         (FPE_INTOVF): Likewise.
7023         (FPE_FLTDIV): Likewise.
7024         (FPE_FLTOVF): Likewise.
7025         (FPE_FLTUND): Likewise.
7026         (FPE_FLTRES): Likewise.
7027         (FPE_FLTINV): Likewise.
7028         (FPE_FLTSUB): Likewise.
7029         (SEGV_MAPERR): Likewise.
7030         (SEGV_ACCERR): Likewise.
7031         (BUS_ADRALN): Likewise.
7032         (BUS_ADRERR): Likewise.
7033         (BUS_OBJERR): Likewise.
7034         (BUS_MCEERR_AR): Likewise.
7035         (BUS_MCEERR_AO): Likewise.
7036         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7037         (TRAP_TRACE): Likewise.
7038         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7039         __USE_XOPEN2K8].
7040         (CLD_KILLED): Likewise.
7041         (CLD_DUMPED): Likewise.
7042         (CLD_TRAPPED): Likewise.
7043         (CLD_STOPPED): Likewise.
7044         (CLD_CONTINUED): Likewise.
7045         (POLL_IN): Likewise.
7046         (POLL_OUT): Likewise.
7047         (POLL_MSG): Likewise.
7048         (POLL_ERR): Likewise.
7049         (POLL_PRI): Likewise.
7050         (POLL_HUP): Likewise.
7051         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7052         (ILL_ILLOPN): Likewise.
7053         (ILL_ILLADR): Likewise.
7054         (ILL_ILLTRP): Likewise.
7055         (ILL_PRVOPC): Likewise.
7056         (ILL_PRVREG): Likewise.
7057         (ILL_COPROC): Likewise.
7058         (ILL_BADSTK): Likewise.
7059         (FPE_INTDIV): Likewise.
7060         (FPE_INTOVF): Likewise.
7061         (FPE_FLTDIV): Likewise.
7062         (FPE_FLTOVF): Likewise.
7063         (FPE_FLTUND): Likewise.
7064         (FPE_FLTRES): Likewise.
7065         (FPE_FLTINV): Likewise.
7066         (FPE_FLTSUB): Likewise.
7067         (SEGV_MAPERR): Likewise.
7068         (SEGV_ACCERR): Likewise.
7069         (BUS_ADRALN): Likewise.
7070         (BUS_ADRERR): Likewise.
7071         (BUS_OBJERR): Likewise.
7072         (BUS_MCEERR_AR): Likewise.
7073         (BUS_MCEERR_AO): Likewise.
7074         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7075         (TRAP_TRACE): Likewise.
7076         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7077         __USE_XOPEN2K8].
7078         (CLD_KILLED): Likewise.
7079         (CLD_DUMPED): Likewise.
7080         (CLD_TRAPPED): Likewise.
7081         (CLD_STOPPED): Likewise.
7082         (CLD_CONTINUED): Likewise.
7083         (POLL_IN): Likewise.
7084         (POLL_OUT): Likewise.
7085         (POLL_MSG): Likewise.
7086         (POLL_ERR): Likewise.
7087         (POLL_PRI): Likewise.
7088         (POLL_HUP): Likewise.
7089         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7090         (ILL_ILLOPN): Likewise.
7091         (ILL_ILLADR): Likewise.
7092         (ILL_ILLTRP): Likewise.
7093         (ILL_PRVOPC): Likewise.
7094         (ILL_PRVREG): Likewise.
7095         (ILL_COPROC): Likewise.
7096         (ILL_BADSTK): Likewise.
7097         (ILL_DBLFLT): Likewise.
7098         (ILL_HARDWALL): Likewise.
7099         (FPE_INTDIV): Likewise.
7100         (FPE_INTOVF): Likewise.
7101         (FPE_FLTDIV): Likewise.
7102         (FPE_FLTOVF): Likewise.
7103         (FPE_FLTUND): Likewise.
7104         (FPE_FLTRES): Likewise.
7105         (FPE_FLTINV): Likewise.
7106         (FPE_FLTSUB): Likewise.
7107         (SEGV_MAPERR): Likewise.
7108         (SEGV_ACCERR): Likewise.
7109         (BUS_ADRALN): Likewise.
7110         (BUS_ADRERR): Likewise.
7111         (BUS_OBJERR): Likewise.
7112         (BUS_MCEERR_AR): Likewise.
7113         (BUS_MCEERR_AO): Likewise.
7114         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7115         (TRAP_TRACE): Likewise.
7116         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7117         __USE_XOPEN2K8].
7118         (CLD_KILLED): Likewise.
7119         (CLD_DUMPED): Likewise.
7120         (CLD_TRAPPED): Likewise.
7121         (CLD_STOPPED): Likewise.
7122         (CLD_CONTINUED): Likewise.
7123         (POLL_IN): Likewise.
7124         (POLL_OUT): Likewise.
7125         (POLL_MSG): Likewise.
7126         (POLL_ERR): Likewise.
7127         (POLL_PRI): Likewise.
7128         (POLL_HUP): Likewise.
7129         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7130         (ILL_ILLOPN): Likewise.
7131         (ILL_ILLADR): Likewise.
7132         (ILL_ILLTRP): Likewise.
7133         (ILL_PRVOPC): Likewise.
7134         (ILL_PRVREG): Likewise.
7135         (ILL_COPROC): Likewise.
7136         (ILL_BADSTK): Likewise.
7137         (FPE_INTDIV): Likewise.
7138         (FPE_INTOVF): Likewise.
7139         (FPE_FLTDIV): Likewise.
7140         (FPE_FLTOVF): Likewise.
7141         (FPE_FLTUND): Likewise.
7142         (FPE_FLTRES): Likewise.
7143         (FPE_FLTINV): Likewise.
7144         (FPE_FLTSUB): Likewise.
7145         (SEGV_MAPERR): Likewise.
7146         (SEGV_ACCERR): Likewise.
7147         (BUS_ADRALN): Likewise.
7148         (BUS_ADRERR): Likewise.
7149         (BUS_OBJERR): Likewise.
7150         (BUS_MCEERR_AR): Likewise.
7151         (BUS_MCEERR_AO): Likewise.
7152         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7153         (TRAP_TRACE): Likewise.
7154         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7155         __USE_XOPEN2K8].
7156         (CLD_KILLED): Likewise.
7157         (CLD_DUMPED): Likewise.
7158         (CLD_TRAPPED): Likewise.
7159         (CLD_STOPPED): Likewise.
7160         (CLD_CONTINUED): Likewise.
7161         (POLL_IN): Likewise.
7162         (POLL_OUT): Likewise.
7163         (POLL_MSG): Likewise.
7164         (POLL_ERR): Likewise.
7165         (POLL_PRI): Likewise.
7166         (POLL_HUP): Likewise.
7167         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7168         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7170         [BZ #16670]
7171         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7172         before #include of <time.h>.
7173         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7174         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7175         (test-xfail-UNIX98/sched.h/conform): Likewise.
7177 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7179         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7180         error absence of trapping exception support.
7181         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7183 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7185         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7186         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7187         * timezone/Makefile (testdata): Move definition above include of
7188         Rules.
7189         (test-zones): New variable.
7190         (tests-special): Add zone files.
7191         (build-testdata): Use $(evaluate-test).
7193         * elf/Makefile (tests-special): Rename tests to end with .out.
7194         ($(objpfx)noload-mem): Likewise.
7195         ($(objpfx)tst-leaks1-mem): Likewise.
7196         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7197         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7198         $(objpfx)test-iconvconfig.out.
7199         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7200         set -e inside subshell and redirect output to file.
7201         * iconvdata/Makefile (generated): Rename tests to end with .out.
7202         Correct type.
7203         (tests-special): Rename tests to end with .out.
7204         ($(objpfx)mtrace-tst-loading): Likewise.
7205         * intl/Makefile (generated): Likewise.
7206         (tests-special): Likewise.
7207         ($(objpfx)mtrace-tst-gettext): Likewise.
7208         * misc/Makefile (generated): Likewise.
7209         (tests-special): Likewise.
7210         ($(objpfx)tst-error1-mem): Likewise.
7211         * nptl/Makefile (tests-special): Likewise.
7212         ($(objpfx)tst-stack3-mem): Likewise.
7213         (generated): Likewise.
7214         * posix/Makefile (generated): Likewise.
7215         (tests-special): Likewise.
7216         (xtests-special): Likewise.
7217         ($(objpfx)tst-fnmatch-mem): Likewise.
7218         ($(objpfx)bug-regex2-mem): Likewise.
7219         ($(objpfx)bug-regex14-mem): Likewise.
7220         ($(objpfx)bug-regex21-mem): Likewise.
7221         ($(objpfx)bug-regex31-mem): Likewise.
7222         ($(objpfx)tst-vfork3-mem): Likewise.
7223         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7224         ($(objpfx)tst-pcre-mem): Likewise.
7225         ($(objpfx)tst-boost-mem): Likewise.
7226         ($(objpfx)bug-ga2-mem): Likewise.
7227         ($(objpfx)bug-glob2-mem): Likewise.
7228         * resolv/Makefile (generate): Likewise.
7229         (tests-special): Likewise.
7230         (xtests-special): Likewise.
7231         (generated): Likewise.
7232         ($(objpfx)mtrace-tst-leaks): Likewise.
7233         ($(objpfx)mtrace-tst-leaks2): Likewise.
7235         * scripts/merge-test-results.sh: New file.
7236         * Makefile (tests-special-notdir): New variable.
7237         (tests): Run merge-test-results.sh.
7238         (xtests): Likewise.
7239         * Rules (tests-special-notdir): New variable.
7240         (xtests-special-notdir): Likewise.
7241         (tests): Run merge-test-results.sh
7242         (xtests): Likewise.
7244         * Makeconfig (test-xfail-name): New variable.
7245         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7246         compute variable name for expected failures.
7247         * conform/Makefile (conformtest-headers-data): New variable.
7248         (conformtest-standards): Likewise.
7249         (conformtest-headers-ISO): Likewise.
7250         (conformtest-headers-ISO99): Likewise.
7251         (conformtest-headers-ISO11): Likewise.
7252         (conformtest-headers-POSIX): Likewise.
7253         (conformtest-headers-XPG3): Likewise.
7254         (conformtest-headers-XPG4): Likewise.
7255         (conformtest-headers-UNIX98): Likewise.
7256         (conformtest-headers-XOPEN2K): Likewise.
7257         (conformtest-headers-POSIX2008): Likewise.
7258         (conformtest-headers-XOPEN2K8): Likewise.
7259         (conformtest-header-list-base): Likewise.
7260         (conformtest-header-list-tests): Likewise.
7261         (conformtest-header-base): Likewise.
7262         (conformtest-header-tests): Likewise.
7263         (tests-special): Add $(conformtest-header-list-tests).  If
7264         [$(fast-check) && !$(cross-compiling)], add
7265         $(conformtest-header-tests) instead of
7266         $(objpfx)run-conformtest.out.
7267         (generated): Add $(conformtest-header-list-base).  If
7268         [$(fast-check) && !$(cross-compiling)], add
7269         $(conformtest-header-base).  Remove previous setting.
7270         ($(conformtest-header-list-tests)): New target.
7271         (test-xfail-run-conformtest): Remove variable.
7272         ($(objpfx)run-conformtest.out): Remove target.
7273         (test-xfail-ISO11/complex.h/conform): New variable.
7274         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7275         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7276         (test-xfail-XPG3/varargs.h/conform): Likewise.
7277         (test-xfail-XPG4/varargs.h/conform): Likewise.
7278         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7279         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7280         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7281         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7282         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7283         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7284         (test-xfail-XPG3/ftw.h/conform): Likewise.
7285         (test-xfail-XPG3/grp.h/conform): Likewise.
7286         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7287         (test-xfail-XPG3/limits.h/conform): Likewise.
7288         (test-xfail-XPG3/pwd.h/conform): Likewise.
7289         (test-xfail-XPG3/search.h/conform): Likewise.
7290         (test-xfail-XPG3/signal.h/conform): Likewise.
7291         (test-xfail-XPG3/stdio.h/conform): Likewise.
7292         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7293         (test-xfail-XPG3/string.h/conform): Likewise.
7294         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7295         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7296         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7297         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7298         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7299         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7300         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7301         (test-xfail-XPG3/termios.h/conform): Likewise.
7302         (test-xfail-XPG3/time.h/conform): Likewise.
7303         (test-xfail-XPG3/unistd.h/conform): Likewise.
7304         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7305         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7306         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7307         (test-xfail-XPG4/netdb.h/conform): Likewise.
7308         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7309         (test-xfail-XPG4/signal.h/conform): Likewise.
7310         (test-xfail-XPG4/stdio.h/conform): Likewise.
7311         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7312         (test-xfail-XPG4/stropts.h/conform): Likewise.
7313         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7314         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7315         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7316         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7317         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7318         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7319         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7320         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7321         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7322         (test-xfail-XPG4/termios.h/conform): Likewise.
7323         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7324         (test-xfail-XPG4/unistd.h/conform): Likewise.
7325         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7326         (test-xfail-POSIX/sched.h/conform): Likewise.
7327         (test-xfail-POSIX/signal.h/conform): Likewise.
7328         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7329         (test-xfail-POSIX/tar.h/conform): Likewise.
7330         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7331         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7332         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7333         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7334         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7335         (test-xfail-UNIX98/sched.h/conform): Likewise.
7336         (test-xfail-UNIX98/signal.h/conform): Likewise.
7337         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7338         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7339         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7340         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7341         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7342         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7343         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7344         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7345         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7346         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7347         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7348         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7349         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7350         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7351         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7352         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7353         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7354         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7355         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7356         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7357         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7358         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7359         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7360         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7361         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7362         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7363         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7364         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7365         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7366         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7367         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7368         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7369         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7370         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7371         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7372         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7373         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7374         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7375         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7376         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7377         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7378         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7379         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7380         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7381         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7382         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7383         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7384         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7385         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7386         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7387         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7388         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7389         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7390         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7391         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7392         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7393         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7394         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7395         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7396         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7397         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7398         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7399         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7400         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7401         (conformtest-cc-flags): Likewise.
7402         ($(conformtest-header-tests): New target.
7403         * conform/check-header-lists.sh: New file.
7404         * conform/run-conformtest.sh: Remove.
7406         * conform/conformtest.pl: Allow ' and \ in values given for
7407         constants.
7408         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7409         inclusion.
7410         [POSIX] (sys/types.h): Likewise.
7411         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7412         inclusion.
7413         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7414         inclusion.
7415         * conform/data/signal.h-data (SIGIO): Remove expectation.
7416         [XPG3] (SIGBUS): Do not expect.
7417         [POSIX || XPG3] (SIGPOLL): Likewise.
7418         [POSIX || XPG3] (SIGPROF): Likewise.
7419         [POSIX || XPG3] (SIGSYS): Likewise.
7420         [XPG3] (SIGTRAP): Likewise.
7421         [POSIX || XPG3] (SIGURG): Likewise.
7422         [POSIX || XPG3] (SIGVTALRM): Likewise.
7423         [POSIX || XPG3] (SIGXCPU): Likewise.
7424         [POSIX || XPG3] (SIGXFSZ): Likewise.
7425         [POSIX] (SA_SIGINFO): Expect.
7426         [XPG3] (siginfo_t): Do not expect type or contents.
7427         [POSIX] (si_pid): Do not expect element.
7428         [POSIX] (si_uid): Likewise.
7429         [POSIX] (si_addr): Likewise.
7430         [POSIX] (si_status): Likewise.
7431         [POSIX] (si_band): Likewise.
7432         [XPG4] (si_value): Likewise.
7433         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7434         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7435         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7436         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7437         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7438         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7439         [POSIX || XPG3] (ILL_COPROC): Likewise.
7440         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7441         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7442         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7443         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7444         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7445         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7446         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7447         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7448         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7449         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7450         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7451         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7452         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7453         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7454         [POSIX || XPG3] (CLD_EXITED): Likewise.
7455         [POSIX || XPG3] (CLD_KILLED): Likewise.
7456         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7457         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7458         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7459         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7460         [POSIX || XPG3] (POLL_IN): Likewise.
7461         [POSIX || XPG3] (POLL_OUT): Likewise.
7462         [POSIX || XPG3] (POLL_MSG): Likewise.
7463         [POSIX || XPG3] (POLL_ERR): Likewise.
7464         [POSIX || XPG3] (POLL_PRI): Likewise.
7465         [POSIX || XPG3] (POLL_HUP): Likewise.
7466         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7467         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7468         (SIG*): Do not allow.
7469         [XPG3] (si_*): Likewise.
7470         [XPG3] (SI_*): Likewise.
7471         [XPG3 || XPG4] (sigev_*): Likewise.
7472         [XPG3 || XPG4] (SIGEV_*): Likewise.
7473         [XPG3 || XPG4] (sival_*): Likewise.
7474         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7475         [POSIX || XPG3] (BUS_*): Likewise.
7476         [POSIX || XPG3] (CLD_*): Likewise.
7477         [POSIX || XPG3] (FPE_*): Likewise.
7478         [POSIX || XPG3] (ILL_*): Likewise.
7479         [POSIX || XPG3] (POLL_*): Likewise.
7480         [POSIX || XPG3] (SEGV_*): Likewise.
7481         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7482         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7483         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7484         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7485         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7486         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7487         Specify type and value.
7488         (TVERSLEN): Likewise.
7489         (REGTYPE): Likewise.
7490         (AREGTYPE): Likewise.
7491         (LNKTYPE): Likewise.
7492         (SYMTYPE): Likewise.
7493         (CHRTYPE): Likewise.
7494         (BLKTYPE): Likewise.
7495         (DIRTYPE): Likewise.
7496         (FIFOTYPE): Likewise.
7497         (CONTTYPE): Likewise.
7498         (TSUID): Likewise.
7499         (TSGID): Likewise.
7500         (TSVTX): Likewise.
7501         (TUREAD): Likewise.
7502         (TUWRITE): Likewise.
7503         (TUEXEC): Likewise.
7504         (TGREAD): Likewise.
7505         (TGWRITE): Likewise.
7506         (TGEXEC): Likewise.
7507         (TOREAD): Likewise.
7508         (TOWRITE): Likewise.
7509         (TOEXEC): Likewise.
7510         [POSIX] (TSVTX): Expect constant.
7512 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7514         * Makefile (tests): Change dependencies to ....
7515         (tests-special): ... additions to this variable.
7516         (tests): Depend on $(tests-special).
7517         * Makerules (check-abi-list): New variable.
7518         (check-abi): Depend on $(check-abi-list).
7519         [$(subdir) = elf] (tests-special): Add
7520         $(objpfx)check-abi-libc.out.
7521         [$(build-shared) = yes && subdir] (tests-special): Add
7522         $(check-abi-list).
7523         [$(build-shared) = yes && subdir] (tests): Do not depend on
7524         check-abi.
7525         * Rules (tests): Depend on $(tests-special).
7526         (xtests): Depend on $(xtests-special).
7527         * catgets/Makefile (tests): Change dependencies to ....
7528         (tests-special): ... additions to this variable.
7529         * conform/Makefile (tests): Change dependencies to ....
7530         (tests-special): ... additions to this variable.
7531         * elf/Makefile (tests): Change dependencies to ....
7532         (tests-special): ... additions to this variable.
7533         * grp/Makefile (tests): Change dependencies to ....
7534         (tests-special): ... additions to this variable.
7535         * iconv/Makefile (xtests): Change dependencies to ....
7536         (xtests-special): ... additions to this variable.
7537         * iconvdata/Makefile (tests): Change dependencies to ....
7538         (tests-special): ... additions to this variable.
7539         * intl/Makefile (tests): Change dependencies to ....
7540         (tests-special): ... additions to this variable.  Also add
7541         $(objpfx)tst-gettext.out.
7542         * io/Makefile (tests): Change dependencies to ....
7543         (tests-special): ... additions to this variable.
7544         * libio/Makefile (tests): Change dependencies to ....
7545         (tests-special): ... additions to this variable.
7546         * malloc/Makefile (tests): Change dependencies to ....
7547         (tests-special): ... additions to this variable.
7548         * misc/Makefile (tests): Change dependencies to ....
7549         (tests-special): ... additions to this variable.
7550         * nptl/Makefile (tests): Change dependencies to ....
7551         (tests-special): ... additions to this variable.
7552         * nptl_db/Makefile (tests): Change dependencies to ....
7553         (tests-special): ... additions to this variable.
7554         * posix/Makefile (tests): Change dependencies to ....
7555         (tests-special): ... additions to this variable.
7556         (xtests): Change dependencies to ....
7557         (xtests-special): ... additions to this variable.
7558         * resolv/Makefile (tests): Change dependencies to ....
7559         (tests-special): ... additions to this variable.
7560         (xtests): Change dependencies to ....
7561         (xtests-special): ... additions to this variable.
7562         * stdio-common/Makefile (tests): Change dependencies to ....
7563         (tests-special): ... additions to this variable.
7564         (do-tst-unbputc): Remove target.
7565         (do-tst-printf): Likewise.
7566         * stdlib/Makefile (tests): Change dependencies to ....
7567         (tests-special): ... additions to this variable.
7568         * string/Makefile (tests): Change dependencies to ....
7569         (tests-special): ... additions to this variable.
7570         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7571         (tests-special): ... additions to this variable.
7573         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7574         whole file.
7575         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7576         whole file.
7577         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7578         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7580         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7581         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7582         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7583         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7584         * conform/data/libgen.h-data [XPG3]: Likewise.
7585         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7586         * conform/data/ndbm.h-data [XPG3]: Likewise.
7587         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7588         * conform/data/netdb.h-data [XPG3]: Likewise.
7589         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7590         * conform/data/poll.h-data [XPG3]: Likewise.
7591         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7592         * conform/data/strings.h-data [XPG3]: Likewise.
7593         * conform/data/stropts.h-data [XPG3]: Likewise.
7594         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7595         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7596         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7597         Likewise.
7598         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7599         * conform/data/sys/time.h-data [XPG3]: Likewise.
7600         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7601         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7602         * conform/data/sys/un.h-data [XPG3]: Likewise.
7603         * conform/data/syslog.h-data [XPG3]: Likewise.
7604         * conform/data/ucontext.h-data [XPG3]: Likewise.
7605         * conform/data/utmpx.h-data [XPG3]: Likewise.
7606         * conform/data/varargs.h-data [UNIX98]: Enable file.
7608         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7610         * math/libm-test.inc (struct test_f_f_data): Move expected results
7611         into structure for each rounding mode.
7612         (struct test_ff_f_data): Likewise.
7613         (struct test_ff_f_data_nexttoward): Likewise.
7614         (struct test_fi_f_data): Likewise.
7615         (struct test_fl_f_data): Likewise.
7616         (struct test_if_f_data): Likewise.
7617         (struct test_fff_f_data): Likewise.
7618         (struct test_c_f_data): Likewise.
7619         (struct test_f_f1_data): Likewise.
7620         (struct test_fF_f1_data): Likewise.
7621         (struct test_ffI_f1_data): Likewise.
7622         (struct test_c_c_data): Likewise.
7623         (struct test_cc_c_data): Likewise.
7624         (struct test_f_i_data): Likewise.
7625         (struct test_ff_i_data): Likewise.
7626         (struct test_f_l_data): Likewise.
7627         (struct test_f_L_data): Likewise.
7628         (struct test_fFF_11_data): Likewise.
7629         (RM_): New macro.
7630         (RM_FE_DOWNWARD): Likewise.
7631         (RM_FE_TONEAREST): Likewise.
7632         (RM_FE_TOWARDZERO): Likewise.
7633         (RM_FE_UPWARD): Likewise.
7634         (RUN_TEST_LOOP_f_f): Update references to expected results.
7635         (RUN_TEST_LOOP_2_f): Likewise.
7636         (RUN_TEST_LOOP_fff_f): Likewise.
7637         (RUN_TEST_LOOP_c_f): Likewise.
7638         (RUN_TEST_LOOP_f_f1): Likewise.
7639         (RUN_TEST_LOOP_fF_f1): Likewise.
7640         (RUN_TEST_LOOP_fI_f1): Likewise.
7641         (RUN_TEST_LOOP_ffI_f1): Likewise.
7642         (RUN_TEST_LOOP_c_c): Likewise.
7643         (RUN_TEST_LOOP_cc_c): Likewise.
7644         (RUN_TEST_LOOP_f_i): Likewise.
7645         (RUN_TEST_LOOP_f_i_tg): Likewise.
7646         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7647         (RUN_TEST_LOOP_f_b): Likewise.
7648         (RUN_TEST_LOOP_f_b_tg): Likewise.
7649         (RUN_TEST_LOOP_f_l): Likewise.
7650         (RUN_TEST_LOOP_f_L): Likewise.
7651         (RUN_TEST_LOOP_fFF_11): Likewise.
7652         * math/gen-libm-test.pl (parse_args): Output four copies of
7653         expected results for each test.
7655         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7656         (__ASSUME_UTIMES): Remove.
7657         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7658         (__ASSUME_UTIMES): Likewise.
7660         * math/gen-auto-libm-tests.c: Update comment on output format.
7661         (output_for_one_input_case): Generate before-rounding and
7662         after-rounding information as conditions on output flags not
7663         floating-point format.
7664         * math/auto-libm-test-out: Regenerated.
7665         * math/gen-libm-test.pl (cond_value): New function.
7666         (or_cond_value): Use cond_value.
7667         (generate_testfile): Handle conditional exceptions.
7669 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7671         * math/libm-test.inc (max_valid_error): New variable.
7672         (init_max_error): Take new argument specifying whether function
7673         results are exactly determined.  Set max_valid_error and bound
7674         other variables for errors based on this argument.
7675         (set_max_error): Do not record results above max_valid_error.
7676         (check_float_internal): Only accept errors of up to 0.5ulps if
7677         also at most max_valid_error.
7678         (START): Take new argument EXACT and pass it to init_max_error.
7679         (acos_test): Update call to START.
7680         (acos_test_tonearest): Likewise.
7681         (acos_test_towardzero): Likewise.
7682         (acos_test_downward): Likewise.
7683         (acos_test_upward): Likewise.
7684         (acosh_test): Likewise.
7685         (asin_test): Likewise.
7686         (asin_test_tonearest): Likewise.
7687         (asin_test_towardzero): Likewise.
7688         (asin_test_downward): Likewise.
7689         (asin_test_upward): Likewise.
7690         (asinh_test): Likewise.
7691         (atan_test): Likewise.
7692         (atanh_test): Likewise.
7693         (atan2_test): Likewise.
7694         (cabs_test): Likewise.
7695         (cacos_test): Likewise.
7696         (cacosh_test): Likewise.
7697         (carg_test): Likewise.
7698         (casin_test): Likewise.
7699         (casinh_test): Likewise.
7700         (catan_test): Likewise.
7701         (catanh_test): Likewise.
7702         (cbrt_test): Likewise.
7703         (ccos_test): Likewise.
7704         (ccosh_test): Likewise.
7705         (ceil_test): Likewise.
7706         (cexp_test): Likewise.
7707         (cimag_test): Likewise.
7708         (clog_test): Likewise.
7709         (clog10_test): Likewise.
7710         (conj_test): Likewise.
7711         (copysign_test): Likewise.
7712         (cos_test): Likewise.
7713         (cos_test_tonearest): Likewise.
7714         (cos_test_towardzero): Likewise.
7715         (cos_test_downward): Likewise.
7716         (cos_test_upward): Likewise.
7717         (cosh_test): Likewise.
7718         (cosh_test_tonearest): Likewise.
7719         (cosh_test_towardzero): Likewise.
7720         (cosh_test_downward): Likewise.
7721         (cosh_test_upward): Likewise.
7722         (cpow_test): Likewise.
7723         (cproj_test): Likewise.
7724         (creal_test): Likewise.
7725         (csin_test): Likewise.
7726         (csinh_test): Likewise.
7727         (csqrt_test): Likewise.
7728         (ctan_test): Likewise.
7729         (ctan_test_tonearest): Likewise.
7730         (ctan_test_towardzero): Likewise.
7731         (ctan_test_downward): Likewise.
7732         (ctan_test_upward): Likewise.
7733         (ctanh_test): Likewise.
7734         (ctanh_test_tonearest): Likewise.
7735         (ctanh_test_towardzero): Likewise.
7736         (ctanh_test_downward): Likewise.
7737         (ctanh_test_upward): Likewise.
7738         (erf_test): Likewise.
7739         (erfc_test): Likewise.
7740         (exp_test): Likewise.
7741         (exp_test_tonearest): Likewise.
7742         (exp_test_towardzero): Likewise.
7743         (exp_test_downward): Likewise.
7744         (exp_test_upward): Likewise.
7745         (exp10_test): Likewise.
7746         (exp10_test_tonearest): Likewise.
7747         (exp10_test_towardzero): Likewise.
7748         (exp10_test_downward): Likewise.
7749         (exp10_test_upward): Likewise.
7750         (pow10_test): Likewise.
7751         (exp2_test): Likewise.
7752         (expm1_test): Likewise.
7753         (expm1_test_tonearest): Likewise.
7754         (expm1_test_towardzero): Likewise.
7755         (expm1_test_downward): Likewise.
7756         (expm1_test_upward): Likewise.
7757         (fabs_test): Likewise.
7758         (fdim_test): Likewise.
7759         (floor_test): Likewise.
7760         (fma_test): Likewise.
7761         (fma_test_towardzero): Likewise.
7762         (fma_test_downward): Likewise.
7763         (fma_test_upward): Likewise.
7764         (fmax_test): Likewise.
7765         (fmin_test): Likewise.
7766         (fmod_test): Likewise.
7767         (fpclassify_test): Likewise.
7768         (frexp_test): Likewise.
7769         (hypot_test): Likewise.
7770         (ilogb_test): Likewise.
7771         (isfinite_test): Likewise.
7772         (finite_test): Likewise.
7773         (isgreater_test): Likewise.
7774         (isgreaterequal_test): Likewise.
7775         (isinf_test): Likewise.
7776         (isless_test): Likewise.
7777         (islessequal_test): Likewise.
7778         (islessgreater_test): Likewise.
7779         (isnan_test): Likewise.
7780         (isnormal_test): Likewise.
7781         (issignaling_test): Likewise.
7782         (isunordered_test): Likewise.
7783         (j0_test): Likewise.
7784         (j1_test): Likewise.
7785         (jn_test): Likewise.
7786         (ldexp_test): Likewise.
7787         (lgamma_test): Likewise.
7788         (gamma_test): Likewise.
7789         (lrint_test): Likewise.
7790         (lrint_test_tonearest): Likewise.
7791         (lrint_test_towardzero): Likewise.
7792         (lrint_test_downward): Likewise.
7793         (lrint_test_upward): Likewise.
7794         (llrint_test): Likewise.
7795         (llrint_test_tonearest): Likewise.
7796         (llrint_test_towardzero): Likewise.
7797         (llrint_test_downward): Likewise.
7798         (llrint_test_upward): Likewise.
7799         (log_test): Likewise.
7800         (log10_test): Likewise.
7801         (log1p_test): Likewise.
7802         (log2_test): Likewise.
7803         (logb_test): Likewise.
7804         (logb_test_downward): Likewise.
7805         (lround_test): Likewise.
7806         (llround_test): Likewise.
7807         (modf_test): Likewise.
7808         (nearbyint_test): Likewise.
7809         (nextafter_test): Likewise.
7810         (nexttoward_test): Likewise.
7811         (pow_test): Likewise.
7812         (pow_test_tonearest): Likewise.
7813         (pow_test_towardzero): Likewise.
7814         (pow_test_downward): Likewise.
7815         (pow_test_upward): Likewise.
7816         (remainder_test): Likewise.
7817         (drem_test): Likewise.
7818         (remainder_test_tonearest): Likewise.
7819         (drem_test_tonearest): Likewise.
7820         (remainder_test_towardzero): Likewise.
7821         (drem_test_towardzero): Likewise.
7822         (remainder_test_downward): Likewise.
7823         (drem_test_downward): Likewise.
7824         (remainder_test_upward): Likewise.
7825         (drem_test_upward): Likewise.
7826         (remquo_test): Likewise.
7827         (rint_test): Likewise.
7828         (rint_test_tonearest): Likewise.
7829         (rint_test_towardzero): Likewise.
7830         (rint_test_downward): Likewise.
7831         (rint_test_upward): Likewise.
7832         (round_test): Likewise.
7833         (scalb_test): Likewise.
7834         (scalbn_test): Likewise.
7835         (scalbln_test): Likewise.
7836         (signbit_test): Likewise.
7837         (sin_test): Likewise.
7838         (sin_test_tonearest): Likewise.
7839         (sin_test_towardzero): Likewise.
7840         (sin_test_downward): Likewise.
7841         (sin_test_upward): Likewise.
7842         (sincos_test): Likewise.
7843         (sinh_test): Likewise.
7844         (sinh_test_tonearest): Likewise.
7845         (sinh_test_towardzero): Likewise.
7846         (sinh_test_downward): Likewise.
7847         (sinh_test_upward): Likewise.
7848         (sqrt_test): Likewise.
7849         (sqrt_test_tonearest): Likewise.
7850         (sqrt_test_towardzero): Likewise.
7851         (sqrt_test_downward): Likewise.
7852         (sqrt_test_upward): Likewise.
7853         (tan_test): Likewise.
7854         (tan_test_tonearest): Likewise.
7855         (tan_test_towardzero): Likewise.
7856         (tan_test_downward): Likewise.
7857         (tan_test_upward): Likewise.
7858         (tanh_test): Likewise.
7859         (tgamma_test): Likewise.
7860         (trunc_test): Likewise.
7861         (y0_test): Likewise.
7862         (y1_test): Likewise.
7863         (yn_test): Likewise.
7864         (significand_test): Likewise.
7866         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7867         individual tests in comment.
7868         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7869         (prev_max_error): New variable.
7870         (prev_real_max_error): Likewise.
7871         (prev_imag_max_error): Likewise.
7872         (compare_ulp_data): Don't refer to test names in comment.
7873         (find_test_ulps): Remove function.
7874         (find_function_ulps): Likewise.
7875         (find_complex_function_ulps): Likewise.
7876         (init_max_error): Take function name as argument.  Look up ulps
7877         for that function.
7878         (print_ulps): Remove function.
7879         (print_max_error): Use prev_max_error instead of calling
7880         find_function_ulps.
7881         (print_complex_max_error): Use prev_real_max_error and
7882         prev_imag_max_error instead of calling find_complex_function_ulps.
7883         (check_float_internal): Take max_ulp parameter instead of calling
7884         find_test_ulps.  Don't call print_ulps.
7885         (check_float): Update call to check_float_internal.
7886         (check_complex): Update calls to check_float_internal.
7887         (START): Pass argument to init_max_error.
7888         * math/gen-libm-test.pl (%results): Don't include "kind"
7889         information.
7890         (parse_ulps): Don't handle ulps of individual tests.
7891         (print_ulps_file): Likewise.
7892         (output_ulps): Likewise.
7893         * math/README.libm-test: Update.
7894         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7895         individual tests.
7896         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7897         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7898         * sysdeps/arm/libm-test-ulps: Likewise.
7899         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7900         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7901         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7902         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7903         * sysdeps/microblaze/libm-test-ulps: Likewise.
7904         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7905         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7906         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7907         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7908         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7909         * sysdeps/sh/libm-test-ulps: Likewise.
7910         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7911         * sysdeps/tile/libm-test-ulps: Likewise.
7912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7914 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7916         * math/libm-test.inc (print_complex_max_error): Check separately
7917         whether real and imaginary errors are within allowed range and
7918         pass 0 to print_complex_function_ulps instead of value within
7919         allowed range.
7921 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7923         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7924         formatting.
7925         (get_handles_fopen): Likewise.
7926         (do_write_test): Likewise.
7928         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7930         * libio/fileops.c (do_ftell): Use cached offset when
7931         available.
7932         * libio/iofwide.c (do_ftell_wide): Likewise.
7933         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7934         _IO_file_attach.
7935         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7937         [BZ #16532]
7938         * libio/libioP.h (get_file_offset): New function.
7939         * libio/fileops.c (get_file_offset): Likewise.
7940         (do_ftell): Likewise.
7941         (_IO_new_file_seekoff): Split out ftell logic.
7942         * libio/wfileops.c (do_ftell_wide): Likewise.
7943         (_IO_wfile_seekoff): Split out ftell logic.
7944         * libio/tst-ftell-active-handler.c: New test case.
7945         * libio/Makefile (tests): Add it.
7947 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7949         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7950         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7952 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7954         [BZ #16639]
7955         * nscd/connections.c (nscd_init): Call do_exit.
7956         (start_threads): Call do_exit and notify_parent.
7957         (begin_drop_privileges): Call do_exit.
7958         (finish_drop_privileges): Likewise.
7959         * nscd/selinux.c (preserve_capabilities): Likewise.
7960         (install_real_capabilities): Likewise.
7961         (nscd_selinux_enabled): Likewise.
7962         (avc_create_thread): Likewise.
7963         (avc_alloc_lock): Likewise.
7964         (nscd_avc_init): Likewise.
7965         * nscd/nscd.c (parent_fd): New static variable.
7966         (main): Create a pipe between parent and child processes.
7967         Skip closing parent_fd.
7968         (monitor_child): New function.
7969         (do_exit): Likewise.
7970         (notify_parent): Likewise.
7971         * nscd/nscd.h (notify_parent): Likewise.
7972         (do_exit): Likewise.
7974 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7976         * malloc/malloc.c (__libc_calloc): Revert last change.
7978 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7982 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7984         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7986         implementation.
7987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7988         (__libc_ifunc_impl_list): Likewise.
7989         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7990         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7991         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7992         * string/strrchr.c: Define STRRCHR.
7994 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7996         * benchtest/bench-strtok.c (simple_strtok): Delete.
7997         (strtok_string): Use as benchmark.
7998         * string/strtok (STRTOK): New macro.
8000 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8002         * manual/threads.texi: Add header and standard comments to all
8003         functions.
8005         * elf/dl-lookup.c (check_match): New function.
8006         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8007         (do_lookup_x): Remove nested function check_match. Use non-nested
8008         function check_match.
8010 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8012         * csu/Makefile (generated, before-compile): Use += rather than =.
8013         * catgets/Makefile (generated, generated-dirs): Likewise.
8014         * debug/Makefile (generated): Likewise.
8015         * dlfcn/Makefile (generated): Likewise.
8016         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8017         * iconvdata/Makefile (before-compile, generated): Likewise.
8018         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8019         * libio/Makefile (generated): Likewise.
8020         * malloc/Makefile (generated): Likewise.
8021         * manual/Makefile (generated, generated-dirs): Likewise.
8022         * misc/Makefile (generated): Likewise.
8023         * posix/Makefile (generated): Likewise.
8024         * resolv/Makefile (generated): Likewise.
8025         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8026         * timezone/Makefile (generated, generated-dirs): Likewise.
8028         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8030 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8032         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8033         power8 implementation.
8034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8035         file: POWER8 llround ifunc implementation.
8036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8037         (__lllround): Add POWER8 implementation.
8038         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8039         POWER8 llround implementation.
8041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8042         power8 implementation.
8043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8044         file: POWER8 llrint ifunc implementation.
8045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8046         Add POWER8 implementation.
8047         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8048         POWER8 llrint implementation.
8050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8051         power8 implementation.
8052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8053         file: POWER8 finite ifunc implementation.
8054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8055         Add POWER8 implementation.
8056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8057         Likewise.
8058         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8059         POWER8 finite implementation.
8060         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8063         power8 implementation.
8064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8065         file: POWER8 isinf ifunc implementation.
8066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8067         POWER8 implementation.
8068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8069         Likewise.
8070         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8071         isinf implementation.
8072         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8074         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8075         (INIT_ARCH): Add hwcap2 initialization.
8076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8077         power8 implementation.
8078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8079         file: POWER8 isnan ifunc implementation.
8080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8081         POWER8 implementation.
8082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8083         Likewise.
8084         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8085         isnan implementation.
8086         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8088 2014-02-27  Joey Ye  <joey.ye@arm.com>
8090         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8091         (_FP_NANFRAC_Q): Set to zero.
8093 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8095         [BZ #16623]
8096         * math/auto-libm-test-in: New test inputs.
8097         * math/auto-libm-test-out: Regenerate.
8098         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8099         and DA.
8100         (__cos): Likewise.
8101         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8103 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8105         * scripts/evaluate-test.sh: Take new argument indicating whether
8106         failure is expected.
8107         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8108         indicating whether failure is expected.
8109         * conform/Makefile (test-xfail-run-conformtest): New variable.
8110         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8111         level.
8112         * posix/Makefile (test-xfail-annexc): New variable.
8113         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8115 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8117         * argp/Makefile: Include Makeconfig immediately after defining
8118         subdir.
8119         * assert/Makefile: Likewise.
8120         * benchtests/Makefile: Likewise.
8121         * catgets/Makefile: Likewise.
8122         * conform/Makefile: Likewise.
8123         * crypt/Makefile: Likewise.
8124         * csu/Makefile: Likewise.
8125         (all): Remove target.
8126         * ctype/Makefile: Include Makeconfig immediately after defining
8127         subdir.
8128         * debug/Makefile: Likewise.
8129         * dirent/Makefile: Likewise.
8130         * dlfcn/Makefile: Likewise.
8131         * gmon/Makefile: Likewise.
8132         * gnulib/Makefile: Likewise.
8133         * grp/Makefile: Likewise.
8134         * gshadow/Makefile: Likewise.
8135         * hesiod/Makefile: Likewise.
8136         * hurd/Makefile: Likewise.
8137         (all): Remove target.
8138         * iconvdata/Makefile: Include Makeconfig immediately after
8139         defining subdir.
8140         * inet/Makefile: Likewise.
8141         * intl/Makefile: Likewise.
8142         * io/Makefile: Likewise.
8143         * libio/Makefile: Likewise.
8144         (all): Remove target.
8145         * locale/Makefile: Include Makeconfig immediately after defining
8146         subdir.
8147         * login/Makefile: Likewise.
8148         * mach/Makefile: Likewise.
8149         (all): Remove target.
8150         * malloc/Makefile: Include Makeconfig immediately after defining
8151         subdir.
8152         (all): Remove target.
8153         * manual/Makefile: Include Makeconfig immediately after defining
8154         subdir.
8155         * math/Makefile: Likewise.
8156         * misc/Makefile: Likewise.
8157         * nis/Makefile: Likewise.
8158         * nss/Makefile: Likewise.
8159         * po/Makefile: Likewise.
8160         (all): Remove target.
8161         * posix/Makefile: Include Makeconfig immediately after defining
8162         subdir.
8163         * pwd/Makefile: Likewise.
8164         * resolv/Makefile: Likewise.
8165         * resource/Makefile: Likewise.
8166         * rt/Makefile: Likewise.
8167         * setjmp/Makefile: Likewise.
8168         * shadow/Makefile: Likewise.
8169         * signal/Makefile: Likewise.
8170         * socket/Makefile: Likewise.
8171         * soft-fp/Makefile: Likewise.
8172         * stdio-common/Makefile: Likewise.
8173         * stdlib/Makefile: Likewise.
8174         * streams/Makefile: Likewise.
8175         * string/Makefile: Likewise.
8176         * sunrpc/Makefile: Likewise.
8177         (all): Remove target.
8178         * sysvipc/Makefile: Include Makeconfig immediately after defining
8179         subdir.
8180         * termios/Makefile: Likewise.
8181         * time/Makefile: Likewise.
8182         * timezone/Makefile: Likewise.
8183         (all): Remove target.
8184         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8185         subdir.
8186         * wctype/Makefile: Likewise.
8188 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8190         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8191         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8192         (libc_feholdexcept_setround_mips): Ditto.
8193         (libc_feholdsetround): New.
8194         (libc_feholdsetroundf): New.
8195         (libc_feholdsetroundl): New.
8196         (libc_feupdateenv_test_mips): New.
8197         (libc_feupdateenv_test): New.
8198         (libc_feupdateenv_testf): New.
8199         (libc_feupdateenv_testl): New.
8200         (libc_feresetround): New.
8201         (libc_feresetroundf): New.
8202         (libc_feresetroundl): New.
8203         (libc_fetestexcept_mips): New.
8204         (libc_fetestexcept): New.
8205         (libc_fetestexceptf): New.
8206         (libc_fetestexceptl): New.
8207         (HAVE_RM_CTX): New.
8208         (libc_feholdexcept_setround_mips_ctx): New.
8209         (libc_feholdexcept_setround_ctx): New.
8210         (libc_feholdexcept_setroundf_ctx): New.
8211         (libc_feholdexcept_setroundl_ctx): New.
8212         (libc_fesetenv_mips_ctx): New.
8213         (libc_fesetenv_ctx): New.
8214         (libc_fesetenv_ctxf): New.
8215         (libc_fesetenv_ctxl): New.
8216         (libc_feupdateenv_mips_ctx): New.
8217         (libc_feupdateenv_ctx): New.
8218         (libc_feupdateenvf_ctx): New.
8219         (libc_feupdateenvl_ctx): New.
8220         (libc_feholdsetround_mips_ctx): New.
8221         (libc_feholdsetround_ctx): New.
8222         (libc_feholdsetroundf_ctx): New.
8223         (libc_feholdsetroundl_ctx): New.
8224         (libc_feresetround_mips_ctx): New.
8225         (libc_feresetround_ctx): New.
8226         (libc_feresetroundf_ctx): New.
8227         (libc_feresetroundl_ctx): New.
8229 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8231         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8233         * manual/ipc.texi: New file.
8234         * manual/Makefile (chapters): Add ipc.
8235         * manual/job.texi: Add "Inter-Process Communication" to next.
8236         * manual/process.texi: Add "Inter-Process Communication" to prev.
8238 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8242 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8244         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8246         * manual/arith.texi: Fix spaces after sentences.
8247         * manual/charset.texi: Likewise.
8248         * manual/errno.texi: Likewise.
8249         * manual/install.texi: Likewise.
8250         * manual/llio.texi: Likewise.
8251         * manual/locale.texi: Likewise.
8252         * manual/maint.texi: Likewise.
8253         * manual/math.texi: Likewise.
8254         * manual/memory.texi: Likewise.
8255         * manual/message.texi: Likewise.
8256         * manual/probes.texi: Likewise.
8257         * manual/resource.texi: Likewise.
8258         * manual/signal.texi: Likewise.
8259         * manual/socket.texi: Likewise.
8260         * manual/stdio.texi: Likewise.
8261         * manual/string.texi: Likewise.
8262         * manual/time.texi: Likewise.
8263         * manual/users.texi: Likewise.
8265 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8267         [BZ #16632]
8268         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8269         _DEFAULT_SOURCE is defined.
8271 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8272             Carlos O'Donell  <carlos@redhat.com>
8274         [BZ #16613]
8275         * elf/dl-tls.c (_dl_count_modids): New function.
8276         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8277         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8278         audit library and increment generation counter.
8279         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8280         * elf/tst-audit9.c: New file.
8281         * elf/tst-auditmod9a.c: New file.
8282         * elf/tst-auditmod9b.c: New file.
8283         * elf/Makefile: Add rules to build and run tst-audit9.
8285 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8287         [BZ #15347]
8288         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8290 2014-02-25  Will Newton  <will.newton@linaro.org>
8292         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8293         (__longjmp): Restore sp and lr before restoring callee
8294         saved registers.  Add longjmp and longjmp_target
8295         SystemTap probe point.
8296         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8297         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8298         Define to zero to match jmpbuf layout.
8299         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8300         (__sigsetjmp): Save sp and lr before saving callee
8301         saved registers.  Add setjmp SystemTap probe point.
8303 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8305         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8307 2014-02-24  Andreas Schwab  <schwab@suse.de>
8309         [BZ #15804]
8310         * elf/pldd.c (wait_for_ptrace_stop): New function.
8311         (main): Call it after attaching.
8313 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8315         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8316         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8317         Versions files is now verboten.
8318         * hurd/Versions (libc: GLIBC_2.0):
8319         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8320         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8321         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8322         * mach/Versions: Likewise.
8324         * csu/Versions: Remove unused %include.
8325         * resolv/Versions: Likewise.
8327 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8329         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8330         ($(objpfx)check-local-headers.out): Likewise.
8331         ($(objpfx)begin-end-check.out): Likewise.
8332         * Makerules (check-abi-%.out): Likewise.
8333         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8334         ($(objpfx)test2.cat): Likewise.
8335         ($(objpfx)de/libc.cat): Likewise.
8336         ($(objpfx)test-gencat.out): Likewise.
8337         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8338         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8339         ($(objpfx)noload-mem): Likewise.
8340         ($(objpfx)tst-pathopt.out): Likewise.
8341         ($(objpfx)tst-rtld-load-self.out): Likewise.
8342         ($(objpfx)tst-array1-cmp.out): Likewise.
8343         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8344         ($(objpfx)tst-array2-cmp.out): Likewise.
8345         ($(objpfx)tst-array3-cmp.out): Likewise.
8346         ($(objpfx)tst-array4-cmp.out): Likewise.
8347         ($(objpfx)tst-array5-cmp.out): Likewise.
8348         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8349         ($(objpfx)check-textrel.out): Likewise.
8350         ($(objpfx)check-execstack.out): Likewise.
8351         ($(objpfx)check-localplt.out): Likewise.
8352         ($(objpfx)order2-cmp.out): Likewise.
8353         ($(objpfx)tst-leaks1-mem): Likewise.
8354         ($(objpfx)tst-leaks1-static-mem): Likewise.
8355         ($(objpfx)tst-initorder-cmp.out): Likewise.
8356         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8357         ($(objpfx)tst-unused-dep.out): Likewise.
8358         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8359         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8360         * iconv/Makefile (test-iconvconfig): Likewise.
8361         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8362         ($(objpfx)iconv-test.out): Likewise.
8363         ($(objpfx)tst-tables.out): Likewise.
8364         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8365         ($(objpfx)tst-gettext.out): Likewise.
8366         ($(objpfx)tst-translit.out): Likewise.
8367         ($(objpfx)tst-gettext2.out): Likewise.
8368         ($(objpfx)tst-gettext4.out): Likewise.
8369         ($(objpfx)tst-gettext6.out): Likewise.
8370         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8371         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8372         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8373         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8374         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8375         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8376         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8377         ($(objpfx)wordexp-tst.out): Likewise.
8378         ($(objpfx)annexc.out): Likewise.
8379         ($(objpfx)tst-fnmatch-mem): Likewise.
8380         ($(objpfx)bug-regex2-mem): Likewise.
8381         ($(objpfx)bug-regex14-mem): Likewise.
8382         ($(objpfx)bug-regex21-mem): Likewise.
8383         ($(objpfx)bug-regex31-mem): Likewise.
8384         ($(objpfx)tst-vfork3-mem): Likewise.
8385         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8386         ($(objpfx)tst-pcre-mem): Likewise.
8387         ($(objpfx)tst-boost-mem): Likewise.
8388         ($(objpfx)tst-getconf.out): Likewise.
8389         ($(objpfx)bug-ga2-mem): Likewise.
8390         ($(objpfx)bug-glob2-mem): Likewise.
8391         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8392         ($(objpfx)mtrace-tst-leaks2): Likewise.
8393         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8394         ($(objpfx)tst-printf.out): Likewise.
8395         ($(objpfx)tst-setvbuf1.out): Likewise.
8396         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8397         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8398         ($(objpfx)tst-fmtmsg.out): Likewise.
8399         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8400         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8402         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8403         * bits/sigaction.h [__USE_MISC]: Likewise.
8404         * bits/waitstatus.h: Update #endif comments.
8405         * ctype/ctype.h: Likewise.
8406         * dirent/dirent.h: Likewise.
8407         [__USE_MISC]: Remove redundant conditionals.
8408         * grp/grp.h: Update #endif comments.
8409         [__USE_GNU]: Remove redundant conditionals.
8410         [__USE_MISC]: Likewise.
8411         * inet/netinet/in.h [__USE_GNU]: Likewise.
8412         * io/sys/stat.h [__USE_MISC]: Likewise.
8413         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8414         * libio/bits/stdio.h: Update #endif comments.
8415         [__USE_MISC]: Remove redundant conditionals.
8416         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8417         * libio/stdio.h: Update #endif comments.
8418         [__USE_MISC]: Remove redundant conditionals.
8419         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8420         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8421         * math/math.h: Update #else and #endif comments.
8422         [__USE_MISC]: Remove redundant conditionals.
8423         * misc/sys/uio.h: Update #endif comments.
8424         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8425         * posix/glob.h [__USE_MISC]: Likewise.
8426         * posix/sys/types.h: Update #endif comments.
8427         [__USE_MISC]: Remove redundant conditionals.
8428         * posix/sys/wait.h: Update #endif comments.
8429         [__USE_MISC]: Remove redundant conditionals.
8430         * posix/unistd.h: Update #endif comments.
8431         [__USE_MISC]: Remove redundant conditionals.
8432         * pwd/pwd.h [__USE_GNU]: Likewise.
8433         [__USE_MISC]: Likewise.
8434         * resolv/netdb.h [__USE_GNU]: Likewise.
8435         * signal/signal.h: Update #endif comments.
8436         [__USE_MISC]: Remove redundant conditionals.
8437         * stdlib/stdlib.h: Update #else and #endif comments.
8438         [__USE_MISC]: Remove redundant conditionals.
8439         [__USE_GNU]: Likewise.
8440         * string/bits/string2.h [__USE_MISC]: Likewise.
8441         * string/string.h: Update #endif comments.
8442         [__USE_MISC]: Remove redundant conditionals.
8443         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8444         Likewise.
8445         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8446         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8447         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8448         Likewise.
8449         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8450         Likewise.
8451         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8452         comments.
8453         [__USE_MISC]: Remove redundant conditionals.
8454         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8455         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8456         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8457         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8458         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8459         Likewise.
8460         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8461         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8462         Likewise.
8463         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8464         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8465         Likewise.
8466         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8467         Likewise.
8468         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8469         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8470         Likewise.
8471         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8472         Likewise.
8473         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8474         * sysdeps/x86/bits/string.h: Update #endif comments.
8475         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8476         conditionals.
8477         * time/sys/time.h: Update #endif comments.
8478         * time/time.h: Likewise.
8479         [__USE_MISC]: Remove redundant conditionals.
8481 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8483         [BZ #16600]
8484         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8486 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8488         * Versions.def (librt): Add GLIBC_2.17.
8490 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8492         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8493         synonym for _SYS_AUXV_H to allow direct inclusion.
8494         * sysdeps/sparc/bits/hwcap.h: Likewise.
8495         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8496         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8497         * sysdeps/sparc/sysdep.h: Likewise.
8499 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8501         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8503 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8505         * benchtests/bench-strrchr.c: Print length instead of position.
8507 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8509         [BZ #16611]
8510         * sysdeps/unix/sysv/linux/kernel-features.h
8511         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8512         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8513         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8514         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8515         Likewise.
8516         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8517         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8518         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8519         (__ASSUME_SENDMMSG): Define instead of using previous
8520         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8521         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8522         (__ASSUME_SENDMMSG_SYSCALL): Define.
8523         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8524         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8525         Likewise.
8526         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8527         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8528         Likewise.
8529         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8530         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8531         Likewise.
8532         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8533         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8534         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8535         [__ASSUME_SENDMMSG]: Change conditionals to
8536         [__ASSUME_SENDMMSG_SOCKETCALL].
8537         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8538         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8539         Define.
8540         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8541         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8542         Likewise.
8543         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8544         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8545         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8546         [!__ASSUME_SENDMMSG]: Change conditional to
8547         [!__ASSUME_SENDMMSG_SOCKETCALL].
8548         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8549         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8550         Define.
8552         [BZ #16610]
8553         * sysdeps/unix/sysv/linux/kernel-features.h
8554         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8555         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8556         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8557         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8558         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8559         [__i386__ || __sparc__]
8560         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8561         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8562         (__ASSUME_RECVMMSG): Define instead of using previous
8563         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8564         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8565         (__ASSUME_RECVMMSG_SYSCALL): Define.
8566         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8567         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8568         Likewise.
8569         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8570         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8571         Likewise.
8572         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8573         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8574         Likewise.
8575         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8576         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8577         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8578         [__ASSUME_RECVMMSG]: Change condition to
8579         [__ASSUME_RECVMMSG_SOCKETCALL].
8580         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8581         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8582         Define.
8583         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8584         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8585         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8586         Likewise.
8587         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8588         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8589         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8590         [!__ASSUME_RECVMMSG]: Change condition to
8591         [!__ASSUME_RECVMMSG_SOCKETCALL].
8592         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8593         (__ASSUME_RECVMMSG_SYSCALL): Define.
8595         [BZ #16609]
8596         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8597         __powerpc__ || __s390__ || __sh__ || __sparc__]
8598         (__ASSUME_SOCKETCALL): Define.
8599         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8600         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8601         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8602         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8603         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8604         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8605         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8606         (__ASSUME_ACCEPT4): Define instead of using previous
8607         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8608         __powerpc__ || __sparc__ || __s390__)] condition.
8609         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8610         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8611         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8612         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8613         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8614         [!__ASSUME_ACCEPT4]: Change condition to
8615         [!__ASSUME_ACCEPT4_SOCKETCALL].
8616         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8617         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8618         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8619         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8620         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8621         __ASSUME_ACCEPT4_SYSCALL.
8622         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8623         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8624         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8625         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8626         __ASSUME_ACCEPT4_SYSCALL.
8627         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8628         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8629         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8630         [__ASSUME_ACCEPT4]: Change condition to
8631         [__ASSUME_ACCEPT4_SOCKETCALL].
8632         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8633         (__ASSUME_SOCKETCALL): Define.
8634         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8635         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8636         (__ASSUME_SOCKETCALL): Define.
8637         (__ASSUME_ACCEPT4): Remove.
8638         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8639         Define.
8640         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8641         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8642         Likewise.
8643         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8644         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8646         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8647         macro.
8648         (HWCAP_ARM_LPAE): Likewise.
8649         (HWCAP_ARM_EVTSTRM): Likewise.
8650         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8651         Add vpfd32, lpae and evtstrm.
8652         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8653         Increase to 22.
8655 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8657         * math/auto-libm-test-in: Add tests of clog10.
8658         * math/auto-libm-test-out: Regenerated.
8659         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8660         * sysdeps/i386/fpu/libm-test-ulps: Update.
8661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8663 2014-02-18  Andreas Schwab  <schwab@suse.de>
8665         [BZ #16574]
8666         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8667         Store non-zero if the second buffer was newly allocated.
8668         (send_dg): Likewise.
8669         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8670         to send_vc and send_dg.
8671         (res_nsend): Pass NULL for ansp2_malloced.
8672         * resolv/res_query.c (__libc_res_nquery): Add parameter
8673         answerp2_malloced and pass it down to __libc_res_nsend.
8674         (res_nquery): Pass additional NULL to __libc_res_nquery.
8675         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8676         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8677         second answer buffer if answerp2_malloced was set.
8678         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8679         (__libc_res_nquerydomain): Add parameter
8680         answerp2_malloced and pass it down to __libc_res_nquery.
8681         (res_nquerydomain): Pass additional NULL to
8682         __libc_res_nquerydomain.
8683         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8684         additional NULL to __libc_res_nsend and __libc_res_nquery.
8685         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8686         additional NULL to __libc_res_nsearch.
8687         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8688         parameter of __libc_res_nsearch to check for separately allocated
8689         second buffer.
8690         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8691         __libc_res_nquery.
8692         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8693         additional NULL to __libc_res_nquery.
8694         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8695         __libc_res_nsearch.
8696         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8697         * include/resolv.h: Update prototypes of __libc_res_nquery,
8698         __libc_res_nsearch, __libc_res_nsend.
8700 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8702         * math/auto-libm-test-in: Add tests of fma.
8703         * math/auto-libm-test-out: Regenerated.
8704         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8705         (fma_towardzero_test_data): Likewise.
8706         (fma_downward_test_data): Likewise.
8707         (fma_upward_test_data): Likewise.
8708         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8709         mpc_mode.
8710         (rounding_modes): Add values for new field.
8711         (func_calc_method): Add value mpfr_fff_f.
8712         (func_calc_desc): Add mpfr_fff_f union field.
8713         (test_function): Add field exact_args.
8714         (FUNC): Add macro argument EXACT_ARGS.
8715         (FUNC_mpfr_f_f): Update call to FUNC.
8716         (FUNC_mpfr_f_f): Likewise.
8717         (FUNC_mpfr_ff_f): Likewise.
8718         (FUNC_mpfr_if_f): Likewise.
8719         (FUNC_mpc_c_f): Likewise.
8720         (FUNC_mpc_c_c): Likewise.
8721         (test_functions): Add fma.  Update calls to FUNC.
8722         (handle_input_arg): Add argument exact_args.
8723         (add_test): Update call to handle_input_arg.
8724         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8725         (output_for_one_input_case): Update call to calc_generic_results.
8726         Recalculate exact zero results in each rounding mode.
8728         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8729         non-negative before setting low bit.
8730         * math/auto-libm-test-in: Mark one asin test possibly having
8731         spurious underflow.
8732         * math/auto-libm-test-out: Regenerated.
8733         * sysdeps/i386/fpu/libm-test-ulps: Update.
8734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8736 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8738         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8739         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8740         ports/sysdeps/unix/sysv/linux/microblaze.
8741         * README: Add missing listing for microblaze*-*-linux-gnu.
8743 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8745         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8746         * sysdeps/unix/sysv/linux/ia64: Move directory from
8747         ports/sysdeps/unix/sysv/linux/ia64.
8748         * README: Update listing for ia64-*-linux-gnu.
8750 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8751             Joseph Myers  <joseph@codesourcery.com>
8753         * Makeconfig (test-name): New variable.
8754         (evaluate-test): Likewise.
8755         * Makerules (do-test-clean): Remove .test-result files.
8756         (common-mostlyclean): Likewise.
8757         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8758         * scripts/evaluate-test.sh: New file.
8760 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8762         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8763         separate $(objpfx)tst-fopenloc-cmp.out and
8764         $(objpfx)tst-fopenloc-mem.out targets.
8765         (tests): Update dependencies.
8766         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8767         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8768         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8769         (tst-rxspencer-no-utf8-ARGS): New variable.
8770         (tst-rxspencer-no-utf8-ENV): Likewise.
8771         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8772         instead of $(objpfx)tst-rxspencer-mem.
8773         ($(objpfx)tst-rxspencer-mem): Change target to
8774         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8775         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8776         * posix/tst-rxspencer-no-utf8.c: New file.
8778         * elf/Makefile ($(objpfx)order.out): Remove rule.
8779         [$(run-built-tests) = yes] (tests): Depend on
8780         $(objpfx)order-cmp.out.
8781         ($(objpfx)order-cmp.out): New rule.
8782         [$(run-built-tests) = yes] (tests): Depend on
8783         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8784         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8785         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8786         $(objpfx)tst-array5-static-cmp.out.
8787         ($(objpfx)tst-array1.out): Remove rule.
8788         ($(objpfx)tst-array1-cmp.out): New rule.
8789         ($(objpfx)tst-array1-static.out): Remove rule.
8790         ($(objpfx)tst-array1-static-cmp.out): New rule.
8791         ($(objpfx)tst-array2.out): Remove rule.
8792         ($(objpfx)tst-array2-cmp.out): New rule.
8793         ($(objpfx)tst-array3.out): Remove rule.
8794         ($(objpfx)tst-array3-cmp.out): New rule.
8795         ($(objpfx)tst-array4.out): Remove rule.
8796         ($(objpfx)tst-array4-cmp.out): New rule.
8797         ($(objpfx)tst-array5.out): Remove rule.
8798         ($(objpfx)tst-array5-cmp.out): New rule.
8799         ($(objpfx)tst-array5-static.out): Remove rule.
8800         ($(objpfx)tst-array5-static-cmp.out): New rule.
8801         [$(run-built-tests) = yes] (tests): Depend on
8802         $(objpfx)order2-cmp.out.
8803         ($(objpfx)order2.out): Remove rule.
8804         ($(objpfx)order2-cmp.out): New rule.
8805         ($(objpfx)tst-initorder.out): Remove rule.
8806         [$(run-built-tests) = yes] (tests): Depend on
8807         $(objpfx)tst-initorder-cmp.out.
8808         ($(objpfx)tst-initorder-cmp.out): New rule.
8809         ($(objpfx)tst-initorder2.out): Remove rule.
8810         [$(run-built-tests) = yes] (tests): Depend on
8811         $(objpfx)tst-initorder2-cmp.out.
8812         ($(objpfx)tst-initorder2-cmp.out): New rule.
8813         [$(run-built-tests) = yes] (tests): Depend on
8814         $(objpfx)tst-unused-dep-cmp.out.
8815         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8816         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8817         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8818         on $(objpfx)tst-setvbuf1-cmp.out.
8819         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8820         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8821         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8822         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8823         ($(objpfx)tst-svc.out): Remove rule.
8824         ($(objpfx)tst-svc-cmp.out): New rule.
8826 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8828         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8829         * ctype/ctype.h [__USE_MISC]: Likewise.
8830         * dirent/dirent.h [__USE_MISC]: Likewise.
8831         * grp/grp.h [__USE_MISC]: Likewise.
8832         * io/fcntl.h [__USE_MISC]: Likewise.
8833         * io/sys/stat.h [__USE_MISC]: Likewise.
8834         * libio/stdio.h [__USE_MISC]: Likewise.
8835         * posix/unistd.h [__USE_MISC]: Likewise.
8836         * pwd/pwd.h [__USE_MISC]: Likewise.
8837         * stdlib.h [__USE_MISC]: Likewise.
8838         * string/bits/string2.h [__USE_MISC]: Likewise.
8839         * string/string.h [__USE_MISC]: Likewise.
8840         * time/time.h [__USE_MISC]: Likewise.
8842 2014-02-13  Andreas Schwab  <schwab@suse.de>
8844         [BZ #16574]
8845         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8846         second answer buffer if it was separately allocated.
8848 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8850         * sysdeps/mips/math-tests.h: Include <features.h>.
8851         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8852         (ROUNDING_TESTS_long_double): Do not define.
8853         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8854         (EXCEPTION_TESTS_long_double): Likewise.
8855         * sysdeps/mips/mips64/libm-test-ulps: Update.
8857         * include/features.h (__USE_BSD): Remove macro definitions.
8858         (__USE_SVID): Likewise.
8859         (_BSD_SOURCE): Likewise.
8860         (_SVID_SOURCE): Likewise.
8861         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8862         from definition of _DEFAULT_SOURCE.
8863         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8864         [_DEFAULT_SOURCE].
8865         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8866         * bits/mman.h [__USE_BSD]: Likewise.
8867         * bits/termios.h [__USE_BSD]: Likewise.
8868         * bits/waitstatus.h [__USE_BSD]: Likewise.
8869         * ctype/ctype.h [__USE_SVID]: Likewise.
8870         * dirent/dirent.h [__USE_BSD]: Likewise.
8871         * grp/grp.h [__USE_SVID]: Likewise.
8872         [__USE_BSD]: Likewise.
8873         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8874         * io/fcntl.h [__USE_BSD]: Likewise.
8875         * io/ftw.h [__USE_BSD]: Likewise.
8876         * io/sys/stat.h [__USE_BSD]: Likewise.
8877         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8878         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8879         * libio/stdio.h [__USE_SVID]: Likewise.
8880         [__USE_BSD]: Likewise.
8881         * math/math.h [__USE_SVID]: Likewise.
8882         [__USE_BSD]: Likewise.
8883         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8884         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8885         * misc/search.h [__USE_SVID]: Likewise.
8886         * misc/sys/mman.h [__USE_BSD]: Likewise.
8887         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8888         * misc/sys/uio.h [__USE_BSD]: Likewise.
8889         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8890         * posix/glob.h [__USE_BSD]: Likewise.
8891         * posix/regex.h [__USE_BSD]: Likewise.
8892         * posix/sys/types.h [__USE_BSD]: Likewise.
8893         [__USE_SVID]: Likewise.
8894         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8895         * posix/sys/wait.h [__USE_BSD]: Likewise.
8896         [__USE_SVID]: Likewise.
8897         * posix/unistd.h [__USE_BSD]: Likewise.
8898         [__USE_SVID]: Likewise.
8899         * pwd/pwd.h [__USE_SVID]: Likewise.
8900         * resolv/netdb.h [__USE_BSD]: Likewise.
8901         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8902         * signal/signal.h [__USE_BSD]: Likewise.
8903         [__USE_SVID]: Likewise.
8904         * socket/sys/socket.h [__USE_BSD]: Likewise.
8905         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8906         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8907         [__USE_SVID]: Likewise.
8908         * string/bits/string2.h [__USE_BSD]: Likewise.
8909         [__USE_SVID]: Likewise.
8910         * string/bits/string3.h [__USE_BSD]: Likewise.
8911         * string/endian.h [__USE_BSD]: Likewise.
8912         * string/string.h [__USE_SVID]: Likewise.
8913         [__USE_BSD]: Likewise.
8914         * string/strings.h [__USE_BSD]: Likewise.
8915         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8916         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8917         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8918         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8919         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8920         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8921         Likewise.
8922         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8923         Likewise.
8924         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8925         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8926         Likewise.
8927         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8928         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8929         Likewise.
8930         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8931         Likewise.
8932         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8933         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8934         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8935         Likewise.
8936         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8937         Likewise.
8938         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8939         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8940         * termios/termios.h [__USE_BSD]: Likewise.
8941         * time/sys/time.h [__USE_BSD]: Likewise.
8942         * time/time.h [__USE_BSD]: Likewise.
8943         [__USE_SVID]: Likewise.
8945         * Makefile (subdir_targets): Remove subdir_lint.out.
8947         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8948         (do-tst-printf): Likewise.
8949         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8950         $(objpfx)tst-printf.out.
8952         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8954         * Makerules (check-abi-%): Change target to
8955         $(objpfx)check-abi-%.out.
8956         (check-abi target): Update dependencies.
8957         (check-abi-pattern variable): Redirect output of diff to $@.
8958         (check-abi variable): Likewise.
8959         * elf/Makefile (check-abi): Update dependencies.
8961         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8962         unused.
8963         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8964         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8965         subnormal range.
8966         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8967         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8968         value has largest subnormal exponent.
8969         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8970         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8971         * sysdeps/aarch64/soft-fp/sfp-machine.h
8972         (_FP_TININESS_AFTER_ROUNDING): New macro.
8973         * sysdeps/alpha/soft-fp/sfp-machine.h
8974         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8975         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8976         Likewise.
8977         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8978         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8979         * sysdeps/mips/soft-fp/sfp-machine.h
8980         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8981         * sysdeps/powerpc/soft-fp/sfp-machine.h
8982         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8983         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8984         Likewise.
8985         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8986         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8987         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8988         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8989         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8990         Likewise.
8992 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8994         [BZ #16545]
8995         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8996         model 1.
8998 2014-02-12  Richard Henderson  <rth@redhat.com>
9000         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9001         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9002         * sysdeps/unix/sysv/linux/alpha: Move directory from
9003         ports/sysdeps/unix/sysv/linux/alpha.
9004         * README: Update listing for alpha-*-linux-gnu.
9006 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9008         * include/features.h: Update comment documenting feature test
9009         macros.
9010         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9011         _DEFAULT_SOURCE.
9012         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9013         (_SVID_SOURCE): Likewise.
9014         (_DEFAULT_SOURCE): Update description of default features.
9015         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9016         with _GNU_SOURCE.
9017         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9018         (S_ISVTX): Likewise.
9019         * manual/math.texi (Mathematical Constants): Likewise.
9020         * manual/signal.texi (Interrupted Primitives): Likewise.
9021         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9022         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9023         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9024         Don't refer to _SVID_SOURCE in warning text.
9026         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9028         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9029         already defined.
9030         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9031         * sysdeps/mips/dl-lookup.c: Remove.
9032         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9034 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9036         [BZ #16447]
9037         * math/auto-libm-test-in: Add testcase for expl.
9038         * math/auto-libm-test-out: Regenerate.
9039         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9040         calculation of unsafe.
9041         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9043 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9045         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9046         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9047         ports/sysdeps/unix/sysv/linux/aarch64.
9048         * README: Update listing for aarch64*-*-linux-gnu.
9050 2014-02-11  Will Newton  <will.newton@linaro.org>
9052         * manual/probes.texi (Mathematical Function Probes): Use
9053         "triggered" instead of "hit".
9055         * manual/probes.texi (Internal Probes): Add documentation
9056         of setjmp, longjmp and longjmp_target probes.
9058         * include/stap-probe.h: Add comment about probe argument
9059         format.
9061         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9062         definition.  (tr_where, tr_freehook, tr_mallochook,
9063         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9065 2014-02-11  David S. Miller  <davem@davemloft.net>
9067         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9068         processing int_tests.
9070 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9072         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9073         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9074         * sysdeps/unix/sysv/linux/mips: Move directory from
9075         ports/sysdeps/unix/sysv/linux/mips.
9076         * README: Update listing for mips-*-linux-gnu and
9077         mips64-*-linux-gnu.
9079 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9081         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9082         * sysdeps/unix/sysv/linux/m68k: Move directory from
9083         ports/sysdeps/unix/sysv/linux/m68k.
9084         * README: Update listing for m68k-*-linux-gnu.
9086 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9088         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9089         * sysdeps/unix/sysv/linux/generic: Move directory from
9090         ports/sysdeps/unix/sysv/linux/generic.
9091         * sysdeps/unix/sysv/linux/tile: Move directory from
9092         ports/sysdeps/unix/sysv/linux/tile.
9093         * README: Update listing for tile*-*-linux-gnu.
9095 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9097         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9098         __builtin_expect.
9099         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9100         * catgets/open_catalog.c (__open_catalog): Likewise.
9101         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9102         * debug/confstr_chk.c: Likewise.
9103         * debug/fread_chk.c (__fread_chk): Likewise.
9104         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9105         * debug/getgroups_chk.c: Likewise.
9106         * debug/mbsnrtowcs_chk.c: Likewise.
9107         * debug/mbsrtowcs_chk.c: Likewise.
9108         * debug/mbstowcs_chk.c: Likewise.
9109         * debug/memcpy_chk.c: Likewise.
9110         * debug/memmove_chk.c: Likewise.
9111         * debug/mempcpy_chk.c: Likewise.
9112         * debug/memset_chk.c: Likewise.
9113         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9114         * debug/strcat_chk.c (__strcat_chk): Likewise.
9115         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9116         * debug/strncat_chk.c (__strncat_chk): Likewise.
9117         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9118         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9119         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9120         * debug/wcpncpy_chk.c: Likewise.
9121         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9122         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9123         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9124         * debug/wcsncpy_chk.c: Likewise.
9125         * debug/wcsnrtombs_chk.c: Likewise.
9126         * debug/wcsrtombs_chk.c: Likewise.
9127         * debug/wcstombs_chk.c: Likewise.
9128         * debug/wmemcpy_chk.c: Likewise.
9129         * debug/wmemmove_chk.c: Likewise.
9130         * debug/wmempcpy_chk.c: Likewise.
9131         * debug/wmemset_chk.c: Likewise.
9132         * dirent/scandirat.c (SCANDIRAT): Likewise.
9133         * dlfcn/dladdr1.c (dladdr1): Likewise.
9134         * dlfcn/dladdr.c (dladdr): Likewise.
9135         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9136         * dlfcn/dlerror.c (__dlerror): Likewise.
9137         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9138         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9139         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9140         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9141         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9142         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9143         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9144         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9145         Likewise.
9146         * elf/dl-conflict.c: Likewise.
9147         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9148         * elf/dl-dst.h: Likewise.
9149         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9150         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9151         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9152         * elf/dl-init.c (call_init, _dl_init): Likewise.
9153         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9154         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9155         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9156         Likewise.
9157         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9158         Likewise.
9159         * elf/dl-minimal.c (__libc_memalign): Likewise.
9160         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9161         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9162         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9163         * elf/dl-sym.c (do_sym): Likewise.
9164         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9165         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9166         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9167         * elf/dl-writev.h (_dl_writev): Likewise.
9168         * elf/ldconfig.c (search_dir): Likewise.
9169         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9170         (dl_main): Likewise.
9171         * elf/setup-vdso.h (setup_vdso): Likewise.
9172         * grp/compat-initgroups.c (compat_call): Likewise.
9173         * grp/fgetgrent.c (fgetgrent): Likewise.
9174         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9175         * grp/putgrent.c (putgrent): Likewise.
9176         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9177         Likewise.
9178         * hurd/hurdinit.c: Likewise.
9179         * iconvdata/8bit-gap.c (struct): Likewise.
9180         * iconvdata/ansi_x3.110.c : Likewise.
9181         * iconvdata/big5.c : Likewise.
9182         * iconvdata/big5hkscs.c : Likewise.
9183         * iconvdata/cp1255.c: Likewise.
9184         * iconvdata/cp1258.c : Likewise.
9185         * iconvdata/cp932.c : Likewise.
9186         * iconvdata/euc-cn.c: Likewise.
9187         * iconvdata/euc-jisx0213.c : Likewise.
9188         * iconvdata/euc-jp.c: Likewise.
9189         * iconvdata/euc-jp-ms.c : Likewise.
9190         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9191         * iconvdata/gb18030.c : Likewise.
9192         * iconvdata/gbbig5.c (const): Likewise.
9193         * iconvdata/gbgbk.c: Likewise.
9194         * iconvdata/gbk.c : Likewise.
9195         * iconvdata/ibm1364.c : Likewise.
9196         * iconvdata/ibm930.c : Likewise.
9197         * iconvdata/ibm932.c: Likewise.
9198         * iconvdata/ibm933.c : Likewise.
9199         * iconvdata/ibm935.c : Likewise.
9200         * iconvdata/ibm937.c : Likewise.
9201         * iconvdata/ibm939.c : Likewise.
9202         * iconvdata/ibm943.c: Likewise.
9203         * iconvdata/iso_11548-1.c: Likewise.
9204         * iconvdata/iso-2022-cn.c : Likewise.
9205         * iconvdata/iso-2022-cn-ext.c : Likewise.
9206         * iconvdata/iso-2022-jp-3.c: Likewise.
9207         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9208         * iconvdata/iso-2022-kr.c : Likewise.
9209         * iconvdata/iso646.c (gconv_end): Likewise.
9210         * iconvdata/iso_6937-2.c : Likewise.
9211         * iconvdata/iso_6937.c : Likewise.
9212         * iconvdata/iso8859-1.c: Likewise.
9213         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9214         * iconvdata/shift_jisx0213.c : Likewise.
9215         * iconvdata/sjis.c : Likewise.
9216         * iconvdata/t.61.c : Likewise.
9217         * iconvdata/tcvn5712-1.c : Likewise.
9218         * iconvdata/tscii.c: Likewise.
9219         * iconvdata/uhc.c : Likewise.
9220         * iconvdata/unicode.c (gconv_end): Likewise.
9221         * iconvdata/utf-16.c (gconv_end): Likewise.
9222         * iconvdata/utf-32.c (gconv_end): Likewise.
9223         * iconvdata/utf-7.c (base64): Likewise.
9224         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9225         * iconv/gconv_close.c (__gconv_close): Likewise.
9226         * iconv/gconv_open.c (__gconv_open): Likewise.
9227         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9228         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9229         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9230         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9231         (ucs4le_internal_loop_single): Likewise.
9232         * iconv/iconv.c (iconv): Likewise.
9233         * iconv/iconv_close.c: Likewise.
9234         * iconv/loop.c (SINGLE): Likewise.
9235         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9236         * include/atomic.h: Likewise.
9237         * inet/inet6_option.c (option_alloc): Likewise.
9238         * intl/bindtextdom.c (set_binding_values): Likewise.
9239         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9240         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9241         * intl/localealias.c (read_alias_file): Likewise.
9242         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9243         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9244         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9245         * libio/fmemopen.c (fmemopen): Likewise.
9246         * libio/iofgets.c (_IO_fgets): Likewise.
9247         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9248         * libio/iofgetws.c (fgetws): Likewise.
9249         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9250         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9251         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9252         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9253         * locale/findlocale.c (_nl_find_locale): Likewise.
9254         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9255         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9256         Likewise.
9257         * locale/setlocale.c (setlocale): Likewise.
9258         * login/programs/pt_chown.c (main): Likewise.
9259         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9260         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9261         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9262         (mmap, mmap64, mremap, munmap): Likewise.
9263         * math/e_exp2l.c: Likewise.
9264         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9265         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9266         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9267         * math/s_catan.c (__catan): Likewise.
9268         * math/s_catanf.c (__catanf): Likewise.
9269         * math/s_catanh.c (__catanh): Likewise.
9270         * math/s_catanhf.c (__catanhf): Likewise.
9271         * math/s_catanhl.c (__catanhl): Likewise.
9272         * math/s_catanl.c (__catanl): Likewise.
9273         * math/s_ccosh.c (__ccosh): Likewise.
9274         * math/s_ccoshf.c (__ccoshf): Likewise.
9275         * math/s_ccoshl.c (__ccoshl): Likewise.
9276         * math/s_cexp.c (__cexp): Likewise.
9277         * math/s_cexpf.c (__cexpf): Likewise.
9278         * math/s_cexpl.c (__cexpl): Likewise.
9279         * math/s_clog10.c (__clog10): Likewise.
9280         * math/s_clog10f.c (__clog10f): Likewise.
9281         * math/s_clog10l.c (__clog10l): Likewise.
9282         * math/s_clog.c (__clog): Likewise.
9283         * math/s_clogf.c (__clogf): Likewise.
9284         * math/s_clogl.c (__clogl): Likewise.
9285         * math/s_csin.c (__csin): Likewise.
9286         * math/s_csinf.c (__csinf): Likewise.
9287         * math/s_csinh.c (__csinh): Likewise.
9288         * math/s_csinhf.c (__csinhf): Likewise.
9289         * math/s_csinhl.c (__csinhl): Likewise.
9290         * math/s_csinl.c (__csinl): Likewise.
9291         * math/s_csqrt.c (__csqrt): Likewise.
9292         * math/s_csqrtf.c (__csqrtf): Likewise.
9293         * math/s_csqrtl.c (__csqrtl): Likewise.
9294         * math/s_ctan.c (__ctan): Likewise.
9295         * math/s_ctanf.c (__ctanf): Likewise.
9296         * math/s_ctanh.c (__ctanh): Likewise.
9297         * math/s_ctanhf.c (__ctanhf): Likewise.
9298         * math/s_ctanhl.c (__ctanhl): Likewise.
9299         * math/s_ctanl.c (__ctanl): Likewise.
9300         * math/w_pow.c: Likewise.
9301         * math/w_powf.c: Likewise.
9302         * math/w_powl.c: Likewise.
9303         * math/w_scalb.c (sysv_scalb): Likewise.
9304         * math/w_scalbf.c (sysv_scalbf): Likewise.
9305         * math/w_scalbl.c (sysv_scalbl): Likewise.
9306         * misc/error.c (error_tail): Likewise.
9307         * misc/pselect.c (__pselect): Likewise.
9308         * nis/nis_callback.c (__nis_create_callback): Likewise.
9309         * nis/nis_call.c (__nisfind_server): Likewise.
9310         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9311         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9312         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9313         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9314         * nis/nis_lookup.c (nis_lookup): Likewise.
9315         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9316         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9317         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9318         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9319         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9320         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9321         * nis/nss_compat/compat-initgroups.c (add_group)
9322         (internal_getgrent_r): Likewise.
9323         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9324         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9325         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9326         (internal_getspnam_r): Likewise.
9327         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9328         (_nss_nis_getaliasbyname_r): Likewise.
9329         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9330         (_nss_nis_getntohost_r): Likewise.
9331         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9332         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9333         (_nss_nis_getgrgid_r): Likewise.
9334         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9335         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9336         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9337         (_nss_nis_gethostbyname4_r): Likewise.
9338         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9339         (initgroups_netid): Likewise.
9340         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9341         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9342         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9343         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9344         (_nss_nis_getprotobynumber_r): Likewise.
9345         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9346         (_nss_nis_getsecretkey): Likewise.
9347         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9348         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9349         (_nss_nis_getpwuid_r): Likewise.
9350         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9351         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9352         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9353         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9354         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9355         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9356         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9357         Likewise.
9358         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9359         (_nss_nisplus_getntohost_r): Likewise.
9360         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9361         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9362         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9363         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9364         Likewise.
9365         * nis/nss_nisplus/nisplus-initgroups.c
9366         (_nss_nisplus_initgroups_dyn): Likewise.
9367         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9368         (_nss_nisplus_getnetbyaddr_r): Likewise.
9369         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9370         (_nss_nisplus_getprotobynumber_r): Likewise.
9371         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9372         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9373         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9374         Likewise.
9375         * nis/nss_nisplus/nisplus-service.c
9376         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9377         (_nss_nisplus_getservbyport_r): Likewise.
9378         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9379         (_nss_nisplus_getspnam_r): Likewise.
9380         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9381         Likewise.
9382         * nscd/aicache.c (addhstaiX): Likewise.
9383         * nscd/cache.c (cache_search, prune_cache): Likewise.
9384         * nscd/connections.c (register_traced_file, send_ro_fd)
9385         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9386         (main_loop_epoll): Likewise.
9387         * nscd/grpcache.c (addgrbyX): Likewise.
9388         * nscd/hstcache.c (addhstbyX): Likewise.
9389         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9390         * nscd/mem.c (gc, mempool_alloc): Likewise.
9391         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9392         (addinnetgrX): Likewise.
9393         * nscd/nscd-client.h (__nscd_acquire_maplock)
9394         (__nscd_drop_map_ref): Likewise.
9395         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9396         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9397         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9398         Likewise.
9399         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9400         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9401         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9402         (__nscd_get_map_ref): Likewise.
9403         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9404         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9405         Likewise.
9406         * nscd/pwdcache.c (addpwbyX): Likewise.
9407         * nscd/selinux.c (preserve_capabilities): Likewise.
9408         * nscd/servicescache.c (addservbyX): Likewise.
9409         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9410         * posix/fnmatch.c (fnmatch): Likewise.
9411         * posix/getopt.c (_getopt_internal_r): Likewise.
9412         * posix/glob.c (glob, glob_in_dir): Likewise.
9413         * posix/wordexp.c (exec_comm_child): Likewise.
9414         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9415         (getanswer_r, gaih_getanswer_slice): Likewise.
9416         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9417         * resolv/res_init.c: Likewise.
9418         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9419         * resolv/res_query.c (__libc_res_nquery): Likewise.
9420         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9421         Likewise.
9422         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9423         * stdio-common/perror.c (perror): Likewise.
9424         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9425         * stdio-common/tmpnam.c (tmpnam): Likewise.
9426         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9427         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9428         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9429         Likewise.
9430         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9431         * stdlib/putenv.c (putenv): Likewise.
9432         * stdlib/setenv.c (__add_to_environ): Likewise.
9433         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9434         * stdlib/strtol_l.c (INTERNAL): Likewise.
9435         * string/memmem.c (memmem): Likewise.
9436         * string/strerror.c (strerror): Likewise.
9437         * string/strnlen.c (__strnlen): Likewise.
9438         * string/test-memmem.c (simple_memmem): Likewise.
9439         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9440         * sunrpc/pm_getport.c (__get_socket): Likewise.
9441         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9442         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9443         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9444         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9445         Likewise.
9446         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9447         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9448         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9449         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9450         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9451         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9452         Likewise.
9453         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9454         Likewise.
9455         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9456         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9457         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9458         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9459         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9460         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9461         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9462         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9463         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9464         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9465         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9466         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9467         Likewise.
9468         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9469         Likewise.
9470         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9471         Likewise.
9472         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9473         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9474         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9475         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9476         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9477         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9478         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9479         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9480         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9481         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9482         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9483         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9484         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9485         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9486         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9487         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9488         Likewise.
9489         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9490         Likewise.
9491         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9492         Likewise.
9493         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9494         Likewise.
9495         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9496         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9497         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9498         Likewise.
9499         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9500         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9501         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9502         * sysdeps/posix/sleep.c: Likewise.
9503         * sysdeps/posix/tempname.c: Likewise.
9504         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9505         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9506         Likewise.
9507         * sysdeps/powerpc/powerpc32/dl-machine.h
9508         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9509         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9510         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9511         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9512         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9513         Likewise.
9514         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9515         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9516         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9517         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9518         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9519         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9520         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9521         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9522         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9523         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9524         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9525         (elf_machine_lazy_rel): Likewise.
9526         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9527         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9528         (elf_machine_lazy_rel): Likewise.
9529         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9530         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9531         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9532         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9533         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9534         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9535         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9536         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9537         Likewise.
9538         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9539         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9540         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9541         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9542         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9543         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9544         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9545         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9546         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9547         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9548         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9549         Likewise.
9550         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9551         (__posix_fallocate64_l64): Likewise.
9552         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9553         (posix_fallocate): Likewise.
9554         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9555         Likewise.
9556         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9557         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9558         (getifaddrs_internal): Likewise.
9559         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9560         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9561         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9562         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9563         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9564         (__posix_fallocate64_l64): Likewise.
9565         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9566         Likewise.
9567         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9568         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9569         (__get_clockfreq): Likewise.
9570         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9571         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9572         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9573         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9574         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9575         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9576         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9577         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9578         Likewise.
9579         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9580         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9581         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9582         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9583         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9584         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9585         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9586         Likewise.
9587         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9588         (posix_fallocate): Likewise.
9589         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9590         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9591         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9592         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9593         (elf_machine_rela, elf_machine_rela_relative)
9594         (elf_machine_lazy_rel): Likewise.
9595         * time/asctime.c (asctime_internal): Likewise.
9596         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9597         * time/tzset.c (__tzset_parse_tz): Likewise.
9598         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9599         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9600         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9601         * wcsmbs/wcsmbsload.h: Likewise.
9603         [BZ #15894]
9604         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9606         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9607         (arena_get2): Remove THREAD_STATS conditionals.
9608         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9609         (__malloc_stats, int): Likewise.
9611 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9613         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9614         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9616         * manual/setjmp.texi: Fix typos/grammar errors.
9618         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9619         Only return early when n is <= 0.  Delete unused return statement.
9621         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9622         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9623         * debug/tst-longjmp_chk3.c: New file.
9625         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9626         (test_main): Replace code with set_fortify_handler call.
9627         * debug/test-strcpy_chk.c: Likewise.
9628         * debug/tst-chk1.c: Likewise.
9629         * debug/tst-longjmp_chk.c: Likewise.
9630         * test-skeleton.c: Include fcntl.h & paths.h
9631         (set_fortify_handler): Define.
9633         * debug/tst-longjmp_chk.c: Add header comment and include
9634         ../test-skeleton.c.
9635         (do_test): Mark static.
9636         (TEST_FUNCTION): Define.
9638         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9639         (IP_PMTUDISC_INTERFACE): Likewise.
9640         (IP_MULTICAST_IF): Likewise.
9641         (IP_MULTICAST_TTL): Likewise.
9642         (IP_MULTICAST_LOOP): Likewise.
9643         (IP_ADD_MEMBERSHIP): Likewise.
9644         (IP_DROP_MEMBERSHIP): Likewise.
9645         (IP_UNBLOCK_SOURCE): Likewise.
9646         (IP_BLOCK_SOURCE): Likewise.
9647         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9648         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9649         (IP_MSFILTER): Likewise.
9650         (MCAST_JOIN_GROUP): Likewise.
9651         (MCAST_BLOCK_SOURCE): Likewise.
9652         (MCAST_UNBLOCK_SOURCE): Likewise.
9653         (MCAST_LEAVE_GROUP): Likewise.
9654         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9655         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9656         (MCAST_MSFILTER): Likewise.
9657         (IP_MULTICAST_ALL): Likewise.
9658         (IP_UNICAST_IF): Likewise.
9660         * timezone/Makefile: Delete $(have-ksh) check.
9661         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9662         * timezone/tzselect.ksh: Add +x mode bits.
9664         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9665         (ANON_INODE_FS_MAGIC): Likewise.
9666         (BDEVFS_MAGIC): Likewise.
9667         (BINFMTFS_MAGIC): Likewise.
9668         (BTRFS_TEST_MAGIC): Likewise.
9669         (CRAMFS_MAGIC_WEND): Likewise.
9670         (DEBUGFS_MAGIC): Likewise.
9671         (ECRYPTFS_SUPER_MAGIC): Likewise.
9672         (EXT3_SUPER_MAGIC): Likewise.
9673         (EXT4_SUPER_MAGIC): Likewise.
9674         (FUTEXFS_SUPER_MAGIC): Likewise.
9675         (HOSTFS_SUPER_MAGIC): Likewise.
9676         (HUGETLBFS_MAGIC): Likewise.
9677         (MINIX3_SUPER_MAGIC): Likewise.
9678         (MTD_INODE_FS_MAGIC): Likewise.
9679         (NILFS_SUPER_MAGIC): Likewise.
9680         (OPENPROM_SUPER_MAGIC): Likewise.
9681         (PIPEFS_MAGIC): Likewise.
9682         (PSTOREFS_MAGIC): Likewise.
9683         (QNX6_SUPER_MAGIC): Likewise.
9684         (RAMFS_MAGIC): Likewise.
9685         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9686         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9687         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9688         (SECURITYFS_MAGIC): Likewise.
9689         (SELINUX_MAGIC): Likewise.
9690         (SMACK_MAGIC): Likewise.
9691         (SOCKFS_MAGIC): Likewise.
9692         (SQUASHFS_MAGIC): Likewise.
9693         (STACK_END_MAGIC): Likewise.
9694         (TMPFS_MAGIC): Likewise.
9695         (USBDEVICE_SUPER_MAGIC): Likewise.
9696         (V9FS_MAGIC): Likewise.
9697         (XENFS_SUPER_MAGIC): Likewise.
9698         (CRAMFS_MAGIC): Fix typo in comment.
9699         (EXT2_SUPER_MAGIC): Update comment.
9700         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9702 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9704         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9705         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9706         * sysdeps/unix/sysv/linux/arm: Move directory from
9707         ports/sysdeps/unix/sysv/linux/arm.
9708         * README: Update listing for arm-*-linux-gnueabi.
9710         * README: Remove mention of am33.
9712 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9714         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9715         than the comma operator, to avoid "rhs of comma has no effect"
9716         compiler warnings.
9717         (__sigfillset, __sigandset, __sigorset): Likewise.
9718         * include/signal.h (__sigemptyset): Likewise.
9719         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9721 2014-02-07  Allan McRae  <allan@archlinux.org>
9723         * version.h (RELEASE): Set to "development".
9724         (VERSION): Set to "2.19.90"
9725         * NEWS: Add 2.20 section.
9727 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9729         [BZ #16529]
9730         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9732 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9734         * manual/contrib.texi: Update entry for Carlos O'Donell,
9735         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9737 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9739         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9741         * sysdeps/unix/sysv/linux/kernel-features.h
9742         [__LINUX_KERNEL_VERSION >= 0x020621]
9743         (__ASSUME_PROC_PID_TASK_COMM): Define.
9745 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9747         [BZ #16398]
9748         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9749         conversion when destination buffer does not have enough space.
9750         * libio/tst-ftell-partial-wide.c: New test case.
9751         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9753         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9754         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9755         Leonard and Allan McRae.
9757 2014-02-04  David S. Miller  <davem@davemloft.net>
9759         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9760         32-bit.
9762 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9765         New file
9766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9767         New file
9768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9769         New file.
9770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9771         New file.
9772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9773         New file.
9774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9775         New file.
9776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9777         New file.
9778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9779         New file.
9780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9781         New file.
9782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9783         New file.
9784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9785         New file.
9786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9787         New file.
9788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9789         New file.
9791 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9793         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9794         * shlib-versions: Likewise.
9796 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9797             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9799         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9800         (abilist-pattern): New variable, set to %-le.abilist.
9802         * Makerules (abilist-pattern): New variable.
9803         (vpath): Use $(abilist-pattern) in place of %.abilist.
9804         (check-abi-% pattern rule): Likewise.
9805         (check-abi, update-abi): Likewise.
9807 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9809         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9811 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9813         * manual/startup.texi: Add next, previous, and top entries for
9814         the `Program Arguments' and `Environment Variables' nodes.
9816 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9818         * manual/macros.texi: Add comments before MTASC-safety macros.
9820         * manual/users.texi: Document MTASC-safety properties.
9822         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9823         (pthread_getspecific, pthread_setspecific): Format with
9824         @deftypefun, and add @safety note.
9825         * manual/signal.texi: Move comments that analyze the above
9826         functions to their home place.
9828 2014-02-03  Allan McRae  <allan@archlinux.org>
9830         * po/sl.po: Update Slovenian translation from translation project.
9832 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9834         * manual/time.texi (timegm): Add missing blank after @c.
9835         Reported by Joseph Myers <joseph@codesourcery.com>.
9837 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9839         * manual/check-safety.sh: New.
9840         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9842         * manual/terminal.texi: Document MTASC-safety properties.
9844         * manual/filesys.texi: Document MTASC-safety properties.
9846         * manual/errno.texi: Document MTASC-safety properties.
9848         * manual/intro.texi: Document safety identifiers and
9849         conditionals.
9851         * manual/string.texi (wcstok): Fix prototype.
9852         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9854         * manual/time.texi: Document MTASC-safety properties.
9856         * manual/string.texi: Document MTASC-safety properties.
9858         * manual/threads.texi: Document MTASC-safety properties.
9860         * manual/stdio.texi: Document MTASC-safety properties.
9862         * manual/syslog.texi: Document MTASC-safety properties.
9864         * manual/sysinfo.texi: Document MTASC-safety properties.
9866         * manual/startup.texi: Document MTASC-safety properties.
9868         * manual/socket.texi: Document MTASC-safety properties.
9870         * manual/signal.texi: Document MTASC-safety properties.
9872 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9874         * manual/setjmp.texi: Document MTASC-safety properties.
9876         * manual/search.texi: Document MTASC-safety properties.
9878         * manual/resource.texi: Document MTASC-safety properties.
9880         * manual/process.texi: Document MTASC-safety properties.
9882         * manual/platform.texi: Document MTASC-safety properties.
9884         * manual/pipe.texi: Document MTASC-safety properties.
9886         * manual/pattern.texi: Document MTASC-safety properties.
9888         * manual/message.texi: Document MTASC-safety properties.
9890         [BZ #12751]
9891         * manual/memory.texi: Document MTASC-safety properties.
9893         * manual/math.texi: Document MTASC-safety properties.
9895         * manual/locale.texi: Document MTASC-safety properties.
9897         * manual/llio.texi: Document MTASC-safety properties.
9899         * manual/libdl.texi: New.
9901         * manual/lang.texi: Document MTASC-safety properties.
9903         * manual/job.texi: Document MTASC-safety properties.
9905         * manual/getopt.texi: Document MTASC-safety properties.
9907         * manual/ctype.texi: Document MTASC-safety properties.
9909 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9911         [BZ #16046]
9912         * csu/libc-tls.c (static_map): Remove variable.
9913         (__libc_setup_tls): Use main executable's link map for TLS data.
9914         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9915         casing for LM_ID_BASE and GL(dl_nns).
9916         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9917         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9918         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9919         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9920         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9921         member.
9922         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9923         l_phnum members.
9925 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9927         * manual/debug.texi: Document MTASC-safety properties.
9929 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9931         [BZ #16510]
9932         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9933         of __x86_64__ when disabling x87 inline functions.
9935 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9937         * manual/charset.texi: Document MTASC-safety properties.
9939         * manual/crypt.texi: Document MTASC-safety properties.
9941         * manual/conf.texi: Document MTASC-safety properties.
9943         * manual/arith.texi: Document MTASC-safety properties.
9945         * manual/argp.texi: Document MTASC-safety properties.
9947         * manual/macros.texi: Introduce macros to document multi
9948         thread, asynchronous signal and asynchronous cancellation
9949         safety properties.
9950         * manual/intro.texi: Introduce the properties themselves.
9952 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9954         * sysdeps/sh/sh4/Makefile: New file.
9956 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9958         * math/gen-libm-test.pl ($srcdir): New variable.
9959         ($auto_input): Use it.
9961 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9963         [BZ #16506]
9964         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9965         access beyond array bounds when parsing netgroups file.
9967         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9968         the old buffer before realloc.
9970 2014-01-27  Allan McRae  <allan@archlinux.org>
9972         * po/fr.po: Update French translation from translation project.
9974 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9976         * sysdeps/sh/libm-test-ulps: Regenerate.
9978 2014-01-24  David S. Miller  <davem@davemloft.net>
9980         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9982 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9984         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9985         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9987 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9989         [BZ #16474]
9990         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9991         string pointers after reallocation.
9993 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9995         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9996         __SH4A__ instead of __SH_FPU_ANY__.
9998 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10000         * sysdeps/sh/fpu_control.h: New file.
10001         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10002         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10003         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10004         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10005         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10006         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10007         * sysdeps/sh/sys/ucontext.h: Remove.
10008         * sysdeps/sh/sys: Remove directory.
10010 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10012         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10013         s390/sys/ucontext.h.
10014         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10015         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10017 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10019         [BZ #15605]
10020         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10022 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10024         [BZ#16431]
10025         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10026         Adjust the vDSO correctly for internal calls.
10027         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10029 2014-01-20  Allan McRae  <allan@archlinux.org>
10031         * po/ca.po: Update Catalan translation from translation project.
10033 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10035         * sysdeps/s390/sotruss-lib.c: New file.
10037 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10039         [BZ#16430]
10040         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10041         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10042         local calls issues by not having a PLT stub required for IFUNC calls.
10043         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10045 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10047         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10048         * math/test-fpucw-static.c: Likewise.
10050 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10052         [BZ #16453]
10053         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10055 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10057         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10058         implementation for powerpc.
10060 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10062         [BZ #14782]
10063         * sysdeps/posix/system.c (__libc_system): Do not enable
10064         asynchronous cancellation.
10066 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10068         [BZ #16427]
10069         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10070         handling only for numbers special also in the IEEE case.
10072 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10074         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10076 2014-01-11  Allan McRae  <allan@archlinux.org>
10078         * po/bg.po: Update Bulgarian translation from translation project.
10080         * po/de.po: Update German translation from translation project.
10082 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10084         * sysdeps/generic/gcc-compat.h: New file.
10086 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10088         * benchtests/asin-inputs: Correct slow inputs.
10089         * benchtests/acos-inputs: Likewise.
10091 2014-01-10  Allan McRae  <allan@archlinux.org>
10093         * po:sv.po: Update Swedish translation from translation project.
10095         * po/vi.po: Update Vietnamese translation from translation project.
10097         * po/eo.po: Update Esperanto translation from translation project.
10099         * po/cs.po: Update Czech translation from translation project.
10101         * po/nl.po: Update Dutch translation from translation project.
10103         * po/pl.po: Update Polish translation from translation project.
10105         * po/ru.po: Update Russian translation from translation project.
10107         * po/uk.po: Update Ukrainian translation from translation project.
10109 2014-01-08  Brooks Moses  <bmoses@google.com>
10111         * elf/dl-load.c: Fix comment typo.
10113 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10115         * po/header.pot: Rename to...
10116         * po/pot.header: ... this.
10117         * po/Makefile: Use pot.header.
10119 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10120             Maxim Kuvyrkov  <maxim@kugelworks.com>
10122         [BZ #16394]
10123         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10124         SRC and DEST against LEN.
10126 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10128         [BZ #16414]
10129         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10130         implementation.
10131         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10133 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10137 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10139         [BZ #16408]
10140         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10141         for large positive arguments.
10143 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10145         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10147         * math/auto-libm-test-in: Mark various tests with
10148         xfail-rounding:ldbl-128ibm.
10149         * math/auto-libm-test-out: Regenerated.
10151         [BZ #16407]
10152         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10153         Increase overflow threshold.
10155 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10157         [BZ #14286]
10158         * stdio-common/vfprintf.c: Check for integer overflow.
10160 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10162         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10163         the first argument and return value of __tls_get_addr_internal.
10165 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10167         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10168         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10170 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10172         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10173         * sysdeps/s390/rtld-global-offsets.sym: New file.
10174         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10175         GLIBC_2.19 symbol.
10176         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10177         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10178         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10179         ... this.
10180         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10181         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10182         ... this.
10183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10184         Regenerate.
10185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10186         Regenerate.
10187         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10188         halfs of GPRs for high_gprs contexts.
10189         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10190         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10191         field.
10192         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10193         uc_flags field.
10194         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10195         64 bit versions:
10196         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10197         for high GPRs (uc_high_gprs) and for future extensions
10198         (__reserved).
10199         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10200         for future extensions (__reserved).
10201         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10202         64 bit versions:
10203         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10204         SC_HIGHGPRS offset definition.
10205         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10206         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10208         * Versions.def: Add GLIBC_2.19 for libpthread.
10209         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10210         siglongjmp for libpthread with GLIBC_2.19 symver.
10211         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10212         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10213         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10214         * sysdeps/s390/__longjmp.c: New file.
10215         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10216         * sysdeps/s390/longjmp.c: New file.
10217         * sysdeps/s390/setjmp.S: New file.
10218         * sysdeps/s390/sigjmp.S: New file.
10219         * sysdeps/s390/v1-longjmp.c: New file.
10220         * sysdeps/s390/v1-setjmp.h: New file.
10221         * sysdeps/s390/v1-sigjmp.c: New file.
10222         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10223         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10224         GLIBC_2.19 version.
10225         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10226         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10227         versioned symbols for ____longjmp_chk.
10228         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10229         Likewise.
10230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10231         Regenerate.
10232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10233         Regenerate.
10234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10235         Regenerate.
10236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10237         Regenerate.
10238         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10239         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10240         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10241         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10242         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10243         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10244         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10245         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10246         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10247         * sysdeps/s390/rtld-__longjmp.c: New file.
10248         * sysdeps/s390/rtld-setjmp.S: New file.
10250 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10252         [BZ #16400]
10253         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10254         Return -__logl (x) for small positive arguments without evaluating
10255         a polynomial.
10257 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10259         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10260         Rename to ...
10261         (__ptrace_peeksiginfo_args): ... this.
10262         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10263         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10264         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10266 2014-01-06  Allan McRae  <allan@archlinux.org>
10268         * inet/netinet/in.h: Fix typo in comment.
10270 2014-01-05  Andreas Jaeger  <aj@suse.de>
10272         * sysdeps/i386/fpu/libm-test-ulps: Update.
10274 2014-01-05  Allan McRae  <allan@archlinux.org>
10276         * po/libc.pot: Regenerated.
10278         * malloc/memusagestat.c: Fix gettext call formatting.
10280 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10282         * nscd/nscd.c: Improve usage() output.
10284 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10286         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10287         * sysdeps/unix/sysv/linux/configure: Regenerated.
10288         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10289         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10291 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10293         [BZ #16390]
10294         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10295         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10297 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10299         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10300         extra tokens at end of #undef directive.
10301         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10302         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10303         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10305 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10307         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10309         * math/auto-libm-test-in: Mark various tests with
10310         xfail-rounding:ldbl-128ibm.
10311         * math/auto-libm-test-out: Regenerated.
10313 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10315         [BZ #16386]
10316         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10317         numbers with subnormal high part when calculating exponent.
10319         [BZ #16385]
10320         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10321         fabs.
10323         [BZ #16384]
10324         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10325         M_LN2l.
10326         (__ieee754_acoshl): Use __log1pl not __log1p.
10328 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10330         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10331         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10332         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10333         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10334         (reused_arena, arena_get2): Convert to GNU style.
10335         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10336         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10337         (memalign_check, __malloc_set_state): Likewise.
10338         * malloc/mallocbug.c (main): Likewise.
10339         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10340         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10341         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10342         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10343         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10344         (__posix_memalign, malloc_info): Likewise.
10345         * malloc/malloc.h: Likewise.
10346         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10347         (mallochook, memalignhook, reallochook, mabort): Likewise.
10348         * malloc/mcheck.h: Likewise.
10349         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10350         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10351         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10352         * malloc/morecore.c (__default_morecore): Likewise.
10353         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10354         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10355         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10356         (print_and_abort): Likewise.
10357         * malloc/obstack.h: Likewise.
10358         * malloc/set-freeres.c (__libc_freeres): Likewise.
10359         * malloc/tst-mallocstate.c (main): Likewise.
10360         * malloc/tst-mtrace.c (main): Likewise.
10361         * malloc/tst-realloc.c (do_test): Likewise.
10363 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10365         [BZ #16366]
10366         * nscd/netgroupcache.c (do_notfound): New function.
10367         (addgetnetgrentX): Use it.
10369         [BZ # 16365]
10370         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10371         NSS_STATUS_NOTFOUND.
10373 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10375         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10378 2014-01-01  Allan McRae  <allan@archlinux.org>
10380         * scripts/update-copyrights: Update configure input file suffix.
10382         * NEWS: Update copyright year.
10383         * catgets/gencat.c: Likewise.
10384         * csu/version.c: Likewise.
10385         * debug/catchsegv.sh: Likewise.
10386         * debug/pcprofiledump.c: Likewise.
10387         * debug/xtrace.sh: Likewise.
10388         * elf/ldconfig.c: Likewise.
10389         * elf/ldd.bash.in: Likewise.
10390         * elf/pldd.c: Likewise.
10391         * elf/sotruss.ksh: Likewise.
10392         * elf/sprof.c: Likewise.
10393         * iconv/iconv_prog.c: Likewise.
10394         * iconv/iconvconfig.c: Likewise.
10395         * locale/programs/locale.c: Likewise.
10396         * locale/programs/localedef.c: Likewise.
10397         * login/programs/pt_chown.c: Likewise.
10398         * malloc/memusage.sh: Likewise.
10399         * malloc/memusagestat.c: Likewise.
10400         * malloc/mtrace.pl: Likewise.
10401         * manual/libc.texinfo: Likewise.
10402         * nscd/nscd.c: Likewise.
10403         * nss/getent.c: Likewise.
10404         * nss/makedb.c: Likewise.
10405         * posix/getconf.c: Likewise.
10406         * scripts/test-installation.pl: Likewise.
10408         * All files with FSF copyright notices: Update copyright dates
10409         using scripts/update-copyrights.
10410         * intl/plural.c: Regenerated.
10411         * locale/programs/charmap-kw.h: Likewise.
10412         * locale/programs/locfile-kw.h: Likewise.
10414 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10416         * sysdeps/unix/sysv/linux/configure: Regenerated.
10417         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10418         the linux/fanotify.h header.
10419         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10420         HAVE_LINUX_FANOTIFY_H is defined.
10422 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10424         * benchtests/cos-inputs: New inputs.
10425         * benchtests/sin-inputs: Likewise.
10427         * benchtests/atan-inputs: New inputs. Fix name of multiple
10428         precision fallback inputs.
10430         * benchtests/atanh-inputs: New inputs.
10431         * benchtests/tanh-inputs: Likewise.
10433         * benchtests/acosh-inputs: New inputs.
10434         * benchtests/asinh-inputs: Likewise.
10436         * benchtests/cosh-inputs: New inputs.
10437         * benchtests/sinh-inputs: Likewise.
10439         * benchtests/acos-inputs: Add more inputs.
10440         * benchtests/asin-inputs: Likewise.
10442 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10444         [BZ #16375]
10445         * manual/arith.texi: Fix spelling.
10446         * manual/charset.texi: Likewise.
10447         * manual/errno.texi: Likewise.
10448         * manual/filesys.texi: Likewise.
10449         * manual/lang.texi: Likewise.
10450         * manual/llio.texi: Likewise.
10451         * manual/locale.texi: Likewise.
10452         * manual/message.texi: Likewise.
10453         * manual/resource.texi: Likewise.
10454         * manual/search.texi: Likewise.
10455         * manual/setjmp.texi: Likewise.
10456         * manual/stdio.texi: Likewise.
10457         * manual/string.texi: Likewise.
10458         * manual/sysinfo.texi: Likewise.
10459         * manual/time.texi: Likewise.
10461 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10463         * po/sl.po: New file.
10465 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10467         * .gitignore: Add core/.gdbinit/.gdb_history.
10469 2013-12-27  Allan McRae  <allan@archlinux.org>
10471         [BZ #16369]
10472         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10473         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10475 2013-12-24  Brooks Moses  <bmoses@google.com>
10477         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10478         all compilers that claim C++98 compliance, not just GCC.
10479         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10480         Likewise.
10482 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10484         * NEWS: Restore accidentally deleted bug-fix entries.
10486 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10487             Ondřej Bílka  <neleai@seznam.cz>
10489         [BZ #15073]
10490         * malloc/malloc.c (_int_free): Perform sanity check only if we
10491         have_lock.
10493 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10495         [BZ #12986]
10496         * manual/stdio.texi (String Input Conversions): Clarify that character
10497         classes are not supported.
10499 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10503 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10505         [BZ #16337]
10506         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10507         Calculate results for small negative arguments directly rather
10508         than using reflection formula with special underflow handling.
10510         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10511         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10512         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10513         (fchflags): Likewise.
10514         (revoke): Likewise.
10515         (setlogin): Likewise.
10516         (sigaltstack): Likewise.
10517         (wait4): Likewise.
10518         (sigblock): Remove.
10519         (sigsetmask): Likewise.
10520         (wait3): Likewise.
10521         (waitpid): Likewise.
10522         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10523         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10524         file.
10525         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10526         * sysdeps/unix/bsd/Makefile: ... here.
10527         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10528         * sysdeps/unix/bsd/Versions: ... here.
10529         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10530         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10531         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10532         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10533         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10534         * sysdeps/unix/bsd/sigblock.c: ... here.
10535         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10536         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10537         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10538         * sysdeps/unix/bsd/sigvec.c: ... here.
10539         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10540         * sysdeps/unix/bsd/tcdrain.c: ... here.
10541         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10542         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10543         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10544         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10545         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10546         * sysdeps/unix/bsd/wait.c: ... here.
10547         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10548         * sysdeps/unix/bsd/wait3.c: ... here.
10549         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10550         * sysdeps/unix/bsd/waitpid.c: ... here.
10552 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10554         [BZ #16356]
10555         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10556         round-to-nearest for [!USE_AS_EXPM1L].
10557         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10558         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10559         more tests of exp and exp10.  Expect some exp10 tests to miss
10560         exceptions or fail in directed rounding modes.
10561         * math/auto-libm-test-out: Regenerated.
10562         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10563         (exp10_test_tonearest): New function.
10564         (exp10_towardzero_test_data): New array.
10565         (exp10_test_towardzero): New function.
10566         (exp10_downward_test_data): New array.
10567         (exp10_test_downward): New function.
10568         (exp10_upward_test_data): New array.
10569         (exp10_test_upward): New function.
10570         (main): Call the new functions.
10571         * sysdeps/i386/fpu/libm-test-ulps: Update.
10572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10574 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10576         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10577         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10578         * math/auto-libm-test-out: Regenerated.
10579         * math/libm-test.inc (acosh_test_data): Add more tests.
10580         (atanh_test_data): Likewise.
10581         (ceil_test_data): Likewise.
10582         (copysign_test_data): Likewise.
10583         * sysdeps/i386/fpu/libm-test-ulps: Update.
10584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10586         * timezone/checktab.awk: Update from tzcode 2013i.
10587         * timezone/private.h: Likewise.
10588         * timezone/scheck.c: Likewise.
10589         * timezone/tzfile.h: Likewise.
10590         * timezone/tzselect.ksh: Likewise.
10591         * timezone/zdump.c: Likewise.
10592         * timezone/zic.c: Likewise.
10594         * math/auto-libm-test-in: Add tests of cpow.
10595         * math/auto-libm-test-out: Regenerated.
10596         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10597         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10598         mpc_cc_c.
10599         (func_calc_desc): Add mpc_cc_c union field.
10600         (test_functions): Add cpow.
10601         (special_fill_2pi): New function.
10602         (special_real_inputs): Add 2pi.
10603         (calc_generic_results): Handle mpc_cc_c.
10604         * sysdeps/i386/fpu/libm-test-ulps: Update.
10605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10607         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10608         csqrt, ctan and ctanh.
10609         * math/auto-libm-test-out: Regenerated.
10610         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10611         (TEST_COND_x86): Likewise.
10612         (ccos_test_data): Use AUTO_TESTS_c_c.
10613         (ccosh_test_data): Likewise.
10614         (cexp_test_data): Likewise.
10615         (clog_test_data): Likewise.
10616         (csqrt_test_data): Likewise.
10617         (ctan_test_data): Likewise.
10618         (ctan_tonearest_test_data): Likewise.
10619         (ctan_towardzero_test_data): Likewise.
10620         (ctan_downward_test_data): Likewise.
10621         (ctan_upward_test_data): Likewise.
10622         (ctanh_test_data): Likewise.
10623         (ctanh_tonearest_test_data): Likewise.
10624         (ctanh_towardzero_test_data): Likewise.
10625         (ctanh_downward_test_data): Likewise.
10626         (ctanh_upward_test_data): Likewise.
10627         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10628         mpc_c_c.
10629         (func_calc_desc): Add mpc_c_c union field.
10630         (FUNC_mpc_c_c): New macro.
10631         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10632         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10633         ctanh.
10634         (special_fill_min_subnorm_p120): New function.
10635         (special_real_inputs): Add min_subnorm_p120.
10636         (calc_generic_results): Handle mpc_c_c.
10637         * sysdeps/i386/fpu/libm-test-ulps: Update.
10638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10640 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10642         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10643         (do_sin_slow): New functions.
10644         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10645         (cslow2, csloww1, csloww2): Use the new functions.
10647         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10648         Use M to change sign of result instead of X.  Assume X is
10649         positive.
10650         (csloww1): Likewise.
10651         (__sin): Adjust.
10652         (__cos): Adjust.
10654         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10655         arguments A and DA.
10656         (__sin): Adjust.
10657         (__cos): Likewise.
10659         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10660         (__cos): Likewise.
10661         (sloww1): Don't adjust sign of DX.
10662         (csloww1): Likewise.
10663         (sloww2): Use X directly and don't adjust sign of DX.
10664         (csloww2): Likewise.
10666 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10668         * math/auto-libm-test-in: Add tests of cabs and carg.
10669         * math/auto-libm-test-out: Regenerated.
10670         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10671         (carg_test_data): Likewise.
10672         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10673         mpc_c_f.
10674         (func_calc_desc): Add mpc_c_f union field.
10675         (test_functions): Add cabs and carg.
10676         (calc_generic_results): Handle mpc_c_f.
10678         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10679         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10680         as a macro and a compat symbol.
10681         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10682         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10683         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10684         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10685         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10686         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10687         not use .hidden.
10688         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10689         Likewise.
10690         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10691         Likewise.
10692         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10693         Likewise.
10694         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10695         Likewise.
10696         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10697         Likewise.
10698         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10699         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10700         from GLIBC_2.3.2.
10702 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10706 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10708         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10709         trailing whitespace removed.
10710         * scripts/config.guess: Update to version 2013-11-29.
10711         * scripts/config.sub: Update to version 2013-10-01.
10713         * math/auto-libm-test-in: Add tests of sincos.
10714         * math/auto-libm-test-out: Regenerated.
10715         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10716         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10717         mpfr_f_11.
10718         (func_calc_desc): Add mpfr_f_11 union field.
10719         (test_functions): Add sincos.
10720         (calc_generic_results): Handle mpfr_f_11.
10721         * sysdeps/i386/fpu/libm-test-ulps: Update.
10722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10724 2013-12-19  Andreas Schwab  <schwab@suse.de>
10726         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10727         CALL_MCOUNT.
10728         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10729         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10730         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10732 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10734         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10735         * sysdeps/i386/fpu/libm-test-ulps: Update.
10736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10738         [BZ #16293]
10739         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10740         round-to-nearest mode when using frndint.
10741         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10742         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10743         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10744         Likewise.
10745         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10746         sinh test to fail.
10747         * math/auto-libm-test-out: Regenerated.
10748         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10749         (TEST_COND_x86): Likewise.
10750         (expm1_tonearest_test_data): New array.
10751         (expm1_test_tonearest): New function.
10752         (expm1_towardzero_test_data): New array.
10753         (expm1_test_towardzero): New function.
10754         (expm1_downward_test_data): New array.
10755         (expm1_test_downward): New function.
10756         (expm1_upward_test_data): New array.
10757         (expm1_test_upward): New function.
10758         (main): Run the new test functions.
10759         * sysdeps/i386/fpu/libm-test-ulps: Update.
10760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10762         * include/features.h: Update comment documenting feature test
10763         macros.  Mention _DEFAULT_SOURCE in comment.
10764         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10765         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10766         _BSD_SOURCE and _SVID_SOURCE.
10767         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10768         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10769         !_SVID_SOURCE]: Likewise.
10770         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10771         (__USE_POSIX_IMPLICITLY): Define.
10772         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10773         (_POSIX_SOURCE): Undefine and redefine.
10774         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10775         (_POSIX_C_SOURCE): Likewise.
10776         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10777         (Feature Test Macros): Update documentation of default features.
10779 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10781         * benchtests/Makefile: Add bench-strtok.
10782         * benchtests/bench-strtok.c: New file: strtok benchtest.
10784 2013-12-19  Allan McRae  <allan@archlinux.org>
10786         * manual/install.texi: Suppress menu for plain text output.
10787         * INSTALL: Regenerated.
10789 2013-12-18  Brooks Moses  <bmoses@google.com>
10791         [BZ #15846]
10792         * misc/getauxval.c: Include errno.h.
10793         (__getauxval): Set errno to ENOENT if the requested type is not
10794         found.
10795         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10796         don't declare with __attribute_const__.
10797         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10798         * manual/startup.texi: Document that getauxval sets errno.
10800 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10802         * math/auto-libm-test-in: Add tests of jn and yn.
10803         * math/auto-libm-test-out: Regenerated.
10804         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10805         (yn_test_data): Likewise.
10806         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10807         mpfr_if_f.
10808         (func_calc_desc): Add mpfr_if_f union field.
10809         (FUNC_mpfr_if_f): New macro.
10810         (test_functions): Add jn and yn.
10811         (calc_generic_results): Assert type of second input for
10812         mpfr_ff_f.  Handle mpfr_if_f.
10813         (output_for_one_input_case): Disable all checking for arguments
10814         fitting floating-point types in case of an integer argument.
10815         * sysdeps/i386/fpu/libm-test-ulps: Update.
10816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10819         Don't expect fegetround reference in libm.so.
10821 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10823         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10824         $(config-cflags-nofma).
10826 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10828         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10829         * math/auto-libm-test-out: Regenerated.
10831         [BZ #16338]
10832         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10833         to determine exponent and adjust argument to have exponent of -1.
10834         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10835         log2.
10836         * math/auto-libm-test-out: Regenerated.
10837         * sysdeps/i386/fpu/libm-test-ulps: Update.
10838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10840 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10842         * manual/probes.texi: Remove cases when per-thread arenas are
10843         disabled.
10845 2013-12-18  Andreas Schwab  <schwab@suse.de>
10847         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10848         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10849         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10850         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10851         * sysdeps/i386/i686/multiarch/Makefile: Update.
10852         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10854 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10856         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10857         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10859 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10861         [BZ #15968]
10862         Support TZ transition times < 00:00:00.
10863         This is needed for version-3 tz-format files; it supports time
10864         stamps past 2037 for America/Godthab (the only entry in the tz
10865         database for which this change is relevant).
10866         * manual/time.texi (TZ Variable): Document transition times
10867         from -167:59:59 through -00:00:01.
10868         * time/tzset.c (tz_rule): Time of day is now signed.
10869         (__tzset_parse_tz): Parse negative time of day.
10871         Document TZ transition times >= 25:00:00.
10872         * manual/time.texi (TZ Variable): Document transition times from
10873         25:00:00 through 167:59:59.  These are already supported, and this
10874         support will help with version-3 tz-format files.
10876         * manual/time.texi (TZ Variable): Modernize North America example
10877         to reflect current (i.e., 2007-and-later) daylight saving rules.
10879         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10881 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10883         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10884         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10885         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10886         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10887         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10888         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10889         * sysdeps/unix/bsd/clock.c: Likewise.
10890         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10891         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10892         * sysdeps/unix/bsd/init-posix.c: Likewise.
10893         * sysdeps/unix/bsd/poll.c: Likewise.
10894         * sysdeps/unix/bsd/ptsname.c: Likewise.
10895         * sysdeps/unix/bsd/seekdir.c: Likewise.
10896         * sysdeps/unix/bsd/setegid.c: Likewise.
10897         * sysdeps/unix/bsd/seteuid.c: Likewise.
10898         * sysdeps/unix/bsd/setgid.c: Likewise.
10899         * sysdeps/unix/bsd/setrgid.c: Likewise.
10900         * sysdeps/unix/bsd/setruid.c: Likewise.
10901         * sysdeps/unix/bsd/setsid.c: Likewise.
10902         * sysdeps/unix/bsd/setuid.c: Likewise.
10903         * sysdeps/unix/bsd/sigaction.c: Likewise.
10904         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10905         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10906         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10907         * sysdeps/unix/bsd/telldir.c: Likewise.
10908         * sysdeps/unix/bsd/times.c: Likewise.
10909         * sysdeps/unix/bsd/usleep.c: Likewise.
10911         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10912         ($(objpfx)libbsd-compat.a): Remove rule.
10914         * include/features.h (__FAVOR_BSD): Do not define.
10915         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10916         features conflicting with POSIX.
10917         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10918         (_BSD_SOURCE): Remove description of not being a subset of other
10919         feature test macros.
10920         * manual/job.texi (getpgrp): Do not document BSD version.
10921         (getpgid): Do not document by reference to BSD getpgrp.
10922         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10923         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10924         * signal/signal.h [__FAVOR_BSD]: Likewise.
10925         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10926         instead of making contents conditional on [__FAVOR_BSD].
10927         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10929 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10933 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10935         [BZ #16314]
10936         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10937         values below 2**-450, not 2**-500.
10938         * math/auto-libm-test-in: Don't allow spurious underflow from
10939         hypot.
10940         * math/auto-libm-test-out: Regenerated.
10942         [BZ #16316]
10943         [BZ #16330]
10944         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10945         values of ha and hb and sort them after adjusting subnormal
10946         arguments.
10947         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10948         Likewise.
10949         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10950         values of ea and eb and sort them after adjusting subnormal
10951         arguments.
10952         * math/auto-libm-test-in: Do not expect some hypot tests of
10953         subnormals to fail.  Add more hypot tests.
10954         * math/auto-libm-test-out: Regenerated.
10956 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10958         [BZ #13304]
10959         * sysdeps/sh/s_fma.c: New file.
10960         * sysdeps/sh/s_fmaf.c: New file.
10961         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10962         version.
10963         * sysdeps/sh/Implies: Add sh/soft-fp.
10965 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10967         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10968         level of indirection to members `objname', `errstring', `malloced'.
10969         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10970         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10971         it as the __longjmp argument (just pass 1 instead).
10972         (_dl_catch_error): Initialize C with argument pointers and address of
10973         volatile local ERRCODE rather than copying values out of C at return.
10975 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10977         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10978         * math/auto-libm-test-out: Regenerated.
10979         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10980         (hypot_test_data): Likewise.
10981         (pow_test_data): Likewise.
10982         (pow_tonearest_test_data): Likewise.
10983         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10984         mpfr_ff_f.
10985         (func_calc_desc): Add mpfr_ff_f union field.
10986         (FUNC_mpfr_ff_f): New macro.
10987         (test_functions): Add atan2, hypot and pow.
10988         (special_fill_min): New function.
10989         (special_fill_minus_min): Likewise.
10990         (special_fill_min_subnorm): Likewise.
10991         (special_fill_minus_min_subnorm): Likewise.
10992         (special_real_inputs): Add min, -min, min_subnorm and
10993         -min_subnorm.
10994         (calc_generic_results): Handle mpfr_ff_f.
10995         * sysdeps/i386/fpu/libm-test-ulps: Update.
10996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10998 2013-12-16  Will Newton  <will.newton@linaro.org>
11000         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11001         (Aligned Memory Blocks): Add documentation for aligned_alloc
11002         and suggest it as an alternative to posix_memalign.
11003         (Hooks for Malloc): Document __memalign_hook is also called
11004         for aligned_alloc.  (Summary of Malloc): Add summary for
11005         aligned alloc.  Document __memalign_hook is also called
11006         for aligned_alloc.
11008 2013-12-16  Will Newton  <will.newton@linaro.org>
11010         * manual/memory.texi (Malloc Examples): Clarify default
11011         alignment documentation.  Suggest posix_memalign rather
11012         than memalign or valloc.
11013         (Aligned Memory Blocks): Remove suggestion to use memalign
11014         or valloc.  Remove obsolete comment about BSD.
11015         Document memalign errno values and mark the function obsolete.
11016         Document posix_memalign returned error codes.  Mark valloc
11017         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11018         called for posix_memalign and valloc.
11019         (Summary of Malloc): Add posix_memalign to function summary.
11020         __memalign_hook is also called for posix_memalign and valloc.
11022 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11024         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11025         TAYLOR_SIN.
11026         (__sin): Adjust.
11027         (__cos): Likewise.
11028         (sloww): Use mynumber union.  Expand ternary operator into
11029         if-else statements.
11030         (cslow): use mynumber union.
11032 2013-12-16  Allan McRae  <allan@archlinux.org>
11034         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11035         * configure: Regenerated.
11037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11039         [BZ #14120]
11040         * configure.ac: Added --enable-maintainer-mode. Check for
11041         autoconf when enabled.
11042         * configure: Regenerated.
11044         * nscd/nscd.service: New file.
11045         * nscd/nscd.tmpfiles: New file.
11047 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11049         [BZ #12100]
11050         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11051         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11052         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11053         (strstr): Add __strstr_sse2_unaligned ifunc.
11054         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11055         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11056         (strcasestr): Remove __strcasestr_sse42 ifunc.
11057         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11058         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11059         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11061 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11063         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11064         * sysdeps/sh/bits/fenv.h: ... here.
11065         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11067 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11069         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11071         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11072         hypotf multiarch implementations.
11073         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11074         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11075         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11076         multiarch hypot for PPC64.
11077         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11078         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11079         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11080         multiarch hypotf for PPC64.
11082         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11083         modff multiarch implementations.
11084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11087         multiarch modf for PPC64.
11088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11091         multiarch modff for PPC64.
11093         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11094         and logl multiarch implementations.
11095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11098         multiarch logb for PPC64.
11099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11102         multiarch logb for PPC64.
11103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11106         multiarch logb for PPC64.
11108         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11109         isinff multiarch implementation.
11110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11111         file.
11112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11114         multiarch isinf for PPC64.
11115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11116         file.
11117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11118         multiarch isinff for PPC64.
11120         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11121         finitef multiarch implementation.
11122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11123         file.
11124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11126         multiarch finite for PPC64.
11127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11128         file.
11129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11130         multiarch finitef for PPC64.
11132         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11133         lrint multiarch implementation.
11134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11135         file.
11136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11138         multiarch llrint for PPC64.
11139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11140         multiarch lrint for PPC64.
11142         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11143         copysignf multiarch implementation.
11144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11145         file.
11146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11147         file.
11148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11149         multiarch copysign for PPC64.
11150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11151         multiarch copysignf for PPC64.
11153         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11154         multiarch implementation.
11155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11156         file.
11157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11158         file.
11159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11160         file.
11161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11162         file.
11163         multiarch llround for PPC64.
11164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11165         multiarch trunc for PPC64.
11166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11167         multiarch truncf for PPC64.
11169         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11170         multiarch implementation.
11171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11172         file.
11173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11174         file.
11175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11176         file.
11177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11178         file.
11179         multiarch llround for PPC64.
11180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11181         multiarch round for PPC64.
11182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11183         multiarch roundf for PPC64.
11185         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11186         multiarch implementation.
11187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11188         file.
11189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11190         file.
11191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11192         file.
11193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11194         file.
11195         multiarch llround for PPC64.
11196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11197         multiarch floor for PPC64.
11198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11199         multiarch floorf for PPC64.
11201         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11202         multiarch implementation.
11203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11204         file.
11205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11206         file.
11207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11208         file.
11209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11210         file.
11211         multiarch llround for PPC64.
11212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11213         multiarch ceil for PPC64.
11214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11215         multiarch ceilf for PPC64.
11217         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11218         multiarch implementation.
11219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11220         file.
11221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11222         file.
11223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11224         file.
11225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11226         multiarch llround for PPC64.
11227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11228         multiarch lround for PPC64.
11230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11231         multiarch implementation.
11232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11235         file.
11236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11239         multiarch isnan for PPC64.
11240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11241         multiarch isnanf for PPC64.
11243         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11244         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11245         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11246         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11247         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11250         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11251         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11252         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11253         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11256         multiarch implementations.
11257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11258         (__libc_ifunc_impl_list): Likewise.
11259         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11260         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11261         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11262         multiarch stpcpy for PPC64.
11264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11265         multiarch implementations.
11266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11267         (__libc_ifunc_impl_list): Likewise.
11268         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11269         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11270         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11271         multiarch strcpy for PPC64.
11273         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11274         redefine function name.
11275         (_wordcopy_fwd_dest_aligned): Likewise.
11276         (_wordcopy_bwd_aligned): Likewise.
11277         (_wordcopy_bwd_dest_aligned): Likewise.
11278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11279         multiarch implementations.
11280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11281         (__libc_ifunc_impl_list): Likewise.
11282         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11283         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11284         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11285         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11286         multiarch wcscpy for PPC64.
11288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11289         multiarch implementations.
11290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11291         (__libc_ifunc_impl_list): Likewise.
11292         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11293         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11294         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11295         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11296         multiarch wcscpy for PPC64.
11298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11299         multiarch implementations.
11300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11301         (__libc_ifunc_impl_list): Likewise.
11302         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11303         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11304         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11305         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11306         multiarch wcsrchr for PPC64.
11308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11309         multiarch implementations.
11310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11311         (__libc_ifunc_impl_list): Likewise.
11312         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11313         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11314         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11315         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11316         multiarch wcschr for PPC64.
11318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11319         multiarch implementations.
11320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11321         (__libc_ifunc_impl_list): Likewise.
11322         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11323         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11324         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11325         multiarch strchrnul for PPC64.
11327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11328         implementations.
11329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11330         (__libc_ifunc_impl_list): Likewise.
11331         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11332         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11333         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11334         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11335         strchr for PPC64.
11337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11338         implementations.
11339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11340         (__libc_ifunc_impl_list): Likewise.
11341         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11342         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11343         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11344         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11345         strncmp for PPC64.
11347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11348         multiarch implementations.
11349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11350         (__libc_ifunc_impl_list): Likewise.
11351         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11352         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11353         strncasecmp for PPC64.
11354         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11355         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11356         multiarch strncasecmp_l for PPC64.
11358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11359         multiarch implementations.
11360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11361         (__libc_ifunc_impl_list): Likewise.
11362         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11363         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11364         multiarch strcasecmp for PPC64.
11365         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11366         file.
11367         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11368         multiarch strcasecmp_l for PPC64.
11370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11371         implementations.
11372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11373         (__libc_ifunc_impl_list): Likewise.
11374         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11375         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11376         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11377         strnlen for PPC64.
11379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11380         implementations.
11381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11382         (__libc_ifunc_impl_list): Likewise.
11383         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11384         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11385         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11386         strlen for PPC64.
11388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11389         implementations.
11390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11391         (__libc_ifunc_impl_list): Likewise.
11392         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11393         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11394         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11395         rawmemrchr for PPC64.
11397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11398         implementation.
11399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11400         (__libc_ifunc_impl_list): Likewise.
11401         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11402         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11403         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11404         memrchr for PPC64.
11406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11407         implementation.
11408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11409         (__libc_ifunc_impl_list): Likewise.
11410         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11411         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11412         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11413         memchr for PPC64.
11415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11416         implementation.
11417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11418         (__libc_ifunc_impl_list): Likewise.
11419         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11420         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11421         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11422         mempcpy for PPC64.
11424         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11425         avoid cretion of __bzero symbol.
11426         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11427         Likewise.
11428         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11429         Likewise.
11430         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11431         Likewise.
11432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11433         multiarch implementations.
11434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11435         (__libc_ifunc_impl_list): Likewise.
11436         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11437         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11438         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11439         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11440         bzero for PPC32.
11441         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11442         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11443         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11444         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11445         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11446         memset for PPC64.
11447         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11449         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11451         implementations.
11452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11453         (__libc_ifunc_impl_list): Likewise.
11454         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11455         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11456         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11457         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11458         memcmp for PPC64.
11460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11461         multiarch for POWER/PPC64.
11462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11463         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11464         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11465         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11466         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11467         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11468         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11469         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11470         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11471         memcpy for PPC64.
11473         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11474         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11475         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11476         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11477         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11478         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11479         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11480         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11481         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11482         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11483         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11484         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11485         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11486         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11487         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11496 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11498         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11500 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11502         * benchtests/Makefile (bench): Add exp2 and log2.
11503         (LDLIBS-bench-exp2): Add -lm.
11504         (LDLIBS-bench-log2): Likewise.
11505         * benchtests/exp2-inputs: New inputs file.
11506         * benchtests/log2-inputs: New inputs file.
11507         * benchtests/log-inputs: Add new inputs.
11508         * benchtests/tan-inputs: Likewise.
11510 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11512         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11513         definition...
11514         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11515         (csloww2): ... from here.
11517         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11518         instead of structures.
11519         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11520         (POLYNOMIAL): Likewise.
11521         (TAYLOR_SLOW): Likewise.
11522         (__sin): Likewise.
11523         (__cos): Likewise.
11524         (slow1): Likewise.
11525         (slow2): Likewise.
11526         (sloww): Likewise.
11527         (sloww1); Likewise.
11528         (sloww2): Likewise.
11529         (bsloww1): Likewise.
11530         (bsloww2): Likewise.
11531         (cslow2): Likewise.
11532         (csloww): Likewise.
11533         (csloww1): Likewise.
11534         (csloww2): Likewise.
11536 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11538         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11539         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11540         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11541         * malloc/hooks.c (realloc_check): Likewise.
11543         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11544         * malloc/arena.c: Remove PER_THREAD conditional.
11545         [!PER_THREAD]: Remove code.
11546         (ptmalloc_unlock_all2): Likewise.
11547         (ptmalloc_init): Likewise.
11548         (_int_new_arena): Likewise.
11549         (arena_get2): Likewise.
11550         * malloc/hooks.c (__malloc_get_state): Likewise.
11551         (__malloc_set_state): Likewise.
11552         * malloc/malloc.c: Likewise.
11553         (struct malloc_state): Likewise.
11554         (struct malloc_par): Likewise.
11555         (__libc_realloc): Likewise.
11556         (__libc_mallopt): Likewise.
11558 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11560         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11562 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11564         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11565         macro to a function.  Check for zero perturb_byte.
11566         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11568         * malloc/malloc.c: (force_reg): Remove.
11569         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11570         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11571         force_reg by atomic_forced_read.
11572         * malloc/arena.c (ptmalloc_init): Likewise.
11573         * malloc/hooks.c (top_check): Likewise.
11575 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11579 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11581         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11583 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11585         * math/auto-libm-test-in: Add tests of lgamma.
11586         * math/auto-libm-test-out: Regenerated.
11587         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11588         (M_LOG_2_SQRT_PIl): Likewise.
11589         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11590         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11591         mpfr_f_f1.
11592         (func_calc_desc): Add mpfr_f_f1 union field.
11593         (ARGS1): New macro.
11594         (ARGS2): Likewise.
11595         (ARGS3): Likewise.
11596         (ARGS4): Likewise.
11597         (RET1): Likewise.
11598         (RET2): Likewise.
11599         (CALC): Likewise.
11600         (FUNC): Likewise.
11601         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11602         (test_functions): Add lgamma.
11603         (calc_generic_results): Handle mpfr_f_f1.
11604         * sysdeps/i386/fpu/libm-test-ulps: Update.
11605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11607 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11609         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11610         __mpn_add_n for PowerPC64/POWER7.
11611         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11612         __mpn_sub_n for PowerPC64/POWER7.
11614         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11615         __mpn_addmul_1 for PowerPC64.
11616         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11617         __mpn_submul_1 for PowerPC64.
11618         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11619         for PowerPC64.
11620         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11621         for PowerPC64.
11623 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11625         [BZ #15089]
11626         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11628 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11630         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11632         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11633         add multiarch folders.
11634         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11635         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11636         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11637         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11638         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11639         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11640         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11641         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11642         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11643         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11644         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11653         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11655         New file.
11656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11657         New file.
11658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11659         multiarch __ieee754_hypot for PowerPC32.
11660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11661         New file.
11662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11663         New file.
11664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11665         multiarch __ieee754_hypotf for PowerPC32.
11667         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11668         long_double_symbol only if __logbl is defined.
11669         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11670         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11671         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11672         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11673         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11674         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11675         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11676         path for implementation.
11677         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11678         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11680         logb, and logbl multiarch implementations for PowerPC32.
11681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11682         file.
11683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11684         file.
11685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11686         multiarch logb for PowerPC32.
11687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11688         file.
11689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11690         file.
11691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11692         multiarch logbf for PowerPC32.
11693         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11695         file.
11696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11697         multiarch logbl implementation for PowerPC32.
11699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11700         and modff multiarch implementations.
11701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11702         New file.
11703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11704         New file.
11705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11706         multiarch modf for PowerPC32.
11707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11708         New file.
11709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11710         New file.
11711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11712         multiarch modff for PowerPC32.
11714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11715         and lrintf multiarch implementations.
11716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11717         New file.
11718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11719         New file.
11720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11721         multiarch lrint for PowerPC32.
11722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11723         file: multiarch lrintf for PowerPC32.
11725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11726         and lroundf multiarch implementations.
11727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11728         New file.
11729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11730         New file.
11731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11732         New file.
11733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11734         multiarch lround for PowerPC32.
11735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11736         file: multiarch lroundf for PowerPC32.
11738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11739         copysign and copysignf multiarch implementations.
11740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11741         New file.
11742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11743         New file.
11744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11745         file: multiarch copysign for PowerPC32.
11746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11747         file: multiarch copysignf for PowerPC32.
11749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11750         and truncf multiarch implementations.
11751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11752         New file.
11753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11754         file.
11755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11756         multiarch trunc for PowerPC32.
11757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11758         New file.
11759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11760         New file.
11761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11762         multiarch truncf for PowerPC32.
11764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11765         and roundf multiarch implementations.
11766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11767         New file.
11768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11769         file.
11770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11771         multiarch round for PowerPC32.
11772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11773         New file.
11774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11775         New file.
11776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11777         multiarch roundf for PowerPC32.
11779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11780         and floorf multiarch implementations.
11781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11782         New file.
11783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11784         file.
11785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11786         multiarch floor for PowerPC32.
11787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11788         New file.
11789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11790         New file.
11791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11792         multiarch floorf for PowerPC32.
11794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11795         and ceilf multiarch implementations.
11796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11797         New file.
11798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11799         file.
11800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11801         multiarch ceil for PowerPC32.
11802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11803         New file.
11804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11805         file.
11806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11807         multiarch ceilf for PowerPC32.
11809         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11810         is defined.
11811         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11812         FINITEF is defined.
11813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11814         and finitef multiarch implementations.
11815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11816         New file.
11817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11818         file.
11819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11820         multiarch finite for PowerPC32.
11821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11822         New file.
11823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11824         file: multiarch finitef for PowerPC32.
11826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11827         and isinff multiarch implementations.
11828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11829         file.
11830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11831         file.
11832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11833         multiarch isinf for PowerPC32.
11834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11835         New file.
11836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11837         multiarch isinff for PowerPC32.
11839         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11840         alias when __isnan is defined.
11841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11842         and isnanf multiarch implementations.
11843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11844         file.
11845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11846         file.
11847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11848         file.
11849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11850         file.
11851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11852         multiarch isnan for PowerPC32.
11853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11854         New file.
11855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11856         New file.
11857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11858         multiarch isnanf for PowerPC32.
11860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11861         and sqrtf multiarch implementations.
11862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11863         file.
11864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11865         file.
11866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11867         multiarch sqrt for PowerPC32.
11868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11869         file.
11870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11871         file.
11872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11873         multiarch sqrtf for PowerPC32.
11875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11876         and llroundf multiarch implementations.
11877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11878         New file.
11879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11880         New file.
11881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11882         New file.
11883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11884         file: multiarch llround for PowerPC32.
11885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11886         file: multiarch llroundf for PowerPC32.
11888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11889         multiarch PowerPC32 fpu implementations.
11890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11891         New file.
11892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11893         New file.
11894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11895         multiarch llrint for PowerPC32.
11896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11897         New file.
11898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11899         New file.
11900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11901         file.
11903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11905         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11906         file.
11907         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11908         file.
11909         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11910         file.
11911         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11912         multiarch wordcopy for PPC32.
11913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11914         wordcopy objects.
11915         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11916         (__libc_ifunc_impl_list): Likewise.
11917         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11918         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11919         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11920         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11921         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11922         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11924         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11926         file.
11927         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11928         file.
11929         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11930         file.
11931         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11932         multiarch wcscpy for PPC32.
11933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11934         multiarch objects.
11935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11936         (__libc_ifunc_impl_list): Likewise.
11937         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11938         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11939         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11940         sysdeps/powerpc/power6/wcscpy.c.
11942         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11943         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11944         file.
11945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11946         file.
11947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11948         file.
11949         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11950         multiarch wcsrchr for PPC32.
11951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11952         multiarch objects.
11953         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11954         (__libc_ifunc_impl_list): Likewise.
11955         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11956         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11957         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11958         sysdeps/powerpc/power6/wcsrchr.c.
11960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11961         file.
11962         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11963         file.
11964         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11965         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11966         multiarch wcschr for PPc32.
11967         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11968         multiarch objects.
11969         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11970         (__libc_ifunc_impl_list): Likewise.
11971         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11972         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11973         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11974         sysdeps/powerpc/power6/wcschr.c.
11976         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11977         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11978         file.
11979         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11980         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11981         file: multiarch strchr for PPC32.
11982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11983         multiarch objects.
11984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11985         (__libc_ifunc_impl_list): Likewise.
11987         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11988         name.
11989         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11990         file.
11991         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11992         file.
11993         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11994         multiarch strchrnul for PPC32.
11995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11996         multiarch objects.
11997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11998         (__libc_ifunc_impl_list): Likewise.
12000         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12001         file.
12002         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12003         multiarch strncasecmp for PPC32.
12004         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12005         file.
12006         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12007         multiarch strncasecmp_l for PPC32.
12008         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12009         strncasecmp multiarch objects.
12010         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12011         (__libc_ifunc_impl_list): Likewise.
12013         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12014         file.
12015         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12016         multiarch strncasecmp for PPC32.
12017         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12018         New file.
12019         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12020         multiarch strcasecmp_l for PPC32.
12021         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12022         multiarch objects.
12023         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12024         (__libc_ifunc_impl_list): Likewise.
12026         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12027         file.
12028         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12029         file.
12030         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12031         multiarch strncmp for PPC32.
12032         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12033         multiarch objects.
12034         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12035         (__libc_ifunc_impl_list): Likewise.
12037         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12038         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12039         file.
12040         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12041         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12042         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12043         multiarch objects.
12044         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12045         (__libc_ifunc_impl_list): Likewise.
12047         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12048         file.
12049         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12050         file.
12051         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12053         multiarch objects.
12054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12055         (__libc_ifunc_impl_list): Likewise.
12057         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12058         file.
12059         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12060         file.
12061         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12062         multiarch rawmemchr for PPC32.
12063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12064         multiarch objects.
12065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12066         (__libc_ifunc_impl_list): Likewise.
12068         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12069         file.
12070         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12071         file.
12072         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12073         file: memrchr multiarch for PPC32.
12074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12075         multiarch objects.
12076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12077         (__libc_ifunc_impl_list): Likewise.
12079         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12080         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12081         file.
12082         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12083         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12084         multiarch memchr for PPC32.
12085         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12086         multiarch objects.
12087         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12088         (__libc_ifunc_impl_list): Likewise.
12090         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12091         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12092         file.
12093         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12094         file.
12095         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12096         file: multiarch mempcpy for PPC32.
12097         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12098         multiarch objects.
12099         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12100         (__libc_ifunc_impl_list): Likewise.
12102         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12103         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12104         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12105         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12106         multiarch bzero for PPC32.
12107         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12108         file.
12109         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12110         file.
12111         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12112         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12113         file: multiarch memset for PPC32.
12114         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12116         memset multiarch objects.
12117         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12118         (__libc_ifunc_impl_list): Likewise.
12120         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12121         file.
12122         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12123         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12124         memcmp for PPC32.
12125         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12127         multiarch objects.
12128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12129         (__libc_ifunc_impl_list): Likewise.
12131         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12132         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12133         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12134         file.
12135         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12136         file.
12137         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12138         file.
12139         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12140         multiarch memcpy for PPC32.
12141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12142         multiarch objects.
12143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12144         (__libc_ifunc_impl_list): Likewise.
12146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12147         support multiarch for POWER/PPC32.
12148         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12149         Likewise.
12150         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12152         Implies file to make multiarch folder appers before the fpu and
12153         default folder for power4 configuration.
12155 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12157         * scripts/bench.pl: Append volatile keyword to type.
12159 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12161         * sysdeps/sh/sotruss-lib.c: New file.
12162         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12164 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12168 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12170         [BZ #6810]
12171         * math/w_tgamma.c: Include <errno.h>.
12172         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12173         * math/w_tgammaf.c: Include <errno.h>.
12174         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12175         * math/w_tgammal.c: Include <errno.h>.
12176         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12177         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12178         underflow.  Add more tgamma tests.
12179         * math/auto-libm-test-out: Regenerated.
12180         * sysdeps/i386/fpu/libm-test-ulps: Update.
12181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12183         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12184         sin, sinh, tan, tanh, tgamma, y0 and y1.
12185         * math/auto-libm-test-out: Regenerated.
12186         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12187         (TEST_COND_x86): Likewise.
12188         (M_E2l): Remove macro.
12189         (M_E3l): Likewise.
12190         (M_2_SQRT_PIl): Likewise.
12191         (M_SQRT_PIl): Likewise.
12192         (M_1_DIV_El): Likewise.
12193         (log_test_data): Use AUTO_TESTS_f_f.
12194         (log10_test_data): Likewise.
12195         (log1p_test_data): Likewise.
12196         (log2_test_data): Likewise.
12197         (sin_test_data): Likewise.
12198         (sin_tonearest_test_data): Likewise.
12199         (sin_towardzero_test_data): Likewise.
12200         (sin_downward_test_data): Likewise.
12201         (sin_upward_test_data): Likewise.
12202         (sinh_test_data): Likewise.
12203         (sinh_tonearest_test_data): Likewise.
12204         (sinh_towardzero_test_data): Likewise.
12205         (sinh_downward_test_data): Likewise.
12206         (sinh_upward_test_data): Likewise.
12207         (tan_test_data): Likewise.
12208         (tan_tonearest_test_data): Likewise.
12209         (tan_towardzero_test_data): Likewise.
12210         (tan_downward_test_data): Likewise.
12211         (tan_upward_test_data): Likewise.
12212         (tanh_test_data): Likewise.
12213         (tgamma_test_data): Likewise.
12214         (y0_test_data): Likewise.
12215         (y1_test_data): Likewise.
12216         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12217         (special_real_inputs): Add pi/4.
12218         * sysdeps/i386/fpu/libm-test-ulps: Update.
12219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12221 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12223         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12224         "longjmp_target" static probes.
12225         (__longjmp): Rename to __longjmp_symbol.
12226         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12227         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12228         on which longjmp to generate.
12229         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12230         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12231         probe.
12232         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12233         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12234         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12235         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12236         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12237         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12239         __longjmp_symbol based on which __longjmp to generate.
12240         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12241         probe.
12242         (setjmp): Rename to setjmp_symbol.
12243         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12244         (_setjmp): Rename to _setjmp_symbol.
12245         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12246         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12247         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12248         which setjmp to generate.
12249         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12250         "longjmp_target" static probes.
12252 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12254         * benchtests/README: Add note about output arguments.
12255         * benchtests/bench-sincos.c: Remove file.
12256         * benchtests/sincos-inputs: New file.
12257         * scripts/bench.pl: Identify output arguments and define
12258         static variables for them.
12260         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12262         [BZ #15941]
12263         * Makefile (INSTALL): Add install-plain.texi as the primary
12264         dependency.
12265         * manual/install-plain.texi: New file.
12266         * manual/install.texi: Include node directive only for
12267         non-plaintext output.
12269 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12271         * stdlib/longlong.h: Update from GCC.
12273         [BZ #6807]
12274         [BZ #15901]
12275         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12276         * math/w_j0f.c (y0f): Likewise.
12277         * math/w_j0l.c (__y0l): Likewise.
12278         * math/w_j1.c (y1): Likewise.
12279         * math/w_j1f.c (y1f): Likewise.
12280         * math/w_j1l.c (__y1l): Likewise
12281         * math/w_jn.c (yn): Likewise.
12282         * math/w_jnf.c (ynf): Likewise.
12283         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12284         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12285         value for Bessel function domain errors outside _SVID_ mode.
12286         Adjust sign of return value for yn (negative integer, 0).
12287         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12288         by zero in return for negative x and set sign appropriately for
12289         negative n.
12290         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12291         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12292         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12293         expectations in error cases.
12294         (y1_test_data): Likewise.
12295         (yn_test_data): Likewise.
12296         * sysdeps/i386/fpu/libm-test-ulps: Update.
12297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12299 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12301         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12302         "64" to "64-v1".  Add "64-v2".
12303         (abi-64-options): Rename to ...
12304         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12305         (abi-64-condition): Rename to ...
12306         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12307         (abi-64-ld-soname): Rename to ...
12308         (abi-64-v1-ld-soname): ... this.
12309         (abi-64-v2-options): Define.
12310         (abi-64-v2-condition): Likewise.
12311         (abi-64-v2-ld-soname): Likewise.
12312         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12313         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12318 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12319             Alan Modra  <amodra@gmail.com>
12321         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12322         New versions for use with the ELFv2 ABI.
12323         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12324         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12325         declaration.
12326         (struct La_ppc64v2_retval): Likewise.
12327         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12328         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12329         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12330         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12331         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12332         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12333         Do not save or restore CR.
12334         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12335         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12336         return values for ELFv2 ABI.  Fix location of FPR return registers.
12337         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12338         updated values for _CALL_ELF == 2.
12339         (La_regs, La_retval, int_retval): Likewise.
12341 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12343         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12344         (FRAME_MIN_SIZE_PARM): Likewise.
12345         (FRAME_BACKCHAIN): Likewise.
12346         (FRAME_CR_SAVE): Likewise.
12347         (FRAME_LR_SAVE): Likewise.
12348         (FRAME_TOC_SAVE): Likewise.
12349         (FRAME_PARM_SAVE): Likewise.
12350         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12351         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12352         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12353         (call_mcount_parm_offset): New macro.
12354         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12355         (PROF): Use symbolic stack frame offsets.
12356         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12357         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12358         Redefine in terms of FRAME_MIN_SIZE.
12359         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12360         (_dl_profile_resolve): Likewise.  Update comment.
12361         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12362         symbols stack frame offsets.
12363         (__sigsetjmp): Likewise.
12364         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12365         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12366         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12367         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12370         (FRAME_BACKCHAIN): Remove.
12371         (FRAME_CR_SAVE): Likewise.
12372         (FRAME_LR_SAVE): Likewise.
12373         (FRAME_COMPILER_DW): Likewise.
12374         (FRAME_LINKER_DW): Likewise.
12375         (FRAME_TOC_SAVE): Likewise.
12376         (FRAME_PARM_SAVE): Likewise.
12377         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12378         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12379         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12381         (CHECK_SP): Use symbolic stack frame offsets.
12382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12383         zone" instead of caller's parameter save area for temp storage.
12384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12385         Likewise.  Also, use symbolic stack frame offsets.
12386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12387         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12388         our own stack frame instead of the caller's.
12389         (__socket): Use symbolic stack frame offsets.
12391 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12392             Alan Modra  <amodra@gmail.com>
12394         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12395         Define.
12396         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12397         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12398         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12399         New function.
12400         (elf_machine_fixup_plt): Call it.
12401         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12402         reloc arguments.
12403         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12404         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12405         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12406         r2 before calling target.
12408 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12409             Alan Modra  <amodra@gmail.com>
12411         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12412         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12413         versions of macros to support ELFv2 ABI.
12414         (LOCALENTRY): New macro.
12415         (ENTRY, EALIGN): Use it.
12416         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12417         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12418         fall through into ENTRY entry point.
12419         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12420         Only define if _CALL_ELF != 2.
12422         (elf_machine_matches_host): Verify ABI version matches.
12423         (RTLD_START): Use LOCALENTRY.
12424         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12425         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12426         (PLT_ENTRY_WORDS): New macro.
12427         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12428         (elf_machine_runtime_setup): Support ELFv2 ABI.
12429         (elf_machine_fixup_plt): Likewise.
12430         (elf_machine_plt_conflict): Likewise.
12431         (resolve_ifunc): Likewise.
12432         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12433         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12434         Likewise.
12435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12436         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12438         (makecontext): Support ELFv2 ABI.
12439         * elf/elf.h (EF_PPC64_ABI): Define.
12441 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12443         * sysdeps/powerpc/powerpc64/sysdep.h
12444         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12445         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12446         (ENTRY) [ASSEMBLER]: ... but instead here ...
12447         (EALIGN) [ASSEMBLER]: ... and here.
12448         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12449         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12450         (ENTRY_2) [!ASSEMBLER]: Use it.
12451         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12452         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12453         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12454         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12455         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12457         Use PPC64_LOAD_FUNCPTR.
12459         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12461 2013-12-04  Alan Modra  <amodra@gmail.com>
12463         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12464         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12465         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12466         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12468         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12469         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12470         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12471         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12472         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12473         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12475 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12478         (__makecontext): Fix incorrect CFI when backtracing out of
12479         context created via makecontext.
12480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12481         (__setcontext): Fix incorrect CFI during switch to new context.
12482         (__novec_setcontext): Likewise.
12484 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12486         [BZ #4772]
12487         * time/strptime_l.c (__strptime_internal): Allow modifiers
12488         in strptime.
12489         * time/tst-strptime.c (day_tests): Add testcase.
12491 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12493         * scripts/bench.pl: Skip over blank lines.
12495 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12497         [BZ #926]
12498         * manual/time.texi (Calendar Time): Clarify what timezone functions
12499         use.
12501 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12505 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12507         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12508         implementation.
12509         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12510         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12511         * debug/memset_chk.c (__memset_chk): Likewise.
12512         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12513         * debug/strncpy_chk.c: Likewise.
12515 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12517         [BZ #15268]
12518         [BZ #15425]
12519         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12520         (__ieee754_exp): For possibly underflowing results, check size of
12521         result and force underflow exception if required.
12522         * math/auto-libm-test-in: Add more tests of exp.
12523         * math/auto-libm-test-out: Regenerated.
12524         * sysdeps/i386/fpu/libm-test-ulps: Update.
12525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12527         [BZ #16283]
12528         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12529         * math/w_exp2f.c (__exp2f): Likewise.
12530         * math/w_exp2l.c (__exp2l): Likewise.
12531         * math/auto-libm-test-in: Do not allow missing errno on exp2
12532         underflow.
12533         * math/auto-libm-test-out: Regenerated.
12535 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12537         [BZ #16274]
12538         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12539         handle filename validation.
12540         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12541         (do_open): Delete.
12543 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12545         [BZ #6786]
12546         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12547         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12548         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12549         <float.h>.
12550         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12551         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12552         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12553         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12554         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12555         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12556         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12557         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12558         Add more erfc tests.
12559         * math/auto-libm-test-out: Regenerated.
12560         * sysdeps/i386/fpu/libm-test-ulps: Update.
12561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12563         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12564         exp2, expm1, j0 and j1.
12565         * math/auto-libm-test-out: Regenerated.
12566         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12567         (erfc_test_data): Likewise.
12568         (exp_test_data): Likewise.
12569         (exp_tonearest_test_data): Likewise.
12570         (exp_towardzero_test_data): Likewise.
12571         (exp_downward_test_data): Likewise.
12572         (exp_upward_test_data): Likewise.
12573         (exp10_test_data): Likewise.
12574         (exp2_test_data): Likewise.
12575         (expm1_test_data): Likewise.
12576         (j0_test_data): Likewise.
12577         (j1_test_data): Likewise.
12578         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12579         (input_flag_type): Add flag_xfail_rounding.
12580         (input_flags): Add xfail-rounding.
12581         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12582         (output_for_one_input_case): Handle flag_xfail_rounding.
12583         * sysdeps/i386/fpu/libm-test-ulps: Update.
12584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12586 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12588         [BZ #16289]
12589         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12590         division by 0.
12592 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12594         [BZ #16195]
12595         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12596         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12597         (STAP_PROBE0): New macro.
12598         (STAP_PROBE1): Likewise.
12599         (STAP_PROBE2): Likewise.
12600         (STAP_PROBE3): Likewise.
12601         (STAP_PROBE4): Likewise.
12603 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12605         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12607 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12609         * benchtests/Makefile (bench): Add sqrt.
12610         (LDLIBS-bench-sqrt): New.
12611         * benchtests/sqrt-input: New.
12613 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12615         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12616         (GAIH_EAI): Likewise.
12617         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12618         (gaih_inet): Likewise.
12619         (getaddrinfo): Don't use GAIH_EAI.
12621         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12622         (struct gaih): Remove definition.
12624 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12626         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12627         Use HERRNOP directly.
12629 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12633 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12635         * math/gen-auto-libm-tests.c (test_functions): Add more
12636         single-argument functions.
12637         (special_fill_pi_2): New function.
12638         (special_fill_minus_pi_2): Likewise.
12639         (special_fill_pi_6): Likewise.
12640         (special_fill_minus_pi_6): Likewise.
12641         (special_fill_pi_3): Likewise.
12642         (special_fill_2pi_3): Likewise.
12643         (special_fill_e): Likewise.
12644         (special_fill_1_e): Likewise.
12645         (special_fill_e_minus_1): Likewise.
12646         (special_real_inputs): Add more special inputs.
12647         (output_for_one_input_case): Do not require ERANGE on underflow to
12648         zero if round-to-nearest result does not underflow to zero, unless
12649         exact results required.
12650         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12651         atan, atanh, cbrt, cos and cosh.
12652         * math/auto-libm-test-out: Regenerated.
12653         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12654         (acos_tonearest_test_data): Likewise.
12655         (acos_towardzero_test_data): Likewise.
12656         (acos_downward_test_data): Likewise.
12657         (acos_upward_test_data): Likewise.
12658         (acosh_test_data): Likewise.
12659         (asin_test_data): Likewise.
12660         (asin_tonearest_test_data): Likewise.
12661         (asin_towardzero_test_data): Likewise.
12662         (asin_upward_test_data): Likewise.
12663         (asinh_test_data): Likewise.
12664         (atan_test_data): Likewise.
12665         (atanh_test_data): Likewise.
12666         (cbrt_test_data): Likewise.
12667         (cos_test_data): Likewise.
12668         (cos_tonearest_test_data): Likewise.
12669         (cos_towardzero_test_data): Likewise.
12670         (cos_downward_test_data): Likewise.
12671         (cos_upward_test_data): Likewise.
12672         (cosh_test_data): Likewise.
12673         (cosh_tonearest_test_data): Likewise.
12674         (cosh_towardzero_test_data): Likewise.
12675         (cosh_downward_test_data): Likewise.
12676         (cosh_upward_test_data): Likewise.
12677         * sysdeps/i386/fpu/libm-test-ulps: Update.
12678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12680 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12682         [BZ #6787]
12683         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12684         * math/w_exp10f.c (__exp10f): Likewise.
12685         * math/w_exp10l.c (__exp10l): Likewise.
12686         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12687         errno settings in existing tests.
12689         [BZ #14032]
12690         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12691         precision control set to double precision.
12692         * sysdeps/i386/fpu/w_sqrt.c: New file.
12693         * math/auto-libm-test-in: Add more tests.
12694         * math/auto-libm-test-out: Update.
12696         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12697         (sqrt_test_tonearest): New function.
12698         (sqrt_towardzero_test_data): New variable.
12699         (sqrt_test_towardzero): New function.
12700         (sqrt_downward_test_data): New variable.
12701         (sqrt_test_downward): New function.
12702         (sqrt_upward_test_data): New variable.
12703         (sqrt_test_upward): New function.
12704         (main): Call the new functions.
12706         * math/gen-auto-libm-tests.c: New file.
12707         * math/auto-libm-test-in: Likewise.
12708         * math/auto-libm-test-out: New generated file.
12709         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12710         variables.
12711         (%beautify): Add generated representations of zero.
12712         (top level): Set $auto_input and call parse_auto_input.
12713         (beautify): Remove trailing "f" from hex float constants.
12714         (parse_args): Handle XFAIL_TEST.
12715         (convert_condition): New function.
12716         (or_value): Likewise.
12717         (or_cond_value): Likewise.
12718         (generate_testfile): Handle AUTO_TESTS_* lines.
12719         (parse_auto_input): New function.
12720         * math/libm-test.inc (XFAIL_TEST): New macro.
12721         (ERRNO_UNCHANGED): Update value.
12722         (ERRNO_EDOM): Likewise.
12723         (ERRNO_ERANGE): Likewise.
12724         (IGNORE_RESULT): Likewise.
12725         (TEST_COND_flt_32): New macro.
12726         (TEST_COND_dbl_64): Likewise.
12727         (TEST_COND_ldbl_96_intel): Likewise.
12728         (TEST_COND_ldbl_96_m68k): Likewise.
12729         (TEST_COND_ldbl_128): Likewise.
12730         (TEST_COND_ldbl_128ibm): Likewise.
12731         (TEST_COND_long32): Likewise.
12732         (TEST_COND_long64): Likewise.
12733         (TEST_COND_before_rounding): Likewise.
12734         (TEST_COND_after_rounding): Likewise.
12735         (enable_test): Handle XFAIL_TEST flag.
12736         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12737         with finite results.
12738         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12739         auto-libm-test-out.
12741 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12742             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12744         [BZ #16214]
12745         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12746         __tls_get_addr_internal instead of __tls_get_offset in order to
12747         avoid GOT pointer dependency.  Make rtld export
12748         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12749         __tls_get_addr since we are a __tls_get_offset platform.
12750         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12751         GOT pointer being set up before.
12752         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12754 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12756         * manual/math.texi (Errors in Math Functions): Document accuracy
12757         goals.
12759         [BZ #15004]
12760         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12761         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12762         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12763         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12764         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12765         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12766         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12767         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12768         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12769         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12770         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12771         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12772         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12773         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12774         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12775         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12777         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12778         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12779         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12780         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12781         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12782         Likewise.
12783         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12784         Likewise.
12785         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12786         Likewise.
12787         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12788         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12789         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12790         atomic-feupdateenv and flt-rounds.
12791         * sysdeps/powerpc/nofpu/Versions (libc): Add
12792         __atomic_feholdexcept, __atomic_feclearexcept,
12793         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12794         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12795         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12796         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12797         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12798         here.
12799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12800         Update.
12802         * manual/arith.texi (FP Exceptions): Document that exceptions may
12803         not be raised when matherr is used.
12804         (Math Error Reporting): Document overflow in directed rounding
12805         modes.  Document that errno may not be set when finite values are
12806         returned on overflow.  Document intent to set errno on underflow
12807         only for underflow to zero.
12809         [BZ #16271]
12810         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12811         round-to-nearest then adjust result for other rounding modes.
12812         * include/fenv.h (fegetround): Use libm_hidden_proto.
12813         * math/fegetround.c (fegetround): Use libm_hidden_def.
12814         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12815         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12816         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12817         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12818         Likewise.
12819         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12820         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12821         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12822         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12824 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12826         [BZ #16077]
12827         * nss/Versions (libnss_files): Add
12828         _nss_files_gethostbyname3_r.
12829         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12830         New function.
12831         (HOST_DB_LOOKUP): Remove macro.
12832         (_nss_files_gethostbyname_r): Implement function without the
12833         HOST_DB_LOOKUP macro.
12834         (_nss_files_gethostbyname2_r): Likewise.
12836 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12838         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12840 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12842         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12843         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12844         warning.
12846 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12848         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12849         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12850         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12851         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12852         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12853         __fe_nomask_env_priv and attribute_hidden.
12854         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12855         (libc_feupdateenv_test_ppc): Likewise.
12856         (libc_feresetround_ppc): Likewise.
12857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12858         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12859         compat_symbol macro.
12860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12861         (__fe_nomask_env): Likewise.
12862         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12864 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12866         * string/Makefile: Remove ifunc tests.
12867         * string/test-string.h: Define TEST_IFUNC.
12868         * string/test-bcopy-ifunc.c: Remove.
12869         * string/test-bzero-ifunc.c: Likewise.
12870         * string/test-memccpy-ifunc.c: Likewise.
12871         * string/test-memchr-ifunc.c: Likewise.
12872         * string/test-memcmp-ifunc.c: Likewise.
12873         * string/test-memcpy-ifunc.c: Likewise.
12874         * string/test-memmem-ifunc.c: Likewise.
12875         * string/test-memmove-ifunc.c: Likewise.
12876         * string/test-mempcpy-ifunc.c: Likewise.
12877         * string/test-memrchr-ifunc.c: Likewise.
12878         * string/test-memset-ifunc.c: Likewise.
12879         * string/test-rawmemchr-ifunc.c: Likewise.
12880         * string/test-stpcpy-ifunc.c: Likewise.
12881         * string/test-stpncpy-ifunc.c: Likewise.
12882         * string/test-strcasecmp-ifunc.c: Likewise.
12883         * string/test-strcasestr-ifunc.c: Likewise.
12884         * string/test-strcat-ifunc.c: Likewise.
12885         * string/test-strchr-ifunc.c: Likewise.
12886         * string/test-strchrnul-ifunc.c: Likewise.
12887         * string/test-strcmp-ifunc.c: Likewise.
12888         * string/test-strcpy-ifunc.c: Likewise.
12889         * string/test-strcspn-ifunc.c: Likewise.
12890         * string/test-strlen-ifunc.c: Likewise.
12891         * string/test-strncasecmp-ifunc.c: Likewise.
12892         * string/test-strncat-ifunc.c: Likewise.
12893         * string/test-strncmp-ifunc.c: Likewise.
12894         * string/test-strncpy-ifunc.c: Likewise.
12895         * string/test-strnlen-ifunc.c: Likewise.
12896         * string/test-strpbrk-ifunc.c: Likewise.
12897         * string/test-strrchr-ifunc.c: Likewise.
12898         * string/test-strspn-ifunc.c: Likewise.
12899         * string/test-strstr-ifunc.c: Likewise.
12901 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12903         * benchtests/Makefile: Remove ifunc tests.
12904         * benchtests/bench-string.h: Define TEST_IFUNC.
12905         * benchtests/bench-bcopy-ifunc.c: Remove.
12906         * benchtests/bench-bzero-ifunc.c: Likewise.
12907         * benchtests/bench-memccpy-ifunc.c: Likewise.
12908         * benchtests/bench-memchr-ifunc.c: Likewise.
12909         * benchtests/bench-memcmp-ifunc.c: Likewise.
12910         * benchtests/bench-memcpy-ifunc.c: Likewise.
12911         * benchtests/bench-memmem-ifunc.c: Likewise.
12912         * benchtests/bench-memmove-ifunc.c: Likewise.
12913         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12914         * benchtests/bench-memrchr-ifunc.c: Likewise.
12915         * benchtests/bench-memset-ifunc.c: Likewise.
12916         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12917         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12918         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12919         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12920         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12921         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12922         * benchtests/bench-strcat-ifunc.c: Likewise.
12923         * benchtests/bench-strchr-ifunc.c: Likewise.
12924         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12925         * benchtests/bench-strcmp-ifunc.c: Likewise.
12926         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12927         * benchtests/bench-strcpy-ifunc.c: Likewise.
12928         * benchtests/bench-strcspn-ifunc.c: Likewise.
12929         * benchtests/bench-strlen-ifunc.c: Likewise.
12930         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12931         * benchtests/bench-strncat-ifunc.c: Likewise.
12932         * benchtests/bench-strncmp-ifunc.c: Likewise.
12933         * benchtests/bench-strncpy-ifunc.c: Likewise.
12934         * benchtests/bench-strnlen-ifunc.c: Likewise.
12935         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12936         * benchtests/bench-strrchr-ifunc.c: Likewise.
12937         * benchtests/bench-strsep-ifunc.c: Likewise.
12938         * benchtests/bench-strspn-ifunc.c: Likewise.
12939         * benchtests/bench-strstr-ifunc.c: Likewise.
12941 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12943         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12945 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12947         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12948         * rt/aio.h: Likewise.
12949         * sysdeps/gnu/bits/utmp.h: Likewise.
12950         * sysdeps/gnu/bits/utmpx.h: Likewise.
12951         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12952         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12953         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12954         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12955         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12956         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12957         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12958         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12959         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12960         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12961         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12962         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12963         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12965         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12966         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12967         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12968         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12969         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12970         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12971         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12972         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12973         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12974         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12975         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12976         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12977         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12978         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12979         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12980         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12981         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12982         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12983         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12984         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12985         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12986         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12987         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12988         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12989         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12990         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12991         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12992         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12994 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12996         [BZ #16245]
12997         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12998         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13000 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13002         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13003         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13004         Likewise.
13006 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13008         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13009         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13010         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13011         (__fesetround): Remove define.
13012         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13013         rounding and exceptions handling.
13014         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13015         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13016         (__fe_nomask_env): Likewise.
13017         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13018         __fegetround instead of fegetround.
13019         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13020         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13022 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13024         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13025         it's there.
13027         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13029 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13031         [BZ #11157]
13032         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13033         (encrypt_r): Likewise.
13034         * malloc/obstack.h (obstack_free): Likewise.
13035         * posix/unistd.h (encrypt): Likewise.
13037 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13039         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13040         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13041         DL_CALL_DT_FINI() that call the functions directly.
13042         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13043         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13044         * elf/dl-fini.c: Likewise.
13046 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13048         * malloc/hooks.c (memalign_check): Add alignment rounding.
13049         * malloc/malloc.c (_mid_memalign): New function.
13050         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13051         Implement by calling _mid_memalign.
13052         * manual/probes.texi (Memory Allocation Probes): Remove
13053         memory_valloc_retry and memory_pvalloc_retry.
13055 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13057         * locale/programs/locarchive.c (open_archive): Add const
13058         qualifier to ARCHIVEFNAME and copy default fname to
13059         DEFAULT_FNAME.
13061         [BZ #15601]
13062         * libio/tst-widetext.input: Rename Oriya to Odia.
13063         * locale/iso-639.def: Likewise.
13065         * manual/probes.texi (Mathematical Function Probes): Add
13066         documentation for sin, cos, asin and acos probes.
13067         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13068         (__sin32): Add slowasin probe.
13069         (__cos32): Add slowacos probe.
13070         (__mpsin): Add slowsin probe.
13071         (__mpcos): Add slowcos probe.
13073 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13075         [BZ #15483]
13076         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13077         thread-local __sim_exceptions_thread and global
13078         __sim_exceptions_global.
13079         (__sim_disabled_exceptions): Change to thread-local
13080         __sim_disabled_exceptions_thread and global
13081         __sim_disabled_exceptions_global.
13082         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13083         and global __sim_round_mode_global.
13084         (__simulate_exceptions): Use thread-local floating-point state and
13085         set global state from it as needed.
13086         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13087         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13088         __sim_round_mode_thread.
13089         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13090         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13091         and global __sim_exceptions_global.
13092         (__sim_disabled_exceptions): Change to thread-local
13093         __sim_disabled_exceptions_thread and global
13094         __sim_disabled_exceptions_global.
13095         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13096         and global __sim_round_mode_global.
13097         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13098         (SIM_SET_GLOBAL): Likewise.
13099         * sysdeps/powerpc/soft-fp/sfp-machine.h
13100         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13101         __sim_round_mode_thread.
13102         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13103         __sim_disabled_exceptions_thread.
13104         (__sim_exceptions): Change to __sim_exceptions_thread.
13105         (__sim_disabled_exceptions): Change to
13106         __sim_disabled_exceptions_thread.
13107         (__sim_round_mode): Change to __sim_round_mode_thread.
13108         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13109         thread-local floating-point state and set global state from it as
13110         needed.
13111         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13112         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13113         (__sim_disabled_exceptions): Remove extern declaration.
13114         (feenableexcept): Use thread-local floating-point state and set
13115         global state from it as needed.
13116         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13117         extern declaration.
13118         (__sim_disabled_exceptions): Likewise.
13119         (__sim_round_mode): Likewise.
13120         (__fegetenv): Use thread-local floating-point state.
13121         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13122         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13123         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13124         floating-point state and set global state from it as needed.
13125         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13126         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13127         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13128         Likewise.
13129         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13130         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13131         Likewise.
13132         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13133         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13134         Use __sim_round_mode_thread.
13135         * math/test-fenv-tls.c: New file.
13136         * math/Makefile (tests): Add test-fenv-tls.
13137         ($(objpfx)test-fenv-tls): Depend on
13138         $(common-objpfx)nptl/libpthread.so.
13140 2013-11-19  Andreas Schwab  <schwab@suse.de>
13142         * locale/programs/locale.c (show_info): Decode wordarray elements.
13143         * locale/categories.def (LC_MONETARY): Add element for
13144         _NL_MONETARY_CRNCYSTR.
13145         * locale/C-monetary.c (conversion_rate): New variable.
13146         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13147         element.
13149 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13151         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13152         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13154 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13156         * elf/Makefile (tst-auxv): New test.
13157         * elf/tst-auxv.c: New
13158         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13160 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13162         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13163         (hidden_proto): Caller changed.
13164         (hidden_tls_proto): New macro.
13165         (libc_hidden_tls_proto): Likewise.
13166         (rtld_hidden_tls_proto): Likewise.
13167         (libm_hidden_tls_proto): Likewise.
13168         (libresolv_hidden_tls_proto): Likewise.
13169         (librt_hidden_tls_proto): Likewise.
13170         (libdl_hidden_tls_proto): Likewise.
13171         (libnss_files_hidden_tls_proto): Likewise.
13172         (libnsl_hidden_tls_proto): Likewise.
13173         (libnss_nisplus_hidden_tls_proto): Likewise.
13174         (libutil_hidden_tls_proto): Likewise.
13176 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13178         [BZ #10253]
13179         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13180         (decompose_rpath): Defer expansion to fillin_rpath.
13181         (_dl_init_paths): Pass linkmap to fillin_rpath.
13183 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13185         * benchtests/Makefile: Add strsep.
13186         * benchtests/bench-strsep.c: New file: strsep benchtest.
13187         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13189 2013-11-18  Andreas Schwab  <schwab@suse.de>
13191         * locale/programs/locale.c (show_info) [case byte]: Check for
13192         '\377' instead of '\177'.
13193         * locale/C-monetary.c (not_available): Always use "\377".
13194         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13195         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13196         detect unavailable sign_posn locale elements.
13197         * locale/localeconv.c (__localeconv): For grouping and
13198         mon_grouping handle "\177" and "\377" like no grouping.
13199         (INT_ELEM): New macro.  Use it to set all numeric members.
13200         * locale/programs/ld-monetary.c (monetary_read)
13201         <tok_mon_grouping>: Normalize single -1 to the empty string.
13202         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13203         Likewise.
13205 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13207         [BZ #16055]
13208         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13209         when we match (nil).
13210         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13212 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13214         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13215         (NO_TEST_INLINE): Update value.
13216         (ERRNO_UNCHANGED): Likewise.
13217         (ERRNO_EDOM): Likewise.
13218         (ERRNO_ERANGE): Likewise.
13219         (IGNORE_RESULT): Likewise.
13220         (check_float_internal): Check signs of NaN results if
13221         TEST_NAN_SIGN used.
13222         (check_complex): Pass TEST_NAN_SIGN flag through to second
13223         check_float_internal call.
13224         (copysign_test_data): Add tests with quiet NaNs as second
13225         argument.  Use TEST_NAN_SIGN.
13226         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13227         TEST_NAN_SIGN.
13228         (signbit_test_data): Add tests of quiet NaN argument.
13229         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13231         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13232         $ignore_result.
13233         (parse_args): Handle function results specified as IGNORE.
13234         * math/libm-test.inc (IGNORE_RESULT): New macro.
13235         (check_float_internal): Do not check numerical result if flag
13236         IGNORE_RESULT set.
13237         (check_complex): Pass through IGNORE_RESULT to second
13238         check_float_internal call.
13239         (check_int): Do not check numerical result if flag IGNORE_RESULT
13240         set.
13241         (check_long): Likewise.
13242         (check_bool): Likewise.
13243         (check_longlong): Likewise.
13244         (lrint_test_data): Add tests of infinite and NaN arguments.
13245         (lrint_tonearest_test_data): Likewise.
13246         (lrint_towardzero_test_data): Likewise.
13247         (lrint_downward_test_data): Likewise.
13248         (lrint_upward_test_data): Likewise.
13249         (llrint_test_data): Likewise.
13250         (llrint_tonearest_test_data): Likewise.
13251         (llrint_towardzero_test_data): Likewise.
13252         (llrint_downward_test_data): Likewise.
13253         (llrint_upward_test_data): Likewise.
13254         (lround_test_data): Likewise.
13255         (llround_test_data): Likewise.
13257         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13258         (ERRNO_UNCHANGED): Update value.
13259         (ERRNO_EDOM): Likewise.
13260         (ERRNO_ERANGE): Likewise.
13261         (NO_TEST_INLINE_FLOAT): New macro.
13262         (NO_TEST_INLINE_DOUBLE): Likewise.
13263         (enable_test): New function.
13264         (RUN_TEST_f_f): Check enable_test before running test.
13265         (RUN_TEST_2_f): Likewise.
13266         (RUN_TEST_fff_f): Likewise.
13267         (RUN_TEST_c_f): Likewise.
13268         (RUN_TEST_f_f1): Likewise.
13269         (RUN_TEST_fF_f1): Likewise.
13270         (RUN_TEST_fI_f1): Likewise.
13271         (RUN_TEST_ffI_f1): Likewise.
13272         (RUN_TEST_c_c): Likewise.
13273         (RUN_TEST_cc_c): Likewise.
13274         (RUN_TEST_f_i): Likewise.
13275         (RUN_TEST_f_i_tg): Likewise.
13276         (RUN_TEST_ff_i_tg): Likewise.
13277         (RUN_TEST_f_b): Likewise.
13278         (RUN_TEST_f_b_tg): Likewise.
13279         (RUN_TEST_f_l): Likewise.
13280         (RUN_TEST_f_L): Likewise.
13281         (RUN_TEST_fFF_11): Likewise.
13282         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13283         conditionals.
13284         (cosh_test_data): Likewise.
13285         (exp_test_data): Likewise.
13286         (expm1_test_data): Likewise.
13287         (hypot_test_data): Likewise.
13288         (pow_test_data): Likewise.
13289         (sinh_test_data): Likewise.
13290         (tanh_test_data): Likewise.
13291         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13292         flags argument.
13294         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13295         tests with quiet NaN input and output.
13296         (acosh_test_data): Likewise.
13297         (asin_test_data): Likewise.
13298         (asinh_test_data): Likewise.
13299         (atan_test_data): Likewise.
13300         (atanh_test_data): Likewise.
13301         (atan2_test_data): Likewise.
13302         (cbrt_test_data): Likewise.
13303         (cos_test_data): Likewise.
13304         (cosh_test_data): Likewise.
13305         (erf_test_data): Likewise.
13306         (erfc_test_data): Likewise.
13307         (exp_test_data): Likewise.
13308         (exp10_test_data): Likewise.
13309         (exp2_test_data): Likewise.
13310         (expm1_test_data): Likewise.
13311         (hypot_test_data): Likewise.
13312         (j0_test_data): Likewise.
13313         (j1_test_data): Likewise.
13314         (jn_test_data): Likewise.
13315         (lgamma_test_data): Likewise.
13316         (log_test_data): Likewise.
13317         (log10_test_data): Likewise.
13318         (log1p_test_data): Likewise.
13319         (log2_test_data): Likewise.
13320         (pow_test_data): Likewise.
13321         (scalb_test_data): Likewise.
13322         (sin_test_data): Likewise.
13323         (sincos_test_data): Likewise.
13324         (sinh_test_data): Likewise.
13325         (tan_test_data): Likewise.
13326         (tanh_test_data): Likewise.
13327         (tgamma_test_data): Likewise.
13328         (y0_test_data): Likewise.
13329         (y1_test_data): Likewise.
13330         (yn_test_data): Likewise.
13332         [BZ #16167]
13333         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13334         argument being NaN and avoid computations with second argument in
13335         that case.
13336         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13337         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13338         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13340 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13342         * locale/iso-639.def: Add Chitwani Tharu (the).
13344 2013-11-14  Andreas Schwab  <schwab@suse.de>
13346         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13347         word instead of empty string.
13349 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13352         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13354         (__fe_nomask_env): Likewise.
13356 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13358         * benchtests/bench-timing.h: Include time.h.
13360 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13362         [BZ #15997]
13363         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13364         to 3.4.0 for x32.
13365         * sysdeps/unix/sysv/linux/configure: Regenerated.
13367 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13369         [BZ #16151]
13370         * stdlib/strtod_l.c (round_and_return): Do not consider
13371         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13372         exponent one less than half the least subnormal exponent.
13373         * stdlib/test-strtod-round-data: Add more tests.
13374         * stdlib/tst-strtod-round.c (tests): Regenerated.
13376 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13378         [BZ #14143]
13379         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13380         (__fe_mask_env): Likewise.
13381         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13382         libm_hidden_proto and add function prototype.
13383         (__fe_mask_env): Add function prototype.
13384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13385         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13387         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13389         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13391 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13393         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13394         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13396 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13398         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13399         of htab_find_slot().
13401 2013-11-11  David S. Miller  <davem@davemloft.net>
13403         [BZ #16150]
13404         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13405         symbol in the non-vis3 case in static builds.
13406         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13407         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13408         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13409         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13411 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13413         [BZ #387]
13414         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13415         it is empty.
13417 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13419         * benchtests/Makefile: Add bench-strtod.
13420         * benchtests/bench-strtod.c: New file: strtod benchtest
13422 2013-11-11  Andreas Schwab  <schwab@suse.de>
13424         [BZ #16153]
13425         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13426         terminating NUL in key length.
13428 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13430         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13431         Add artificial ODP entry for vDSO symbol for PPC64.
13432         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13433         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13435 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13437         [BZ #15374]
13438         * nss/getent.c (services_keys): Recognize services starting with digit.
13440 2013-11-06  David S. Miller  <davem@davemloft.net>
13442         [BZ #15985]
13443         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13444         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13446 2013-11-06  Will Newton  <will.newton@linaro.org>
13448         * manual/memory.texi (Malloc Examples): Remove register
13449         keyword from examples.
13451 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13453         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13455 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13457         [BZ #6981]
13458         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13459         depending on [__GCC_IEC_559 > 0].
13460         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13461         depending on [__GCC_IEC_559_COMPLEX > 0].
13463 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13465         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13466         to iso-639.def.
13468 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13470         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13472 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13474         [BZ #16112]
13475         * malloc/malloc (malloc_info): Do not handle first bin as
13476         special case.
13478 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13480         * locale/iso-639.def: Add Central Nahuatl (nhn).
13482 2013-11-01  Bruno Haible  <bruno@clisp.org>
13484         [BZ #7003]
13485         * manual/math.texi (BSD Random): Specify range upper bound as
13486         in POSIX.
13488 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13490         * locale/iso-639.def: Add Meadow Mari (mhr).
13492 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13494         [BZ #14752], [BZ #15763]
13495         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13496         Validate name.
13497         * rt/tst_shm.c: Add test for escaping directory.
13499 2013-10-31  Andreas Schwab  <schwab@suse.de>
13501         [BZ #15917]
13502         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13503         followed by 'x' as part of digit sequence.
13504         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13506 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13508         [BZ #16037]
13509         * configure.ac: allow GNU Make 4.0 and greater.
13510         * configure: Regenerated.
13512 2013-10-30  Will Newton  <will.newton@linaro.org>
13514         [BZ #16038]
13515         * malloc/hooks.c (memalign_check): Limit alignment to the
13516         maximum representable power of two.
13517         * malloc/malloc.c (__libc_memalign): Likewise.
13518         * malloc/tst-memalign.c (do_test): Add test for very
13519         large alignment values.
13520         * malloc/tst-posix_memalign.c (do_test): Likewise.
13522 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13524         [BZ #11087]
13525         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13526         (munmap_chunk): Likewise.
13527         (mremap_chunk): Likewise.
13529 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13531         [BZ #15799]
13532         * stdlib/div.c (div): Remove obsolete code.
13533         * stdlib/ldiv.c (ldiv): Likewise.
13534         * stdlib/lldiv.c (lldiv): Likewise.
13536 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13538         [BZ #16071]
13539         * nss/nss_files/files-XXX.c (get_contents_ret): New
13540         enumerator.
13541         (get_contents): New function.
13542         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13544 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13546         * configure.in: Moved to ...
13547         * configure.ac: ... here. Change reference to configure.in
13548         to configure.ac.
13549         * sysdeps/arm/preconfigure.ac: ... here.
13550         configure.in to configure.ac.
13551         * sysdeps/gnu/configure.in: Moved to ...
13552         * sysdeps/gnu/configure.ac: ... here.
13553         * sysdeps/i386/configure.in: Moved to ...
13554         * sysdeps/i386/configure.ac: ... here.
13555         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13556         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13557         * sysdeps/mach/configure.in: Moved to ...
13558         * sysdeps/mach/configure.ac: ... here.
13559         * sysdeps/mach/hurd/configure.in: Moved to ...
13560         * sysdeps/mach/hurd/configure.ac: ... here.
13561         * sysdeps/powerpc/configure.in: Moved to ...
13562         * sysdeps/powerpc/configure.ac: ... here.
13563         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13564         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13565         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13566         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13567         * sysdeps/s390/s390-32/configure.in: Moved to ...
13568         * sysdeps/s390/s390-32/configure.ac: ... here.
13569         * sysdeps/s390/s390-64/configure.in: Moved to ...
13570         * sysdeps/s390/s390-64/configure.ac: ... here.
13571         * sysdeps/sh/configure.in: Moved to ...
13572         * sysdeps/sh/configure.ac: ... here.
13573         * sysdeps/sparc/configure.in: Moved to ...
13574         * sysdeps/sparc/configure.ac: ... here.
13575         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13576         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13577         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13578         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13579         * sysdeps/x86_64/configure.in: Moved to ...
13580         * sysdeps/x86_64/configure.ac: ... here.
13581         * sysdeps/x86_64/preconfigure.in: Moved to ...
13582         * sysdeps/x86_64/preconfigure.ac: ... here.
13583         * aclocal.m4: Change reference to configure.in to configure.ac.
13584         * config.h.in: Likewise.
13585         * manual/install.texi: Likewise.
13586         * manual/maint.texi: Likewise.
13587         * Makefile: Likewise.
13588         * malloc/Makefile: Likewise.
13589         * nscd/Makefile: Likewise.
13590         * Makeconfig: Change reference to configure.in and
13591         preconfigure.in to configure.ac and preconfigure.ac
13592         respectively.
13593         * INSTALL: Regenerated.
13594         * configure: Likewise.
13595         * sysdeps/gnu/configure: Likewise.
13596         * sysdeps/i386/configure: Likewise.
13597         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13598         * sysdeps/mach/configure: Likewise.
13599         * sysdeps/mach/hurd/configure: Likewise.
13600         * sysdeps/powerpc/configure: Likewise.
13601         * sysdeps/powerpc/powerpc32/configure: Likewise.
13602         * sysdeps/powerpc/powerpc64/configure: Likewise.
13603         * sysdeps/s390/s390-32/configure: Likewise.
13604         * sysdeps/s390/s390-64/configure: Likewise.
13605         * sysdeps/sh/configure: Likewise.
13606         * sysdeps/sparc/configure: Likewise.
13607         * sysdeps/unix/sysv/linux/configure: Likewise.
13608         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13609         * sysdeps/x86_64/configure: Likewise.
13610         * sysdeps/x86_64/preconfigure: Likewise.
13612 2013-10-29  Andreas Schwab  <schwab@suse.de>
13614         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13616 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13618         * benchtests/pow-inputs: Add new inputs.
13620         * benchtests/exp-inputs: Add new inputs.
13622         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13623         conditional check for return value.
13624         (__cos32): Likewise.
13626 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13628         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13629         to provide a boost for large inputs with word alignment.
13630         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13631         implementation based on optimized PPC64 strcpy.
13632         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13633         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13634         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13635         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13637 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13639         [BZ #2801]
13640         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13642 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13644         [BZ #14876]
13645         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13646         * time/tst-strptime.c (day_tests): Add testcase.
13648 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13650         [BZ #14029]
13651         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13653 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13655         [BZ #16074]
13656         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13657         MAP_FAILED on error.
13659 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13661         [BZ #16072]
13662         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13663         heap for large requests.
13665 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13667         [BZ #9954]
13668         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13669         result if the result has no associated interface.
13670         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13671         interface for all 127.X.Y.Z addresses.
13673 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13675         * locale/iso-639.def: Add Ligurian (lij)
13677 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13679         [BZ #15825]
13680         * sunrpc/rpc_main.c: Document rpcgen -5.
13682 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13684         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13686 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13688         [BZ #10278]
13689         * posix/glob.c: Match only directories when trailing slash is present.
13690         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13691         (main): Add testcase.
13693 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13695         [BZ #15670]
13696         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13698 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13700         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13701         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13702         AUTH_DES and cindex for FIPS 140-2.
13703         (DES Encryption): Add cindex FIPS 46-3.
13705         * locale/locarchive.h (struct locarhandle): Add fname.
13706         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13707         if an optional argument was specified to --list-archive,
13708         otherwise NULL.
13709         * locale/programs/locarchive.c (show_archive_content): Take new
13710         argument fname and pass it via ah.fname to open_archive.
13711         * locale/programs/localedef.h: Update decl.
13712         (open_archive): If AH->fname is non-null, open that file
13713         rather than the default file name, and don't ignore ENOENT.
13714         (create_archive): Set AH.fname to NULL.
13715         (delete_locales_from_archive): Likewise.
13716         (add_locales_to_archive): Likewise.
13717         * locale/programs/locfile.c (write_all_categories): Likewise.
13719 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13720             Aldy Hernandez  <aldyh@redhat.com>
13722         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13723         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13724         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13725         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13726         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13727         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13728         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13729         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13730         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13731         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13732         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13733         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13734         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13735         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13736         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13737         Likewise.
13738         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13739         Likewise.
13740         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13741         Likewise.
13742         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13743         Likewise.
13744         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13745         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13746         Likewise.
13747         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13748         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13749         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13750         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13751         Likewise.
13752         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13753         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13754         * sysdeps/powerpc/preconfigure: Likewise.
13755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13756         Likewise.
13757         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13758         Replace contents of file by #include of <fenv_libc.h>.
13759         * sysdeps/powerpc/soft-fp/sfp-machine.h
13760         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13761         and <sys/prctl.h>.
13762         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13763         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13764         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13765         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13766         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13767         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13768         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13769         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13770         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13771         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13772         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13773         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13775         Allow copysignl PLT reference to be missing.
13777 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13778             Joseph Myers  <joseph@codesourcery.com
13780         [BZ #15948]
13781         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13782         single character.
13783         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13785 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13787         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13788         * elf/tst-tls1.c: Likewise.
13789         * elf/tst-tls10.h: Likewise.
13790         * elf/tst-tls14.c: Likewise.
13791         * elf/tst-tls2.c: Likewise.
13792         * elf/tst-tls3.c: Likewise.
13793         * elf/tst-tls4.c: Likewise.
13794         * elf/tst-tls5.c: Likewise.
13795         * elf/tst-tls6.c: Likewise.
13796         * elf/tst-tls7.c: Likewise.
13797         * elf/tst-tls8.c: Likewise.
13798         * elf/tst-tls9.c: Likewise.
13799         * elf/tst-tlsmod1.c: Likewise.
13800         * elf/tst-tlsmod13.c: Likewise.
13801         * elf/tst-tlsmod13a.c: Likewise.
13802         * elf/tst-tlsmod14a.c: Likewise.
13803         * elf/tst-tlsmod16a.c: Likewise.
13804         * elf/tst-tlsmod16b.c: Likewise.
13805         * elf/tst-tlsmod2.c: Likewise.
13806         * elf/tst-tlsmod3.c: Likewise.
13807         * elf/tst-tlsmod4.c: Likewise.
13808         * elf/tst-tlsmod5.c: Likewise.
13809         * elf/tst-tlsmod6.c: Likewise.
13811 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13813         [BZ #12486]
13814         * malloc/malloc.c: remove checks for statistics.
13816 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13818         [BZ #15277]
13819         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13820         * inet/tst-network.c: Add testcase.
13822 2013-10-17  Andreas Schwab  <schwab@suse.de>
13824         [BZ #15218]
13825         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13826         to determine canonical name.
13828 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13830         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13831         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13832         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13833         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13834         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13835         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13836         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13837         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13838         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13839         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13840         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13841         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13842         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13843         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13844         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13845         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13846         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13847         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13848         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13849         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13850         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13851         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13852         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13853         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13854         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13855         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13856         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13857         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13858         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13859         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13860         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13861         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13862         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13863         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13864         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13865         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13866         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13867         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13868         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13869         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13870         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13871         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13872         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13873         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13874         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13875         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13876         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13877         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13878         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13879         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13880         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13881         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13882         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13883         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13884         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13885         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13886         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13887         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13889 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13891         [BZ #16041]
13892         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13893         make result into a quiet NaN.
13895 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13897         * soft-fp/adddf3.c: Fix horizontal whitespace.
13898         * soft-fp/addsf3.c: Likewise.
13899         * soft-fp/addtf3.c: Likewise.
13900         * soft-fp/divdf3.c: Likewise.
13901         * soft-fp/divsf3.c: Likewise.
13902         * soft-fp/divtf3.c: Likewise.
13903         * soft-fp/double.h: Likewise.
13904         * soft-fp/eqdf2.c: Likewise.
13905         * soft-fp/eqsf2.c: Likewise.
13906         * soft-fp/eqtf2.c: Likewise.
13907         * soft-fp/extenddftf2.c: Likewise.
13908         * soft-fp/extended.h: Likewise.
13909         * soft-fp/extendsfdf2.c: Likewise.
13910         * soft-fp/extendsftf2.c: Likewise.
13911         * soft-fp/extendxftf2.c: Likewise.
13912         * soft-fp/fixdfdi.c: Likewise.
13913         * soft-fp/fixdfsi.c: Likewise.
13914         * soft-fp/fixdfti.c: Likewise.
13915         * soft-fp/fixsfdi.c: Likewise.
13916         * soft-fp/fixsfsi.c: Likewise.
13917         * soft-fp/fixsfti.c: Likewise.
13918         * soft-fp/fixtfdi.c: Likewise.
13919         * soft-fp/fixtfsi.c: Likewise.
13920         * soft-fp/fixtfti.c: Likewise.
13921         * soft-fp/fixunsdfdi.c: Likewise.
13922         * soft-fp/fixunsdfsi.c: Likewise.
13923         * soft-fp/fixunsdfti.c: Likewise.
13924         * soft-fp/fixunssfdi.c: Likewise.
13925         * soft-fp/fixunssfsi.c: Likewise.
13926         * soft-fp/fixunssfti.c: Likewise.
13927         * soft-fp/fixunstfdi.c: Likewise.
13928         * soft-fp/fixunstfsi.c: Likewise.
13929         * soft-fp/fixunstfti.c: Likewise.
13930         * soft-fp/floatdidf.c: Likewise.
13931         * soft-fp/floatdisf.c: Likewise.
13932         * soft-fp/floatditf.c: Likewise.
13933         * soft-fp/floatsidf.c: Likewise.
13934         * soft-fp/floatsisf.c: Likewise.
13935         * soft-fp/floatsitf.c: Likewise.
13936         * soft-fp/floattidf.c: Likewise.
13937         * soft-fp/floattisf.c: Likewise.
13938         * soft-fp/floattitf.c: Likewise.
13939         * soft-fp/floatundidf.c: Likewise.
13940         * soft-fp/floatundisf.c: Likewise.
13941         * soft-fp/floatunditf.c: Likewise.
13942         * soft-fp/floatunsidf.c: Likewise.
13943         * soft-fp/floatunsisf.c: Likewise.
13944         * soft-fp/floatunsitf.c: Likewise.
13945         * soft-fp/floatuntidf.c: Likewise.
13946         * soft-fp/floatuntisf.c: Likewise.
13947         * soft-fp/floatuntitf.c: Likewise.
13948         * soft-fp/fmadf4.c: Likewise.
13949         * soft-fp/fmasf4.c: Likewise.
13950         * soft-fp/fmatf4.c: Likewise.
13951         * soft-fp/gedf2.c: Likewise.
13952         * soft-fp/gesf2.c: Likewise.
13953         * soft-fp/getf2.c: Likewise.
13954         * soft-fp/ledf2.c: Likewise.
13955         * soft-fp/lesf2.c: Likewise.
13956         * soft-fp/letf2.c: Likewise.
13957         * soft-fp/muldf3.c: Likewise.
13958         * soft-fp/mulsf3.c: Likewise.
13959         * soft-fp/multf3.c: Likewise.
13960         * soft-fp/negdf2.c: Likewise.
13961         * soft-fp/negsf2.c: Likewise.
13962         * soft-fp/negtf2.c: Likewise.
13963         * soft-fp/op-1.h: Likewise.
13964         * soft-fp/op-2.h: Likewise.
13965         * soft-fp/op-4.h: Likewise.
13966         * soft-fp/op-8.h: Likewise.
13967         * soft-fp/op-common.h: Likewise.
13968         * soft-fp/quad.h: Likewise.
13969         * soft-fp/single.h: Likewise.
13970         * soft-fp/soft-fp.h: Likewise.
13971         * soft-fp/sqrtdf2.c: Likewise.
13972         * soft-fp/sqrtsf2.c: Likewise.
13973         * soft-fp/sqrttf2.c: Likewise.
13974         * soft-fp/subdf3.c: Likewise.
13975         * soft-fp/subsf3.c: Likewise.
13976         * soft-fp/subtf3.c: Likewise.
13977         * soft-fp/truncdfsf2.c: Likewise.
13978         * soft-fp/trunctfdf2.c: Likewise.
13979         * soft-fp/trunctfsf2.c: Likewise.
13980         * soft-fp/trunctfxf2.c: Likewise.
13981         * soft-fp/unorddf2.c: Likewise.
13982         * soft-fp/unordsf2.c: Likewise.
13983         * soft-fp/unordtf2.c: Likewise.
13985 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13987         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13988         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13990 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13992         * elf/dl-libc.c: Clear initfini list after freeing.
13994 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13996         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13997         * soft-fp/addsf3.c: Likewise.
13998         * soft-fp/addtf3.c: Likewise.
13999         * soft-fp/divdf3.c: Likewise.
14000         * soft-fp/divsf3.c: Likewise.
14001         * soft-fp/divtf3.c: Likewise.
14002         * soft-fp/double.h: Likewise.
14003         * soft-fp/eqdf2.c: Likewise.
14004         * soft-fp/eqsf2.c: Likewise.
14005         * soft-fp/eqtf2.c: Likewise.
14006         * soft-fp/extenddftf2.c: Likewise.
14007         * soft-fp/extended.h: Likewise.
14008         * soft-fp/extendsfdf2.c: Likewise.
14009         * soft-fp/extendsftf2.c: Likewise.
14010         * soft-fp/extendxftf2.c: Likewise.
14011         * soft-fp/fixdfdi.c: Likewise.
14012         * soft-fp/fixdfsi.c: Likewise.
14013         * soft-fp/fixdfti.c: Likewise.
14014         * soft-fp/fixsfdi.c: Likewise.
14015         * soft-fp/fixsfsi.c: Likewise.
14016         * soft-fp/fixsfti.c: Likewise.
14017         * soft-fp/fixtfdi.c: Likewise.
14018         * soft-fp/fixtfsi.c: Likewise.
14019         * soft-fp/fixtfti.c: Likewise.
14020         * soft-fp/fixunsdfdi.c: Likewise.
14021         * soft-fp/fixunsdfsi.c: Likewise.
14022         * soft-fp/fixunsdfti.c: Likewise.
14023         * soft-fp/fixunssfdi.c: Likewise.
14024         * soft-fp/fixunssfsi.c: Likewise.
14025         * soft-fp/fixunssfti.c: Likewise.
14026         * soft-fp/fixunstfdi.c: Likewise.
14027         * soft-fp/fixunstfsi.c: Likewise.
14028         * soft-fp/fixunstfti.c: Likewise.
14029         * soft-fp/floatdidf.c: Likewise.
14030         * soft-fp/floatdisf.c: Likewise.
14031         * soft-fp/floatditf.c: Likewise.
14032         * soft-fp/floatsidf.c: Likewise.
14033         * soft-fp/floatsisf.c: Likewise.
14034         * soft-fp/floatsitf.c: Likewise.
14035         * soft-fp/floattidf.c: Likewise.
14036         * soft-fp/floattisf.c: Likewise.
14037         * soft-fp/floattitf.c: Likewise.
14038         * soft-fp/floatundidf.c: Likewise.
14039         * soft-fp/floatundisf.c: Likewise.
14040         * soft-fp/floatunsidf.c: Likewise.
14041         * soft-fp/floatunsisf.c: Likewise.
14042         * soft-fp/floatuntidf.c: Likewise.
14043         * soft-fp/floatuntisf.c: Likewise.
14044         * soft-fp/floatuntitf.c: Likewise.
14045         * soft-fp/fmadf4.c: Likewise.
14046         * soft-fp/fmasf4.c: Likewise.
14047         * soft-fp/fmatf4.c: Likewise.
14048         * soft-fp/gedf2.c: Likewise.
14049         * soft-fp/gesf2.c: Likewise.
14050         * soft-fp/getf2.c: Likewise.
14051         * soft-fp/ledf2.c: Likewise.
14052         * soft-fp/lesf2.c: Likewise.
14053         * soft-fp/letf2.c: Likewise.
14054         * soft-fp/muldf3.c: Likewise.
14055         * soft-fp/mulsf3.c: Likewise.
14056         * soft-fp/multf3.c: Likewise.
14057         * soft-fp/negdf2.c: Likewise.
14058         * soft-fp/negsf2.c: Likewise.
14059         * soft-fp/negtf2.c: Likewise.
14060         * soft-fp/op-1.h: Likewise.
14061         * soft-fp/op-2.h: Likewise.
14062         * soft-fp/op-4.h: Likewise.
14063         * soft-fp/op-8.h: Likewise.
14064         * soft-fp/op-common.h: Likewise.
14065         * soft-fp/quad.h: Likewise.
14066         * soft-fp/single.h: Likewise.
14067         * soft-fp/soft-fp.h: Likewise.
14068         * soft-fp/sqrtdf2.c: Likewise.
14069         * soft-fp/sqrtsf2.c: Likewise.
14070         * soft-fp/sqrttf2.c: Likewise.
14071         * soft-fp/subdf3.c: Likewise.
14072         * soft-fp/subsf3.c: Likewise.
14073         * soft-fp/subtf3.c: Likewise.
14074         * soft-fp/truncdfsf2.c: Likewise.
14075         * soft-fp/trunctfdf2.c: Likewise.
14076         * soft-fp/trunctfsf2.c: Likewise.
14077         * soft-fp/trunctfxf2.c: Likewise.
14078         * soft-fp/unorddf2.c: Likewise.
14079         * soft-fp/unordsf2.c: Likewise.
14080         * soft-fp/unordtf2.c: Likewise.
14082 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14084         [BZ #15672]
14085         * misc/error.c (error_tail): Fix possible buffer overflow.
14087 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14089         [BZ #13028]
14090         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14091         address.
14093 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14095         [BZ #832]
14096         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14097         testing pipefail option.
14099 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14101         * soft-fp/double.h: Indent preprocessor directives inside #if.
14102         * soft-fp/extended.h: Likewise.
14103         * soft-fp/op-2.h: Likewise.
14104         * soft-fp/op-4.h: Likewise.
14105         * soft-fp/op-common.h: Likewise.
14106         * soft-fp/quad.h: Likewise.
14107         * soft-fp/single.h: Likewise.
14108         * soft-fp/soft-fp.h: Likewise.
14110 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14112         * iconv/iconv_prog.c: Fix typos.
14113         * stdio-common/psiginfo-data.h: Likewise.
14115 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14117         [BZ #15764]
14118         * locale/setlocale.c: Fix typo.
14120 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14122         [BZ #16036]
14123         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14124         signaling NaN arguments.
14125         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14126         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14128         [BZ #14910]
14129         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14130         unordered operands.
14131         * soft-fp/gesf2.c (__gesf2): Likewise.
14132         * soft-fp/getf2.c (__getf2): Likewise.
14133         * soft-fp/ledf2.c (__ledf2): Likewise.
14134         * soft-fp/lesf2.c (__lesf2): Likewise.
14135         * soft-fp/letf2.c (__letf2): Likewise.
14137         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14138         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14139         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14140         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14141         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14142         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14143         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14144         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14145         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14146         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14147         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14148         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14149         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14150         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14151         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14152         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14153         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14154         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14155         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14156         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14157         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14158         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14159         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14160         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14161         * soft-fp/floattidf.c (__floattidf): Likewise.
14162         * soft-fp/floattisf.c (__floattisf): Likewise.
14163         * soft-fp/floattitf.c (__floattitf): Likewise.
14164         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14165         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14166         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14167         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14168         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14169         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14170         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14171         * soft-fp/gesf2.c (__gesf2): Likewise.
14172         * soft-fp/getf2.c (__getf2): Likewise.
14173         * soft-fp/ledf2.c (__ledf2): Likewise.
14174         * soft-fp/lesf2.c (__lesf2): Likewise.
14175         * soft-fp/letf2.c (__letf2): Likewise.
14177         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14178         Undefine and redefine.
14179         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14180         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14181         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14182         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14183         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14184         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14185         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14186         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14187         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14188         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14189         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14190         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14191         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14192         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14193         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14195         [BZ #16032]
14196         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14197         without decrementing exponent if mantissa >= that for the
14198         denominator, not >.
14199         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14200         denominator, not >.  Decrement exponent in < case instead of
14201         incrementing in >= case.
14202         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14203         without decrementing exponent if mantissa >= that for the
14204         denominator, not >.
14206         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14207         computing saturated result for unsigned overflow.
14209 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14210             Jeff Law  <law@redhat.com>
14212         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14213         (atan2Mp): Add systemtap probe marker.
14214         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14215         (__ieee754_log): Add systemtap probe marker.
14216         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14217         (atanMp): Add systemtap probe marker.
14218         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14219         (tanMp): Add systemtap probe marker.
14220         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14221         (__slowexp): Add systemtap probe marker.
14222         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14223         (__slowpow): Add systemtap probe marker.
14224         * manual/probes.texi: Document probes.
14226 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14228         [BZ #15362]
14229         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14230         written.
14231         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14232         written.
14233         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14234         written to buffer but not flushed.
14235         * libio/iofwrite_u.c:  Likewise.
14236         * libio/iopadn.c:  Return bytes returned even if EOF was
14237         encountered.
14238         * libio/iowpadn.c:  Likewise.
14239         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14240         if _IO_padn does not write the whole buffer.
14241         [!COMPILE_WPRINTF] (PAD): Likewise.
14243 2013-10-10  David S. Miller  <davem@davemloft.net>
14245         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14246         directory block.
14248 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14250         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14251         instead of FSF address.
14252         * soft-fp/fixdfti.c: Likewise.
14253         * soft-fp/fixsfti.c: Likewise.
14254         * soft-fp/fixtfti.c: Likewise.
14255         * soft-fp/fixunsdfti.c: Likewise.
14256         * soft-fp/fixunssfti.c: Likewise.
14257         * soft-fp/fixunstfti.c: Likewise.
14258         * soft-fp/floattidf.c: Likewise.
14259         * soft-fp/floattisf.c: Likewise.
14260         * soft-fp/floattitf.c: Likewise.
14261         * soft-fp/floatuntidf.c: Likewise.
14262         * soft-fp/floatuntisf.c: Likewise.
14263         * soft-fp/floatuntitf.c: Likewise.
14264         * soft-fp/trunctfxf2.c: Likewise.
14266         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14267         * soft-fp/fixdfti.c: Likewise.
14268         * soft-fp/fixsfti.c: Likewise.
14269         * soft-fp/fixtfti.c: Likewise.
14270         * soft-fp/fixunsdfti.c: Likewise.
14271         * soft-fp/fixunssfti.c: Likewise.
14272         * soft-fp/fixunstfti.c: Likewise.
14273         * soft-fp/floattidf.c: Likewise.
14274         * soft-fp/floattisf.c: Likewise.
14275         * soft-fp/floattitf.c: Likewise.
14276         * soft-fp/floatuntidf.c: Likewise.
14277         * soft-fp/floatuntisf.c: Likewise.
14278         * soft-fp/floatuntitf.c: Likewise.
14279         * soft-fp/trunctfxf2.c: Likewise.
14281 2013-10-10  David S. Miller  <davem@davemloft.net>
14283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14285 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14287         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14288         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14289         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14290         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14291         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14292         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14293         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14295         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14296         for NaNs before doing comparisons on argument.
14297         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14298         Likewise.
14300 2013-10-10  Will Newton  <will.newton@linaro.org>
14302         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14303         passed to _int_memalign does not overflow.
14305 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14307         * scripts/bench.pl: Add include-sources directive.
14308         * benchtests/README: Update documentation.
14310 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14312         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14313         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14314         instead of FP_INIT_ROUNDMODE.
14315         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14316         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14318         [BZ #16034]
14319         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14320         copy class of input value.
14321         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14322         not handle exceptions.
14323         * soft-fp/negsf2.c (__negsf2): Likewise.
14324         * soft-fp/negtf2.c (__negtf2): Likewise.
14325         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14327 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14329         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14330         semicolon.  From Linux kernel.
14332 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14334         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14336 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14338         [BZ #156]
14339         * manual/socket.texi: Added statement about buffer
14340         for gethostbyname2_r.
14342 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14344         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14345         Use .p2align directive instead, throughout.
14346         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14347         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14348         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14349         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14350         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14351         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14352         * sysdeps/x86_64/strchr.S: Likewise.
14353         * sysdeps/x86_64/strrchr.S: Likewise.
14355 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14357         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14359         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14361         * sysdeps/generic/math_private.h (__mpsin1): Remove
14362         declaration.
14363         (__mpcos1): Likewise.
14364         (__mpsin): New argument __range_reduce.
14365         (__mpcos): Likewise.
14366         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14367         (slow): Use __mpsin and __mpcos.
14368         (slow1): Likewise.
14369         (slow2): Likewise.
14370         (sloww): Likewise.
14371         (sloww1): Likewise.
14372         (sloww2): Likewise.
14373         (bsloww): Likewise.
14374         (bsloww1): Likewise.
14375         (bsloww2): Likewise.
14376         (cslow2): Likewise.
14377         (csloww): Likewise.
14378         (csloww1): Likewise.
14379         (csloww2): Likewise.
14380         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14381         range_reduce.  Merge in __mpsin1.
14382         (__mpcos): Likewise.
14383         (__mpsin1): Remove.
14384         (__mpcos1): Likewise.
14386 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14388         * locale/loadlocale.c (_nl_intern_locale_data): Use
14389         LOCFILE_ALIGNED_P.
14390         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14391         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14392         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14393         obstack data is appropriately aligned.
14394         (obstack_int32_grow_fast): Likewise.
14395         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14396         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14397         (add_locale_uint32_array): Likewise.
14399 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14401         * benchtests/Makefile: Remove ARGLIST and RET variables.
14402         ($(objpfx)bench-%.c): Pass only function name to the script.
14403         * benchtests/README: Update documentation.
14404         * benchtests/acos-inputs: Add new directives.
14405         * benchtests/acosh-inputs: Likewise.
14406         * benchtests/asin-inputs: Likewise.
14407         * benchtests/asinh-inputs: Likewise.
14408         * benchtests/atan-inputs: Likewise.
14409         * benchtests/atanh-inputs: Likewise.
14410         * benchtests/cos-inputs: Likewise.
14411         * benchtests/cosh-inputs: Likewise.
14412         * benchtests/exp-inputs: Likewise.
14413         * benchtests/log-inputs: Likewise.
14414         * benchtests/pow-inputs: Likewise.
14415         * benchtests/rint-inputs: Likewise.
14416         * benchtests/sin-inputs: Likewise.
14417         * benchtests/sinh-inputs: Likewise.
14418         * benchtests/tan-inputs: Likewise.
14419         * benchtests/tanh-inputs: Likewise.
14420         * scripts/bench.pl: Add support for new directives.
14422 2013-10-07  Alan Modra  <amodra@gmail.com>
14424         * README: Fix careless merge.
14426 2013-10-05  Alan Modra  <amodra@gmail.com>
14428         * NEWS: Mention powerpc64le support and bugs fixed.
14429         * README: Both big-endian and little-endian powerpc64 supported.
14431 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14433         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14434         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14435         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14436         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14438 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14440         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14441         match prototype.
14443 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14445         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14446         Move -mhard-float appending from
14447         ports/sysdeps/powerpc/powerpc32/Makefile.
14448         [$(with-fp) = yes] (ASFLAGS): Likewise.
14449         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14450         * sysdeps/powerpc/nofpu: Move directory from
14451         ports/sysdeps/powerpc/nofpu.
14452         * sysdeps/powerpc/soft-fp: Move directory from
14453         ports/sysdeps/powerpc/soft-fp.
14454         * sysdeps/powerpc/powerpc32/405: Move directory from
14455         ports/sysdeps/powerpc/powerpc32/405.
14456         * sysdeps/powerpc/powerpc32/440: Move directory from
14457         ports/sysdeps/powerpc/powerpc32/440.
14458         * sysdeps/powerpc/powerpc32/464: Move directory from
14459         ports/sysdeps/powerpc/powerpc32/464.
14460         * sysdeps/powerpc/powerpc32/476: Move directory from
14461         ports/sysdeps/powerpc/powerpc32/476.
14462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14463         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14465         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14467         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14469         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14471         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14472         * README: Update for powerpc-*-linux-gnu software floating point
14473         support in libc.
14475         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14476         case to powerpc/powerpc32*.
14477         * sysdeps/unix/sysv/linux/configure: Regenerated.
14479         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14480         (_FPU_MASK_OM): Define as 0x04.
14481         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14482         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14483         0x00c10080.
14484         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14485         0x0000003c.
14486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14489         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14490         getcontext_e500.
14491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14492         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14493         setcontext_e500.
14494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14495         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14496         and setcontext_e500.
14498 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14500         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14502 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14504         * manual/threads.texi (Default Thread Attributes): Fix typo.
14506 2013-10-04  Will Newton  <will.newton@linaro.org>
14508         * malloc/Makefile: Add tst-memalign.
14509         * malloc/tst-memalign.c: New file.
14511         * malloc/tst-posix_memalign.c: Add comments.
14512         (do_test): Add comments and call free on all potentially
14513         allocated pointers. Add space after cast.
14515         * malloc/tst-pvalloc.c: Add comments.
14516         (do_test): Add comments and call free on all potentially
14517         allocated pointers. Remove duplicate check for NULL pointer.
14518         Add space after cast.
14520         * malloc/tst-valloc.c: Add comments.
14521         (do_test): Add comments and call free on all potentially
14522         allocated pointers. Remove duplicate check for NULL pointer.
14523         Add space after cast.
14525 2013-10-04  Alan Modra  <amodra@gmail.com>
14527         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14528         Use stdint types in rather than __attribute__((mode())).
14529         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14531 2013-10-04  Alan Modra  <amodra@gmail.com>
14533         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14534         Correct handling of unaligned relocs for little-endian.
14535         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14537 2013-10-04  Alan Modra  <amodra@gmail.com>
14539         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14540         * configure: Regenerate.
14541         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14542         * shlib-versions: Likewise.
14544 2013-10-04  Alan Modra  <amodra@gmail.com>
14546         * string/tester.c (test_memrchr): Increment reported test cycle.
14548 2013-10-04  Alan Modra  <amodra@gmail.com>
14550         * string/test-memcpy.c (do_one_test): When reporting errors, print
14551         string address and don't overrun end of string.
14553 2013-10-04  Alan Modra  <amodra@gmail.com>
14555         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14556         insrdi.  Make better use of reg selection to speed exit slightly.
14557         Schedule entry path a little better.  Remove useless "are we done"
14558         checks on entry to main loop.  Handle wrapping around zero address.
14559         Correct main loop count.  Handle single left-over word from main
14560         loop inline rather than by using loop_small.  Remove extra word
14561         case in loop_small caused by wrong loop count.  Add little-endian
14562         support.
14563         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14564         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14565         cache hint.
14566         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14567         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14568         support.  Avoid rlwimi.
14569         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14571 2013-10-04  Alan Modra  <amodra@gmail.com>
14573         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14574         insrdi.  Formatting.
14575         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14576         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14577         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14578         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14579         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14580         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14582 2013-10-04  Alan Modra  <amodra@gmail.com>
14584         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14585         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14586         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14587         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14588         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14589         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14590         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14591         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14592         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14593         use of regs.  Use power7 mtocrf.  Tidy function tails.
14595 2013-10-04  Alan Modra  <amodra@gmail.com>
14597         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14598         Formatting.  Consistently use rXXX register defines or rN defines.
14599         Use early exit labels that avoid restoring unused non-volatile regs.
14600         Make cr field use more consistent with rWORDn compares.  Rename
14601         regs used as shift registers for unaligned loop, using rN defines
14602         for short lifetime/multiple use regs.
14603         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14604         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14605         addi 1,1,64 to pop stack frame.  Simplify return value code.
14606         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14608 2013-10-04  Alan Modra  <amodra@gmail.com>
14610         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14611         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14612         rather than rlwimi.
14613         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14614         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14615         little-endian support.  Correct typos.
14616         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14617         rather than rlwimi.
14618         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14619         in loop and entry code to keep "and." results.
14620         (strchr): Add little-endian support.  Comment.  Move cntlzd
14621         earlier in tail.
14622         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14624 2013-10-04  Alan Modra  <amodra@gmail.com>
14626         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14627         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14628         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14629         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14631 2013-10-04  Alan Modra  <amodra@gmail.com>
14633         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14634         (rTMP): Define as r11.
14635         (strcmp): Add little-endian support.  Optimise tail.
14636         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14637         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14638         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14639         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14640         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14641         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14642         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14644 2013-10-04  Alan Modra  <amodra@gmail.com>
14646         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14647         little-endian support.  Remove unnecessary "are we done" tests.
14648         Handle "s" wrapping around zero and extremely large "size".
14649         Correct main loop count.  Handle single left-over word from main
14650         loop inline rather than by using small_loop.  Correct comments.
14651         Delete "zero" tail, use "end_max" instead.
14652         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14654 2013-10-04  Alan Modra  <amodra@gmail.com>
14656         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14657         support.  Don't branch over align.
14658         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14659         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14660         support.  Rearrange tmp reg use to suit.  Comment.
14661         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14663 2013-10-04  Alan Modra  <amodra@gmail.com>
14665         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14667 2013-10-04  Alan Modra  <amodra@gmail.com>
14669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14670         conditional form of branch and link when obtaining pc.
14671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14673 2013-10-04  Alan Modra  <amodra@gmail.com>
14675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14676         HIWORD/LOWORD.
14677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14680 2013-10-04  Alan Modra  <amodra@gmail.com>
14682         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14683         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14684         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14685         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14686         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14687         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14688         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14689         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14690         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14691         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14693 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14694             Alistair Popple <alistair@ozlabs.au.ibm.com>
14695             Alan Modra <amodra@gmail.com>
14697         [BZ #15723]
14698         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14699         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14700         _dl_hwcap access for little-endian.
14701         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14702         destroy vmx regs when saving unaligned.
14703         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14704         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14705         destroy vmx regs when saving unaligned.
14707 2013-10-04  Alan Modra  <amodra@gmail.com>
14709         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14710         Don't use a union to pack hi/low value.
14712 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14714         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14715         for little-endian.
14716         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14717         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14718         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14719         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14720         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14722 2013-10-04  Alan Modra  <amodra@gmail.com>
14724         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14725         constants to usual value for .cst8 section, and remove redundant
14726         high address load.
14727         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14728         constant for 0x1p52.  Load little-endian words of double from
14729         correct stack offsets.
14731 2013-10-04  Alan Modra  <amodra@gmail.com>
14733         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14734         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14735         words of double from correct stack offsets.
14736         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14737         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14738         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14739         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14740         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14741         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14742         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14743         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14744         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14745         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14746         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14747         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14748         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14749         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14750         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14751         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14752         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14754 2013-10-04  Alan Modra  <amodra@gmail.com>
14756         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14757         64-bit int/double union.
14758         (_FPU_SETCW): Likewise.
14759         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14760         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14762 2013-10-04  Alan Modra  <amodra@gmail.com>
14764         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14765         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14767 2013-10-04  Alan Modra  <amodra@gmail.com>
14769         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14770         use vector int constants.
14771         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14773 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14775         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14776         array with long long.
14777         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14778         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14779         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14780         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14781         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14782         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14783         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14784         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14785         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14786         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14787         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14788         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14789         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14791 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14793         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14794         (__signbit): Likewise.  Correct for little-endian.
14795         (__signbitl): Call __signbit.
14796         (lrint): Correct for little-endian.
14797         (lrintf): Call lrint.
14799 2013-10-04  Alan Modra  <amodra@gmail.com>
14801         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14802         union 32-bit int array member with 64-bit int array.
14803         (t515, tm256): Double rather than long double.
14804         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14806 2013-10-04  Alan Modra  <amodra@gmail.com>
14808         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14809         Delete.
14810         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14811         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14812         version of math_ldbl.h.
14814 2013-10-04  Alan Modra  <amodra@gmail.com>
14816         [BZ #15734], [BZ #15735]
14817         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14818         all uses of ieee875 long double macros and unions.  Simplify test
14819         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14820         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14821         normalize after ldbl_extract_mantissa, and don't add hidden bit
14822         already handled.  Don't treat low word of ieee854 mantissa like
14823         low word of IBM long double and mask off bit when testing for
14824         zero.
14825         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14826         all uses of ieee875 long double macros and unions.  Simplify tests
14827         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14828         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14829         two1022, instead use their values.  Recognise that tests for large
14830         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14831         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14832         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14833         test for 0.0L and nan.  Correct negation.
14834         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14835         ieee875 long double macros and unions.  Correct output for large
14836         magnitude x.  Correct absolute value calculation.
14837         (__erfcl): Likewise.
14838         * math/libm-test.inc: Add tests for errors discovered in IBM long
14839         double versions of fmodl, remainderl, erfl and erfcl.
14841 2013-10-04  Alan Modra  <amodra@gmail.com>
14843         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14844         all uses of ieee854 long double macros and unions.  Simplify tests
14845         for long doubles that are fully specified by the high double.
14846         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14847         Likewise.
14848         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14849         Remove dead code too.
14850         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14851         (__ieee754_ynl): Likewise.
14852         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14853         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14854         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14855         Remove dead code too.
14856         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14857         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14858         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14859         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14860         Simplify.
14861         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14862         Simplify.
14863         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14864         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14865         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14866         Comment on variable precision.
14867         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14868         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14869         Likewise.
14870         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14871         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14872         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14873         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14874         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14876 2013-10-04  Alan Modra  <amodra@gmail.com>
14878         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14879         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14880         all uses of ieee854 long double macros and unions.
14881         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14882         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14883         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14884         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14885         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14886         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14887         Likewise.
14888         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14889         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14890         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14891         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14892         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14893         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14894         Simplify sign and nan test too.
14895         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14896         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14897         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14898         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14899         Likewise.
14900         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14901         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14902         Likewise.
14903         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14904         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14905         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14906         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14907         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14908         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14910 2013-10-04  Alan Modra  <amodra@gmail.com>
14912         * stdio-common/printf_size.c (__printf_size): Don't use
14913         union ieee854_long_double in fpnum union.
14914         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14915         signbit macro to retrieve sign from long double.
14916         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14917         retrieve sign from long double.
14918         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14919         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14920         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14921         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14922         * math/test-misc.c (main): Don't use union ieee854_long_double.
14924 2013-10-04  Alan Modra  <amodra@gmail.com>
14926         [BZ #15680]
14927         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14928         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14929         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14930         calculation.  Remove unnecessary test for denormal exponent.
14931         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14932         Correct handling of denormals.  Avoid undefined shift behaviour.
14933         Correct normalisation of low mantissa when low double is denormal.
14934         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14935         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14936         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14937         Correct normalisation of low mantissa.  Test for overflow of high
14938         mantissa and normalise.
14939         (ldbl_nearbyint): Use more readable constant for two52.
14940         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14941         (__mpn_construct_long_double): Fix test for overflow of high
14942         mantissa and correct normalisation.  Avoid undefined shift.
14944 2013-10-04  Alan Modra  <amodra@gmail.com>
14946         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14947         (union ibm_extended_long_double): Define as an array of ieee754_double.
14948         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14949         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14950         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14951         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14952         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14953         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14954         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14955         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14956         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14957         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14958         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14960 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14962         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14963         page size instead of calling getpagesize.
14965         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14966         (LOCFILE_ALIGN_MASK): Likewise.
14967         (LOCFILE_ALIGN_UP): Likewise.
14968         (LOCFILE_ALIGNED_P): Likewise.
14969         * locale/programs/ld-collate.c (collate_output): Use the new
14970         macros instead of __alignof__ (int32_t).
14971         * locale/weight.h (findidx): Likewise.
14973 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14975         [BZ #431]
14976         * manual/string.texi: Fix strncat and wcsncat.
14978 2013-10-03  Brooks Moses  <bmoses@google.com>
14980         [BZ #15915]
14981         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14982         * Makerules: ...here, and adjust associated comments.
14984 2013-10-02  Will Newton  <will.newton@linaro.org>
14986         * malloc/Makefile: Add tst-pvalloc.
14987         * malloc/tst-pvalloc.c: New file.
14989 2013-10-02  Will Newton  <will.newton@linaro.org>
14991         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14992         improve test coverage.
14994 2013-10-02  Will Newton  <will.newton@linaro.org>
14996         * malloc/Makefile: Add tst-posix_memalign.
14997         * malloc/tst-posix_memalign.c: New file.
14999 2013-10-01  Eric Blake  <eblake@redhat.com>
15001         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15002         Use __THROWNL rather than __THROW on static functions.
15004 2013-09-30  Petr Machata  <pmachata@redhat.com>
15006         * elf/elf.h (R_AARCH64_ABS16): New macro.
15007         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15008         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15009         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15010         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15011         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15012         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15013         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15014         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15015         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15016         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15017         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15018         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15019         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15020         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15021         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15022         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15023         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15024         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15025         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15026         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15027         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15028         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15029         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15030         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15031         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15032         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15033         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15034         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15035         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15036         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15037         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15038         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15039         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15040         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15041         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15042         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15043         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15044         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15045         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15046         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15047         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15048         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15049         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15050         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15051         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15052         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15053         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15054         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15055         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15056         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15057         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15058         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15059         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15060         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15061         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15062         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15063         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15064         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15065         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15066         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15067         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15068         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15069         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15070         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15071         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15072         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15073         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15074         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15075         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15076         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15077         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15078         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15079         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15080         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15081         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15082         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15083         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15084         (R_AARCH64_TLSDESC_LDR): Likewise.
15085         (R_AARCH64_TLSDESC_ADD): Likewise.
15086         (R_AARCH64_TLSDESC_CALL): Likewise.
15088 2013-09-30  Andreas Schwab  <schwab@suse.de>
15090         [BZ #15048]
15091         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15092         the nss database lookup.
15093         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15096 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15098         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15100 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15102         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15103         ${Bash-specific parameter/pattern/string} parameter expansion.
15104         * sysdeps/unix/make-syscalls.sh: Likewise.
15106 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15108         * sysdeps/sh/stackguard-macros.h: New file.
15110 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15114         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15115         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15116         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15117         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15119 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15121         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15122         Fix thread ID register.
15124 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15126         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15127         [POSIX || UNIX98]: Require rather than permitting all symbols from
15128         <time.h>.
15129         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15130         element of struct sched_param.
15131         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15132         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15133         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15134         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15135         constant.
15137 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15139         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15140         argument calculation.
15142 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15144         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15145         Expect macro.
15146         [POSIX] (pthread_attr_t): Do not require type.
15147         [POSIX] (pthread_cond_t): Likewise.
15148         [POSIX] (pthread_condattr_t): Likewise.
15149         [POSIX] (pthread_key_t): Likewise.
15150         [POSIX] (pthread_mutex_t): Likewise.
15151         [POSIX] (pthread_mutexattr_t): Likewise.
15152         [POSIX] (pthread_once_t): Likewise.
15153         [POSIX] (pthread_t): Likewise.
15154         [POSIX-based standards] (pthread_atfork): Expect function.
15156 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15157             Richard Sandiford  <richard@codesourcery.com>
15159         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15160         (swap_endianness_p): New extern variable.
15161         (set_big_endian): New inline function.
15162         (maybe_swap_uint32): Likewise.
15163         (maybe_swap_uint32_array): Likewise.
15164         (maybe_swap_uint32_obstack): Likewise.
15165         * locale/programs/locfile.c: Include <stdbool.h>.
15166         (swap_endianness_p): New variable.
15167         (add_locale_uint32): Call maybe_swap_uint32.
15168         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15169         (write_locale_data): Call maybe_swap_uint32_array.
15170         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15171         maybe_swap_uint32.
15172         (obstack_int32_grow_fast): Likewise.
15173         (output_weightwc): Call maybe_swap_uint32_obstack.
15174         (collate_output): Likewise.
15175         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15176         (OPT_LITTLE_ENDIAN): Likewise.
15177         (options): Add --little-endian and --big-endian options.
15178         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15179         * locale/programs/locarchive.c: Include "locfile.h".
15180         (GET): New macro.
15181         (SET): Likewise.
15182         (INC): Likewise.
15183         (create_archive): Use the new macros to access fields of
15184         structures directly mapped from or written to locale archives.
15185         (oldlocrecentcmp): Likewise.
15186         (enlarge_archive): Likewise.
15187         (insert_name): Likewise.
15188         (add_alias): Likewise.
15189         (add_locale): Likewise.
15190         (delete_locales_from_archive): Likewise.
15191         (show_archive_content): Likewise.
15192         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15193         locale data.
15195 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15197         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15198         http://www.gnu.org/doc/freemanuals.texi.
15199         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15201 2013-09-24  Will Newton  <will.newton@linaro.org>
15203         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15204         macro.
15206 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15208         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15209         unsigned char.
15211 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15213         * manual/threads.texi (POSIX Threads): Fix a typo.
15215 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15217         [BZ #14547]
15218         * string/tst-strcoll-overflow.c: New test case.
15219         * string/Makefile (xtests): Add tst-strcoll-overflow.
15220         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15221         cache if string sizes may cause integer overflow.
15223         [BZ #14547]
15224         * string/strcoll_l.c (coll_seq): New members rule, idx,
15225         save_idx and back_us.
15226         (get_next_seq_nocache): New function.
15227         (do_compare_nocache): New function.
15228         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15229         when malloc fails.
15231 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15233         [BZ #15754]
15234         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15235         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15236         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15238         [BZ #15754]
15239         * elf/Makefile (tests): Add tst-ptrguard1.
15240         (tests-static): Add tst-ptrguard1-static.
15241         (tst-ptrguard1-ARGS): Define.
15242         (tst-ptrguard1-static-ARGS): Define.
15243         * elf/tst-ptrguard1.c: New file.
15244         * elf/tst-ptrguard1-static.c: New file.
15245         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15246         * sysdeps/i386/stackguard-macros.h: Likewise.
15247         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15248         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15249         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15250         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15251         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15252         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15254 2013-09-23  Hector Marco  <hecmargi@upv.es>
15255             Ismael Ripoll  <iripoll@disca.upv.es>
15256             Carlos O'Donell  <carlos@redhat.com>
15258         [BZ #15754]
15259         * sysdeps/generic/stackguard-macros.h: Define
15260         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15261         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15262         Define __pointer_chk_guard_local.
15263         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15264         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15266 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15268         [BZ #15859]
15269         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15271 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15273         * include/string.h (__ffs): Declare as hidden.
15274         * string/ffs.c (__ffs): Define as hidden.
15275         * sysdeps/i386/ffs.c (__ffs): Likewise.
15276         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15277         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15278         * sysdeps/s390/ffs.c (__ffs): Likewise.
15279         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15281 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15283         * NEWS: Mention malloc probes.
15285         * malloc/arena.c (new_heap): New memory_heap_new probe.
15286         (grow_heap): New memory_heap_more probe.
15287         (shrink_heap): New memory_heap_less probe.
15288         (heap_trim): New memory_heap_free probe.
15289         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15290         (systrim): New memory_sbrk_less probe.
15291         * manual/probes.texi: Document them.
15293         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15294         * manual/probes.texi: Document it.
15296         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15297         (__libc_realloc): Add memory_realloc_retry probe.
15298         (__libc_memalign): Add memory_memalign_retry probe.
15299         (__libc_valloc): Add memory_valloc_retry probe.
15300         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15301         (__libc_calloc): Add memory_calloc_retry probe.
15302         * manual/probes.texi: Document them.
15304         * malloc/arena.c (get_free_list): Add probe
15305         memory_arena_reuse_free_list.
15306         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15307         and memory_arena_reuse.
15308         (arena_get2) [!PER_THREAD]: Likewise.
15309         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15310         memory_arena_reuse_realloc.
15311         * manual/probes.texi: Document them.
15313         * malloc/malloc.c (__libc_free): Add
15314         memory_mallopt_free_dyn_thresholds probe.
15315         (__libc_mallopt): Add multiple memory_mallopt probes.
15316         * manual/probes.texi: Document them.
15318         * malloc/malloc.c: Include stap-probe.h.
15319         (__libc_mallopt): Add memory_mallopt probe.
15320         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15321         * manual/probes.texi: New.
15322         * manual/Makefile (chapters): Add probes.
15323         * manual/threads.texi: Set next node.
15325 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15327         [BZ #15963, #13985]
15328         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15329         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15330         Add `Chinese' to `nan' entry name.
15332 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15334         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15335         (POLYNOMIAL): Likewise.
15336         (TAYLOR_SINCOS): Likewise.
15337         (TAYLOR_SLOW): Likewise.
15338         (__sin): Use TAYLOR_SINCOS.
15339         (__cos): Likewise.
15340         (slow): Use TAYLOR_SLOW.
15341         (sloww): Likewise.
15342         (bsloww): Likewise.
15343         (csloww): Likewise.
15345 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15347         * stdlib/strtod_l.c: Fix buffer overrun.
15349 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15351         * benchtests/Makefile (bench): Add sincos.
15352         * benchtests/bench-sincos.c: New file.
15354         * math/libm-test.inc (cos_test_data): New test inputs.
15355         (sin_test_data): Likewise.
15357         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15358         macro.
15359         (__sin): Use it.
15360         (__cos): Likewise.
15361         (slow1): Likewise.
15362         (slow2): Likewise.
15363         (sloww1): Likewise.
15364         (sloww2): Likewise.
15365         (bsloww1): Likewise.
15366         (bsloww2): Likewise.
15367         (cslow2): Likewise.
15368         (csloww1): Likewise.
15369         (csloww2): Likewise.
15371         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15372         function.
15373         (__sin): Use it.
15374         (__cos): Likewise.
15376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15377         gotos.
15378         (__cos): Likewise.
15380 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15382         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15383         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15384         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15385         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15386         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15387         * elf/cache.c (print_entry): Handle the new cache flags.
15389 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15390             Aldy Hernandez  <aldyh@redhat.com>
15392         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15393         Change condition to [_SOFT_FLOAT].
15394         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15395         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15396         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15397         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15398         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15399         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15400         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15402         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15403         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15404         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15405         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15406         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15409         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15410         declaration.
15412 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15414         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15415         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15416         (__longjmp): Use LOAD_GP to load saved GPRs.
15417         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15418         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15419         (__sigsetjmp): Use SAVE_GP to save GPRs.
15421         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15422         Do not append -msoft-float.
15423         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15425 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15427         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15429 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15431         [BZ #15966]
15432         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15433         (_FPU_GETCW): Use initial "__" on variable and field names but not
15434         on macro parameter name.
15435         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15436         parentheses around reference to macro parameter.
15438 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15440         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15441         prototype.
15442         (ctype_startup): Use uint32_t in cast and sizeof for
15443         ctype->charnames.
15445 2013-09-11  Jia Liu  <proljc@gmail.com>
15447         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15448         __daddr_t_defined.
15449         [__FreeBSD__]: Likewise.
15451 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15453         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15454         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15455         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15456         (strchr): Remove __strchr_sse42 ifunc selection.
15457         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15458         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15460 2013-09-11  Will Newton  <will.newton@linaro.org>
15462         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15463         parameter to RES. Remove hardcoded 1000 value.
15464         * benchtests/bench-skeleton.c (main): Pass RES parameter
15465         to TIMING_INIT and multiply result by 1000.
15467 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15471 2013-09-11  Andreas Schwab  <schwab@suse.de>
15473         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15474         if not defined.
15475         (O_TMPFILE) [__USE_GNU]: Define.
15476         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15477         Define.
15479 2013-09-11  Will Newton  <will.newton@linaro.org>
15481         [BZ #15857]
15482         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15483         does not overflow.
15485 2013-09-11  Will Newton  <will.newton@linaro.org>
15487         [BZ #15856]
15488         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15489         does not overflow.
15491 2013-09-11  Will Newton  <will.newton@linaro.org>
15493         [BZ #15855]
15494         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15495         does not overflow.
15497 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15499         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15500         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15501         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15502         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15503         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15505 2013-09-10  Allan McRae  <allan@archlinux.org>
15507         [BZ #15748]
15508         * manual/arith.texi (Parsing of Floats): Clarify
15509         cross-reference.
15511         [BZ #15849]
15512         * manual/install.texi (Running make install): Mention
15513         --enable-pt-chown.
15514         * INSTALL: Regenerated.
15516 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15518         * csu/init-first.c (_init): Remove the !SHARED condition around
15519         FPU control word initialization.
15520         * elf/dl-support.c (_dl_fpu_control): New variable.
15521         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15522         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15523         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15524         * math/test-fpucw-static.c: New file.
15525         * math/test-fpucw-ieee.c: New file.
15526         * math/test-fpucw-ieee-static.c: New file.
15527         * math/Makefile (tests): Add `test-fpucw-ieee' and
15528         `$(tests-static)'.
15529         (tests-static): New variable.
15530         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15531         dependency to...
15532         [($(build-shared),yes)]
15533         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15534         ... this.
15535         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15536         New dependency.
15538 2013-09-09  Allan McRae  <allan@archlinux.org>
15540         [BZ #15939]
15541         * manual/string.texi (Collation Functions): Fix typo in
15542         strcoll example.
15543         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15545         [BZ #15893]
15546         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15548         [BZ #15892]
15549         * libio/memstream.c (open_memstream): Fix memory leak.
15550         * libio/wmemstream.c (open_wmemstream): Likewise.
15552         [BZ #15895]
15553         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15555 2013-09-09  Will Newton  <will.newton@linaro.org>
15557         * malloc/Makefile: Add tst-realloc to tests.
15558         * malloc/tst-realloc.c: New file.
15560 2013-09-09  Allan McRae  <allan@archlinux.org>
15562         [BZ #15844]
15563         * COPYING: Update from GNU website to fix FSF address.
15564         * COPYING.LIB: Likewise.
15566 2013-09-06  David S. Miller  <davem@davemloft.net>
15568         * po/zh_TW.po: Update Chinese (traditional) translation from
15569         translation project.
15571 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15572             Joseph Myers  <joseph@codesourcery.com>
15574         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15575         "localeinfo.h".
15576         (obstack_chunk_alloc): New macro.
15577         (obstack_chunk_free): Likewise.
15578         (record_offset): New function.
15579         (init_locale_data): Likewise.
15580         (align_locale_data): Likewise.
15581         (add_locale_empty): Likewise.
15582         (add_locale_raw_data): Likewise.
15583         (add_locale_raw_obstack): Likewise.
15584         (add_locale_string): Likewise.
15585         (add_locale_wstring): Likewise.
15586         (add_locale_uint32): Likewise.
15587         (add_locale_uint32_array): Likewise.
15588         (add_locale_char): Likewise.
15589         (start_locale_structure): Likewise.
15590         (end_locale_structure): Likewise.
15591         (start_locale_prelude): Likewise.
15592         (end_locale_prelude): Likewise.
15593         (write_locale_data): Take locale_file structure rather than an
15594         iovec.
15595         * locale/programs/locfile.h: Include "obstack.h".
15596         (struct locale_file): Change to store locale file contents instead
15597         of header.
15598         (init_locale_data): New prototype.
15599         (align_locale_data): Likewise.
15600         (add_locale_empty): Likewise.
15601         (add_locale_raw_data): Likewise.
15602         (add_locale_raw_obstack): Likewise.
15603         (add_locale_string): Likewise.
15604         (add_locale_wstring): Likewise.
15605         (add_locale_uint32): Likewise.
15606         (add_locale_uint32_array): Likewise.
15607         (add_locale_char): Likewise.
15608         (start_locale_structure): Likewise.
15609         (end_locale_structure): Likewise.
15610         (start_locale_prelude): Likewise.
15611         (end_locale_prelude): Likewise.
15612         (write_locale_data): Update prototype.
15613         * locale/programs/3level.h (struct TABLE): Remove result field.
15614         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15615         Use new locale_file interface.
15616         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15617         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15618         * locale/programs/ld-address.c (address_output): Use new
15619         locale_file interface.
15620         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15621         NO_ADD_LOCALE.
15622         (collate_finish): Don't call collseq_table_finalize.
15623         (collate_output): Use new locale_file interface.
15624         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15625         in file.
15626         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15627         (TABLE): Move defines earlier in file.
15628         (ELEMENT): Likewise.
15629         (DEFAULT): Likewise.
15630         (wctrans_table_add): Move macro and inline function earlier in
15631         file.
15632         (struct wctype_table): Move type earlier in file.
15633         (add_locale_wctype_table): New static prototype.
15634         (struct locale_ctype_t): Use logical types instead of struct iovec
15635         pointers for members.
15636         (ctype_output): Use new locale_file interface.
15637         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15638         new locale_file interface.
15639         (allocate_arrays): Update for use of new locale_file interface.
15640         * locale/programs/ld-identification.c (identification_output): Use
15641         new locale_file interface.
15642         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15643         * locale/programs/ld-messages.c (messages_output): Likewise.
15644         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15645         * locale/programs/ld-name.c (name_output): Likewise.
15646         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15647         * locale/programs/ld-paper.c (paper_output): Likewise.
15648         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15649         * locale/programs/ld-time.c (time_output): Likewise.
15651 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15653         * benchtests/Makefile: Add memrchr benchmark.
15654         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15655         benchmark as memrchr.
15656         * benchtests/bench-memrchr-ifunc.c: New file.
15657         * benchtests/bench-memrchr.c: New file.
15659 2013-09-06   Will Newton  <will.newton@linaro.org>
15661         * benchtests/Makefile (string-bench): Add memcpy.
15663 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15664             Cong Wang  <amwang@redhat.com>
15666         [BZ #15850]
15667         * sysdeps/unix/sysv/linux/bits/in.h
15668         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15669         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15670         before __USE_KERNEL_IPV6_DEFS uses.
15671         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15672         IPPROTO_BEETPH.
15673         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15674         sockaddr_in6, or ipv6_mreq.
15676 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15678         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15679         memory access for final bytes in some large inputs.
15680         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15682 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15684         * string/test-memrchr.c: New file.
15685         * string/test-memrchr-ifunc.c: New file.
15686         * string/Makefile: Add new memrchr testcase.
15688 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15690         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15691         fanotify_init returns EPERM.
15693 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15695         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15696         errors.
15697         (top level): Treat second token from macro or constant entries for
15698         allowed headers as allowed.
15699         * include/complex.h: Condition internal declarations on
15700         [!_ISOMAC].
15701         * include/fenv.h: Condition include of <stdbool.h> and internal
15702         declarations on [!_ISOMAC].
15704 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15706         [BZ #15923]
15707         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15709 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15711         * configure.in (--enable-versioning): Remove configure option.
15712         (libc_cv_asm_symver_directive): Remove configure test.
15713         (libc_cv_ld_version_script_option): Likewise.
15714         (VERSIONING): Remove variable and AC_SUBST.
15715         (DO_VERSIONING): Remove AC_DEFINE.
15716         * configure: Regenerated.
15717         * config.h.in (DO_VERSIONING): Remove macro.
15718         * Makerules [$(versioning) = yes]: Change conditionals to
15719         [$(build-shared) = yes].
15720         * config.make.in (versioning): Remove variable.
15721         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15722         [$(build-shared) = yes].
15723         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15724         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15725         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15726         [$(build-shared) = yes].
15727         * extra-lib.mk [$(versioning) = yes]: Likewise.
15728         * hurd/Makefile [$(versioning) = yes]: Likewise.
15729         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15730         [SHARED].
15731         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15732         [SHARED].
15733         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15734         [SHARED && !NO_HIDDEN].
15735         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15736         [SHARED].
15737         [SHARED && DO_VERSIONING]: Likewise..
15738         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15739         [$(build-shared) = yes].
15740         * manual/install.texi (--disable-versioning): Remove
15741         documentation.
15742         * INSTALL: Regenerated.
15743         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15744         to [SHARED].
15745         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15746         [$(build-shared) = yes].
15747         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15748         * sysdeps/i386/i686/multiarch/strstr-c.c
15749         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15750         [SHARED && !NO_HIDDEN].
15751         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15752         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15753         * sysdeps/powerpc/powerpc32/dl-machine.c
15754         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15755         * sysdeps/powerpc/powerpc32/sysdep.h
15756         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15757         to [SHARED && PIC && !NO_HIDDEN].
15758         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15759         conditional to [SHARED].
15761 2013-09-04   Will Newton  <will.newton@linaro.org>
15763         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15764         * benchtests/bench-string.h: Include bench-timing.h instead
15765         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15766         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15767         call to HP_TIMING_DIFF_INIT.
15768         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15769         instead of hp-timing.h macros.
15770         * benchtests/bench-memchr.c: Likewise.
15771         * benchtests/bench-memcmp.c: Likewise.
15772         * benchtests/bench-memcpy.c: Likewise.
15773         * benchtests/bench-memmem.c: Likewise.
15774         * benchtests/bench-memmove.c: Likewise.
15775         * benchtests/bench-memset.c: Likewise.
15776         * benchtests/bench-rawmemchr.c: Likewise.
15777         * benchtests/bench-strcasecmp.c: Likewise.
15778         * benchtests/bench-strcasestr.c: Likewise.
15779         * benchtests/bench-strcat.c: Likewise.
15780         * benchtests/bench-strchr.c: Likewise.
15781         * benchtests/bench-strcmp.c: Likewise.
15782         * benchtests/bench-strcpy.c: Likewise.
15783         * benchtests/bench-strcpy_chk.c: Likewise.
15784         * benchtests/bench-strlen.c: Likewise.
15785         * benchtests/bench-strncasecmp.c: Likewise.
15786         * benchtests/bench-strncat.c: Likewise.
15787         * benchtests/bench-strncmp.c: Likewise.
15788         * benchtests/bench-strncpy.c: Likewise.
15789         * benchtests/bench-strnlen.c: Likewise.
15790         * benchtests/bench-strpbrk.c: Likewise.
15791         * benchtests/bench-strrchr.c: Likewise.
15792         * benchtests/bench-strspn.c: Likewise.
15793         * benchtests/bench-strstr.c: Likewise.
15795 2013-09-04  Will Newton  <will.newton@linaro.org>
15797         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15799 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15801         [BZ #15427]
15802         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15803         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15804         * math/libm-test.inc (lgamma_test_data): Add more tests.
15805         * sysdeps/i386/fpu/libm-test-ulps: Update.
15806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15808 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15810         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15811         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15812         Add ifunc.
15813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15814         Add strcmp-sse2-unaligned
15815         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15817 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15819         * Versions.def (libc): Add GLIBC_2.19.
15821 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15823         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15824         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15826 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15828         [BZ #14155]
15829         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15830         intermediate calculations in recurrence.
15831         (__ieee754_ynf): Likewise.
15832         * math/libm-test.inc (jn_test_data): Do not allow spurious
15833         underflow exception.  Add more tests.
15834         (yn_test_data): Add more tests.
15835         * sysdeps/i386/fpu/libm-test-ulps: Update.
15836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15838 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15840         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15842 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15844         * csu/init-first.c: Fix then/than typos.
15845         * locale/programs/ld-collate.c: Likewise.
15846         * locale/programs/linereader.h: Likewise.
15847         * manual/charset.texi: Likewise.
15848         * manual/filesys.texi: Likewise.
15849         * manual/stdio.texi: Likewise.
15850         * manual/string.texi: Likewise.
15851         * stdlib/fmtmsg.c: Likewise.
15852         * sysdeps/i386/stpncpy.S: Likewise.
15853         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15854         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15855         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15856         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15858 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15860         * elf/dl-open.c: Fix typos.
15861         * iconvdata/gbbig5.c: Likewise.
15862         * iconvdata/iso-2022-jp.c: Likewise.
15863         * iconv/gconv_int.h: Likewise.
15864         * iconv/loop.c: Likewise.
15865         * nis/rpcsvc/nis.h: Likewise.
15866         * resolv/ns_name.c: Likewise.
15867         * stdio-common/vfscanf.c: Likewise.
15868         * streams/stropts.h: Likewise.
15869         * sunrpc/rpc_thread.c: Likewise.
15870         * sysdeps/i386/strpbrk.S: Likewise.
15871         * sysdeps/ieee754/k_standard.c: Likewise.
15872         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15873         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15874         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15875         * sysdeps/mach/hurd/profil.c: Likewise.
15876         * sysdeps/s390/dl-procinfo.h: Likewise.
15877         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15878         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15879         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15880         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15881         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15883 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15885         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15886         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15888 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15890         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15891         aix specific files.
15892         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15893         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15894         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15895         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15896         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15897         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15898         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15899         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15901 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15902             Roland McGrath  <roland@hack.frob.com>
15904         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15905         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15907 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15909         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15910         __executable_start symbol instead of _start.
15912 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15914         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15915         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15916         Move macros to...
15917         * sysdeps/gnu/ldsodefs.h: ... this new file.
15919         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15920         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15921         instead of ELFOSABI_LINUX.
15923         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15924         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15925         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15926         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15927         Likewise.
15928         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15929         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15930         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15931         Likewise.
15932         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15933         (ibm_extended_long_double): Add ieee_nan member.
15934         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15935         (do_test): New function.
15937         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15938         TEST_TRUNC.
15939         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15940         functions, renamed from truncdfsf_test, trunctfsf_test,
15941         trunctfdf_test.
15942         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15943         functions.
15944         (do_test): Run all these.
15946 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15948         * argp/argp-help.c: Fix typos.
15949         * argp/argp-parse.c: Likewise.
15950         * debug/backtracesyms.c: Likewise.
15951         * elf/elf.h: Likewise.
15952         * malloc/malloc.c: Likewise.
15953         * nis/nis_print.c: Likewise.
15954         * resolv/res_comp.c: Likewise.
15955         * stdlib/stdlib.h: Likewise.
15956         * sunrpc/clnt_tcp.c: Likewise.
15957         * sunrpc/clnt_udp.c: Likewise.
15958         * sunrpc/clnt_unix.c: Likewise.
15959         * sysdeps/unix/bsd/ptsname.c: Likewise.
15960         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15961         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15963         Likewise.
15964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15965         Likewise.
15966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15967         Likewise.
15968         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15970 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15972         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15973         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15975 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15977         [BZ #15897]
15978         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15979         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15980         ($(objpfx)bug-dl-leaf): New rule.
15981         ($(objpfx)bug-dl-leaf.so): Likewise.
15982         ($(objpfx)bug-dl-leaf.out): Likewise.
15983         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15984         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15985         * dlfcn/bug-dl-leaf.c: New test.
15986         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15987         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15988         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15989         (dlclose): Likewise.
15990         (dlmopen): Likewise.
15992 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15994         * include/netdb.h [!_ISOMAC]:
15995         Don't include <tls.h>.
15996         (h_errno, __libc_h_errno): Move declaration and macros out of
15997         [_LIBC_REENTRANT].
15999         * include/resolv.h [_RESOLV_H_]:
16000         Don't include <tls.h>.
16001         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16002         * resolv/res_libc.c: Don't include <tls.h>.
16003         (_res): Use __attribute__ ((nocommon)) in place of
16004         __attribute__ ((section (".bss"))).
16006         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16007         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16009         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16011         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16012         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16014         * resolv/res_mkquery.c: Include <sys/time.h>.
16016         * inet/ifreq.c: Moved to ...
16017         * sysdeps/unix/ifreq.c: ... here.
16018         * inet/ifreq.c: New file, true stub version.
16020         * socket/sa_len.c: New file.
16021         * socket/Makefile (aux): Add it.
16022         * sysdeps/unix/sysv/linux/Makefile
16023         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16024         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16025         and #include <socket/sa_len.c>.
16026         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16027         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16029         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16030         * bits/socket.h: ... here.
16032         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16033         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16034         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16036 2013-08-27  Andreas Schwab  <schwab@suse.de>
16038         [BZ #15736]
16039         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16040         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16041         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16042         * string/test-strcasecmp.c (test_main): Run tests in several
16043         locales.
16044         * string/test-strncasecmp.c (test_main): Likewise.
16046         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16047         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16048         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16049         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16050         (__strncasecmp_ssse3) [PIC]: Likewise.
16052 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16054         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16056         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16057         instead of explicitly declaring xdecrypt.
16058         * nis/nss_nis/nis-publickey.c: Likewise.
16060 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16062         [BZ #15890]
16063         * nscd/aicache.c: Include res_hconf.h.
16064         (addhstaiX): Initialize res_hconf.
16066 2013-08-26  Andreas Schwab  <schwab@suse.de>
16068         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16069         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16071 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16073         * nscd/aicache.c (addhstaiX): Fix indentation.
16075 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16077         * configure.ac: Quote $build_pt_chown test.
16078         * configure: Regenerated.
16080 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16082         [BZ #15532]
16083         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16084         * math/s_cexpf.c (__cexpf): Likewise.
16085         * math/s_cexpl.c (__cexpl): Likewise.
16086         * math/libm-test.inc (cexp_test_data): Correct expected return
16087         value for NaN + i0.  Add another test.
16089 2013-08-22  David S. Miller  <davem@davemloft.net>
16091         * po/ca.po: Update Catalan translation from translation project.
16092         * po/uk.po: Add Ukrainian translations from translation project.
16094 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16096         [BZ #15797]
16097         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16098         is infinite, not alongside NaN test.
16099         * math/s_fdimf.c (__fdimf): Likewise.
16100         * math/s_fdiml.c (__fdiml): Likewise.
16101         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16102         errno is unchanged.
16104 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16106         * argp/argp-help.c: Fix typos.
16107         * crypt/speeds.c: Likewise.
16108         * csu/check_fds.c: Likewise.
16109         * elf/dl-load.c: Likewise.
16110         * elf/dl-open.c: Likewise.
16111         * elf/reldep3.c: Likewise.
16112         * elf/reldep.c: Likewise.
16113         * elf/sprof.c: Likewise.
16114         * iconv/iconv_charmap.c: Likewise.
16115         * iconv/skeleton.c: Likewise.
16116         * iconv/strtab.c: Likewise.
16117         * io/lockf64.c: Likewise.
16118         * libio/libioP.h: Likewise.
16119         * resolv/gai_notify.c: Likewise.
16120         * resolv/ns_name.c: Likewise.
16121         * resolv/ns_samedomain.c: Likewise.
16122         * resolv/res_send.c: Likewise.
16123         * stdlib/random.c: Likewise.
16124         * sunrpc/rpc/xdr.h: Likewise.
16125         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16126         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16127         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16128         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16129         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16130         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16131         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16132         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16133         * sysdeps/mach/hurd/check_fds.c: Likewise.
16134         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16135         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16136         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16137         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16138         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16139         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16140         * sysdeps/pthread/aio_notify.c: Likewise.
16141         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16142         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16143         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16144         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16145         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16147 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16149         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16150         version if bit_Slow_SSE4_2 is set.
16151         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16152         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16154 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16156         [BZ #15867]
16157         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16158         trampoline stack frame information.
16159         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16160         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16161         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16162         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16163         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16164         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16165         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16166         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16167         sa_flags value.
16168         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16169         interrupting a syscall and set with option SA_SIGINFO.
16171 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16173         [BZ #15531]
16174         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16175         argument is infinite.
16176         * math/s_cprojf.c (__cprojf): Likewise.
16177         * math/s_cprojl.c (__cprojl): Likewise.
16178         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16179         * math/libm-test.inc (cproj_test_data): Add more tests.
16181         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16183         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16184         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16185         size.  Use __ffs to determine corresponding shift.
16187 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16188             Roland McGrath  <roland@hack.frob.com>
16190         * Makefile (INSTALL): Remove trailing blank lines from output of
16191         makeinfo.
16193 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16195         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16196         Align 32 bit compat elf_greg to 8 bytes.
16198 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16200         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16202 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16204         * string/strcoll_l.c (coll_seq): New structure.
16205         (get_next_seq_cached): New function.
16206         (get_next_seq): New function.
16207         (do_compare): New function.
16208         (STRCOLL): Use GNU style definition.  Simplify implementation
16209         by using get_next_seq, get_next_seq_cached and do_compare.
16211 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16213         [BZ #14699]
16214         CVE-2013-4237
16215         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16216         member.
16217         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16218         member.
16219         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16220         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16221         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16222         conditional.
16223         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16224         GETDENTS_64BIT_ALIGNED.
16225         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16226         * manual/filesys.texi (Reading/Closing Directory): Document
16227         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16228         strongly.
16229         * manual/conf.texi (Limits for Files): Add portability note to
16230         NAME_MAX, PATH_MAX.
16231         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16233 2013-08-13  Andreas Schwab  <schwab@suse.de>
16235         [BZ #15749]
16236         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16237         of fabs.
16238         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16239         LDBL_MAX_EXP >= 16384]: Add tests for it.
16241 2013-08-12  David S. Miller  <davem@davemloft.net>
16243         * version.h (RELEASE): Set to "development".
16244         (VERSION): Set to "2.18.90".
16245         * NEWS: Add 2.19 section.
16247 2013-08-03  David S. Miller  <davem@davemloft.net>
16249         * po/ko.po: Update Korean translation from translation project.
16251 2013-08-01  David S. Miller  <davem@davemloft.net>
16253         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16254         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16255         Bilka.
16257 2013-07-30  David S. Miller  <davem@davemloft.net>
16259         * po/fr.po: Update French translation from translation project.
16261 2013-07-28  David S. Miller  <davem@davemloft.net>
16263         * po/cs.po: Update Czech translation from translation project.
16265         * po/sv.po: Update Swedish translation from translation project.
16267 2013-07-27  David S. Miller  <davem@davemloft.net>
16269         * po/eo.po: Update Esperanto translation from translation project.
16271         * po/vi.po: Update Vietnamese translation from translation project.
16273         * po/de.po: Update German translation from translation project.
16275 2013-07-26  David S. Miller  <davem@davemloft.net>
16277         * po/bg.po: Update Bulgarian translation from translation project.
16279         * po/nl.po: Update Dutch translation from translation project.
16280         * po/pl.po: Update Polish translation from translation project.
16281         * po/ru.po: Update Russian translation from translation project.
16283 2013-07-24  David S. Miller  <davem@davemloft.net>
16285         * po/libc.pot: Update.
16287 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16289         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16290         variable page size.
16291         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16292         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16293         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16295 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16297         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16299 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16300             Andreas Schwab  <schwab@suse.de>
16301             Roland McGrath  <roland@hack.frob.com>
16302             Joseph Myers  <joseph@codesourcery.com>
16303             Carlos O'Donell  <carlos@redhat.com>
16305         [BZ #15755]
16306         * config.h.in: Define HAVE_PT_CHOWN.
16307         * config.make.in (build-pt-chown): New variable.
16308         * configure.in (--enable-pt_chown): New configure option.
16309         * configure: Regenerate.
16310         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16311         build-pt-chown is enabled.
16312         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16313         pt_chown to fix pty ownership.
16314         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16315         CLOSE_ALL_FDS.
16316         * manual/install.texi (Configuring and compiling): Mention
16317         --enable-pt_chown. Add @findex for grantpt.
16318         * INSTALL: Regenerate.
16320 2013-07-20  David S. Miller  <davem@davemloft.net>
16322         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16323         difference between 32-bit and 64-bit.
16325 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16327         [BZ #15711]
16328         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16329         Avoid system header dependency with -ffreestanding.
16330         ($(objpfx)bits/syscall%d): Likewise.
16332 2013-07-13  David S. Miller  <davem@davemloft.net>
16334         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16335         underflows from atanl/atan2l due to bug 15319.
16336         (casinh_test_data): Likewise.
16338 2013-07-07  David S. Miller  <davem@davemloft.net>
16340         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16342 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16344         * sysdeps/i386/fpu/libm-test-ulps: Update.
16345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16347 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16349         * configure.in (--enable-lock-elision): Fix message text.
16350         * INSTALL: Regenerate.
16351         * configure: Regenerate.
16353 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16357 2013-07-03  Andreas Jaeger  <aj@suse.de>
16359         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16360         define.
16361         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16362         (ptrace_peeksiginfo_args): Add.
16363         (__ptrace_peeksiginfo_flags): Add.
16364         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16365         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16366         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16368 2013-07-03  Allan McRae  <allan@archlinux.org>
16370         * sysdeps/i386/fpu/libm-test-ulps: Update.
16372 2013-07-02  David S. Miller  <davem@davemloft.net>
16374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16376 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16378         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16380 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16382         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16385 2013-07-02  Andi Kleen <ak@linux.intel.com>
16387         * config.h.in (ENABLE_LOCK_ELISION): Add.
16388         * configure.in (--enable-lock-elision): Add option.
16389         * manual/install.texi: Document --enable lock elision.
16390         * configure: Regenerate
16391         * INSTALL: Regenerate.
16393 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16395         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16396         SSE4.2 strcasecmp for libc.a.
16397         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16399 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16401         [BZ #13304]
16402         * soft-fp/op-common.h (_FP_FMA): New macro.
16403         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16404         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16405         (_FP_MUL_MEAT_1_imm): ... here.
16406         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16407         (_FP_MUL_MEAT_1_wide): ... here.
16408         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16409         (_FP_MUL_MEAT_1_hard): ... here.
16410         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16411         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16412         (_FP_MUL_MEAT_2_wide): ... here.
16413         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16414         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16415         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16416         (_FP_MUL_MEAT_2_gmp): ... here.
16417         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16418         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16419         (_FP_MUL_MEAT_4_wide): ... here.
16420         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16421         (_FP_MUL_MEAT_4_gmp): ... here.
16422         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16423         (_FP_WFRACBITS_DW_S): Likewise.
16424         (_FP_WFRACXBITS_DW_S): Likewise.
16425         (_FP_HIGHBIT_DW_S): Likewise.
16426         (FP_FMA_S): Likewise.
16427         (_FP_FRAC_HIGH_DW_S): Likewise.
16428         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16429         (_FP_WFRACBITS_DW_D): Likewise.
16430         (_FP_WFRACXBITS_DW_D): Likewise.
16431         (_FP_HIGHBIT_DW_D): Likewise.
16432         (FP_FMA_D): Likewise.
16433         (_FP_FRAC_HIGH_DW_D): Likewise.
16434         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16435         (_FP_WFRACBITS_DW_E): Likewise.
16436         (_FP_WFRACXBITS_DW_E): Likewise.
16437         (_FP_HIGHBIT_DW_E): Likewise.
16438         (FP_FMA_E): Likewise.
16439         (_FP_FRAC_HIGH_DW_E): Likewise.
16440         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16441         (_FP_WFRACBITS_DW_Q): Likewise.
16442         (_FP_WFRACXBITS_DW_Q): Likewise.
16443         (_FP_HIGHBIT_DW_Q): Likewise.
16444         (FP_FMA_Q): Likewise.
16445         (_FP_FRAC_HIGH_DW_Q): Likewise.
16446         * soft-fp/fmasf4.c: New file.
16447         * soft-fp/fmadf4.c: Likewise.
16448         * soft-fp/fmatf4.c: Likewise.
16450 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16453         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16454         Silvermont.
16455         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16456         macro.
16457         (index_Slow_SSE4_2): Likewise.
16458         (index_Prefer_PMINUB_for_stringop): Likewise.
16459         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16460         bit_Slow_SSE4_2 is set.
16461         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16462         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16464 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16466         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16467         rtld_global._dl_hwcap2.
16468         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16469         POWER8.
16470         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16471         POWER8 feature descriptions defined in _dl_hwcap2.
16472         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16473         string handling for POWER8 feature bits.
16474         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16475         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16476         _dl_powerpc_cap_flags.
16477         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16478         * sysdeps/powerpc/rtld-global-offsets.sym
16479         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16480         _dl_hwcap2 in the rtld_global_ro structure.
16482 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16484         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16485         hardware capabilities in support of AT_HWCAP2.
16486         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16487         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16488         GLRO(dl_hwcap2).
16489         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16490         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16491         explicitly the unknown a_type display mechanism is used.
16492         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16493         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16494         struct member.
16495         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16496         to macro prototype for AT_HWCAP2 support.
16497         * sysdeps/i386/dl-procinfo.h: Likewise.
16498         * sysdeps/s390/dl-procinfo.h: Likewise.
16499         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16500         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16501         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16502         return -1 for unknown a_type display fallback.
16503         * sysdeps/sparc/dl-procinfo.h: Likewise.
16504         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16505         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16507 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16509         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16510         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16512 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16514         [BZ #12492]
16515         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16516         mprotect making __stack_prot writable.
16518 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16519             Joseph Myers  <joseph@codesourcery.com>
16521         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16522         as being properly aligned.
16524 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16526         * dlfcn/modstatic5.c: New file.
16527         * dlfcn/tststatic5.c: New file.
16528         * dlfcn/Makefile (tests): Add tststatic5.
16529         (tests-static): Likewise.
16530         (modules-names): Add modstatic5.
16531         (tststatic5-ENV): New variable.
16532         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16534         [BZ #15022]
16535         * elf/dl-support.c (_dl_main_map): New variable.
16536         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16537         (_dl_nns, _dl_load_adds): Set to 1.
16538         (_dl_initial_searchlist): Refer to _dl_main_map.
16539         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16540         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16541         call to _dl_get_origin.
16542         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16543         around call_map.
16544         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16545         * dlfcn/modstatic3.c: New file.
16546         * dlfcn/tststatic3.c: New file.
16547         * dlfcn/tststatic4.c: New file.
16548         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16549         (tests-static): Likewise.
16550         (modules-names): Add modstatic3.
16551         (tststatic3-ENV, tststatic4-ENV): New variables.
16552         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16553         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16555 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16557         * configure.in (CC): Require GCC version 4.4 or later.
16558         * configure: Regenerated.
16559         * manual/install.texi (Tools for Compilation): Update GCC version
16560         requirement.
16561         * INSTALL: Regenerated.
16563 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16565         [BZ #15674]
16566         * string/test-memcmp.c (check2): New.
16567         (main): Call check2.
16569         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16571 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16573         [BZ #15022]
16574         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16575         over to...
16576         (dl_open_worker) [!SHARED]: ... here.
16578 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16580         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16582 2013-06-25  Richard Henderson  <rth@redhat.com>
16584         * locale/programs/locarchive.c: Include <libc-internal.h>
16586 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16588         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16589         trailing whitespace removed.
16591 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16593         [BZ #10283]
16594         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16595         * locale/programs/locarchive.c: Include libc-mmap.h.
16596         (prepare_address_space): Take two new outputs (the mmap base and len).
16597         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16598         values.
16599         (create_archive): Declare new mmap base and len values for
16600         prepare_address_space, and store the result in ah.
16601         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16602         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16603         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16604         Declare new mmap base and len values for
16605         prepare_address_space, and store the result in new_ah.
16606         (open_archive): Declare new mmap base and len values for
16607         prepare_address_space, and store the result in ah.
16608         (close_archive): If ah->mmap_base is not NULL, use that and
16609         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16610         * sysdeps/generic/libc-mmap.h: New file.
16612 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16614         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16615         (ALIGN_UP): Likewise.
16616         (PTR_ALIGN_DOWN): Likewise.
16617         (PTR_ALIGN_UP): Likewise.
16619 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16621         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16622         entry mapped to PPC_PLATFORM_POWER8.
16623         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16624         POWER8.
16625         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16626         (_dl_string_platform): Add case for exporting platform position for
16627         POWER8.
16628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16629         search path to sysdeps/powerpc/powerpc32/power8 directory.
16630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16631         search path to sysdeps/powerpc/powerpc64/power8 directory.
16632         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16633         power7 directories.
16634         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16635         power7 directories.
16637 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16639         * INSTALL: Regenerate.
16641         * nscd/connections.c (nscd_init): Fix comment.
16643 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16645         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16647         [BZ #15667]
16648         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16649         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16651 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16653         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16654         DL_DST_REQ_STATIC.
16655         (DL_DST_REQ_STATIC): Remove macro.
16657 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16659         [BZ #7006]
16660         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16661         with a shift of 0 bits.
16663 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16665         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16666         $(tststatic-ENV).
16668 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16670         [BZ #15655]
16671         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16673 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16675         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16676         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16677         accepts -fno-tree-loop-distribute-patterns.
16678         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16679         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16680         recursive call.
16681         * string/memset.c (memset): Likewise.
16682         * string/test-memmove.c (simple_memmove): Disable loop transformation
16683         to library calls.
16684         * string/test-memset.c (simple_memset): Likewise.
16685         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16686         * benchtests/bench-memset.c (simple_memset): Likewise.
16687         * configure: Regenerated.
16689 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16691         * math/test-misc.c (main): Ignore fesetround failure when failures
16692         of subsequent rounding tests would be ignored.
16694         [BZ #15654]
16695         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16696         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16697         * math/fegetenv.c (__fegetenv): Return 0.
16698         * math/fegetexcept.c (fegetexcept): Return 0.
16699         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16700         FE_TONEAREST.
16701         * math/feholdexcpt.c (feholdexcept): Return 0.
16702         * math/fesetenv.c (__fesetenv): Return 0.
16703         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16704         argument FE_TONEAREST.
16705         * math/feupdateenv.c (__feupdateenv): Return 0.
16706         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16708 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16710         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16711         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16712         ($(objpfx)rtld-%.os rules): Use them.
16714 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16716         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16717         fields.
16719 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16721         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16722         length of target pattern, then descending length of dependency pattern.
16723         * configure.in (AWK): Require gawk 3.1.2 or newer.
16724         * manual/install.texi (Tools for Compilation): Say that we do.
16725         * configure: Regenerated.
16727         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16728         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16729         * scripts/sysd-rules.awk: ... this new script.
16730         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16731         than a glob-style pattern.
16733 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16735         * math/test-misc.c (main): Do not treat incorrectly rounded
16736         conversions as failure unless ROUNDING_TESTS passes.
16738 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16740         [BZ #15631]
16741         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16742         restore exception state around main square root computation, then
16743         check for inexactness explicitly.
16745         * math/libm-test.inc (fma_test_data): Add another test.
16747 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16749         * manual/threads.texi (Non-POSIX Extensions): New document
16750         node.  Document pthread_getattr_default_np and
16751         pthread_setattr_default_np.
16753         * Versions.def (libpthread): Add GLIBC_2.18.
16754         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16756         Likewise.
16757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16758         Likewise.
16759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16760         Likewise.
16761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16762         Likewise.
16763         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16764         Likewise.
16765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16766         Likewise.
16767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16768         Likewise.
16769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16770         Likewise.
16771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16772         Likewise.
16774 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16777         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16779 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16780             H.J. Lu  <hjl.tools@gmail.com>
16782         [BZ #15627]
16783         * sysdeps/x86_64/rtld-memset.c: Remove file.
16784         * sysdeps/x86_64/rtld-memset.S: New file.
16786 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16788         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16789         (test_in_one_mode): Take arguments for whether the rounding mode
16790         is supported for each floating-point type.
16791         (do_test): Pass new arguments to test_in_one_mode using
16792         ROUNDING_TESTS.
16794 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16796         * posix/tst-waitid.c (do_test): Distinguish different instances of
16797         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16798         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16799         before entering the kernel for waitpid.
16801 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16803         * NEWS: Fix note on clock function precision.  Text by Roland
16804         McGrath.
16806 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16808         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16809         it into place only when and if the sanity check passes.
16811 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16813         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16814         output for whether conversion result is exact.  Take argument
16815         indicating whether type is IBM long double.
16816         (round_for_all): Change need_exact field to ibm_ld.
16817         * stdlib/tst-strtod-round.c (struct exactness): New type.
16818         (struct test): Change bool ld_ok field to struct exactness exact.
16819         (TEST): Update all definitions for change to field.
16820         (tests): Regenerate array contents.
16821         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16822         field value.  Check for IBM long double here.
16823         (do_test): Update calls to test_in_one_mode.
16825 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16827         [BZ #12515]
16828         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16829         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16831 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16833         [BZ #15605]
16834         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16835         generated by the compiler on loop optimizations.
16836         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16837         general definitions.
16839 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16841         * math/bug-nextafter.c: Include <math-tests.h>.
16842         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16843         the relevant type.
16844         * math/bug-nexttoward.c: Include <math-tests.h>.
16845         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16846         the relevant type.
16847         * math/test-misc.c: Include <math-tests.h>.
16848         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16849         the relevant type.
16851 2013-06-12  Andreas Jaeger  <aj@suse.de>
16853         * po/ia.po: Update Interlingua translation from translation
16854         project.
16856 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16858         * include/fenv.h: Include stdbool.h.
16859         (struct rm_ctx): New structure.
16860         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16861         Define macro.
16862         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16863         (SET_RESTORE_ROUNDF): Likewise.
16864         (SET_RESTORE_ROUNDL): Likewise.
16865         (SET_RESTORE_ROUND_NOEX): Likewise.
16866         (SET_RESTORE_ROUND_NOEXF): Likewise.
16867         (SET_RESTORE_ROUND_NOEXL): Likewise.
16868         (SET_RESTORE_ROUND_53BIT): Likewise.
16869         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16870         (libc_feresetround_noexf_ctx): Likewise.
16871         (libc_feresetround_noexl_ctx): Likewise.
16872         (libc_feholdsetround_53bit_ctx): Likewise.
16873         (libc_feresetround_53bit_ctx): Likewise.
16874         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16875         (libc_feholdexcept_setround_sse_ctx): New function.
16876         (libc_fesetenv_sse_ctx): Likewise.
16877         (libc_feupdateenv_sse_ctx): Likewise.
16878         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16879         (libc_feholdexcept_setround_387_ctx): Likewise.
16880         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16881         (libc_feholdsetround_387_prec_ctx): Likewise.
16882         (libc_feholdsetround_387_ctx): Likewise.
16883         (libc_feholdsetround_387_53bit_ctx): Likewise.
16884         (libc_feholdsetround_sse_ctx): Likewise.
16885         (libc_feresetround_sse_ctx): Likewise.
16886         (libc_feresetround_387_ctx): Likewise.
16887         (libc_feupdateenv_387_ctx): Likewise.
16888         (libc_feholdexcept_setroundf_ctx): Define macro.
16889         (libc_fesetenvf_ctx): Likewise.
16890         (libc_feupdateenvf_ctx): Likewise.
16891         (libc_feholdsetroundf_ctx): Likewise.
16892         (libc_feresetroundf_ctx): Likewise.
16893         (libc_feholdexcept_setround_ctx): Likewise.
16894         (libc_fesetenv_ctx): Likewise.
16895         (libc_feupdateenv_ctx): Likewise.
16896         (libc_feholdsetround_ctx): Likewise.
16897         (libc_feresetround_ctx): Likewise.
16898         (libc_feholdexcept_setroundl_ctx): Likewise.
16899         (libc_feupdateenvl_ctx): Likewise.
16900         (libc_feholdsetroundl_ctx): Likewise.
16901         (libc_feresetroundl_ctx): Likewise.
16902         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16903         (libc_feresetround_53bit_ctx): Likewise.
16905 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16907         * locale/iso-639.def: Convert to UTF-8.
16909 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16911         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16912         (EXCEPTION_TESTS_double): Likewise.
16913         (EXCEPTION_TESTS_long_double): Likewise.
16914         (EXCEPTION_TESTS): Likewise.
16915         * math/libm-test.inc (test_exceptions): Only test exceptions if
16916         EXCEPTION_TESTS (FLOAT).
16918 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16920         * benchtests/Makefile (string-bench): Add strcpy_chk and
16921         stpcpy_chk.
16922         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16923         * benchtests/bench-stpcpy_chk.c: New file.
16924         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16925         * benchtests/bench-strcpy_chk.c: New file.
16926         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16927         code.
16928         (do_test): Likewise.
16930 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16932         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16933         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16934         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16935         with tabs where appropriate.
16936         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16937         dl-procinfo.h.
16938         [PPC_PLATFORM_PPC440]: Likewise.
16939         [PPC_PLATFORM_PPC464]: Likewise.
16940         [PPC_PLATFORM_PPC476]: Likewise.
16941         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16942         ppc464, and ppc476 platform strings merging from ports/
16943         dl-procinfo.h.
16945 2013-06-11  Andreas Schwab  <schwab@suse.de>
16947         [BZ #14991]
16948         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16949         (from_ucs4_idx): Regenerate.
16950         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16951         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16952         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16953         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16954         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16955         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16956         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16957         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16958         from FROM_LOOP and TO_LOOP specific macros.
16959         (BODY): Handle combining characters.
16960         * iconvdata/BIG5HKSCS.irreversible: Update.
16961         * iconvdata/BIG5HKSCS.precomposed: New file.
16962         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16963         characters.
16964         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16966 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16968         * include/sys/time.h: Fix indentation and add copyright header.
16970         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16971         (do_test): Likewise.
16972         * string/test-memchr.c (do_one_test): Likewise.
16973         (do_test): Likewise.
16974         * string/test-memcmp.c (do_one_test): Likewise.
16975         (do_test): Likewise.
16976         * string/test-memcpy.c (do_one_test): Likewise.
16977         (do_test): Likewise.
16978         * string/test-memmem.c (do_one_test): Likewise.
16979         (do_test): Likewise.
16980         (do_random_tests): Likewise.
16981         * string/test-memmove.c (do_one_test): Likewise.
16982         (do_test): Likewise.
16983         * string/test-memset.c (do_one_test): Likewise.
16984         (do_test): Likewise.
16985         * string/test-rawmemchr.c (do_one_test): Likewise.
16986         (do_test): Likewise.
16987         * string/test-strcasecmp.c (do_one_test): Likewise.
16988         (do_test): Likewise.
16989         * string/test-strcasestr.c (do_one_test): Likewise.
16990         (do_test): Likewise.
16991         * string/test-strcat.c (do_one_test): Likewise.
16992         (do_test): Likewise.
16993         * string/test-strchr.c (do_one_test): Likewise.
16994         (do_test): Likewise.
16995         * string/test-strcmp.c (do_one_test): Likewise.
16996         (do_test): Likewise.
16997         * string/test-strcpy.c (do_one_test): Likewise.
16998         (do_test): Likewise.
16999         * string/test-string.h: Likewise.
17000         (test_init): Likewise.
17001         * string/test-strlen.c (do_one_test): Likewise.
17002         (do_test): Likewise.
17003         * string/test-strncasecmp.c (do_one_test): Likewise.
17004         (do_test): Likewise.
17005         * string/test-strncat.c (do_one_test): Likewise.
17006         (do_test): Likewise.
17007         * string/test-strncmp.c (do_one_test): Likewise.
17008         (do_test_limit): Likewise.
17009         (do_test): Likewise.
17010         * string/test-strncpy.c (do_one_test): Likewise.
17011         (do_test): Likewise.
17012         * string/test-strnlen.c (do_one_test): Likewise.
17013         (do_test): Likewise.
17014         * string/test-strpbrk.c (do_one_test): Likewise.
17015         (do_test): Likewise.
17016         * string/test-strrchr.c (do_one_test): Likewise.
17017         (do_test): Likewise.
17018         * string/test-strspn.c (do_one_test): Likewise.
17019         (do_test): Likewise.
17020         * string/test-strstr.c (do_one_test): Likewise.
17021         (do_test): Likewise.
17023         * benchtests/Makefile (string-bench): Add string benchmarks.
17024         * benchtests/bench-bcopy-ifunc.c: New file.
17025         * benchtests/bench-bcopy.c: New file.
17026         * benchtests/bench-bzero-ifunc.c: New file.
17027         * benchtests/bench-bzero.c: New file.
17028         * benchtests/bench-memccpy-ifunc.c: New file.
17029         * benchtests/bench-memccpy.c: New file.
17030         * benchtests/bench-memchr-ifunc.c: New file.
17031         * benchtests/bench-memchr.c: New file.
17032         * benchtests/bench-memcmp-ifunc.c: New file.
17033         * benchtests/bench-memcmp.c: New file.
17034         * benchtests/bench-memmem-ifunc.c: New file.
17035         * benchtests/bench-memmem.c: New file.
17036         * benchtests/bench-memmove-ifunc.c: New file.
17037         * benchtests/bench-memmove.c: New file.
17038         * benchtests/bench-mempcpy-ifunc.c: New file.
17039         * benchtests/bench-mempcpy.c: New file.
17040         * benchtests/bench-memset-ifunc.c: New file.
17041         * benchtests/bench-memset.c: New file.
17042         * benchtests/bench-rawmemchr-ifunc.c: New file.
17043         * benchtests/bench-rawmemchr.c: New file.
17044         * benchtests/bench-stpcpy-ifunc.c: New file.
17045         * benchtests/bench-stpcpy.c: New file.
17046         * benchtests/bench-stpncpy-ifunc.c: New file.
17047         * benchtests/bench-stpncpy.c: New file.
17048         * benchtests/bench-strcasecmp-ifunc.c: New file.
17049         * benchtests/bench-strcasecmp.c: New file.
17050         * benchtests/bench-strcasestr-ifunc.c: New file.
17051         * benchtests/bench-strcasestr.c: New file.
17052         * benchtests/bench-strcat-ifunc.c: New file.
17053         * benchtests/bench-strcat.c: New file.
17054         * benchtests/bench-strchr-ifunc.c: New file.
17055         * benchtests/bench-strchr.c: New file.
17056         * benchtests/bench-strchrnul-ifunc.c: New file.
17057         * benchtests/bench-strchrnul.c: New file.
17058         * benchtests/bench-strcmp-ifunc.c: New file.
17059         * benchtests/bench-strcmp.c: New file.
17060         * benchtests/bench-strcpy-ifunc.c: New file.
17061         * benchtests/bench-strcpy.c: New file.
17062         * benchtests/bench-strcspn-ifunc.c: New file.
17063         * benchtests/bench-strcspn.c: New file.
17064         * benchtests/bench-strlen-ifunc.c: New file.
17065         * benchtests/bench-strlen.c: New file.
17066         * benchtests/bench-strncasecmp-ifunc.c: New file.
17067         * benchtests/bench-strncasecmp.c: New file.
17068         * benchtests/bench-strncat-ifunc.c: New file.
17069         * benchtests/bench-strncat.c: New file.
17070         * benchtests/bench-strncmp-ifunc.c: New file.
17071         * benchtests/bench-strncmp.c: New file.
17072         * benchtests/bench-strncpy-ifunc.c: New file.
17073         * benchtests/bench-strncpy.c: New file.
17074         * benchtests/bench-strnlen-ifunc.c: New file.
17075         * benchtests/bench-strnlen.c: New file.
17076         * benchtests/bench-strpbrk-ifunc.c: New file.
17077         * benchtests/bench-strpbrk.c: New file.
17078         * benchtests/bench-strrchr-ifunc.c: New file.
17079         * benchtests/bench-strrchr.c: New file.
17080         * benchtests/bench-strspn-ifunc.c: New file.
17081         * benchtests/bench-strspn.c: New file.
17082         * benchtests/bench-strstr-ifunc.c: New file.
17083         * benchtests/bench-strstr.c: New file.
17085         * benchtests/Makefile: Disable parallel execution of targets.
17086         (string-bench): Add memcpy.
17087         (benchset): New variable to store a list of benchmark sets.
17088         (bench-func): Renamed from bench.
17089         (bench-set): New target.
17090         (bench): Depend on bench-func and bench-set.
17091         * benchtests/README: Add section on benchmark sets.
17092         * benchtests/bench-memcpy-ifunc.c: New file.
17093         * benchtests/bench-memcpy.c: New file.
17094         * benchtests/bench-string.h: New file.
17096 2013-06-11  Andreas Schwab  <schwab@suse.de>
17098         [BZ #15577]
17099         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17100         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17101         values in the triple.
17102         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17103         terminator in the group key.
17105 2013-06-11  Andreas Jaeger  <aj@suse.de>
17107         * po/zh_TW.po: Update Chinese (traditional) translation from
17108         translation project.
17110 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17112         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17113         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17114         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17115         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17116         (clock_getcpuclockid): Likewise.
17117         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17118         Add weak_alias and libc_hidden_def.
17119         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17120         * rt/clock_gettime.c (clock_gettime): Rename to
17121         __clock_gettime.  Add weak_alias and libc_hidden_def.
17122         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17123         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17124         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17125         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17126         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17127         Likewise.
17128         * rt/clock_settime.c (clock_settime): Rename to
17129         __clock_settime.  Add weak_alias and libc_hidden_def.
17130         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17132 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17134         * mach/err_boot.sub: Remove trailing whitespace.
17135         * mach/err_ipc.sub: Likewise.
17136         * mach/err_mach.sub: Likewise.
17138         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17139         (ROUNDING_TESTS_double): Likewise.
17140         (ROUNDING_TESTS_long_double): Likewise.
17141         (ROUNDING_TESTS): Likewise.
17142         * math/libm-test.inc: Include <math-tests.h>.
17143         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17144         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17145         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17146         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17148 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17150         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17151         of assigning.
17153 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17155         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17156         otherwise empty TRANS lines.
17157         * sysdeps/gnu/errlist.c: Regenerated.
17159         * catgets/gencat.c (error_print): Use (void) in function
17160         definition.
17161         * crypt/crypt_util.c (__init_des): Likewise.
17162         * crypt/speeds.c (Stop): Likewise.
17163         (main): Likewise.
17164         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17165         * inet/ruserpass.c (token): Likewise.
17166         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17167         * intl/localealias.c (extend_alias_table): Likewise.
17168         * intl/plural-exp.c (init_germanic_plural): Likewise.
17169         * libio/fcloseall.c (__fcloseall): Likewise.
17170         * libio/genops.c (_IO_flush_all): Likewise.
17171         (_IO_flush_all_linebuffered): Likewise.
17172         (_IO_cleanup): Likewise.
17173         (_IO_iter_begin): Likewise.
17174         (_IO_iter_end): Likewise.
17175         (_IO_list_lock): Likewise.
17176         (_IO_list_unlock): Likewise.
17177         (_IO_list_resetlock): Likewise.
17178         * libio/getchar.c (getchar): Likewise.
17179         * libio/getchar_u.c (getchar_unlocked): Likewise.
17180         * libio/getwchar.c (getwchar): Likewise.
17181         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17182         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17183         * login/getpt.c (__getpt): Likewise.
17184         * login/tst-utmp.c (main): Likewise.
17185         * malloc/hooks.c (__malloc_check_init): Likewise.
17186         * malloc/malloc.c (__malloc_stats): Likewise.
17187         * malloc/mtrace.c (tr_break): Likewise.
17188         (mtrace): Likewise.
17189         (muntrace): Likewise.
17190         * misc/fstab.c (endfsent): Likewise.
17191         * misc/getclktck.c (__getclktck): Likewise.
17192         * misc/getdtsz.c (__getdtablesize): Likewise.
17193         * misc/gethostid.c (gethostid): Likewise.
17194         * misc/getpagesize.c (__getpagesize): Likewise.
17195         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17196         (__get_nprocs): Likewise.
17197         (__get_phys_pages): Likewise.
17198         (__get_avphys_pages): Likewise.
17199         * misc/getttyent.c (getttyent): Likewise.
17200         (setttyent): Likewise.
17201         (endttyent): Likewise.
17202         * misc/getusershell.c (getusershell): Likewise.
17203         (endusershell): Likewise.
17204         (setusershell): Likewise.
17205         (initshells): Likewise.
17206         * misc/hsearch.c (__hdestroy): Likewise.
17207         * misc/sync.c (sync): Likewise.
17208         * misc/syslog.c (closelog_internal): Likewise.
17209         (closelog): Likewise.
17210         * misc/ttyslot.c (ttyslot): Likewise.
17211         * misc/vhangup.c (vhangup): Likewise.
17212         * posix/fork.c (__fork): Likewise.
17213         * posix/getegid.c (__getegid): Likewise.
17214         * posix/geteuid.c (__geteuid): Likewise.
17215         * posix/getgid.c (__getgid): Likewise.
17216         * posix/getpid.c (__getpid): Likewise.
17217         * posix/getppid.c (__getppid): Likewise.
17218         * posix/getuid.c (__getuid): Likewise.
17219         * posix/pause.c (pause): Likewise.
17220         * posix/setpgrp.c (setpgrp): Likewise.
17221         * posix/setsid.c (__setsid): Likewise.
17222         * posix/test-vfork.c (noop): Likewise.
17223         * resolv/gethnamaddr.c (_endhtent): Likewise.
17224         (_gethtent): Likewise.
17225         (ht_endhostent): Likewise.
17226         (gethostent): Likewise.
17227         (dns_service): Likewise.
17228         * stdlib/drand48.c (drand48): Likewise.
17229         * stdlib/lrand48.c (lrand48): Likewise.
17230         * stdlib/mrand48.c (mrand48): Likewise.
17231         * stdlib/rand.c (rand): Likewise.
17232         * stdlib/random.c (__random): Likewise.
17233         * stdlib/setenv.c (clearenv): Likewise.
17234         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17235         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17236         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17237         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17238         (__get_nprocs): Likewise.
17239         (__get_phys_pages): Likewise.
17240         (__get_avphys_pages): Likewise.
17241         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17242         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17243         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17244         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17245         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17246         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17247         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17248         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17249         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17250         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17251         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17252         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17253         * sysdeps/posix/clock.c (clock): Likewise.
17254         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17255         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17256         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17257         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17258         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17259         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17260         (__get_nprocs_conf): Likewise.
17261         (__get_phys_pages): Likewise.
17262         (__get_avphys_pages): Likewise.
17263         * time/clock.c (clock): Likewise.
17264         * time/tzset.c (__tzname_max): Likewise.
17266 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17268         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17269         (__bswap_32): Do not use "register".
17270         * crypt/crypt.c (_ufc_doit_r): Likewise.
17271         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17272         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17273         * gmon/gmon.c (__monstartup): Likewise.
17274         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17275         * hurd/hurdmalloc.c (more_memory): Likewise.
17276         (malloc): Likewise.
17277         (free): Likewise.
17278         (realloc): Likewise.
17279         (malloc_fork_prepare): Likewise.
17280         (malloc_fork_parent): Likewise.
17281         (malloc_fork_child): Likewise.
17282         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17283         (_svcauth_des): Likewise.
17284         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17285         * inet/inet_net.c (inet_network): Likewise.
17286         * inet/inet_netof.c (inet_netof): Likewise.
17287         * inet/rcmd.c (__validuser2_sa): Likewise.
17288         * io/fts.c (fts_open): Likewise.
17289         (fts_load): Likewise.
17290         (fts_close): Likewise.
17291         (fts_read): Likewise.
17292         (fts_children): Likewise.
17293         (fts_build): Likewise.
17294         (fts_stat): Likewise.
17295         (fts_sort): Likewise.
17296         (fts_alloc): Likewise.
17297         (fts_lfree): Likewise.
17298         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17299         (_IO_file_xsgetn): Likewise.
17300         (_IO_file_xsgetn_mmap): Likewise.
17301         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17302         (_IO_cookie_write): Likewise.
17303         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17304         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17305         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17306         * malloc/obstack.c (_obstack_begin): Likewise.
17307         (_obstack_begin_1): Likewise.
17308         (_obstack_newchunk): Likewise.
17309         (_obstack_allocated_p): Likewise.
17310         (obstack_free): Likewise.
17311         (_obstack_memory_used): Likewise.
17312         * misc/getttyent.c (getttynam): Likewise.
17313         (getttyent): Likewise.
17314         (skip): Likewise.
17315         (value): Likewise.
17316         * misc/getusershell.c (initshells): Likewise.
17317         * misc/syslog.c (__vsyslog_chk): Likewise.
17318         * misc/ttyslot.c (ttyslot): Likewise.
17319         * nis/nis_hash.c (__nis_hash): Likewise.
17320         * posix/fnmatch_loop.c (FCT): Likewise.
17321         * posix/getconf.c (print_all): Likewise.
17322         (main): Likewise.
17323         * posix/getopt.c (exchange): Likewise.
17324         * posix/glob.c (globfree): Likewise.
17325         (prefix_array): Likewise.
17326         (__glob_pattern_type): Likewise.
17327         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17328         (NS_GET32): Likewise.
17329         (NS_PUT16): Likewise.
17330         (NS_PUT32): Likewise.
17331         * resolv/gethnamaddr.c (getanswer): Likewise.
17332         (gethostbyname2): Likewise.
17333         (gethostbyaddr): Likewise.
17334         (_gethtent): Likewise.
17335         (_gethtbyname2): Likewise.
17336         (_gethtbyaddr): Likewise.
17337         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17338         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17339         * resolv/res_init.c (__res_vinit): Likewise.
17340         (net_mask): Likewise.
17341         * resolv/res_mkquery.c (outchar): Likewise.
17342         (PRINT): Likewise.
17343         * stdio-common/printf_fp.c (outchar): Likewise.
17344         (PRINT): Likewise.
17345         * stdio-common/printf_fphex.c (outchar): Likewise.
17346         (PRINT): Likewise.
17347         * stdio-common/printf_size.c (outchar): Likewise.
17348         (PRINT): Likewise.
17349         * stdio-common/test_rdwr.c (main): Likewise.
17350         * stdio-common/tfformat.c (matches): Likewise.
17351         * stdio-common/vfprintf.c (outchar): Likewise.
17352         (printf_unknown): Likewise.
17353         (buffered_vfprintf): Likewise.
17354         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17355         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17356         (ReadFile): Likewise.
17357         * stdlib/qsort.c (SWAP): Likewise.
17358         (_quicksort): Likewise.
17359         * stdlib/setenv.c (__add_to_environ): Likewise.
17360         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17361         * stdlib/strtol_l.c (__strtol_l): Likewise.
17362         * stdlib/tst-strtod.c (main): Likewise.
17363         * stdlib/tst-strtol.c (main): Likewise.
17364         * stdlib/tst-strtoll.c (main): Likewise.
17365         * string/bits/string2.h (__strcmp_cc): Likewise.
17366         (__strcmp_cg): Likewise.
17367         (__strcspn_c1): Likewise.
17368         (__strcspn_c2): Likewise.
17369         (__strcspn_c3): Likewise.
17370         (__strspn_c1): Likewise.
17371         (__strspn_c2): Likewise.
17372         (__strspn_c3): Likewise.
17373         (__strsep_1c): Likewise.
17374         (__strsep_2c): Likewise.
17375         (__strsep_3c): Likewise.
17376         * string/memccpy.c (__memccpy): Likewise.
17377         * string/stpcpy.c (__stpcpy): Likewise.
17378         * string/strcmp.c (strcmp): Likewise.
17379         * string/strrchr.c (strrchr): Likewise.
17380         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17381         Likewise.
17382         * sysdeps/mach/hurd/getcwd.c
17383         (_hurd_canonicalize_directory_name_internal): Likewise.
17384         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17385         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17386         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17387         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17388         Likewise, in both definitions.
17389         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17390         definitions.
17391         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17392         64] (__bswap_64): Likewise.
17393         * time/test_time.c (main): Likewise.
17394         * time/tzfile.c (__tzfile_read): Likewise.
17395         (__tzfile_compute): Likewise.
17396         * time/tzset.c (__tzset_parse_tz): Likewise.
17397         (tzset_internal): Likewise.
17398         (compute_change): Likewise.
17399         * wcsmbs/wcscat.c (__wcscat): Likewise.
17400         * wcsmbs/wcschr.c (wcschr): Likewise.
17401         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17402         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17403         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17404         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17405         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17406         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17407         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17408         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17409         * wcsmbs/wmemset.c (wmemset): Likewise.
17411 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17413         * scripts/config.guess: Update to version 2013-05-16.
17414         * scripts/config.sub: Update to version 2013-04-24.
17415         * scripts/install-sh: Update to version 2011-11-20.07.
17416         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17417         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17419 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17421         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17422         * elf/sln.c: Likewise.
17423         * hurd/hurd/ioctl.h: Likewise.
17424         * hurd/hurdmalloc.c: Likewise.
17425         * hurd/xattr.c: Likewise.
17426         * include/shlib-compat.h: Likewise.
17427         * inet/ruserpass.c: Likewise.
17428         * libio/iofgets_u.c: Likewise.
17429         * libio/iofgetws_u.c: Likewise.
17430         * locale/programs/ld-identification.c: Likewise.
17431         * locale/programs/ld-time.c: Likewise.
17432         * mach/msg-destroy.c: Likewise.
17433         * nss/nss_files/files-netgrp.c: Likewise.
17434         * resolv/res_data.c: Likewise.
17435         * soft-fp/op-1.h: Likewise.
17436         * soft-fp/op-2.h: Likewise.
17437         * soft-fp/op-4.h: Likewise.
17438         * soft-fp/op-common.h: Likewise.
17439         * stdio-common/printf_fphex.c: Likewise.
17440         * stdlib/strtod_l.c: Likewise.
17441         * sunrpc/rpc/clnt.h: Likewise.
17442         * sysdeps/generic/framestate.c: Likewise.
17443         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17444         * sysdeps/i386/bsd-setjmp.S: Likewise.
17445         * sysdeps/i386/__longjmp.S: Likewise.
17446         * sysdeps/i386/setjmp.S: Likewise.
17447         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17448         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17449         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17450         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17451         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17452         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17453         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17454         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17455         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17456         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17457         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17458         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17459         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17460         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17461         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17462         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17463         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17464         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17465         * sysdeps/ieee754/support.c: Likewise.
17466         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17467         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17468         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17469         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17470         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17471         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17472         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17473         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17474         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17475         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17476         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17477         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17478         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17479         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17480         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17481         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17482         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17485 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17487         * posix/transbug.c: Remove executable mode.
17489 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17491         * crypt/speeds.c: Remove trailing whitespace.
17492         * dlfcn/default.c: Likewise.
17493         * elf/ifuncdep2.c: Likewise.
17494         * elf/ifuncmain1.c: Likewise.
17495         * elf/ifuncmain1vis.c: Likewise.
17496         * elf/testobj.h: Likewise.
17497         * elf/tst-stackguard1.c: Likewise.
17498         * gmon/sys/gmon.h: Likewise.
17499         * hurd/hurdmsg.c: Likewise.
17500         * hurd/new-fd.c: Likewise.
17501         * hurd/ports-get.c: Likewise.
17502         * iconvdata/ibm1008_420.c: Likewise.
17503         * inet/tst-getni1.c: Likewise.
17504         * inet/tst-getni2.c: Likewise.
17505         * libio/ioungetc.c: Likewise.
17506         * libio/wfiledoalloc.c: Likewise.
17507         * manual/libm-err-tab.pl: Likewise.
17508         * math/w_dremf.c: Likewise.
17509         * misc/ftruncate.c: Likewise.
17510         * posix/bug-glob2.c: Likewise.
17511         * posix/tst-pcre.c: Likewise.
17512         * posix/wait4.c: Likewise.
17513         * resolv/README: Likewise.
17514         * resolv/res_debug.h: Likewise.
17515         * resolv/tst-inet_ntop.c: Likewise.
17516         * setjmp/bug269-setjmp.c: Likewise.
17517         * soft-fp/extended.h: Likewise.
17518         * soft-fp/op-1.h: Likewise.
17519         * soft-fp/op-2.h: Likewise.
17520         * soft-fp/op-4.h: Likewise.
17521         * soft-fp/op-8.h: Likewise.
17522         * soft-fp/testit.c: Likewise.
17523         * stdio-common/bug16.c: Likewise.
17524         * stdlib/random.c: Likewise.
17525         * sunrpc/rpcsvc/rquota.x: Likewise.
17526         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17527         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17528         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17529         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17530         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17531         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17532         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17533         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17534         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17535         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17536         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17537         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17538         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17539         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17540         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17541         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17542         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17543         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17544         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17545         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17546         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17547         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17548         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17549         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17550         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17551         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17552         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17553         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17554         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17555         * sysdeps/ieee754/s_lib_version.c: Likewise.
17556         * sysdeps/mach/hurd/check_fds.c: Likewise.
17557         * sysdeps/mach/hurd/getsockname.c: Likewise.
17558         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17559         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17560         * sysdeps/powerpc/bits/link.h: Likewise.
17561         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17562         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17563         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17564         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17565         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17566         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17567         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17568         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17569         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17570         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17571         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17572         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17573         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17574         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17575         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17576         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17577         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17578         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17579         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17580         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17581         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17582         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17583         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17584         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17585         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17586         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17587         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17588         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17589         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17590         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17591         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17592         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17593         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17594         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17595         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17596         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17597         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17598         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17599         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17600         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17601         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17602         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17603         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17604         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17605         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17606         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17607         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17608         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17609         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17610         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17611         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17612         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17613         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17614         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17615         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17616         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17617         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17618         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17619         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17620         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17621         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17622         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17623         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17624         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17625         * sysdeps/powerpc/sysdep.h: Likewise.
17626         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17627         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17628         * sysdeps/sh/dl-trampoline.S: Likewise.
17629         * sysdeps/sh/memset.S: Likewise.
17630         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17631         * sysdeps/sh/strlen.S: Likewise.
17632         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17633         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17634         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17635         * sysdeps/sparc/sparc32/rem.S: Likewise.
17636         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17637         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17638         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17639         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17640         * sysdeps/sparc/sparc32/urem.S: Likewise.
17641         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17642         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17643         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17644         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17645         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17646         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17647         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17648         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17649         * sysdeps/unix/bsd/times.c: Likewise.
17650         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17651         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17655         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17656         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17657         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17658         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17659         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17660         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17661         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17662         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17663         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17664         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17665         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17666         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17667         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17668         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17669         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17670         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17671         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17672         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17673         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17674         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17675         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17676         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17677         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17678         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17679         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17680         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17681         * sysdeps/x86_64/strcspn.S: Likewise.
17683 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17685         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17686         generated file.  Regenerate properly from gen-translit.pl.
17687         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17688         locale/C-translit.h.
17690 2013-06-05  Andreas Schwab  <schwab@suse.de>
17692         [BZ #15100]
17693         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17694         week as 6 instead of -1.
17695         * time/tst-strptime.c (day_tests): Add test case.
17697 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17699         * sysdeps/generic/math_private.h
17700         (libc_feholdexcept_setround_53bit): Replace with
17701         libc_feholdsetround_53bit.
17702         (libc_feupdateenv_53bit): Replace with
17703         libc_feresetround_53bit.
17704         (SET_RESTORE_ROUND_53BIT): Adjust.
17706 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17708         * string/test-strchrnul.c: Add copyright header.
17710         * posix/tst-getaddrinfo4.c: Increase test timeout.
17712 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17714         [BZ #15536]
17715         * math/libm-test.inc (MAX_EXP): Remove
17716         (MIN_EXP): Define.
17717         (ulp): Use MIN_EXP - MANT_DIG.
17718         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17720 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17722         * po/be.po: Revert last change.
17723         * po/zh_CN.po: Likewise.
17724         * po/header.pot: Likewise.
17726 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17728         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17729         link-libc-deps to empty as target-specific variable.
17730         * Makerules (link-libc-args): New variable.
17731         (libc-for-link): Likewise.
17732         (link-libc-deps): Likewise.
17733         (lib%.so): Depend on $(link-libc-deps).  Link with
17734         $(link-libc-args).
17735         (build-module): Link with $(link-libc-args).
17736         (build-module-asneeded): Likewise.
17737         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17738         list of objects.
17739         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17740         target-specific variable.
17741         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17742         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17743         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17744         libc.
17745         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17746         libc and ld.so.
17747         ($(objpfx)libpcprofile.so): Likewise.
17748         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17749         libc_nonshared.a.
17750         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17751         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17752         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17753         $(link-libc-deps).
17754         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17755         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17756         * login/Makefile ($(objpfx)libutil.so): Likewise.
17757         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17758         * math/Makefile ($(objpfx)libm.so): Likewise.
17759         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17760         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17761         variable instead of depending directly on libc.
17762         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17763         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17764         $(link-libc-deps).
17765         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17766         libc.
17767         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17768         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17769         ($(objpfx)libanl.so): Likewise.
17770         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17771         ld.so.
17772         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17773         $(link-libc-deps).
17774         * sysdeps/i386/fpu/Makefile: Remove file.
17775         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17776         ($(objpfx)libm.so): Remove dependency on ld.so.
17778 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17780         [BZ # 15553]
17781         * nis/yp_xdr.c (XDRMAXNAME): Define.
17782         (XDRMAXRECORD): Define.
17783         (xdr_domainname): Use XDRMAXNAME.
17784         (xdr_mapname): Likewise.
17785         (xdr_peername): Likewise.
17786         (xdr_keydat): Use XDRMAXRECORD.
17787         (xdr_valdat): Likewise.
17789 2013-05-30  Jeff Law  <law@redhat.com>
17791         [BZ #14256]
17792         * manual/errno.texi (ESTALE): Update to account for more than
17793         just NFS file systems.
17794         * sysdeps/gnu/errlist.c: Regenerated.
17796 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17798         [BZ #15465]
17799         * elf/Makefile (tests): Add tst-null-argv.
17800         (modules-names):  Add tst-null-argv-lib.
17801         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17802         (tst-null-argv-ENV): Set environment for tst-null-argv.
17803         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17804         (RTLD_PROGNAME): New macro.
17805         * elf/tst-null-argv.c: New test case.
17806         * elf/tst-null-argv-lib.c: Library for test case.
17807         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17808         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17809         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17810         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17811         * elf/dl-init.c (call_init): Likewise.
17812         (_dl_init): Likewise.
17813         * elf/dl-load.c (print_search_path): Likewise.
17814         (_dl_map_object): Likewise.
17815         * elf/dl-lookup.c (do_lookup_x): Likewise.
17816         (add_dependency): Likewise.
17817         (_dl_lookup_symbol_x): Likewise.
17818         (_dl_debug_bindings): Likewise.
17819         * elf/dl-open.c (_dl_show_scope): Likewise.
17820         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17821         * elf/dl-version.c (match_symbol): Likewise.
17822         (_dl_check_map_versions): Likewise.
17823         * elf/rtld.c (dl_main): Likewise.
17824         (print_unresolved): Use RTLD_PROGNAME.
17825         (print_missing_version): Likewise.
17826         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17827         (elf_machine_rela): Likewise.
17828         * sysdeps/powerpc/powerpc32/dl-machine.c
17829         (__process_machine_rela): Likewise.
17830         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17831         Likewise.
17832         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17833         Likewise.
17834         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17835         Likewise.
17836         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17837         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17838         Likewise.
17839         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17840         Likewise.
17841         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17843 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17845         * po/be.po: Add descriptive title.
17846         * po/zh_CN.po: Likewise.
17847         * po/header.pot: Likewise.
17849 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17851         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17852         error message.
17853         (enlarge_archive): Likewise.
17855 2013-05-28  Ben North  <ben@redfrontdoor.org>
17857         * manual/arith.texi (frexp): It is the magnitude of the return
17858         value which lies in [0.5, 1), not the return value itself.
17860 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17864 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17866         * stdio-common/bug26.c (main): Correct fscanf template.
17868         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17869         declare _dl_skip_args.
17871         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17872         Don't declare.
17874         * manual/platform.texi: Add missing @end deftypefun.
17876 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17878         [BZ #15529]
17879         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17880         bit of mantissa of 2^16382.
17881         * math/libm-test.inc (hypot_test_data): Add more tests.
17883         * math/libm-test.inc: Add drem and pow10 to list of tested
17884         functions.
17885         (pow10_test): New function.
17886         (drem_test): Likewise.
17887         (drem_test_tonearest): Likewise.
17888         (drem_test_towardzero): Likewise.
17889         (drem_test_downward): Likewise.
17890         (drem_test_upward): Likewise.
17891         (main): Call the new functions.
17893         * math/libm-test.inc (finite_test_data): Remove.
17894         (finite_test): Run tests from isfinite_test_data.
17895         (gamma_test_data): Remove.
17896         (gamma_test): Run tests from lgamma_test_data.
17897         * sysdeps/i386/fpu/libm-test-ulps: Update.
17898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17900 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17902         * manual/platform.texi: Add PowerPC PPR function set documentation.
17903         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17904         implementation.
17906 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17908         * math/libm-test.inc (MAX_EXP): Define.
17909         (ULPDIFF): Define.
17910         (ulp): New function.
17911         (check_float_internal): Use ULPDIFF.
17912         (cpow_test): Disable failing test.
17913         (check_ulp): Test ulp() implemetnation.
17914         (main): Call check_ulp before starting tests.
17916 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17918         * math/gen-libm-test.pl (generate_testfile): Do not handle
17919         START_DATA and END_DATA.
17920         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17921         END_DATA.
17922         (acos_tonearest_test_data): Likewise.
17923         (acos_towardzero_test_data): Likewise.
17924         (acos_downward_test_data): Likewise.
17925         (acos_upward_test_data): Likewise.
17926         (acosh_test_data): Likewise.
17927         (asin_test_data): Likewise.
17928         (asin_tonearest_test_data): Likewise.
17929         (asin_towardzero_test_data): Likewise.
17930         (asin_downward_test_data): Likewise.
17931         (asin_upward_test_data): Likewise.
17932         (asinh_test_data): Likewise.
17933         (atan_test_data): Likewise.
17934         (atanh_test_data): Likewise.
17935         (atan2_test_data): Likewise.
17936         (cabs_test_data): Likewise.
17937         (cacos_test_data): Likewise.
17938         (cacosh_test_data): Likewise.
17939         (carg_test_data): Likewise.
17940         (casin_test_data): Likewise.
17941         (casinh_test_data): Likewise.
17942         (catan_test_data): Likewise.
17943         (catanh_test_data): Likewise.
17944         (cbrt_test_data): Likewise.
17945         (ccos_test_data): Likewise.
17946         (ccosh_test_data): Likewise.
17947         (ceil_test_data): Likewise.
17948         (cexp_test_data): Likewise.
17949         (cimag_test_data): Likewise.
17950         (clog_test_data): Likewise.
17951         (clog10_test_data): Likewise.
17952         (conj_test_data): Likewise.
17953         (copysign_test_data): Likewise.
17954         (cos_test_data): Likewise.
17955         (cos_tonearest_test_data): Likewise.
17956         (cos_towardzero_test_data): Likewise.
17957         (cos_downward_test_data): Likewise.
17958         (cos_upward_test_data): Likewise.
17959         (cosh_test_data): Likewise.
17960         (cosh_tonearest_test_data): Likewise.
17961         (cosh_towardzero_test_data): Likewise.
17962         (cosh_downward_test_data): Likewise.
17963         (cosh_upward_test_data): Likewise.
17964         (cpow_test_data): Likewise.
17965         (cproj_test_data): Likewise.
17966         (creal_test_data): Likewise.
17967         (csin_test_data): Likewise.
17968         (csinh_test_data): Likewise.
17969         (csqrt_test_data): Likewise.
17970         (ctan_test_data): Likewise.
17971         (ctan_tonearest_test_data): Likewise.
17972         (ctan_towardzero_test_data): Likewise.
17973         (ctan_downward_test_data): Likewise.
17974         (ctan_upward_test_data): Likewise.
17975         (ctanh_test_data): Likewise.
17976         (ctanh_tonearest_test_data): Likewise.
17977         (ctanh_towardzero_test_data): Likewise.
17978         (ctanh_downward_test_data): Likewise.
17979         (ctanh_upward_test_data): Likewise.
17980         (erf_test_data): Likewise.
17981         (erfc_test_data): Likewise.
17982         (exp_test_data): Likewise.
17983         (exp_tonearest_test_data): Likewise.
17984         (exp_towardzero_test_data): Likewise.
17985         (exp_downward_test_data): Likewise.
17986         (exp_upward_test_data): Likewise.
17987         (exp10_test_data): Likewise.
17988         (exp2_test_data): Likewise.
17989         (expm1_test_data): Likewise.
17990         (fabs_test_data): Likewise.
17991         (fdim_test_data): Likewise.
17992         (finite_test_data): Likewise.
17993         (floor_test_data): Likewise.
17994         (fma_test_data): Likewise.
17995         (fma_towardzero_test_data): Likewise.
17996         (fma_downward_test_data): Likewise.
17997         (fma_upward_test_data): Likewise.
17998         (fmax_test_data): Likewise.
17999         (fmin_test_data): Likewise.
18000         (fmod_test_data): Likewise.
18001         (fpclassify_test_data): Likewise.
18002         (frexp_test_data): Likewise.
18003         (gamma_test_data): Likewise.
18004         (hypot_test_data): Likewise.
18005         (ilogb_test_data): Likewise.
18006         (isfinite_test_data): Likewise.
18007         (isgreater_test_data): Likewise.
18008         (isgreaterequal_test_data): Likewise.
18009         (isinf_test_data): Likewise.
18010         (isless_test_data): Likewise.
18011         (islessequal_test_data): Likewise.
18012         (islessgreater_test_data): Likewise.
18013         (isnan_test_data): Likewise.
18014         (isnormal_test_data): Likewise.
18015         (issignaling_test_data): Likewise.
18016         (isunordered_test_data): Likewise.
18017         (j0_test_data): Likewise.
18018         (j1_test_data): Likewise.
18019         (jn_test_data): Likewise.
18020         (ldexp_test_data): Likewise.
18021         (lgamma_test_data): Likewise.
18022         (lrint_test_data): Likewise.
18023         (lrint_tonearest_test_data): Likewise.
18024         (lrint_towardzero_test_data): Likewise.
18025         (lrint_downward_test_data): Likewise.
18026         (lrint_upward_test_data): Likewise.
18027         (llrint_test_data): Likewise.
18028         (llrint_tonearest_test_data): Likewise.
18029         (llrint_towardzero_test_data): Likewise.
18030         (llrint_downward_test_data): Likewise.
18031         (llrint_upward_test_data): Likewise.
18032         (log_test_data): Likewise.
18033         (log10_test_data): Likewise.
18034         (log1p_test_data): Likewise.
18035         (log2_test_data): Likewise.
18036         (logb_test_data): Likewise.
18037         (logb_downward_test_data): Likewise.
18038         (lround_test_data): Likewise.
18039         (llround_test_data): Likewise.
18040         (modf_test_data): Likewise.
18041         (nearbyint_test_data): Likewise.
18042         (nextafter_test_data): Likewise.
18043         (nexttoward_test_data): Likewise.
18044         (pow_test_data): Likewise.
18045         (pow_tonearest_test_data): Likewise.
18046         (pow_towardzero_test_data): Likewise.
18047         (pow_downward_test_data): Likewise.
18048         (pow_upward_test_data): Likewise.
18049         (remainder_test_data): Likewise.
18050         (remainder_tonearest_test_data): Likewise.
18051         (remainder_towardzero_test_data): Likewise.
18052         (remainder_downward_test_data): Likewise.
18053         (remainder_upward_test_data): Likewise.
18054         (remquo_test_data): Likewise.
18055         (rint_test_data): Likewise.
18056         (rint_tonearest_test_data): Likewise.
18057         (rint_towardzero_test_data): Likewise.
18058         (rint_downward_test_data): Likewise.
18059         (rint_upward_test_data): Likewise.
18060         (round_test_data): Likewise.
18061         (scalb_test_data): Likewise.
18062         (scalbn_test_data): Likewise.
18063         (scalbln_test_data): Likewise.
18064         (signbit_test_data): Likewise.
18065         (sin_test_data): Likewise.
18066         (sin_tonearest_test_data): Likewise.
18067         (sin_towardzero_test_data): Likewise.
18068         (sin_downward_test_data): Likewise.
18069         (sin_upward_test_data): Likewise.
18070         (sincos_test_data): Likewise.
18071         (sinh_test_data): Likewise.
18072         (sinh_tonearest_test_data): Likewise.
18073         (sinh_towardzero_test_data): Likewise.
18074         (sinh_downward_test_data): Likewise.
18075         (sinh_upward_test_data): Likewise.
18076         (sqrt_test_data): Likewise.
18077         (tan_test_data): Likewise.
18078         (tan_tonearest_test_data): Likewise.
18079         (tan_towardzero_test_data): Likewise.
18080         (tan_downward_test_data): Likewise.
18081         (tan_upward_test_data): Likewise.
18082         (tanh_test_data): Likewise.
18083         (tgamma_test_data): Likewise.
18084         (trunc_test_data): Likewise.
18085         (y0_test_data): Likewise.
18086         (y1_test_data): Likewise.
18087         (yn_test_data): Likewise.
18088         (significand_test_data): Likewise.
18090         * math/gen-libm-test.pl (@functions): Remove variable.
18091         (generate_testfile): Don't handle START and END lines.
18092         * math/libm-test.inc (START): New macro.
18093         (END): Likewise.
18094         (END_COMPLEX): Likewise.
18095         (acos_test): Use END macro without arguments.
18096         (acos_test_tonearest): Likewise.
18097         (acos_test_towardzero): Likewise.
18098         (acos_test_downward): Likewise.
18099         (acos_test_upward): Likewise.
18100         (acosh_test): Likewise.
18101         (asin_test): Likewise.
18102         (asin_test_tonearest): Likewise.
18103         (asin_test_towardzero): Likewise.
18104         (asin_test_downward): Likewise.
18105         (asin_test_upward): Likewise.
18106         (asinh_test): Likewise.
18107         (atan_test): Likewise.
18108         (atanh_test): Likewise.
18109         (atan2_test): Likewise.
18110         (cabs_test): Likewise.
18111         (cacos_test): Use END_COMPLEX macro without arguments.
18112         (cacosh_test): Likewise.
18113         (carg_test): Use END macro without arguments.
18114         (casin_test): Use END_COMPLEX macro without arguments.
18115         (casinh_test): Likewise.
18116         (catan_test): Likewise.
18117         (catanh_test): Likewise.
18118         (cbrt_test): Use END macro without arguments.
18119         (ccos_test): Use END_COMPLEX macro without arguments.
18120         (ccosh_test): Likewise.
18121         (ceil_test): Use END macro without arguments.
18122         (cexp_test): Use END_COMPLEX macro without arguments.
18123         (cimag_test): Use END macro without arguments.
18124         (clog_test): Use END_COMPLEX macro without arguments.
18125         (clog10_test): Likewise.
18126         (conj_test): Likewise.
18127         (copysign_test): Use END macro without arguments.
18128         (cos_test): Likewise.
18129         (cos_test_tonearest): Likewise.
18130         (cos_test_towardzero): Likewise.
18131         (cos_test_downward): Likewise.
18132         (cos_test_upward): Likewise.
18133         (cosh_test): Likewise.
18134         (cosh_test_tonearest): Likewise.
18135         (cosh_test_towardzero): Likewise.
18136         (cosh_test_downward): Likewise.
18137         (cosh_test_upward): Likewise.
18138         (cpow_test): Use END_COMPLEX macro without arguments.
18139         (cproj_test): Likewise.
18140         (creal_test): Use END macro without arguments.
18141         (csin_test): Use END_COMPLEX macro without arguments.
18142         (csinh_test): Likewise.
18143         (csqrt_test): Likewise.
18144         (ctan_test): Likewise.
18145         (ctan_test_tonearest): Likewise.
18146         (ctan_test_towardzero): Likewise.
18147         (ctan_test_downward): Likewise.
18148         (ctan_test_upward): Likewise.
18149         (ctanh_test): Likewise.
18150         (ctanh_test_tonearest): Likewise.
18151         (ctanh_test_towardzero): Likewise.
18152         (ctanh_test_downward): Likewise.
18153         (ctanh_test_upward): Likewise.
18154         (erf_test): Use END macro without arguments.
18155         (erfc_test): Likewise.
18156         (exp_test): Likewise.
18157         (exp_test_tonearest): Likewise.
18158         (exp_test_towardzero): Likewise.
18159         (exp_test_downward): Likewise.
18160         (exp_test_upward): Likewise.
18161         (exp10_test): Likewise.
18162         (exp2_test): Likewise.
18163         (expm1_test): Likewise.
18164         (fabs_test): Likewise.
18165         (fdim_test): Likewise.
18166         (finite_test): Likewise.
18167         (floor_test): Likewise.
18168         (fma_test): Likewise.
18169         (fma_test_towardzero): Likewise.
18170         (fma_test_downward): Likewise.
18171         (fma_test_upward): Likewise.
18172         (fmax_test): Likewise.
18173         (fmin_test): Likewise.
18174         (fmod_test): Likewise.
18175         (fpclassify_test): Likewise.
18176         (frexp_test): Likewise.
18177         (gamma_test): Likewise.
18178         (hypot_test): Likewise.
18179         (ilogb_test): Likewise.
18180         (isfinite_test): Likewise.
18181         (isgreater_test): Likewise.
18182         (isgreaterequal_test): Likewise.
18183         (isinf_test): Likewise.
18184         (isless_test): Likewise.
18185         (islessequal_test): Likewise.
18186         (islessgreater_test): Likewise.
18187         (isnan_test): Likewise.
18188         (isnormal_test): Likewise.
18189         (issignaling_test): Likewise.
18190         (isunordered_test): Likewise.
18191         (j0_test): Likewise.
18192         (j1_test): Likewise.
18193         (jn_test): Likewise.
18194         (ldexp_test): Likewise.
18195         (lgamma_test): Likewise.
18196         (lrint_test): Likewise.
18197         (lrint_test_tonearest): Likewise.
18198         (lrint_test_towardzero): Likewise.
18199         (lrint_test_downward): Likewise.
18200         (lrint_test_upward): Likewise.
18201         (llrint_test): Likewise.
18202         (llrint_test_tonearest): Likewise.
18203         (llrint_test_towardzero): Likewise.
18204         (llrint_test_downward): Likewise.
18205         (llrint_test_upward): Likewise.
18206         (log_test): Likewise.
18207         (log10_test): Likewise.
18208         (log1p_test): Likewise.
18209         (log2_test): Likewise.
18210         (logb_test): Likewise.
18211         (logb_test_downward): Likewise.
18212         (lround_test): Likewise.
18213         (llround_test): Likewise.
18214         (modf_test): Likewise.
18215         (nearbyint_test): Likewise.
18216         (nextafter_test): Likewise.
18217         (nexttoward_test): Likewise.
18218         (pow_test): Likewise.
18219         (pow_test_tonearest): Likewise.
18220         (pow_test_towardzero): Likewise.
18221         (pow_test_downward): Likewise.
18222         (pow_test_upward): Likewise.
18223         (remainder_test): Likewise.
18224         (remainder_test_tonearest): Likewise.
18225         (remainder_test_towardzero): Likewise.
18226         (remainder_test_downward): Likewise.
18227         (remainder_test_upward): Likewise.
18228         (remquo_test): Likewise.
18229         (rint_test): Likewise.
18230         (rint_test_tonearest): Likewise.
18231         (rint_test_towardzero): Likewise.
18232         (rint_test_downward): Likewise.
18233         (rint_test_upward): Likewise.
18234         (round_test): Likewise.
18235         (scalb_test): Likewise.
18236         (scalbn_test): Likewise.
18237         (scalbln_test): Likewise.
18238         (signbit_test): Likewise.
18239         (sin_test): Likewise.
18240         (sin_test_tonearest): Likewise.
18241         (sin_test_towardzero): Likewise.
18242         (sin_test_downward): Likewise.
18243         (sin_test_upward): Likewise.
18244         (sincos_test): Likewise.
18245         (sinh_test): Likewise.
18246         (sinh_test_tonearest): Likewise.
18247         (sinh_test_towardzero): Likewise.
18248         (sinh_test_downward): Likewise.
18249         (sinh_test_upward): Likewise.
18250         (sqrt_test): Likewise.
18251         (tan_test): Likewise.
18252         (tan_test_tonearest): Likewise.
18253         (tan_test_towardzero): Likewise.
18254         (tan_test_downward): Likewise.
18255         (tan_test_upward): Likewise.
18256         (tanh_test): Likewise.
18257         (tgamma_test): Likewise.
18258         (trunc_test): Likewise.
18259         (y0_test): Likewise.
18260         (y1_test): Likewise.
18261         (yn_test): Likewise.
18262         (significand_test): Likewise.
18264 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18266         [BZ #15381]
18267         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18269 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18271         [BZ #14894]
18272         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18273         __ppc_mdoio and __ppc_mdoom.
18274         * manual/platform.texi: Document new functions __ppc_yield,
18275         __ppc_mdoio and __ppc_mdoom.
18277 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18279         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18280         (main): Mention "tls" pseudo-hwcap is legacy.
18281         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18283 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18285         * math/gen-libm-test.pl (parse_args): Output only string of
18286         arguments as text for test name, not full call or descriptions of
18287         tests for extra outputs.
18288         (generate_testfile): Do not pass function name to parse_args.
18289         Generate this_func variable from START.
18290         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18291         field to arg_str.
18292         (struct test_ff_f_data): Likewise.
18293         (test_ff_f_data_nexttoward): Likewise.
18294         (struct test_fi_f_data): Likewise.
18295         (struct test_fl_f_data): Likewise.
18296         (struct test_if_f_data): Likewise.
18297         (struct test_fff_f_data): Likewise.
18298         (struct test_c_f_data): Likewise.
18299         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18300         (struct test_fF_f1_data): Likewise.
18301         (struct test_ffI_f1_data): Likewise.
18302         (struct test_c_c_data): Rename test_name field to arg_str.
18303         (struct test_cc_c_data): Likewise.
18304         (struct test_f_i_data): Likewise.
18305         (struct test_ff_i_data): Likewise.
18306         (struct test_f_l_data): Likewise.
18307         (struct test_f_L_data): Likewise.
18308         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18309         and extra2_name.
18310         (COMMON_TEST_SETUP): New macro.
18311         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18312         (COMMON_TEST_CLEANUP): Likewise.
18313         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18314         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18315         macros.
18316         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18317         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18318         macros.
18319         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18320         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18321         cleanup macros.
18322         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18323         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18324         macros.
18325         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18326         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18327         macros.
18328         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18329         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18330         cleanup macros.
18331         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18332         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18333         cleanup macros.
18334         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18335         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18336         cleanup macros.
18337         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18338         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18339         macros.
18340         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18341         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18342         macros.
18343         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18344         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18345         macros.
18346         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18347         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18348         cleanup macros.
18349         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18350         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18351         cleanup macros.
18352         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18353         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18354         macros.
18355         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18356         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18357         cleanup macros.
18358         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18359         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18360         macros.
18361         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18362         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18363         macros.
18364         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18365         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18366         cleanup macros.
18367         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18369 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18371         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18372         to _sifields.sigfault.
18373         (si_addr_lsb): Define new macro.
18374         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18375         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18376         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18378 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18380         [BZ #15441]
18381         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18382         returns -1.
18383         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18384         null return -1.
18385         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18386         loading the domain.
18388 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18390         * math/gen-libm-test.pl (parse_args): Do not include expected
18391         result in test name.
18392         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18393         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18394         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18395         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18396         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18399 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18401         * benchtests/Makefile: Sort function entries.
18403         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18404         tanh, asinh, acosh, atanh.
18405         * benchtests/acos-inputs: New file.
18406         * benchtests/acosh-inputs: New file.
18407         * benchtests/asin-inputs: New file.
18408         * benchtests/asinh-inputs: New file.
18409         * benchtests/atanh-inputs: New file.
18410         * benchtests/cosh-inputs: New file.
18411         * benchtests/log-inputs: New file.
18412         * benchtests/sinh-inputs: New file.
18413         * benchtests/tanh-inputs: New file.
18415 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18417         [BZ #15339]
18418         * posix/tst-getaddrinfo4.c: New test.
18419         * posix/Makefile (tests): Add it.
18421 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18423         [BZ #15339]
18424         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18425         when no services were used.
18426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18427         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18429 2013-05-21  Andreas Schwab  <schwab@suse.de>
18431         [BZ #15014]
18432         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18433         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18434         successful.
18435         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18436         redundant variable declarations and reallocation of buffer when
18437         parsing as IPv6 address.  Always set NSS status when called from
18438         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18439         buffer too small.  Correct computation of needed size.
18440         * nss/Makefile (tests): Add test-digits-dots.
18441         * nss/test-digits-dots.c: New test.
18443 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18445         * benchtests/Makefile: Remove instructions for adding
18446         benchmark tests.
18447         * benchtests/README: New file to explain how to execute and
18448         enhance the benchmark tests.
18450 2013-05-21  Andreas Schwab  <schwab@suse.de>
18452         [BZ #15493]
18453         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18454         * setjmp/tst-sigsetjmp.c: New test.
18456 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18458         * sysdeps/x86_64/memset.S (memset): New implementation.
18459         (__bzero): Likewise.
18460         (__memset_tail): New function.
18462 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18464         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18465         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18466         __memcpy_sse2_unaligned ifunc selection.
18467         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18468         Add memcpy-sse2-unaligned.S.
18469         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18470         Add: __memcpy_sse2_unaligned.
18472 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18474         [BZ #15490]
18475         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18476         math_force_eval before restoring floating-point envrionment.
18477         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18478         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18479         Likewise.
18480         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18481         <math_private.h>.
18482         (__nearbyintl): Use math_force_eval before restoring
18483         floating-point environment.
18484         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18486         * math/gen-libm-test.pl (special_functions): Remove.
18487         (parse_args): Don't handle TEST_extra.  Handle functions with no
18488         return value.
18489         * math/libm-test.inc (struct test_sincos_data): Replace with
18490         struct test_fFF_11_data.
18491         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18492         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18493         (sincos_test_data): Change element type to struct
18494         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18495         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18496         RUN_TEST_LOOP_sincos.
18497         * math/README.libm-test: Don't mention special handling of
18498         individual functions.
18499         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18500         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18501         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18502         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18503         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18506         * math/gen-libm-test.pl (get_variable): Remove function.
18507         (parse_args): Don't show pointer parameters to call in test
18508         names.  Use "extra output N" in test names for extra outputs
18509         rather than naming variables.
18511 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18513         [BZ #15488]
18514         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18515         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18516         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18517         double tests.
18518         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18519         disable.
18520         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18521         check_long_double.
18523         * math/gen-libm-test.pl (@tests): Remove variable.
18524         ($count): Likewise.
18525         (new_test): Remove function.
18526         (show_exceptions): New function.
18527         (special_functions): Use show_exceptions instead of new_test.
18528         (parse_args): Likewise.
18529         (generate_testfile): Pass only function name in generated call to
18530         print_max_error or print_complex_max_error.
18531         (get_ulps): Do not handle complex tests specially.
18532         (output_test): Rename to ...
18533         (get_all_ulps_for_test): ... this.  Return a string rather than
18534         printing to a file.  Require ulps to be present.
18535         (output_ulps): Generate arrays rather than #defines.
18536         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18537         (struct ulp_data): New type.
18538         (BUILD_COMPLEX_ULP): Remove macro.
18539         (compare_ulp_data): New function.
18540         (find_ulps): Likewise.
18541         (find_test_ulps): Likewise.
18542         (find_function_ulps): Likewise.
18543         (find_complex_function_ulps): Likewise.
18544         (print_max_error): Determine allowed ulps using
18545         find_function_ulps.
18546         (print_complex_max_error): Determine allowed ulps using
18547         find_complex_function_ulps.
18548         (check_float_internal): Determine max ulps using find_test_ulps.
18549         (check_float): Do not take max_ulp parameter.  Update call to
18550         check_float_internal.
18551         (check_complex): Likewise.
18552         (check_int): Do not take max_ulp parameter.
18553         (check_long): Likewise.
18554         (check_bool): Likewise.
18555         (check_longlong): Likewise.
18556         (struct test_f_f_data): Remove max_ulp field.
18557         (struct test_ff_f_data): Likewise.
18558         (struct test_ff_f_data_nexttoward): Likewise.
18559         (struct test_fi_f_data): Likewise.
18560         (struct test_fl_f_data): Likewise.
18561         (struct test_if_f_data): Likewise.
18562         (struct test_fff_f_data): Likewise.
18563         (struct test_c_f_data): Likewise.
18564         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18565         (struct test_fF_f1_data): Likewise.
18566         (struct test_ffI_f1_data): Likewise.
18567         (struct test_c_c_data): Remove max_ulp field.
18568         (struct test_cc_c_data): Likewise.
18569         (struct test_f_i_data): Likewise.
18570         (struct test_ff_i_data): Likewise.
18571         (struct test_f_l_data): Likewise.
18572         (struct test_f_L_data): Likewise.
18573         (struct test_sincos_data): Likewise.
18574         (RUN_TEST_f_f): Do not handle ulps.
18575         (RUN_TEST_LOOP_f_f): Likewise.
18576         (RUN_TEST_2_f): Likewise.
18577         (RUN_TEST_LOOP_2_f): Likewise.
18578         (RUN_TEST_fff_f): Likewise.
18579         (RUN_TEST_LOOP_fff_f): Likewise.
18580         (RUN_TEST_c_f): Likewise.
18581         (RUN_TEST_LOOP_c_f): Likewise.
18582         (RUN_TEST_f_f1): Likewise.
18583         (RUN_TEST_LOOP_f_f1): Likewise.
18584         (RUN_TEST_fF_f1): Likewise.
18585         (RUN_TEST_LOOP_fF_f1): Likewise.
18586         (RUN_TEST_fI_f1): Likewise.
18587         (RUN_TEST_LOOP_fI_f1): Likewise.
18588         (RUN_TEST_ffI_f1): Likewise.
18589         (RUN_TEST_LOOP_ffI_f1): Likewise.
18590         (RUN_TEST_c_c): Likewise.
18591         (RUN_TEST_LOOP_c_c): Likewise.
18592         (RUN_TEST_cc_c): Likewise.
18593         (RUN_TEST_LOOP_cc_c): Likewise.
18594         (RUN_TEST_f_i): Likewise.
18595         (RUN_TEST_LOOP_f_i): Likewise.
18596         (RUN_TEST_f_i_tg): Likewise.
18597         (RUN_TEST_LOOP_f_i_tg): Likewise.
18598         (RUN_TEST_ff_i_tg): Likewise.
18599         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18600         (RUN_TEST_f_b): Likewise.
18601         (RUN_TEST_LOOP_f_b): Likewise.
18602         (RUN_TEST_f_b_tg): Likewise.
18603         (RUN_TEST_LOOP_f_b_tg): Likewise.
18604         (RUN_TEST_f_l): Likewise.
18605         (RUN_TEST_LOOP_f_l): Likewise.
18606         (RUN_TEST_f_L): Likewise.
18607         (RUN_TEST_LOOP_f_L): Likewise.
18608         (RUN_TEST_sincos): Likewise.
18609         (RUN_TEST_LOOP_sincos): Likewise.
18611 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18613         [BZ #15480]
18614         [BZ #15485]
18615         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18616         main case of finite arguments, set rounding mode to FE_TONEAREST
18617         and discard exceptions.
18618         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18619         exceptions.
18620         (remainder_tonearest_test_data): New variable.
18621         (remainder_test_tonearest): New function.
18622         (remainder_towardzero_test_data): New variable.
18623         (remainder_test_towardzero): New function.
18624         (remainder_downward_test_data): New variable.
18625         (remainder_test_downward): New function.
18626         (remainder_upward_test_data): New variable.
18627         (remainder_test_upward): New function.
18628         (main): Call the new test functions.
18630         * math/libm-test.inc (struct test_f_f1_data): Remove field
18631         extra_init.
18632         (struct test_fF_f1_data): Likewise.
18633         (struct test_ffI_f1_data): Likewise.
18634         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18635         based on value of EXTRA_EXPECTED.
18636         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18637         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18638         EXTRA_VAR based on value of EXTRA_EXPECTED.
18639         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18640         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18641         EXTRA_VAR based on value of EXTRA_EXPECTED.
18642         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18643         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18644         EXTRA_VAR based on value of EXTRA_EXPECTED.
18645         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18646         * math/gen-libm-test.pl (parse_args): Don't output initializers
18647         for extra output values.
18649         * math/libm-test.inc (check_int): Expect result to be exactly
18650         equal to expected value and do not handle ulps.
18651         (check_long): Likewise.
18652         (check_longlong): Likewise.
18654         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18655         exceptions.
18656         (cimag_test_data): Likewise.
18657         (conj_test_data): Likewise.
18658         (copysign_test_data): Likewise.
18659         (cproj_test_data): Likewise.
18660         (creal_test_data): Likewise.
18661         (fabs_test_data): Likewise.
18662         (fdim_test_data): Likewise.
18663         (finite_test_data): Likewise.
18664         (floor_test_data): Likewise.
18665         (fmax_test_data): Likewise.
18666         (fmin_test_data): Likewise.
18667         (fmod_test_data): Likewise.
18668         (fpclassify_test_data): Likewise.
18669         (frexp_test_data): Likewise.
18670         (ilogb_test_data): Likewise.
18671         (isfinite_test_data): Likewise.
18672         (isgreater_test_data): Likewise.
18673         (isgreaterequal_test_data): Likewise.
18674         (isinf_test_data): Likewise.
18675         (isless_test_data): Likewise.
18676         (islessequal_test_data): Likewise.
18677         (islessgreater_test_data): Likewise.
18678         (isnan_test_data): Likewise.
18679         (isnormal_test_data): Likewise.
18680         (issignaling_test_data): Likewise.
18681         (isunordered_test_data): Likewise.
18682         (ldexp_test_data): Likewise.
18683         (lrint_test_data): Likewise.
18684         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18685         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18686         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18687         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18688         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18689         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18690         test input.
18691         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18692         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18693         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18694         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18695         that test input.
18696         (lrint_downward_test_data): Test for "inexact" exceptions.
18697         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18698         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18699         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18700         test input.
18701         (lrint_upward_test_data): Test for "inexact" exceptions.
18702         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18703         test input.
18704         (llrint_test_data): Test for "inexact" exceptions.
18705         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18706         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18707         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18708         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18709         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18710         (llrint_downward_test_data): Test for "inexact" exceptions.
18711         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18712         (llrint_upward_test_data): Test for "inexact" exceptions.
18713         (logb_test_data): Likewise.
18714         (logb_downward_test_data): Likewise.
18715         (nextafter_test_data): Likewise.
18716         (nexttoward_test_data): Likewise.
18717         (remainder_test_data): Likewise.
18718         (remquo_test_data): Likewise.
18719         (scalbn_test_data): Likewise.
18720         (scalbln_test_data): Likewise.
18721         (signbit_test_data): Likewise.
18722         (sqrt_test_data): Likewise.
18723         (significand_test_data): Likewise.
18725 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18727         [BZ #15424]
18728         * benchtests/bench-modf.c (struct args): Mark arg0 as
18729         volatile.
18730         * scripts/bench.pl: Mark members of struct args as volatile.
18732 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18734         [BZ # 15497]
18735         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18736         negative infinity on POWER6 or lower.
18737         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18739 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18741         [BZ #15442]
18742         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18743         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18744         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18745         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18746         (_FP_SETQNAN): New macro.
18747         (_FP_SETQNAN_SEMIRAW): Likewise.
18748         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18749         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18750         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18751         (FP_EXTEND): Use _FP_FRAC_SNANP.
18752         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18753         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18754         into account.
18755         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18756         New macro.
18757         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18758         Likewise.
18760 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18762         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18763         with DIVIDE_BY_ZERO_EXCEPTION.
18764         (gamma_test_data): Likewise.
18765         (lgamma_test_data): Likewise.
18766         (log_test_data): Likewise.
18767         (log10_test_data): Likewise.
18768         (log2_test_data): Likewise.
18769         (tgamma_test_data): Likewise.
18771         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18772         (acos_test_tonearest): Likewise.
18773         (acos_test_towardzero): Likewise.
18774         (acos_test_downward): Likewise.
18775         (acos_test_upward): Likewise.
18776         (acosh_test): Likewise.
18777         (asin_test): Likewise.
18778         (asin_test_tonearest): Likewise.
18779         (asin_test_towardzero): Likewise.
18780         (asin_test_downward): Likewise.
18781         (asin_test_upward): Likewise.
18782         (asinh_test): Likewise.
18783         (atan_test): Likewise.
18784         (atanh_test): Likewise.
18785         (atan2_test): Likewise.
18786         (cabs_test): Likewise.
18787         (cacos_test): Likewise.
18788         (cacosh_test): Likewise.
18789         (casin_test): Likewise.
18790         (casinh_test): Likewise.
18791         (catan_test): Likewise.
18792         (catanh_test): Likewise.
18793         (cbrt_test): Likewise.
18794         (ccos_test): Likewise.
18795         (ccosh_test): Likewise.
18796         (cexp_test): Likewise.
18797         (clog_test): Likewise.
18798         (clog10_test): Likewise.
18799         (cos_test): Likewise.
18800         (cos_test_tonearest): Likewise.
18801         (cos_test_towardzero): Likewise.
18802         (cos_test_downward): Likewise.
18803         (cos_test_upward): Likewise.
18804         (cosh_test): Likewise.
18805         (cosh_test_tonearest): Likewise.
18806         (cosh_test_towardzero): Likewise.
18807         (cosh_test_downward): Likewise.
18808         (cosh_test_upward): Likewise.
18809         (cpow_test): Likewise.
18810         (csin_test): Likewise.
18811         (csinh_test): Likewise.
18812         (csqrt_test): Likewise.
18813         (ctan_test): Likewise.
18814         (ctan_test_tonearest): Likewise.
18815         (ctan_test_towardzero): Likewise.
18816         (ctan_test_downward): Likewise.
18817         (ctan_test_upward): Likewise.
18818         (ctanh_test): Likewise.
18819         (ctanh_test_tonearest): Likewise.
18820         (ctanh_test_towardzero): Likewise.
18821         (ctanh_test_downward): Likewise.
18822         (ctanh_test_upward): Likewise.
18823         (erf_test): Likewise.
18824         (erfc_test): Likewise.
18825         (exp_test): Likewise.
18826         (exp_test_tonearest): Likewise.
18827         (exp_test_towardzero): Likewise.
18828         (exp_test_downward): Likewise.
18829         (exp_test_upward): Likewise.
18830         (exp10_test): Likewise.
18831         (exp2_test): Likewise.
18832         (expm1_test): Likewise.
18833         (fmod_test): Likewise.
18834         (gamma_test): Likewise.
18835         (hypot_test): Likewise.
18836         (j0_test): Likewise.
18837         (j1_test): Likewise.
18838         (jn_test): Likewise.
18839         (lgamma_test): Likewise.
18840         (log_test): Likewise.
18841         (log10_test): Likewise.
18842         (log1p_test): Likewise.
18843         (log2_test): Likewise.
18844         (logb_test_downward): Likewise.
18845         (pow_test): Likewise.
18846         (pow_test_tonearest): Likewise.
18847         (pow_test_towardzero): Likewise.
18848         (pow_test_downward): Likewise.
18849         (pow_test_upward): Likewise.
18850         (remainder_test): Likewise.
18851         (remquo_test): Likewise.
18852         (sin_test): Likewise.
18853         (sin_test_tonearest): Likewise.
18854         (sin_test_towardzero): Likewise.
18855         (sin_test_downward): Likewise.
18856         (sin_test_upward): Likewise.
18857         (sincos_test): Likewise.
18858         (sinh_test): Likewise.
18859         (sinh_test_tonearest): Likewise.
18860         (sinh_test_towardzero): Likewise.
18861         (sinh_test_downward): Likewise.
18862         (sinh_test_upward): Likewise.
18863         (sqrt_test): Likewise.
18864         (tan_test): Likewise.
18865         (tan_test_tonearest): Likewise.
18866         (tan_test_towardzero): Likewise.
18867         (tan_test_downward): Likewise.
18868         (tan_test_upward): Likewise.
18869         (tanh_test): Likewise.
18870         (tgamma_test): Likewise.
18871         (y0_test): Likewise.
18872         (y1_test): Likewise.
18873         (yn_test): Likewise.
18875         * math/gen-libm-test.pl (adjust_arg): Remove function.
18876         (special_function): Remove argument $in_func.  Only handle
18877         generating output for tables of tests, not inside functions.
18878         (parse_args): Likewise.
18879         (generate_testfile): Remove variable $in_func.  Update call to
18880         parse_args.
18881         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18882         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18883         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18884         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18885         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18886         (MAX_VALUE_INIT): Rename macro to max_value.
18887         (MIN_VALUE_INIT): Rename macro to min_value.
18888         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18889         (plus_zero): Remove variable.
18890         (minus_zero): Likewise.
18891         (plus_infty): Likewise.
18892         (minus_infty): Likewise.
18893         (qnan_value): Likewise.
18894         (max_value): Likewise.
18895         (min_value): Likewise.
18896         (min_subnorm_value): Likewise.
18898 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18900         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18901         uint64_t or uint32_t usage.
18902         * crypt/sha256-block.c: Likewise.
18903         * crypt/sha256-crypt.c: Likewise.
18904         * crypt/sha256.c: Likewise.
18905         * crypt/sha512-block.c: Likewise.
18906         * crypt/sha512-crypt.c: Likewise.
18907         * crypt/sha512.c: Likewise.
18908         * debug/backtrace-tst.c: Likewise.
18909         * debug/pcprofiledump.c: Likewise.
18910         * elf/cache.c: Likewise.
18911         * elf/dl-cache.c: Likewise.
18912         * elf/dl-misc.c: Likewise.
18913         * elf/dl-profile.c: Likewise.
18914         * elf/dl-support.c: Likewise.
18915         * elf/ldconfig.c: Likewise.
18916         * elf/sprof.c: Likewise.
18917         * iconv/dummy-repertoire.c: Likewise.
18918         * iconv/iconv_charmap.c: Likewise.
18919         * iconv/skeleton.c: Likewise.
18920         * iconvdata/8bit-generic.c: Likewise.
18921         * iconvdata/cp737.h: Likewise.
18922         * iconvdata/cp775.h: Likewise.
18923         * iconvdata/ibm1008.h: Likewise.
18924         * iconvdata/ibm1025.h: Likewise.
18925         * iconvdata/ibm1046.h: Likewise.
18926         * iconvdata/ibm1097.h: Likewise.
18927         * iconvdata/ibm1112.h: Likewise.
18928         * iconvdata/ibm1122.h: Likewise.
18929         * iconvdata/ibm1123.h: Likewise.
18930         * iconvdata/ibm1124.h: Likewise.
18931         * iconvdata/ibm1129.h: Likewise.
18932         * iconvdata/ibm1130.h: Likewise.
18933         * iconvdata/ibm1132.h: Likewise.
18934         * iconvdata/ibm1133.h: Likewise.
18935         * iconvdata/ibm1137.h: Likewise.
18936         * iconvdata/ibm1140.h: Likewise.
18937         * iconvdata/ibm1141.h: Likewise.
18938         * iconvdata/ibm1142.h: Likewise.
18939         * iconvdata/ibm1143.h: Likewise.
18940         * iconvdata/ibm1144.h: Likewise.
18941         * iconvdata/ibm1145.h: Likewise.
18942         * iconvdata/ibm1146.h: Likewise.
18943         * iconvdata/ibm1147.h: Likewise.
18944         * iconvdata/ibm1148.h: Likewise.
18945         * iconvdata/ibm1149.h: Likewise.
18946         * iconvdata/ibm1153.h: Likewise.
18947         * iconvdata/ibm1154.h: Likewise.
18948         * iconvdata/ibm1155.h: Likewise.
18949         * iconvdata/ibm1156.h: Likewise.
18950         * iconvdata/ibm1157.h: Likewise.
18951         * iconvdata/ibm1158.h: Likewise.
18952         * iconvdata/ibm1160.h: Likewise.
18953         * iconvdata/ibm1161.h: Likewise.
18954         * iconvdata/ibm1162.h: Likewise.
18955         * iconvdata/ibm1163.h: Likewise.
18956         * iconvdata/ibm1164.h: Likewise.
18957         * iconvdata/ibm1166.h: Likewise.
18958         * iconvdata/ibm1167.h: Likewise.
18959         * iconvdata/ibm12712.h: Likewise.
18960         * iconvdata/ibm1390.h: Likewise.
18961         * iconvdata/ibm1399.h: Likewise.
18962         * iconvdata/ibm16804.h: Likewise.
18963         * iconvdata/ibm4517.h: Likewise.
18964         * iconvdata/ibm4899.h: Likewise.
18965         * iconvdata/ibm4909.h: Likewise.
18966         * iconvdata/ibm4971.h: Likewise.
18967         * iconvdata/ibm5347.h: Likewise.
18968         * iconvdata/ibm803.h: Likewise.
18969         * iconvdata/ibm856.h: Likewise.
18970         * iconvdata/ibm901.h: Likewise.
18971         * iconvdata/ibm902.h: Likewise.
18972         * iconvdata/ibm9030.h: Likewise.
18973         * iconvdata/ibm9066.h: Likewise.
18974         * iconvdata/ibm921.h: Likewise.
18975         * iconvdata/ibm922.h: Likewise.
18976         * iconvdata/ibm9448.h: Likewise.
18977         * iconvdata/isiri-3342.h: Likewise.
18978         * iconvdata/jis0201.h: Likewise.
18979         * include/link.h: Likewise.
18980         * include/netdb.h: Likewise.
18981         * inet/check_native.c: Likewise.
18982         * inet/check_pf.c: Likewise.
18983         * inet/getipv4sourcefilter.c: Likewise.
18984         * inet/getnameinfo.c: Likewise.
18985         * inet/getsourcefilter.c: Likewise.
18986         * inet/htonl.c: Likewise.
18987         * inet/setipv4sourcefilter.c: Likewise.
18988         * inet/setsourcefilter.c: Likewise.
18989         * inet/test-inet6_opt.c: Likewise.
18990         * inet/tst-network.c: Likewise.
18991         * locale/C-collate.c: Likewise.
18992         * locale/C-ctype.c: Likewise.
18993         * locale/C-time.c: Likewise.
18994         * locale/C-translit.h: Likewise.
18995         * locale/loadarchive.c: Likewise.
18996         * locale/programs/3level.h: Likewise.
18997         * locale/programs/charmap.c: Likewise.
18998         * locale/programs/charmap.h: Likewise.
18999         * locale/programs/ld-address.c: Likewise.
19000         * locale/programs/ld-collate.c: Likewise.
19001         * locale/programs/ld-ctype.c: Likewise.
19002         * locale/programs/ld-identification.c: Likewise.
19003         * locale/programs/ld-measurement.c: Likewise.
19004         * locale/programs/ld-messages.c: Likewise.
19005         * locale/programs/ld-monetary.c: Likewise.
19006         * locale/programs/ld-name.c: Likewise.
19007         * locale/programs/ld-numeric.c: Likewise.
19008         * locale/programs/ld-paper.c: Likewise.
19009         * locale/programs/ld-telephone.c: Likewise.
19010         * locale/programs/ld-time.c: Likewise.
19011         * locale/programs/linereader.c: Likewise.
19012         * locale/programs/locale.c: Likewise.
19013         * locale/programs/locarchive.c: Likewise.
19014         * locale/programs/locfile.h: Likewise.
19015         * locale/programs/repertoire.c: Likewise.
19016         * locale/programs/simple-hash.c: Likewise.
19017         * locale/programs/simple-hash.h: Likewise.
19018         * malloc/memusage.c: Likewise.
19019         * malloc/memusagestat.c: Likewise.
19020         * nis/nis_defaults.c: Likewise.
19021         * nis/nis_hash.c: Likewise.
19022         * nis/nis_print.c: Likewise.
19023         * nis/nis_xdr.c: Likewise.
19024         * nscd/connections.c: Likewise.
19025         * nscd/hstcache.c: Likewise.
19026         * nscd/nscd_gethst_r.c: Likewise.
19027         * nscd/nscd_getserv_r.c: Likewise.
19028         * nscd/nscd_helper.c: Likewise.
19029         * nscd/servicescache.c: Likewise.
19030         * nss/makedb.c: Likewise.
19031         * nss/nss_db/db-XXX.c: Likewise.
19032         * nss/nss_db/db-initgroups.c: Likewise.
19033         * nss/nss_db/db-netgrp.c: Likewise.
19034         * nss/nss_files/files-network.c: Likewise.
19035         * nss/nss_files/files-parse.c: Likewise.
19036         * posix/bug-regex5.c: Likewise.
19037         * posix/fnmatch_loop.c: Likewise.
19038         * posix/regcomp.c: Likewise.
19039         * posix/regexec.c: Likewise.
19040         * posix/tst-rfc3484-2.c: Likewise.
19041         * posix/tst-rfc3484-3.c: Likewise.
19042         * posix/tst-rfc3484.c: Likewise.
19043         * resolv/nss_dns/dns-canon.c: Likewise.
19044         * resolv/nss_dns/dns-network.c: Likewise.
19045         * resolv/res_init.c: Likewise.
19046         * resolv/res_mkquery.c: Likewise.
19047         * resolv/tst-aton.c: Likewise.
19048         * stdlib/cxa_atexit.c: Likewise.
19049         * stdlib/cxa_finalize.c: Likewise.
19050         * stdlib/gen-fpioconst.c: Likewise.
19051         * stdlib/strtol_l.c: Likewise.
19052         * string/tst-endian.c: Likewise.
19053         * sunrpc/auth_des.c: Likewise.
19054         * sunrpc/clnt_udp.c: Likewise.
19055         * sunrpc/rtime.c: Likewise.
19056         * sunrpc/svcauth_des.c: Likewise.
19057         * sunrpc/xdr.c: Likewise.
19058         * sunrpc/xdr_intXX_t.c: Likewise.
19059         * sunrpc/xdr_rec.c: Likewise.
19060         * sysdeps/generic/ldconfig.h: Likewise.
19061         * sysdeps/generic/ldsodefs.h: Likewise.
19062         * sysdeps/generic/memusage.h: Likewise.
19063         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19064         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19065         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19066         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19067         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19068         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19069         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19070         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19071         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19072         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19073         * sysdeps/posix/getaddrinfo.c: Likewise.
19074         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19075         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19076         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19077         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19078         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19079         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19080         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19081         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19082         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19083         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19084         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19085         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19086         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19087         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19088         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19089         * sysdeps/x86_64/dl-tls.h: Likewise.
19090         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19091         * time/alt_digit.c: Likewise.
19092         * time/era.c: Likewise.
19093         * wcsmbs/tst-c16c32-1.c: Likewise.
19095 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19097         * math/libm-test.inc (struct test_sincos_data): New type.
19098         (RUN_TEST_LOOP_sincos): New macro.
19099         (sincos_test_data): New variable.
19100         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19102 2013-05-16  Richard Henderson  <rth@redhat.com>
19104         * math/atest-exp2.c (LIMB64): New macro.
19105         (CONSTSZ): New macro.
19106         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19107         (hexdig): Move ...
19108         (print_mpn_fp): ... to function scope.
19109         (read_mpn_hex): Remove.
19110         (get_log2): Remove.
19111         (exp2_mpn): Use mp_log2.
19112         (main): Use mp_exp1.
19114 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19116         * math/libm-test.inc: Remove comment about not testing "inexact"
19117         exceptions.
19118         (INEXACT_EXCEPTION): New macro.
19119         (NO_INEXACT_EXCEPTION): Likewise.
19120         (INVALID_EXCEPTION_OK): Update value.
19121         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19122         (OVERFLOW_EXCEPTION_OK): Likewise.
19123         (UNDERFLOW_EXCEPTION_OK): Likewise.
19124         (IGNORE_ZERO_INF_SIGN): Likewise.
19125         (ERRNO_UNCHANGED): Likewise.
19126         (ERRNO_EDOM): Likewise.
19127         (ERRNO_ERANGE): Likewise.
19128         (test_exceptions): Handle testing "inexact" exceptions.
19129         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19130         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19131         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19132         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19133         INEXACT_EXCEPTION.
19134         (rint_towardzero_test_data): Likewise.
19135         (rint_downward_test_data): Likewise.
19136         (rint_upward_test_data): Likewise.
19138         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19139         with OVERFLOW_EXCEPTION.
19140         (exp10_test_data): Likewise.
19141         (exp2_test_data): Likewise.
19142         (expm1_test_data): Likewise.
19143         (lgamma_test_data): Likewise.
19144         (pow_test_data): Likewise.
19145         (tgamma_test_data): Likewise.
19146         (yn_test_data): Remove duplicate test of overflow.
19148         * math/libm-test.inc (struct test_cc_c_data): New type.
19149         (RUN_TEST_LOOP_cc_c): New macro.
19150         (cpow_test_data): New variable.
19151         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19153         * math/libm-test.inc (struct test_f_L_data): New type.
19154         (RUN_TEST_LOOP_f_L): New macro.
19155         (llrint_test_data): New variable.
19156         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19157         (llrint_tonearest_test_data): New variable.
19158         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19159         (llrint_towardzero_test_data): New variable.
19160         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19161         (llrint_downward_test_data): New variable.
19162         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19163         (llrint_upward_test_data): New variable.
19164         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19165         (llround_test_data): New variable.
19166         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19168 2013-05-13  Peter Collingbourne  <pcc@google.com>
19170         * math/atest-exp2.c (get_log2): Remove const attribute.
19172 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19174         * math/libm-test.inc (struct test_f_l_data): New type.
19175         (RUN_TEST_LOOP_f_l): New macro.
19176         (lrint_test_data): New variable.
19177         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19178         (lrint_tonearest_test_data): New variable.
19179         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19180         (lrint_towardzero_test_data): New variable.
19181         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19182         (lrint_downward_test_data): New variable.
19183         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19184         (lrint_upward_test_data): New variable.
19185         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19186         (lround_test_data): New variable.
19187         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19189 2013-05-15  Peter Collingbourne  <pcc@google.com>
19191         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19192         (EXTRACT_WORDS64) Use where appropriate.
19193         (INSERT_WORDS64) Likewise.
19195         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19196         constraints with x constraints.
19197         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19199         * malloc/obstack.c (_obstack_compat): Add initializer.
19201 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19203         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19204         si_trapno and add si_addr_lsb to _sifields.sigfault.
19205         (si_trapno): Remove macro.
19206         (si_addr_lsb): Define new macro.
19207         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19209 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19211         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19212         instead of TEST_f_l.
19213         (llrint_test_tonearest): Likewise.
19214         (llrint_test_towardzero): Likewise.
19215         (llrint_test_downward): Likewise.
19216         (llrint_test_upward): Likewise.
19217         (llround_test): Likewise.
19219         * math/libm-test.inc (struct test_f_i_data): Add comment.
19220         (RUN_TEST_LOOP_f_b): New macro.
19221         (RUN_TEST_LOOP_f_b_tg): Likewise.
19222         (finite_test_data): New variable.
19223         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19224         (isfinite_test_data): New variable.
19225         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19226         (isinf_test_data): New variable.
19227         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19228         (isnan_test_data): New variable.
19229         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19230         (isnormal_test_data): New variable.
19231         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19232         (issignaling_test_data): New variable.
19233         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19234         (signbit_test_data): New variable.
19235         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19237         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19238         with INVALID_EXCEPTION.
19239         (acosh_test_data): Likewise.
19240         (asin_test_data): Likewise.
19241         (atanh_test_data): Likewise.
19242         (fmod_test_data): Likewise.
19243         (log_test_data): Likewise.
19244         (log10_test_data): Likewise.
19245         (log2_test_data): Likewise.
19246         (pow_test_data): Likewise.
19247         (sqrt_test_data): Likewise.
19248         (y0_test_data): Likewise.
19249         (y1_test_data): Likewise.
19250         (yn_test_data): Likewise.
19252         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19253         function contents.
19255         * math/libm-test.inc (struct test_ff_i_data): New type.
19256         (RUN_TEST_LOOP_ff_i_tg): New macro.
19257         (isgreater_test_data): New variable.
19258         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19259         (isgreaterequal_test_data): New variable.
19260         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19261         (isless_test_data): New variable.
19262         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19263         (islessequal_test_data): New variable.
19264         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19265         (islessgreater_test_data): New variable.
19266         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19267         (isunordered_test_data): New variable.
19268         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19270 2013-05-14  David S. Miller  <davem@davemloft.net>
19272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19274 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19276         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19278         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19279         extra_test to int.
19280         (struct test_f_i_data): Change type of max_ulp to int.
19282         * math/libm-test.inc (test_ffI_f1_data): New type.
19283         (RUN_TEST_LOOP_ffI_f1): New macro.
19284         (remquo_test_data): New variable.
19285         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19287         * setjmp/tst-setjmp-fp.c: New file.
19288         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19289         (link-libm): New variable.
19290         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19292         * math/libm-test.inc (struct test_f_i_data): New type.
19293         (RUN_TEST_LOOP_f_i): New macro.
19294         (RUN_TEST_LOOP_f_i_tg): Likewise.
19295         (fpclassify_test_data): New variable.
19296         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19297         (ilogb_test_data): New variable.
19298         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19300         * math/libm-test.inc (scalbln_test): Correct function name in END
19301         call.
19303         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19304         (RUN_TEST_LOOP_fI_f1): New macro.
19305         (frexp_test_data): New variable.
19306         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19308         * math/libm-test.inc (struct test_fF_f1_data): New type.
19309         (RUN_TEST_LOOP_fF_f1): New macro.
19310         (modf_test_data): New variable.
19311         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19313         * math/libm-test.inc (struct test_f_f1_data): New type.
19314         (RUN_TEST_LOOP_f_f1): New macro.
19315         (gamma_test_data): New variable.
19316         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19317         (lgamma_test_data): New variable.
19318         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19320 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19322         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19323         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19324         (main): Comment "tls" pseudo-hwcap.
19326 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19328         * math/libm-test.inc (struct test_fl_f_data): New type.
19329         (RUN_TEST_LOOP_fl_f): New variable.
19330         (scalbln_test_data): New variable.
19331         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19333         * math/libm-test.inc (struct test_fi_f_data): New type.
19334         (RUN_TEST_LOOP_fi_f): New macro.
19335         (ldexp_test_data): New variable.
19336         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19337         (scalbn_test_data): New variable.
19338         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19340         * math/libm-test.inc (struct test_c_f_data): New type.
19341         (RUN_TEST_LOOP_c_f): New macro.
19342         (cabs_test_data): New variable.
19343         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19344         (carg_test_data): New variable.
19345         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19346         (cimag_test_data): New variable.
19347         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19348         (creal_test_data): New variable.
19349         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19351         * math/libm-test.inc (struct test_if_f_data): New type.
19352         (RUN_TEST_LOOP_if_f): New macro.
19353         (jn_test_data): New variable.
19354         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19355         (yn_test_data): New variable.
19356         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19358         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19360 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19362         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19363         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19365 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19367         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19368         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19369         (bench-deps): Add bench-timing.h.
19370         * benchtests-bench-skeleton.c: Include bench-timing.h.
19371         (main): Use TIMING_* macros instead of clock_gettime.
19372         * benchtests/bench-timing.h: New file.
19374         [BZ #14582]
19375         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19376         Renamed from _LIB_VERSION.
19377         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19379 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19381         * math/libm-test.inc (struct test_fff_f_data): New type.
19382         (RUN_TEST_LOOP_fff_f): New macro.
19383         (fma_test_data): New variable.
19384         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19385         (fma_towardzero_test_data): New variable.
19386         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19387         (fma_downward_test_data): New variable.
19388         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19389         (fma_upward_test_data): New variable.
19390         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19392         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19393         (struct test_c_c_data): New type.
19394         (RUN_TEST_LOOP_c_c): New macro.
19395         (cacos_test_data): New variable.
19396         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19397         (cacosh_test_data): New variable.
19398         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19399         (casin_test_data): New variable.
19400         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19401         (casinh_test_data): New variable.
19402         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19403         (catan_test_data): New variable.
19404         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19405         (catanh_test_data): New variable.
19406         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19407         (ccos_test_data): New variable.
19408         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19409         (ccosh_test_data): New variable.
19410         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19411         (cexp_test_data): New variable.
19412         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19413         (clog_test_data): New variable.
19414         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19415         (clog10_test_data): New variable.
19416         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19417         (conj_test_data): New variable.
19418         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19419         (cproj_test_data): New variable.
19420         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19421         (csin_test_data): New variable.
19422         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19423         (csinh_test_data): New variable.
19424         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19425         (csqrt_test_data): New variable.
19426         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19427         (ctan_test_data): New variable.
19428         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19429         (ctan_tonearest_test_data): New variable.
19430         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19431         (ctan_towardzero_test_data): New variable.
19432         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19433         (ctan_downward_test_data): New variable.
19434         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19435         (ctan_upward_test_data): New variable.
19436         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19437         (ctanh_test_data): New variable.
19438         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19439         (ctanh_tonearest_test_data): New variable.
19440         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19441         (ctanh_towardzero_test_data): New variable.
19442         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19443         (ctanh_downward_test_data): New variable.
19444         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19445         (ctanh_upward_test_data): New variable.
19446         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19447         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19448         of BUILD_COMPLEX.
19450         * math/libm-test.inc (struct test_ff_f_data): New type.
19451         (struct test_ff_f_data_nexttoward): Likewise.
19452         (RUN_TEST_LOOP_2_f): New macro.
19453         (RUN_TEST_LOOP_ff_f): Likewise.
19454         (atan2_test_data): New variable.
19455         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19456         (copysign_test_data): New variable.
19457         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19458         (fdim_test_data): New variable.
19459         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19460         (fmax_test_data): New variable.
19461         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19462         (fmin_test_data): New variable.
19463         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19464         (fmod_test_data): New variable.
19465         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19466         (hypot_test_data): New variable.
19467         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19468         (nextafter_test_data): New variable.
19469         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19470         (nexttoward_test_data): New variable.
19471         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19472         (pow_test_data): New variable.
19473         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19474         (pow_tonearest_test_data): New variable.
19475         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19476         (pow_towardzero_test_data): New variable.
19477         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19478         (pow_downward_test_data): New variable.
19479         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19480         (pow_upward_test_data): New variable.
19481         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19482         (remainder_test_data): New variable.
19483         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19484         (scalb_test_data): New variable.
19485         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19486         * sysdeps/i386/fpu/libm-test-ulps: Update.
19488 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19490         * math/libm-test.inc (fma_test): Use max_value instead of local
19491         variable fltmax.
19492         (nextafter_test): Likewise.
19494         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19495         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19496         (acos_downward_test_data): New variable.
19497         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19498         (acos_upward_test_data): New variable.
19499         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19500         (acosh_test_data): New variable.
19501         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19502         (asin_test_data): New variable.
19503         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19504         (asin_tonearest_test_data): New variable.
19505         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19506         (asin_towardzero_test_data): New variable.
19507         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19508         (asin_downward_test_data): New variable.
19509         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19510         (asin_upward_test_data): New variable.
19511         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19512         (asinh_test_data): New variable.
19513         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19514         (atan_test_data): New variable.
19515         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19516         (atanh_test_data): New variable.
19517         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19518         (cbrt_test_data): New variable.
19519         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19520         (ceil_test_data): New variable.
19521         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19522         (cos_test_data): New variable.
19523         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19524         (cos_tonearest_test_data): New variable.
19525         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19526         (cos_towardzero_test_data): New variable.
19527         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19528         (cos_downward_test_data): New variable.
19529         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19530         (cos_upward_test_data): New variable.
19531         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19532         (cosh_test_data): New variable.
19533         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19534         (cosh_tonearest_test_data): New variable.
19535         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19536         (cosh_towardzero_test_data): New variable.
19537         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19538         (cosh_downward_test_data): New variable.
19539         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19540         (cosh_upward_test_data): New variable.
19541         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19542         (erf_test_data): New variable.
19543         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19544         (erfc_test_data): New variable.
19545         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19546         (exp_test_data): New variable.
19547         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19548         (exp_tonearest_test_data): New variable.
19549         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19550         (exp_towardzero_test_data): New variable.
19551         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19552         (exp_downward_test_data): New variable.
19553         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19554         (exp_upward_test_data): New variable.
19555         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19556         (exp10_test_data): New variable.
19557         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19558         (exp2_test_data): New variable.
19559         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19560         (expm1_test_data): New variable.
19561         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19562         (fabs_test_data): New variable.
19563         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19564         (floor_test_data): New variable.
19565         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19566         (j0_test_data): New variable.
19567         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19568         (j1_test_data): New variable.
19569         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19570         (log_test_data): New variable.
19571         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19572         (log10_test_data): New variable.
19573         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19574         (log1p_test_data): New variable.
19575         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19576         (log2_test_data): New variable.
19577         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19578         (logb_test_data): New variable.
19579         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19580         (logb_downward_test_data): New variable.
19581         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19582         (nearbyint_test_data): New variable.
19583         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19584         (rint_test_data): New variable.
19585         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19586         (rint_tonearest_test_data): New variable.
19587         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19588         (rint_towardzero_test_data): New variable.
19589         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19590         (rint_downward_test_data): New variable.
19591         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19592         (rint_upward_test_data): New variable.
19593         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19594         (round_test_data): New variable.
19595         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19596         (sin_test_data): New variable.
19597         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19598         (sin_tonearest_test_data): New variable.
19599         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19600         (sin_towardzero_test_data): New variable.
19601         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19602         (sin_downward_test_data): New variable.
19603         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19604         (sin_upward_test_data): New variable.
19605         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19606         (sinh_test_data): New variable.
19607         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19608         (sinh_tonearest_test_data): New variable.
19609         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19610         (sinh_towardzero_test_data): New variable.
19611         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19612         (sinh_downward_test_data): New variable.
19613         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19614         (sinh_upward_test_data): New variable.
19615         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19616         (sqrt_test_data): New variable.
19617         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19618         (tan_test_data): New variable.
19619         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19620         (tan_tonearest_test_data): New variable.
19621         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19622         (tan_towardzero_test_data): New variable.
19623         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19624         (tan_downward_test_data): New variable.
19625         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19626         (tan_upward_test_data): New variable.
19627         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19628         (tanh_test_data): New variable.
19629         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19630         (tgamma_test_data): New variable.
19631         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19632         (trunc_test_data): New variable.
19633         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19634         (y0_test_data): New variable.
19635         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19636         (y1_test_data): New variable.
19637         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19638         (significand_test_data): New variable.
19639         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19641 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19643         [BZ #12387]
19644         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19646 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19648         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19650 2013-05-10  Andreas Jaeger  <aj@suse.de>
19652         [BZ #15448]
19653         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19654         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19656 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19658         * math/gen-libm-test.pl (adjust_arg): New function.
19659         (special_functions): Handle generating output in both functions
19660         and arrays.
19661         (parse_args): Likewise.
19662         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19663         $in_func argument to parse_args.
19664         * math/libm-test.inc (struct test_f_f_data): New type.
19665         (IF_ROUND_INIT_): New macro.
19666         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19667         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19668         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19669         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19670         (ROUND_RESTORE_): Likewise.
19671         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19672         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19673         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19674         (ROUND_RESTORE_FE_UPWARD): Likewise.
19675         (RUN_TEST_LOOP_f_f): New macro.
19676         (acos_test_data): New variable.
19677         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19678         (acos_tonearest_test_data): New variable.
19679         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19681 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19683         * benchtests/bench-skeleton.c (startup): Fix coding style.
19685 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19687         [BZ #6809]
19688         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19689         negative infinity argument.
19690         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19691         negative infinity argument.
19692         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19693         negative infinity argument.
19694         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19695         domain errors.
19697 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19699         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19700         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19701         * iconv/iconv_prog.c (main): Likewise.
19702         * locale/programs/charmap-dir.c (charmap_readdir)
19703         (fopen_uncompressed): Likewise.
19704         * locale/programs/locfile.c (siblings_uncached)
19705         (write_locale_data): Use lstat64 instead of lstat.
19706         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19707         stat.
19709 2013-05-10  Andreas Jaeger  <aj@suse.de>
19711         [BZ #15395]
19712         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19713         localization.
19714         Include <locale.h>.
19716 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19718         * elf/dl-close.c (_dl_close_worker): Add comments.
19720 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19722         [BZ #15359]
19723         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19724         high part of pi/2.
19725         (__ieee754_rem_pio2l): Update comments.
19727         [BZ #15429]
19728         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19729         high part of pi/2.
19730         (__ieee754_rem_pio2l): Update comments.
19732         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19733         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19735         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19736         M_PI_4l.
19738         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19739         (M_PI_34_LOG10El): Likewise.
19740         (M_PI2_LOG10El): Likewise.
19741         (M_PI4_LOG10El): Likewise.
19742         (M_PI_LOG10El): Likewise.
19744 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19748 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19750         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19751         (MINUS_ZERO_INIT): Likewise.
19752         (PLUS_INFTY_INIT): Likewise.
19753         (MINUS_INFTY_INIT): Likewise.
19754         (QNAN_VALUE_INIT): Likewise.
19755         (MAX_VALUE_INIT): Likewise.
19756         (MIN_VALUE_INIT): Likewise.
19757         (MIN_SUBNORM_VALUE_INIT): Likewise.
19758         (plus_zero): Initialize with PLUS_ZERO_INIT.
19759         (minus_zero): Initialize with MINUS_ZERO_INIT.
19760         (plus_infty): Initialize with PLUS_INFTY_INIT.
19761         (minus_infty): Initialize with MINUS_INFTY_INIT.
19762         (qnan_value): Initialize with QNAN_VALUE_INIT.
19763         (max_value): Initialize with MAX_VALUE_INIT.
19764         (min_value): Initialize with MIN_VALUE_INIT.
19765         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19767         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19768         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19769         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19770         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19772         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19773         (RUN_TEST_2_f): Likewise.
19774         (RUN_TEST_ff_f): Likewise.
19775         (RUN_TEST_fi_f): Likewise.
19776         (RUN_TEST_fl_f): Likewise.
19777         (RUN_TEST_fff_f): Likewise.
19778         (RUN_TEST_c_f): Likewise.
19779         (RUN_TEST_f_f1): Likewise.
19780         (RUN_TEST_fF_f1): Likewise.
19781         (RUN_TEST_fI_f1): Likewise.
19782         (RUN_TEST_ffI_f1): Likewise.
19783         (RUN_TEST_c_c): Likewise.
19784         (RUN_TEST_cc_c): Likewise.
19785         (RUN_TEST_f_i): Likewise.
19786         (RUN_TEST_f_i_tg): Likewise.
19787         (RUN_TEST_ff_i_tg): Likewise.
19788         (RUN_TEST_f_b): Likewise.
19789         (RUN_TEST_f_b_tg): Likewise.
19790         (RUN_TEST_f_l): Likewise.
19791         (RUN_TEST_f_L): Likewise.
19792         (RUN_TEST_sincos): Likewise.
19793         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19794         whether to show exceptions.  Do not include ");\n" in return
19795         value.
19796         (special_functions): Output call to RUN_TEST_sincos instead of
19797         check_float calls.  Update calls to new_test.
19798         (parse_args): Output call to single RUN_TEST_* macro instead of
19799         check_* calls and other assignments.  Update calls to new_test.
19801         [BZ #2546]
19802         [BZ #2560]
19803         [BZ #5159]
19804         [BZ #15426]
19805         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19806         input to result for tgamma overflow.
19807         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19808         (gamma_coeff): New variable.
19809         (NCOEFF): New macro.
19810         (gamma_positive): New function.
19811         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19812         underflow here.  Use gamma_positive instead of exp (lgamma) for
19813         other arguments.
19814         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19815         (gamma_coeff): New variable.
19816         (NCOEFF): New macro.
19817         (gammaf_positive): New function.
19818         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19819         underflow here.  Use gamma_positive instead of exp (lgamma) for
19820         other arguments.
19821         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19822         (gamma_coeff): New variable.
19823         (NCOEFF): New macro.
19824         (gammal_positive): New function.
19825         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19826         underflow here.  Use gamma_positive instead of exp (lgamma) for
19827         other arguments.
19828         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19829         (gamma_coeff): New variable.
19830         (NCOEFF): New macro.
19831         (gammal_positive): New function.
19832         (__ieee754_gammal_r): Handle positive infinity, overflow and
19833         underflow here.  Handle NaN the same as positive infinity.  Remove
19834         check x < 0xffffffff for negative integers.  Use gamma_positive
19835         instead of exp (lgamma) for other arguments.
19836         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19837         (gamma_coeff): New variable.
19838         (NCOEFF): New macro.
19839         (gammal_positive): New function.
19840         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19841         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19842         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19843         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19844         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19845         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19846         * sysdeps/generic/math_private.h (__gamma_productf): New
19847         prototype.
19848         (__gamma_product): Likewise.
19849         (__gamma_productl): Likewise.
19850         * math/Makefile (libm-calls): Add gamma_product.
19851         * math/libm-test.inc (tgamma_test): Add more tests.
19852         * sysdeps/i386/fpu/libm-test-ulps: Update.
19853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19855 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19857         * benchtests/bench-skeleton.c (main): Preheat CPU.
19859 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19861         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19863 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19865         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19866         and _dl_skip_args_internal.
19868 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19870         * manual/message.texi (Message Translation): Talk about users.
19871         Message to key mapping impacts design.
19873 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19875         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19877         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19879         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19880         * sysdeps/wordsize-64/glob64.c: ... here.
19882         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19883         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19884         New macros.
19886         * debug/getlogin_r_chk.c: Moved to ...
19887         * login/getlogin_r_chk.c: ... here.
19888         * debug/Makefile (routines): Move getlogin_r_chk to ...
19889         * login/Makefile (routines): ... here.
19890         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19891         * login/Versions (libc: GLIBC_2.4): ... here.
19893         * io/poll.c (__poll): Renamed from poll.
19894         Add libc_hidden_def.
19895         (poll): Define as weak alias.
19897         * debug/ptsname_r_chk.c: Moved to ...
19898         * login/ptsname_r_chk.c: ... here.
19899         * debug/Makefile (routines): Move ptsname_r_chk to ...
19900         * login/Makefile (routines): ... here.
19901         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19902         * login/Versions (libc: GLIBC_2.4): ... here.
19904         * posix/getlogin.c: Moved to ...
19905         * login/getlogin.c: ... here.
19906         * posix/getlogin_r.c: Moved to ...
19907         * login/getlogin_r.c: ... here.
19908         * posix/getlogin_r.c: Moved to ...
19909         * login/getlogin_r.c: ... here.
19910         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19911         * login/Makefile (routines): ... here.
19912         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19913         * login/Versions (libc: GLIBC_2.0): ... here.
19915         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19916         (setrlimit): Define as weak alias.
19918         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19919         Call __ names for open, ftruncate, and close.
19920         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19921         (truncate): Define as weak alias.
19923 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19925         * math/gen-libm-test.pl (parse_args): Initialize x before each
19926         test of frexp, modf and remquo.
19928         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19929         test signgam value.
19931 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19933         [BZ #15418]
19934         [BZ #15419]
19935         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19936         internal tests.
19937         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19939 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19941         * elf/dl-writev.h: New file.
19942         * elf/dl-misc.c: Include it.
19943         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19944         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19946 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19948         * math/libm-test.inc (noXFails): Remove variable.
19949         (noXPasses): Likewise.
19950         (BUILD_COMPLEX_INT): Remove macro.
19951         (print_screen): Remove xfail argument.
19952         (print_screen_max_error): Likewise.
19953         (update_stats): Likewise.
19954         (print_max_error): Likewise.  Update calls to other affected
19955         functions.
19956         (print_complex_max_error): Likewise.
19957         (test_single_exception): Update calls to print_screen.
19958         (test_single_errno): Likewise.
19959         (check_float_internal): Remove xfail argument.  Update calls to
19960         other affected functions.
19961         (check_float): Likewise.
19962         (check_complex): Likewise.
19963         (check_int): Likewise.
19964         (check_long): Likewise.
19965         (check_bool): Likewise.
19966         (check_longlong): Likewise.
19967         (main): Don't print noXFails and noXPasses.
19968         * math/gen-libm-test.pl (top level): Don't mention expected
19969         failure handling in comment.
19970         (new_test): Don't handle expected failures.
19971         (parse_args): Don't mention expected failure handling in comment.
19972         (generate_testfile): Don't handle expected failures.
19973         (parse_ulps): Likewise.
19974         (print_ulps_file): Likewise.
19975         (get_failure): Remove function.
19976         (output_test): Don't handle expected failures.
19977         * make/README.libm-test: Don't mention expected failure handling.
19979         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19980         (minus_zero): Likewise.
19981         (plus_infty): Likewise.
19982         (minus_infty): Likewise.
19983         (qnan_value): Likewise.
19984         (max_value): Likewise.
19985         (min_value): Likewise.
19986         (min_subnorm_value): Likewise.
19987         (initialize): Do not initialize those variables dynamically.
19989 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19991         * io/open.c (__open_2): Moved to ...
19992         * io/open_2.c: ... this new file.
19993         * io/open64.c (__open64_2): Moved to ...
19994         * io/open64_2.c: ... this new file.
19995         * io/openat.c (__openat_2): Moved to ...
19996         * io/openat_2.c: ... this new file.
19997         * io/openat64.c (__openat64_2): Moved to ...
19998         * io/openat64_2.c: ... this new file.
19999         * io/Makefile (routines): Add them.
20000         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20001         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20002         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20003         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20004         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20005         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20006         (__openat64): Add hidden_ver.
20007         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20008         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20010         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20011         Separately conditionalize setting of GLRO(dl_sysinfo) so
20012         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20013         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20015 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20017         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20018         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20019         definition.
20020         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20021         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20022         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20023         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20024         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20026 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20028         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20029         test signgam value.
20031         * math/libm-test.inc (hypot_test): Do not use
20032         IGNORE_ZERO_INF_SIGN.
20034 2013-05-03  Andreas Jaeger  <aj@suse.de>
20036         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20037         Linux 3.9.
20038         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20039         (PF_MAX): Adjust for VSOCK change.
20041 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20045 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20047         [BZ #15264]
20048         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20049         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20050         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20052 2013-05-02  David S. Miller  <davem@davemloft.net>
20054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20056 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20058         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20060 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20062         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20064 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20066         [BZ #14952]
20067         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20068         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20069         Use __attribute__ ((__gnu_inline__)).
20070         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20071         Don't use __attribute__ ((__gnu_inline__)).
20073 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20075         [BZ #15423]
20076         * math/s_catan.c (__catan): Handle small real or imaginary part of
20077         input specially to avoid spurious underflow.
20078         * math/s_catanf.c (__catanf): Likewise.
20079         * math/s_catanh.c (__catanh): Likewise.
20080         * math/s_catanhf.c (__catanhf): Likewise.
20081         * math/s_catanhl.c (__catanhl): Likewise.
20082         * math/s_catanl.c (__catanl): Likewise.
20083         * math/libm-test.inc (catan_test): Add more tests.
20084         (catanh_test): Likewise.
20085         * sysdeps/i386/fpu/libm-test-ulps: Update.
20086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20088 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20092 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20094         [BZ #15416]
20095         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20096         accurately for denominator in atan2.
20097         * math/s_catanf.c (__catanf): Likewise.
20098         * math/s_catanh.c (__catanh): Likewise.
20099         * math/s_catanhf.c (__catanhf): Likewise.
20100         * math/s_catanhl.c (__catanhl): Likewise.
20101         * math/s_catanl.c (__catanl): Likewise.
20102         * math/libm-test.inc (catan_test): Add more tests.
20103         (catanh_test): Likewise.
20104         * sysdeps/i386/fpu/libm-test-ulps: Update.
20105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20107 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20109         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20111         * benchtests/Makefile (bench): Remove slow benchmarks.
20112         * benchtests/atan-inputs: Add slow benchmark inputs.
20113         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20114         (BENCH_FUNC): Accept variant offset.
20115         (VARIANT): Define.
20116         * benchtests/bench-skeleton.c (main): Run benchmark for each
20117         variant.
20118         * benchtests/cos-inputs: Add slow benchmark inputs.
20119         * benchtests/exp-inputs: Likewise.
20120         * benchtests/pow-inputs: Likewise.
20121         * benchtests/sin-inputs: Likewise.
20122         * benchtests/slowatan-inputs: Remove.
20123         * benchtests/slowatan.c: Remove.
20124         * benchtests/slowcos-inputs: Remove.
20125         * benchtests/slowcos.c: Remove.
20126         * benchtests/slowexp-inputs: Remove.
20127         * benchtests/slowexp.c: Remove.
20128         * benchtests/slowpow-inputs: Remove.
20129         * benchtests/slowpow.c: Remove.
20130         * benchtests/slowsin-inputs: Remove.
20131         * benchtests/slowsin.c: Remove.
20132         * benchtests/slowtan-inputs: Remove.
20133         * benchtests/slowtan.c: Remove.
20134         * benchtests/tan-inputs: Add slow benchmark inputs.
20135         * scripts/bench.pl: Parse comments and directives.
20137         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20138         in CPPFLAGS.
20139         ($(objpfx)bench-%.c): Remove *-ITER.
20140         * benchtests/bench-modf.c: Remove definition of ITER.
20141         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20142         (main): Loop for DURATION seconds instead of fixed number of
20143         iterations.
20144         * scripts/bench.pl: Don't expect iterations in parameters.
20146 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20148         * io/fchdir.c (__fchdir): Renamed from fchdir.
20149         (fchdir): Define as weak alias.
20151 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20153         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20154         (ERRNO_EDOM): Likewise.
20155         (ERRNO_ERANGE): Likewise.
20156         (noErrnoTests): New variable.
20157         (init_max_error): Set errno to 0.
20158         (test_single_errno): New function.
20159         (test_errno): Likewise.
20160         (check_float_internal): Call test_errno.  Set errno to 0.
20161         (check_complex): Refer to errno tests in comment.
20162         (check_int): Call test_errno.  Set errno to 0.
20163         (check_long): Likewise.
20164         (check_bool): Likewise.
20165         (check_longlong): Likewise.
20166         (cos_test): Use ERRNO_* flags for errno tests instead of
20167         check_int.
20168         (expm1_test): Likewise.
20169         (fmod_test): Likewise.
20170         (ilogb_test): Likewise.
20171         (lgamma_test): Likewise.
20172         (pow_test): Likewise.
20173         (remainder_test): Likewise.
20174         (sin_test): Likewise.
20175         (tan_test): Likewise.
20176         (yn_test): Likewise.
20177         (initialize): Set errno to 0.
20178         (main): Print number of errno tests.
20179         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20181 2013-04-29  Andreas Jaeger  <aj@suse.de>
20183         [BZ #15084]
20184         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20185         and RES_USEVC.
20187         [BZ #15085]
20188         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20189         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20190         unimplemented.
20192         [BZ #15380]
20193         * stdlib/random.c (__initstate): Return NULL if
20194         __initstate fails.
20196         [BZ #15086]
20197         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20198         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20199         RES_SNGLKUPREOP.
20201 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20205 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20207         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20208         of individual tests.
20209         (casin_test): Likewise.
20210         (casinh_test): Likewise.
20212 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20214         [BZ #15409]
20215         * math/s_catan.c (__catan): Handle arguments with large real or
20216         imaginary part separately without squaring.
20217         * math/s_catanf.c (__catanf): Likewise.
20218         * math/s_catanh.c (__catanh): Likewise.
20219         * math/s_catanhf.c (__catanhf): Likewise.
20220         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20221         and redefine.
20222         (__catanhl): Handle arguments with large real or imaginary part
20223         separately without squaring.
20224         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20225         and redefine.
20226         (__catanl): Handle arguments with large real or imaginary part
20227         separately without squaring.
20228         * math/libm-test.inc (catan_test): Add more tests.
20229         (catanh_test): Likewise.
20230         * sysdeps/i386/fpu/libm-test-ulps: Update.
20231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20233 2013-04-27  Andreas Jaeger  <aj@suse.de>
20235         [BZ #15007]
20236         * stdlib/stdlib.h: Update guards for qecvt.
20237         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20238         <stdlib.h>.
20240 2013-04-27  Allan McRae  <allan@archlinux.org>
20242         * sysdeps/i386/fpu/libm-test-ulps: Update.
20244 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20246         [BZ #15406]
20247         * math/s_catan.c: Include <float.h>.
20248         (__catan): Ensure underflow exception occurs for underflowed
20249         result.
20250         * math/s_catanf.c: Include <float.h>.
20251         (__catanf): Ensure underflow exception occurs for underflowed
20252         result.
20253         * math/s_catanh.c: Include <float.h>.
20254         (__catanh): Ensure underflow exception occurs for underflowed
20255         result.
20256         * math/s_catanhf.c: Include <float.h>.
20257         (__catanhf): Ensure underflow exception occurs for underflowed
20258         result.
20259         * math/s_catanhl.c: Include <float.h>.
20260         (__catanhl): Ensure underflow exception occurs for underflowed
20261         result.
20262         * math/s_catanl.c: Include <float.h>.
20263         (__catanl): Ensure underflow exception occurs for underflowed
20264         result.
20265         * math/libm-test.inc (catan_test): Add more tests.
20266         (catanh_test): Likewise.
20268         [BZ #15405]
20269         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20270         underflowed result.
20271         * math/s_ccoshf.c (__ccoshf): Likewise.
20272         * math/s_ccoshl.c (__ccoshl): Likewise.
20273         * math/s_csin.c (__csin): Likewise.
20274         * math/s_csinf.c (__csinf): Likewise.
20275         * math/s_csinh.c (__csinh): Likewise.
20276         * math/s_csinhf.c (__csinhf): Likewise.
20277         * math/s_csinhl.c (__csinhl): Likewise.
20278         * math/s_csinl.c (__csinl): Likewise.
20279         * math/libm-test.inc (ccos_test): Add more tests.
20280         (ccosh_test): Likewise.
20281         (csin_test): Likewise.
20282         (csinh_test): Likewise.
20284 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20286         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20287         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20288         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20289         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20290         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20291         powerpc/power5+/fpu folders.
20292         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20295 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20299 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20301         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20302         additions to variable.
20303         [$(config-machine) = x86_64] (modules-names): Likewise.
20304         ($(objpfx)tst-audit3): Remove dependency.
20305         ($(objpfx)tst-audit3.out): Likewise.
20306         ($(objpfx)tst-audit4): Likewise.
20307         ($(objpfx)tst-audit4.out): Likewise.
20308         ($(objpfx)tst-audit5): Likewise.
20309         ($(objpfx)tst-audit5.out): Likewise.
20310         ($(objpfx)tst-audit6): Likewise.
20311         ($(objpfx)tst-audit6.out): Likewise.
20312         ($(objpfx)tst-audit7): Likewise.
20313         ($(objpfx)tst-audit7.out): Likewise.
20314         (tst-audit3-ENV): Remove variable.
20315         (tst-audit4-ENV): Likewise.
20316         (tst-audit5-ENV): Likewise.
20317         (tst-audit6-ENV): Likewise.
20318         (tst-audit7-ENV): Likewise.
20319         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20320         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20321         addition to variable.
20322         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20323         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20324         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20325         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20326         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20327         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20328         tst-audit3, tst-audit4 and tst-audit5.
20329         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20330         tst-audit6 and tst-audit7.
20331         [$(subdir) = elf] (modules-names): Add audit modules for those
20332         tests.
20333         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20334         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20335         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20336         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20337         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20338         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20339         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20340         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20341         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20342         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20343         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20344         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20345         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20346         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20347         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20348         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20349         Likewise.
20350         [$(subdir) = elf && $(config-cflags-avx) = yes]
20351         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20352         [$(subdir) = elf && $(config-cflags-avx) = yes]
20353         (CFLAGS-tst-auditmod4a.c): Likewise.
20354         [$(subdir) = elf && $(config-cflags-avx) = yes]
20355         (CFLAGS-tst-auditmod4b.c): Likewise.
20356         [$(subdir) = elf && $(config-cflags-avx) = yes]
20357         (CFLAGS-tst-auditmod6b.c): Likewise.
20358         [$(subdir) = elf && $(config-cflags-avx) = yes]
20359         (CFLAGS-tst-auditmod6c.c): Likewise.
20360         [$(subdir) = elf && $(config-cflags-avx) = yes]
20361         (CFLAGS-tst-auditmod7b.c): Likewise.
20362         * elf/tst-audit3.c: Move to ...
20363         * sysdeps/x86_64/tst-audit3.c: ... here.
20364         * elf/tst-audit4.c: Move to ...
20365         * sysdeps/x86_64/tst-audit4.c: ... here.
20366         * elf/tst-audit5.c: Move to ...
20367         * sysdeps/x86_64/tst-audit5.c: ... here.
20368         * elf/tst-audit6.c: Move to ...
20369         * sysdeps/x86_64/tst-audit6.c: ... here.
20370         * elf/tst-audit7.c: Move to ...
20371         * sysdeps/x86_64/tst-audit7.c: ... here.
20372         * elf/tst-auditmod3a.c: Move to ...
20373         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20374         * elf/tst-auditmod3b.c: Move to ...
20375         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20376         * elf/tst-auditmod4a.c: Move to ...
20377         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20378         * elf/tst-auditmod4b.c: Move to ...
20379         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20380         * elf/tst-auditmod5a.c: Move to ...
20381         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20382         * elf/tst-auditmod5b.c: Move to ...
20383         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20384         * elf/tst-auditmod6a.c: Move to ...
20385         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20386         * elf/tst-auditmod6b.c: Move to ...
20387         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20388         * elf/tst-auditmod6c.c: Move to ...
20389         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20390         * elf/tst-auditmod7a.c: Move to ...
20391         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20392         * elf/tst-auditmod7b.c: Move to ...
20393         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20395 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20397         [BZ #15366]
20398         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20399         define unconditionally.
20400         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20401         define unconditionally.
20402         (INT8_C, INT16_C, etc.): Likewise.
20404 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20406         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20407         __ehdr_start with hidden visibility.
20409         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20411 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20413         * math/libm-test.inc (cos_test): Use accurate hex constants.
20414         (sincost_test): Likewise.
20416 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20418         * math/libm-test.inc (catan_test): Add more tests.
20419         (catanh_test): Likewise.
20421         * math/s_catanf.c (__catanf): Use suffixed floating-point
20422         constants.
20423         * math/s_catanhf.c (__catanhf): Likewise.
20424         * math/s_catanhl.c (__catanhl): Likewise.
20425         * math/s_catanl.c (__catanl): Likewise.
20427         [BZ #15394]
20428         * math/s_catan.c (__catan): Calculate imaginary part of result
20429         with log1p not log unless computing log of number close to 0.
20430         * math/s_catanf.c (__catanf): Likewise.
20431         * math/s_catanl.c (__catanl): Likewise.
20432         * math/s_catanh.c (__catanh): Calculate real part of result with
20433         log1p not log unless computing log of number close to 0.
20434         * math/s_catanhf.c (__catanhf): Likewise.
20435         * math/s_catanhl.c (__catanhl): Likewise.
20436         * math/libm-test.inc (catan_test): Add more tests.
20437         (catanh_test): Likewise.
20438         * sysdeps/i386/fpu/libm-test-ulps: Update.
20439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20441 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20443         * benchtests/Makefile: Mention files in which fast and slow
20444         paths of math functions are implemented.
20446 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20448         * sysdeps/posix/timespec_get.c: New file.
20450 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20452         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20453         POWER.
20454         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20455         for POWER.
20456         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20457         powerpc/power5/fpu folders.
20458         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20459         * benchtests/Makefile: Add modf testcase.
20460         * benchtests/bench-modf.c: New file: Benchmark test for mo
20462 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20464         [BZ #14888]
20465         * time/Makefile (tests): Add tst-strptime-whitespace.
20466         * time/strptime_l.c (get_number): Use ISSPACE.
20467         (__strptime_internal): Likewise.
20468         * time/tst-strptime-whitespace.c: New test case.
20470 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20472         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20473         member.
20474         (_nss_files_init): Set it here.
20476 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20478         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20479         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20480         unsigned.
20482 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20484         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20486 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20488         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20489         size just once.
20491 2013-04-21  David S. Miller  <davem@davemloft.net>
20493         * po/ru.po: Update Russion translation from translation project.
20495 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20497         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20498         and setfsgid.
20500 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20502         * configure.in: Remove i386 configure warning. Remove i386 case.
20503         * configure: Regenerate.
20504         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20505         Add example to error message.
20506         * sysdeps/i386/configure: Regenerate.
20508 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20510         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20511         slowtan.
20512         * benchtests/cos-inputs: New file.
20513         * benchtests/slowcos-inputs: New file.
20514         * benchtests/slowcos.c: New file.
20515         * benchtests/slowtan-inputs: New file.
20516         * benchtests/slowtan.c: New file.
20517         * benchtests/tan-inputs: New file.
20519 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20521         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20522         considered kosher.
20524 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20526         * benchtests/Makefile: Include cppflags-iterator.mk to add
20527         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20529         * Makefile.in (bench-clean): New target.
20530         * benchtests/Makefile (bench-clean): Likewise.
20532 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20534         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20536 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20538         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20540 2013-04-15  Andreas Schwab  <schwab@suse.de>
20542         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20543         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20544         * nscd/pwdcache.c (cache_addpw): Likewise.
20545         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20546         more than recsize.
20548 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20550         * benchtests/Makefile (bench): Write all output to
20551         bench-out.tmp together.
20553 2013-04-15  Andreas Schwab  <schwab@suse.de>
20555         * nscd/nscd.c (main): Don't fork again after closing files.
20557 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20559         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20561         * benchtests/Rules (bench-deps): Collect dependencies into a
20562         single variable.  Add Makefile to dependencies.
20563         ($(objpfx)bench-%.c): Depend on bench-deps.
20565 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20566             Xavier Roche  <roche+kml2@exalead.com>
20568         [BZ #15361]
20569         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20570         just that it's a file descriptor.
20571         * manual/llio.texi (Synchronizing AIO Operations): Update description
20572         for EBADF error from aio_fsync.
20574 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20576         * Rules (bench): Move target definition...
20577         * benchtests/Makefile: ... here.
20579 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20581         * math/libm-test.inc (cos_test): Fix PI/2 test.
20582         (sincos_test): Likewise.
20583         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20584         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20586 2013-04-11  Andreas Schwab  <schwab@suse.de>
20588         [BZ #13988]
20589         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20590         accept exponent character only when digits were seen.
20591         * stdio-common/Makefile (tests): Add bug26.
20592         * stdio-common/bug26.c: New file.
20594         [BZ #14293]
20595         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20596         non-freeable.
20598 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20600         * Makeconfig (rtld-prefix): Define built linker prefix.
20601         * Rules (run-bench): Use it.
20602         * math/Makefile (run-regen-ulps): Likewise.
20604         * Rules (bench): Remove eval.
20606 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20607             Roland McGrath  <roland@hack.frob.com>
20608             Ondrej Bilka  <neleai@seznam.cz>
20610         [BZ #15346]
20611         * time/getdate.c: Include ctype.h and alloca.h.
20612         (__getdate_r): Trim leading and trailing spaces of input.
20613         * time/tst-getdate.c (tests): Add tests with leading and
20614         trailing spaces.
20616 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20618         [BZ #14280]
20619         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20620         when computing value.
20622 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20624         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20625         Use testrun.sh to run libm tests.
20627         [BZ #15309]
20628         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20630 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20632         [BZ #15264]
20633         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20635 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20637         * Makefile.in (regen-ulps): New target.
20638         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20639         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20640         [ifneq (no,$(PERL)] (regen-ulps): New target.
20641         [ifeq (no,$(PERL)] (regen-ulps): New target.
20642         * math/libm-test.inc (ulps_file_name): Define.
20643         (output_dir): New variable.
20644         (options): Add "output-dir" option.
20645         (parse_opt): Handle 'o' case.
20646         (main): If output_dir is non-NULL use it as a prefix
20647         otherwise use "".
20648         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20650 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20652         [BZ #10060, #10062]
20653         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20654         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20655         fail configure if __sync_val_compare_and_swap is not inlined.
20656         * sysdeps/i386/configure: Regenerate.
20657         * configure.in: Build for i686 when configured for i386.
20658         * configure: Regenerate.
20659         * README: Remove i386 reference.
20661 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20663         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20664         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20666 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20668         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20669         (lmsnanval): New variables.
20670         (F): Add conversion tests.
20671         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20672         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20674         * stdio-common/tstdiomisc.c (F): Properly collect individual
20675         tests' results.
20677         [BZ #14686, #15336]
20678         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20679         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20680         Instead, use input NaN values or generate a qNaN by arithmetic
20681         operation.  Also fix bugs to comply with the standard.
20682         * math/libm-test.inc (remainder_test): Add more tests.
20684         [BZ #15335, #15342]
20685         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20686         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20687         input NaN values or generate a qNaN by arithmetic operation.
20689         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20690         unreachable code.
20692         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20693         definitions.
20695 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20697         [BZ #14478]
20698         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20699         underflowed result.
20700         * math/s_cexpf.c (__cexpf): Likewise.
20701         * math/s_cexpl.c (__cexpl): Likewise.
20702         * math/libm-test.inc (cexp_test): Add more tests.
20704 2013-04-03  Andreas Schwab  <schwab@suse.de>
20706         [BZ #15330]
20707         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20708         order arrays from heap if bigger than alloca cutoff.
20710 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20712         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20713         (SNAN_TESTS_double): Refer to GCC PR56831.
20714         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20715         GCC PR56828.
20717 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20719         * Rules (bench): Move bench.out after the run is complete.
20721         * Rules (bench): Echo currently running benchmark.
20723         * benchtests/Makefile (bench): Add atan and slowatan.
20724         * benchtests/atan-inputs: New file.
20725         * benchtests/slowatan-inputs: New file.
20726         * benchtests/slowatan.c: New file.
20728         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20729         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20730         its value.
20732         [BZ #15305]
20733         * sysdeps/unix/sysv/linux/kernel-features.h
20734         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20735         __ASSUME_XFS_RESTRICTED_CHOWN.
20736         * sysdeps/unix/sysv/linux/pathconf.c
20737         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20738         Save and restore errno.
20740 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20742         [BZ #15327]
20743         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20744         arguments using __kernel_casinh.
20745         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20746         arguments using __kernel_casinhf.
20747         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20748         arguments using __kernel_casinhl.
20749         * math/libm-test.inc (cacosh_test): Add more tests.
20750         * sysdeps/i386/fpu/libm-test-ulps: Update.
20751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20753 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20755         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20756         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20758         * bench/Makefile (bench): Add sin and slowsin.
20759         * benchtests/sin-inputs: New file.
20760         * benchtests/slowsin-inputs: New file.
20761         * benchtests/slowsin.c: New file.
20763         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20764         (bench): Add slowexp and slowpow.
20765         (exp-ITER): Increase iterations.
20766         (pow-ITER): Likewise.
20767         * benchtests/exp-inputs: Change input.
20768         * benchtests/pow-inputs: Likewise.
20769         * benchtests/slowexp-inputs: New file.
20770         * benchtests/slowexp.c: New file.
20771         * benchtests/slowpow-inputs: New file.
20772         * benchtests/slowpow.c: New file.
20774 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20776         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20777         instructions.
20778         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20779         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20780         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20781         * benchtests/Makefile: Add rint benchtest.
20782         * benchtests/rint-inputs: Input for rint benchtest.
20784 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20786         * Versions.def (libm): Add GLIBC_2.18.
20787         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20788         hidden libm prototypes.
20789         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20790         * math/Makefile (libm-calls): Add s_issignaling.
20791         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20792         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20793         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20794         declaration.
20795         * math/math.h [__USE_GNU] (issignaling): New macro.
20796         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20797         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20798         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20799         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20800         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20801         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20802         * manual/arith.texi (issignaling): New section.
20803         * manual/libm-err-tab.pl (@all_functions): Update comment.
20804         * math/gen-libm-test.pl (parse_args): Apply special handling for
20805         issignaling.
20806         * math/libm-test.inc (print_float, issignaling_test): New
20807         functions.
20808         (check_float_internal): Add issignaling checks.
20809         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20810         default definition.
20811         * sysdeps/powerpc/math-tests.h: New file.
20812         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20813         tests.
20814         * math/test-snan.c (TEST_FUNC): Likewise.
20816 2013-03-30  David S. Miller  <davem@davemloft.net>
20818         * po/de.po: Update from translation team.
20820 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20822         [BZ #10357]
20823         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20824         imaginary part less than 1.0 and real part less than 0.5
20825         specially.
20826         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20827         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20828         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20829         (cacos_test): Add more tests.
20830         (casin_test): Likewise.
20831         (casinh_test): Likewise.
20832         * sysdeps/i386/fpu/libm-test-ulps: Update.
20833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20835 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20837         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20838         ONE with its value.
20840         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20841         (__pow_mp): Replace ONE and MONE with their values.
20842         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20843         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20844         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20845         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20846         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20847         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20849         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20851         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20852         (__pow_mp): Replace ZERO and MZERO with their values.
20853         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20854         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20855         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20856         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20857         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20858         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20859         (__sqr): Likewise.
20861         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20863         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20865 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20867         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20868         Declare with __attribute__ ((weak)).
20869         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20870         Call __call_tls_dtors only if it's not NULL.
20872 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20874         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20875         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20876         magic __ehdr_start linker symbol if it's defined.
20877         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20878         them up here if it was already done.
20880         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20881         (_dl_aux_init): Use const in cast when setting it.
20882         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20883         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20884         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20886         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20887         Declare them here.
20888         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20889         * csu/libc-tls.c: Nor here.
20890         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20892         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20893         (__libc_message): Never call vsyslog.
20895 2013-03-28  Alan Modra  <amodra@gmail.com>
20897         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20898         Define as empty.
20899         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20900         Likewise.
20902 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20904         [BZ #15214]
20905         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20906         underflow.
20907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20909 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20911         [BZ #15304]
20912         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20913         Don't add gid passed as argument.
20915         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20917 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20919         [BZ #15307]
20920         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20921         imaginary part between 1.0 and 1.5 and real part less than 0.5
20922         specially.
20923         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20924         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20925         * math/libm-test.inc (cacos_test): Add more tests.
20926         (casin_test): Likewise.
20927         (casinh_test): Likewise.
20928         * sysdeps/i386/fpu/libm-test-ulps: Update.
20929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20931 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20933         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20934         constants.
20935         (norm): Likewise.
20936         (denorm): Likewise.
20937         (__dbl_mp): Likewise.
20938         (add_magnitudes): Likewise.
20939         (sub_magnitudes): Likewise.
20940         (__add): Likewise.
20941         (__sub): Likewise.
20942         (__mul): Likewise.
20943         (__sqr): Likewise.
20944         (__inv): Likewise.
20945         (__dvd): Likewise.
20947         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20948         commented code.
20949         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20950         (__dubcos): Likewise.
20951         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20952         (__ieee754_acos): Likewise.
20953         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20954         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20955         (__exp1): Likewise.
20956         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20957         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20958         (log1): Likewise.
20959         (my_log2): Likewise.
20960         (checkint): Likewise.
20961         * sysdeps/ieee754/dbl-64/e_remainder.c
20962         (__ieee754_remainder): Likewise.
20963         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20964         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20965         (bsloww): Likewise.
20966         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20968         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20969         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20970         MANTISSA_STORE_T to store computations on mantissa.  Use
20971         macros for rounding and division.
20972         (denorm): Likewise.
20973         (__dbl_mp): Likewise.
20974         (add_magnitudes): Likewise.
20975         (sub_magnitudes): Likewise.
20976         (__mul): Likewise.
20977         (__sqr): Likewise.
20978         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20979         powers of two in terms of TWOPOW macro.
20980         (mp_no): Make type of mantissa as MANTISSA_T.
20981         [!RADIXI]: Define RADIXI.
20982         [!TWO52]: Define TWO52.
20983         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20985 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20987         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20988         llroundl symbol when building for PPC32.
20990 2013-03-24  Mark H Weaver  <mhw@netris.org>
20992         * manual/arith.texi (Normalization Functions): Fix prototypes for
20993         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20995 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20997         [BZ #13889]
20998         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20999         high value to check if expl overflow.
21000         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21001         to check for underflow and overflow.
21002         * math/libm-test.inc: Add exp test.
21004 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21006         [BZ #11120]
21007         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21008         with NOT_IN_libc.
21010 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21012         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21013         symbol.
21015 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21017         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21018         wrap blocks consisting of several statements.
21020         * sysdeps/generic/math-tests.h: New file.
21021         * sysdeps/i386/fpu/math-tests.h: Likewise.
21022         * math/test-snan.c: Include it.
21023         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21025 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21027         [BZ #15285]
21028         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21029         (__ieee754_j0l): Do not improve calculations using cos of twice
21030         input for inputs above LDBL_MAX / 2.0L.
21031         (__ieee754_y0l): Likewise.
21032         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21033         (__ieee754_j1l): Do not improve calculations using cos of twice
21034         input for inputs above LDBL_MAX / 2.0L.
21035         (__ieee754_y1l): Likewise.
21036         * math/libm-test.inc (j0_test): Add another test.
21037         (j1_test): Likewise.
21038         (y0_test): Likewise.
21039         (y1_test): Likewise.
21040         * sysdeps/i386/fpu/libm-test-ulps: Update.
21042 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21044         * Rules ($(objpfx)bench-%.c): Include code from a C source
21045         file.
21047 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21049         [BZ #15287]
21050         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21051         imaginary part 1.0 and real part less than 0.5 specially.
21052         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21053         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21054         * math/libm-test.inc (cacos_test): Add more tests.
21055         (casin_test): Likewise.
21056         (casinh_test): Likewise.
21057         * sysdeps/i386/fpu/libm-test-ulps: Update.
21058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21060 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21062         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21063         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21065 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21067         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21068         * config.make.in (config-cflags-sse4): Remove variable.
21069         (config-cflags-avx): Likewise.
21070         (config-cflags-sse2avx): Likewise.
21071         (config-cflags-novzeroupper): Likewise.
21072         (config-asflags-i686): Likewise.
21073         (have-mfma4): Likewise.
21074         (have-as-vis3): Likewise.
21075         (MIG): Likewise.
21076         * configure.in (MIG): Do not AC_SUBST.
21077         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21078         (libc_cv_cc_sse4): Do not AC_SUBST.
21079         (libc_cv_cc_avx): Likewise.
21080         (libc_cv_cc_sse2avx): Likewise.
21081         (libc_cv_cc_novzeroupper): Likewise.
21082         (libc_cv_cc_fma4): Likewise.
21083         (libc_cv_as_i686): Likewise.
21084         (libc_cv_sparc_as_vis3): Likewise.
21085         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21086         LIBC_CONFIG_VAR.
21087         (config-asflags-i686): Likewise.
21088         (config-cflags-avx): Likewise.
21089         (config-cflags-sse2avx): Likewise.
21090         (have-mfma4): Likewise.
21091         (config-cflags-novzeroupper): Likewise.
21092         * sysdeps/mach/configure.in (MIG): Likewise.
21093         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21094         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21095         LIBC_CONFIG_VAR.
21096         (config-cflags-avx): Likewise.
21097         (config-cflags-sse2avx): Likewise.
21098         (have-mfma4): Likewise.
21099         (config-cflags-novzeroupper): Likewise.
21100         * configure: Regenerated.
21101         * sysdeps/i386/configure: Likewise.
21102         * sysdeps/mach/configure: Likewise.
21103         * sysdeps/sparc/configure: Likewise.
21104         * sysdeps/x86_64/configure: Likewise.
21106 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21108         [BZ #14812]
21109         * locale/programs/localedef.c (options): Put N_ translation marker
21110         on argument names, not just descriptions.
21112 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21114         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21116 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21118         [BZ #14176]
21119         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21121 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21123         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21124         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21125         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21126         [!BEFORE_ABORT] (before_abort): New function.
21127         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21128         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21129         (writev_for_fatal): New function.
21130         (WRITEV_FOR_FATAL): New macro; call that.
21131         (backtrace_and_maps): New function.
21132         (BEFORE_ABORT): New macro; call that.
21133         (struct str_list): Type removed.
21134         (__libc_message, __libc_fatal): Functions removed.
21135         Include <sysdeps/posix/libc_fatal.c> instead.
21137 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21139         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21140         constants.
21141         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21142         double constants.
21144 2013-03-19  Andreas Schwab  <schwab@suse.de>
21146         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21147         * sysdeps/gnu/configure: Regenerate.
21149         * configure.in: Substitute libc_cv_rtlddir.
21150         * configure: Regenerate.
21151         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21152         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21153         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21154         * elf/Makefile (install-others, CFLAGS-interp.c)
21155         (ldso_install, common-ldd-rewrite): Likewise.
21156         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21157         $(inst_slibdir)/$(rtld-installed-name).
21158         * scripts/rellns-sh: Add -p option.
21159         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21160         for source.
21162 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21164         * manual/nptl.texi: Renamed to ...
21165         * manual/threads.texi: ... this.
21166         * manual/Makefile (chapters): Update.
21168 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21170         [BZ #14812]
21171         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21172         on argument names, not just descriptions.
21173         * malloc/memusagestat.c (options): Likewise.
21174         * nss/getent.c (options): Likewise.
21176 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21178         [BZ #14812]
21179         * iconv/iconv_prog.c (options): Put N_ translation marker
21180         on argument names, not just descriptions.
21181         * iconv/iconvconfig.c (options): Likewise.
21183 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21185         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21186         implementation which is faster on all x86_64 architectures.
21187         Tested on AMD, Intel Nehalem, SNB, IVB.
21188         * sysdeps/x86_64/strnlen.S: Likewise.
21190         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21191         Remove all multiarch strlen and strnlen versions.
21192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21193         Remove strlen and strnlen related parts.
21195         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21196         Inline strlen part.
21197         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21199         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21200         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21201         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21202         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21203         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21204         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21206 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21208         * manual/memory.texi (Malloc Tunable Parameters):
21209         Sort parameters alphabetically. Add comments for missing entries.
21211 2013-03-17  David S. Miller  <davem@davemloft.net>
21213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21215 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21217         [BZ #15283]
21218         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21219         for arguments at most half maximum finite value.
21220         * math/libm-test.inc (j0_test): Add more tests.
21221         (j1_test): Likewise.
21222         (y0_test): Likewise.
21223         (y1_test): Likewise.
21224         * sysdeps/i386/fpu/libm-test-ulps: Update.
21225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21227         [BZ #14155]
21228         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21229         1 / x and functions P and Q for arguments above 0x1p256L.
21230         (__ieee754_y0l): Likewise.
21231         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21232         (__ieee754_y1l): Likewise.
21233         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21234         (j1_test): Likewise.
21235         (y0_test): Likewise.
21236         (y1_test): Likewise.
21238 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21240         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21241         variable.
21243 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21245         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21246         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21247         zero since it's initialized to EXEC_PAGESIZE.
21249         * sysdeps/unix/sysv/linux/ldsodefs.h
21250         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21251         * sysdeps/generic/ldsodefs.h: ... here.
21253 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21255         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21257         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21258         math/test-snan.c.
21259         * math/test-snan.c: Renamed from
21260         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21261         * math/Makefile (tests): Add test-snan.
21262         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21263         test-powerpc-snan.
21265         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21266         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21267         functions.
21268         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21269         __builtin_nan family of functions.
21270         * math/libm-test.inc (initialize): Initialize qnan_value with
21271         __builtin_nan family of functions.
21272         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21273         Remove variables.
21274         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21275         Remove functions.
21276         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21277         storage class.  Initialize qNaN_var and sNaN_var with
21278         __builtin_nan and __builtin_nans families of functions,
21279         respectively.
21281         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21282         (sqrt_test): Remove duplicate test with qNaN input.
21283         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21284         (round_test, signbit_test, significand_test): Note missing +/-Inf
21285         as well as qNaN tests.
21287         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21288         qNaN_var.  Fix a few strings, too.
21289         * math/libm-test.inc (nan_value): Rename to qnan_value.
21290         * math/gen-libm-test.pl (%beautify): Adjust to that.
21291         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21292         * math/test-misc.c (main): Likewise.
21293         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21294         to __qnan_bytes, and __qnan_union, respectively.
21295         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21296         Likewise.
21297         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21298         and lqnanval, respectively.
21299         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21300         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21301         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21302         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21304         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21305         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21306         doubles.
21308         * math/test-misc.c (main): Fix copy'n'pastos.
21309         * misc/tst-efgcvt.c (special): Likewise.
21311         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21312         Remove declarations.
21314 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21316         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21317         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21318         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21319         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21321 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21323         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21324         macro to return vdso values correctly in IFUNC implementations.
21325         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21326         Optimization by using IFUNC.
21328 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21329             Richard Henderson  <rth@redhat.com>
21330             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21332         * Makefile.in (bench): New target.
21333         * NEWS: Mention the benchmark framework.
21334         * Rules (bench): Likewise.
21335         (binaries-bench): Generate binaries for functions to
21336         benchmark.
21337         * benchtests/Makefile: New makefile for benchmark tests.
21338         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21339         programs.
21340         * benchtests/exp-inputs: New input file for EXP function.
21341         * benchtests/pow-inputs: New input file for POW function.
21342         * scripts/bench.pl: New script to generate source files for
21343         benchmark programs.
21345 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21347         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21348         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21349         computations on mantissa.  Use macros for rounding and
21350         division.
21351         (denorm): Likewise.
21352         (__dbl_mp): Likewise.
21353         (add_magnitudes): Likewise.
21354         (sub_magnitudes): Likewise.
21355         (__mul): Likewise.
21356         (__sqr): Likewise.
21357         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21358         powers of two in terms of TWOPOW macro.
21359         (mp_no): Make type of mantissa as MANTISSA_T.
21360         [!RADIXI]: Define RADIXI.
21361         [!TWO52]: Define TWO52.
21362         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21364         * manual/nptl.texi (cindex): Modify threads to pthreads.
21366 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21368         * sysdeps/x86_64/preconfigure: Regenerated.
21370 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21372         [BZ #14155]
21373         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21374         0x1p28 and above.
21375         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21376         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21377         0x1p28 and above.
21378         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21379         * math/libm-test.inc (j0_test): Do not allow one spurious
21380         underflow exception.
21381         (y1_test): Likewise.
21383 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21385         * manual/Makefile (chapters): Add nptl.
21386         * manual/debug.texi (Debugging Support): Add link to Threads
21387         chapter.
21388         * manual/nptl.texi: New file.
21390         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21392 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21394         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21395         for non-NULL pointer before the memory validity test. Pointed
21396         out by Holger Brunck <holger.brunck@keymile.com>.
21398 2013-03-13  Andreas Schwab  <schwab@suse.de>
21400         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21401         instead of .os.
21403 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21405         * timezone/zic.c: Update from tzcode 2013b.
21407 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21409         * manual/install.texi (Configuring and compiling):
21410         Mention i686 and i586.
21411         * INSTALL: Regenerate.
21413 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21415         * sysdeps/init_array/elf-init.c: New file.
21416         * csu/elf-init.c
21417         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21418         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21420         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21421         __gmon_start__ as global, but as static with a .preinit_array pointer.
21422         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21423         * sysdeps/init_array/crti.S: New file, empty except for comments.
21424         * sysdeps/init_array/crtn.S: Likewise.
21426 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21428         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21429         definining bcopy.
21430         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21431         Remove Prefer_SSE_for_memop.
21432         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21433         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21434         HAS_PREFER_SSE_FOR_MEMOP.
21435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21436         memset-x86-64.
21437         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21438         Remove bzero, memset ifunc support.
21439         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21440         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21441         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21442         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21444 2013-03-11  Andreas Schwab  <schwab@suse.de>
21446         [BZ #15234]
21447         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21448         by SHLIB_COMPAT.
21449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21450         (GLIBC_2.16): Remove pthread_atfork.
21452 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21454         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21455         (ptestcases.h): Likewise.
21457 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21459         * Makeconfig ($(common-objpfx)config.status): Depend on
21460         sysdeps/*/preconfigure{,.in} too.
21462 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21464         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21465         (__free_hook): Use void * instead of __malloc_ptr_t.
21466         (__malloc_hook): Likewise.
21467         (__realloc_hook): Likewise.
21468         (__memalign_hook): Likewise.
21469         (__after_morecore_hook): Likewise.
21470         * malloc/arena.c (save_malloc_hook): Likewise.
21471         (save_free_hook): Likewise.
21472         * malloc/hooks.c (malloc_hook_ini): Likewise.
21473         (realloc_hook_ini): Likewise.
21474         (memalign_hook_ini): Likewise.
21475         * malloc/malloc.c (malloc_hook_ini): Likewise.
21476         (realloc_hook_ini): Likewise.
21477         (memalign_hook_ini): Likewise.
21478         (__free_hook): Likewise.
21479         (__malloc_hook): Likewise.
21480         (__realloc_hook): Likewise.
21481         (__memalign_hook): Likewise.
21482         (__libc_malloc): Likewise.
21483         (__libc_free): Likewise.
21484         (__libc_realloc): Likewise.
21485         (__libc_memalign): Likewise.
21486         (__libc_valloc): Likewise.
21487         (__libc_pvalloc): Likewise.
21488         (__libc_calloc): Likewise.
21489         (__posix_memalign): Likewise.
21490         * malloc/morecore.c (__sbrk): Likewise.
21491         (__default_morecore): Likewise.
21493         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21495         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21496         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21497         __malloc_ptrdiff_t.
21499         * malloc/malloc.h (__malloc_size_t): Remove macro.
21500         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21501         __malloc_size_t.
21502         (old_memalign_hook): Likewise.
21503         (old_realloc_hook): Likewise.
21504         (struct hdr): Likewise.
21505         (flood): Likewise.
21506         (mallochook): Likewise.
21507         (memalignhook): Likewise.
21508         (reallochook): Likewise.
21509         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21510         (tr_old_realloc_hook): Likewise.
21511         (tr_old_memalign_hook): Likewise.
21512         (tr_mallochook): Likewise.
21513         (tr_reallochook): Likewise.
21514         (tr_memalignhook): Likewise.
21516 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21518         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21519         default_ldbl_pack and using as default implementation.
21520         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21521         implementation.
21522         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21523         redundant definition.
21524         (ldbl_insert_mantissa): Likewise.
21525         (ldbl_canonicalize): Likewise.
21526         (ldbl_nearbyint): Likewise.
21527         (ldbl_pack): Rename to ldbl_pack_ppc.
21528         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21529         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21530         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21532 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21535         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21536         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21537         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21538         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21539         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21540         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21541         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21543 2013-03-07  Andreas Jaeger  <aj@suse.de>
21545         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21546         bits/mman-linux.h.
21548 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21550         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21551         Include mpa.h and declare __MPEXP.
21552         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21553         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21554         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21555         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21556         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21557         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21558         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21560         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21561         (__slowpow): Use long double EXPL and LOGL functions to
21562         compute POW.
21563         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21564         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21565         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21566         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21567         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21568         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21571         intermediate variable to calculate exponent.
21572         (__sqr): Likewise.
21573         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21574         Likewise.
21575         (__sqr): Likewise.
21577         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21578         [!NO__SQR]: Define __sqr.
21579         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21580         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21581         sysdeps/ieee754/dbl-64/mpa.c.
21582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21584         [BZ #12723]
21585         * posix/Makefile (tests): Add tst-pathconf.
21586         * posix/tst-pathconf.c: New test case.
21587         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21588         _PC_PIPE_BUF.
21589         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21591 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21593         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21595 2013-03-06  Andreas Jaeger  <aj@suse.de>
21597         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21598         definition via __MAP_ANONYMOUS.
21600         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21601         it's not part of Linux headers.
21603         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21604         (MAP_HUGE_MASK): Define.
21606         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21607         Define.
21608         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21609         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21610         Define.
21611         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21612         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21613         Define.
21614         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21615         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21616         Define.
21617         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21619         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21620         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21621         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21622         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21623         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21624         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21626         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21627         Handle f2fs.
21629         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21630         Handle f2fs and efivarfs.
21632         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21633         f2fs.
21635         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21636         (EFIVARFS_MAGIC): Add.
21637         (F2FS_LINK_MAX): Add.
21639 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21641         * stdio-common/vfprintf.c: Replace __builtin_expect with
21642         __glibc_unlikely.
21644 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21646         [BZ #13550]
21647         * sysdeps/generic/bp-sym.h: Remove file.
21648         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21649         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21650         <bp-sym.h> and <bp-asm.h>.
21651         (__longjmp): Don't use BP_SYM.
21652         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21653         and <bp-asm.h>.
21654         (memcpy): Don't use BP_SYM.
21655         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21656         <bp-sym.h> and <bp-asm.h>.
21657         (memcpy): Don't use BP_SYM.
21658         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21659         <bp-asm.h>.
21660         (memcpy): Don't use BP_SYM.
21661         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21662         <bp-asm.h>.
21663         (memset): Don't use BP_SYM.
21664         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21665         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21666         (__bzero): Don't use BP_SYM.
21667         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21668         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21669         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21670         <bp-sym.h> and <bp-asm.h>.
21671         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21672         pointers.
21673         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21674         <bp-sym.h> and <bp-asm.h>.
21675         (memcpy): Don't use BP_SYM.
21676         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21677         <bp-sym.h> and <bp-asm.h>.
21678         (memset): Don't use BP_SYM.
21679         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21680         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21681         (__bzero): Don't use BP_SYM.
21682         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21683         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21684         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21685         <bp-sym.h> and <bp-asm.h>.
21686         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21687         pointers.
21688         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21689         <bp-sym.h> and <bp-asm.h>.
21690         (memcpy): Don't use BP_SYM.
21691         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21692         <bp-sym.h> and <bp-asm.h>.
21693         (memset): Don't use BP_SYM.
21694         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21695         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21696         (__bzero): Don't use BP_SYM.
21697         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21698         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21699         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21700         <bp-sym.h> and <bp-asm.h>.
21701         (__memchr): Don't use BP_SYM.
21702         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21703         <bp-sym.h> and <bp-asm.h>.
21704         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21705         pointers.
21706         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21707         <bp-sym.h> and <bp-asm.h>.
21708         (memcpy): Don't use BP_SYM.
21709         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21710         <bp-sym.h> and <bp-asm.h>.
21711         (__mempcpy): Don't use BP_SYM.
21712         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21713         <bp-sym.h> and <bp-asm.h>.
21714         (__memrchr): Don't use BP_SYM.
21715         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21716         <bp-sym.h> and <bp-asm.h>.
21717         (memset): Don't use BP_SYM.
21718         (__bzero): Likewise.
21719         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21720         <bp-sym.h> and <bp-asm.h>.
21721         (__rawmemchr): Don't use BP_SYM.
21722         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21723         <bp-sym.h> and <bp-asm.h>.
21724         (__STRCMP): Don't use BP_SYM.
21725         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21726         <bp-sym.h> and <bp-asm.h>.
21727         (strchr): Don't use BP_SYM.
21728         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21729         <bp-sym.h> and <bp-asm.h>.
21730         (__strchrnul): Don't use BP_SYM.
21731         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21732         <bp-sym.h> and <bp-asm.h>.
21733         (strlen): Don't use BP_SYM.
21734         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21735         <bp-sym.h> and <bp-asm.h>.
21736         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21737         pointers.
21738         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21739         <bp-sym.h> and <bp-asm.h>.
21740         (__strnlen): Don't use BP_SYM.
21741         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21742         <bp-sym.h> and <bp-asm.h>.
21743         (__GI__setjmp): Don't use BP_SYM.
21744         (_setjmp): Likewise.
21745         (__sigsetjmp): Likewise.
21746         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21747         (L(start_addresses)): Don't use BP_SYM.
21748         (_start): Likewise.
21749         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21750         <bp-asm.h>.
21751         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21752         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21753         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21754         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21755         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21756         <bp-asm.h>.
21757         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21758         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21759         about bounded pointers.
21760         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21761         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21762         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21763         <bp-asm.h>.
21764         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21765         about bounded pointers.  Remove GKM FIXME comments.
21766         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21767         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21768         <bp-asm.h>.
21769         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21770         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21771         Remove GKM FIXME comments.
21772         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21773         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21774         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21775         <bp-asm.h>.
21776         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21777         about bounded pointers.  Remove GKM FIXME comment.
21778         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21779         and <bp-asm.h>.
21780         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21781         pointers.
21782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21783         <bp-sym.h> and <bp-asm.h>.
21784         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21786         <bp-sym.h> and <bp-asm.h>.
21787         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21788         comment.
21790 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21792         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21793         call free(NULL).
21795 2013-03-05  David S. Miller  <davem@davemloft.net>
21797         * po/es.po: Update from translation team.
21799 2013-03-05  Andreas Jaeger  <aj@suse.de>
21801         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21802         <bits/mman-linux.h>.
21803         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21804         is fine.
21805         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21806         <bits/mman-linux.h> to end of file.
21807         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21808         is fine.
21809         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21810         <bits/mman-linux.h> to end of file.
21811         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21812         is fine.
21813         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21814         <bits/mman-linux.h> to end of file.
21816         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21817         (MCL_CURRENT, MCL_FUTURE): Define here.
21819 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21821         [BZ #15232]
21822         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21823         attribute_hidden.
21824         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21826 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21828         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21829         fourth parameter needed for rt_sigprocmask syscall.
21830         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21831         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21832         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21833         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21834         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21835         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21837 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21839         [BZ #13550]
21840         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21841         comment about bounded pointers.
21842         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21843         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21845 2013-03-04  Andreas Jaeger  <aj@suse.de>
21847         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21848         common definitions.
21850         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21851         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21852         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21853         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21854         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21855         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21857 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21859         [BZ #15055]
21860         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21861         __ieee754_sqrl instead of __sqrl.
21863 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21865         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21866         * sysdeps/powerpc/fpu_control.h: ... here.
21867         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21868         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21869         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21870         * sysdeps/powerpc/bits/mathinline.h: ... here.
21872 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21874         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21875         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21876         to just [NEED_DL_SYSINFO_DSO].
21877         * elf/dl-support.c: Likewise.
21878         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21879         * elf/rtld.c (dl_main): Likewise.
21880         * elf/setup-vdso.h (setup_vdso): Likewise.
21881         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21882         * sysdeps/unix/sysv/linux/dl-sysdep.c
21883         (_dl_discover_osversion): Likewise.
21885 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21887         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21888         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21890 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21892         * NEWS: Mention libm performance improvements and non-x86 PI
21893         futex support.
21895         * csu/libc-start.c (__pthread_initialize_minimal): Change
21896         function arguments.
21897         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21899 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21901         [BZ #13550]
21902         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21903         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21904         <bp-sym.h> and <bp-asm.h>.
21905         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21906         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21907         and <bp-asm.h>.
21908         (memcpy): Don't use BP_SYM.
21909         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21910         <bp-asm.h>.
21911         (__mpn_add_n): Don't use BP_SYM.
21912         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21913         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21914         and <bp-asm.h>.
21915         (__mpn_addmul_1): Don't use BP_SYM.
21916         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21917         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21918         <bp-sym.h>.
21919         (_setjmp): Don't use BP_SYM.
21920         (__novmx_setjmp): Likewise.
21921         (__GI__setjmp): Likewise.
21922         (__vmx_setjmp): Likewise.
21923         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21924         <bp-sym.h>.
21925         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21926         (__bzero): Don't use BP_SYM.
21927         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21928         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21929         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21930         <bp-sym.h> and <bp-asm.h>.
21931         (memcpy): Don't use BP_SYM.
21932         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21933         <bp-sym.h> and <bp-asm.h>.
21934         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21935         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21936         <bp-sym.h> and <bp-asm.h>.
21937         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21938         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21939         <bp-asm.h>.
21940         (__mpn_lshift): Don't use BP_SYM.
21941         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21942         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21943         <bp-asm.h>.
21944         (memset): Don't use BP_SYM.
21945         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21946         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21947         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21948         <bp-asm.h>.
21949         (__mpn_mul_1): Don't use BP_SYM.
21950         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21951         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21952         <bp-sym.h> and <bp-asm.h>.
21953         (memcmp): Don't use BP_SYM.
21954         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21955         <bp-sym.h> and <bp-asm.h>.
21956         (memcpy): Don't use BP_SYM.
21957         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21958         <bp-sym.h> and <bp-asm.h>.
21959         (memset): Don't use BP_SYM.
21960         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21961         <bp-sym.h> and <bp-asm.h>.
21962         (strncmp): Don't use BP_SYM.
21963         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21964         <bp-sym.h> and <bp-asm.h>.
21965         (memcpy): Don't use BP_SYM.
21966         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21967         <bp-sym.h> and <bp-asm.h>.
21968         (memset): Don't use BP_SYM.
21969         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21970         <bp-sym.h> and <bp-asm.h>.
21971         (__memchr): Don't use BP_SYM.
21972         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21973         <bp-sym.h> and <bp-asm.h>.
21974         (memcmp): Don't use BP_SYM.
21975         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21976         <bp-sym.h> and <bp-asm.h>.
21977         (memcpy): Don't use BP_SYM.
21978         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21979         <bp-sym.h> and <bp-asm.h>.
21980         (__mempcpy): Don't use BP_SYM.
21981         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21982         <bp-sym.h> and <bp-asm.h>.
21983         (__memrchr): Don't use BP_SYM.
21984         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21985         <bp-sym.h> and <bp-asm.h>.
21986         (memset): Don't use BP_SYM.
21987         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21988         <bp-sym.h> and <bp-asm.h>.
21989         (__rawmemchr): Don't use BP_SYM.
21990         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21991         <bp-sym.h> and <bp-asm.h>.
21992         (__STRCMP): Don't use BP_SYM.
21993         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21994         <bp-sym.h> and <bp-asm.h>.
21995         (strchr): Don't use BP_SYM.
21996         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21997         <bp-sym.h> and <bp-asm.h>.
21998         (__strchrnul): Don't use BP_SYM.
21999         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22000         <bp-sym.h> and <bp-asm.h>.
22001         (strlen): Don't use BP_SYM.
22002         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22003         <bp-sym.h> and <bp-asm.h>.
22004         (strncmp): Don't use BP_SYM.
22005         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22006         <bp-sym.h> and <bp-asm.h>.
22007         (__strnlen): Don't use BP_SYM.
22008         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22009         <bp-asm.h>.
22010         (__mpn_rshift): Don't use BP_SYM.
22011         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22012         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22013         <bp-sym.h> and <bp-asm.h>.
22014         (__sigsetjmp): Don't use BP_SYM.
22015         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22016         (L(start_addresses)): Don't use BP_SYM.
22017         (_start): Likewise.
22018         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22019         <bp-asm.h>.
22020         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22021         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22022         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22023         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22024         <bp-asm.h>.
22025         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22026         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22027         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22028         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22029         <bp-asm.h>.
22030         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22031         comments.
22032         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22033         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22034         <bp-asm.h>.
22035         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22036         FIXME comments.
22037         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22038         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22039         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22040         <bp-asm.h>.
22041         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22042         comment.
22043         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22044         and <bp-asm.h>.
22045         (strncmp): Don't use BP_SYM,
22046         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22047         <bp-asm.h>.
22048         (__mpn_sub_n): Don't use BP_SYM.
22049         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22050         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22051         and <bp-asm.h>.
22052         (__mpn_submul_1): Don't use BP_SYM.
22053         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22055         <bp-sym.h> and <bp-asm.h>.
22056         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22058         <bp-sym.h> and <bp-asm.h>.
22059         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22060         comment.
22062 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22064         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22065         Use ZK to minimize writes to Z.
22066         (sub_magnitudes): Simplify code a bit.
22067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22068         Use ZK to minimize writes to Z.
22069         (sub_magnitudes): Simplify code a bit.
22071 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22073         * csu/gmon-start.c: Add special exception to license text.
22075 2013-02-27  Richard Henderson  <rth@redhat.com>
22077         * scripts/config.guess: Update from config.git.
22078         * scripts/config.sub: Likewise.
22080 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22082         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22084         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22086         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22088         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22090         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22092 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22094         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22095         [$(build-shared = yes].
22097 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22099         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22100         (__mul): Reduce iterations for calculating mantissa.
22102         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22103         MPTWO.
22104         (__mpranred): Likewise.
22106         [BZ #15160]
22107         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22108         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22110 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22112         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22113         Define __attribute__.
22115 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22117         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22118         unused.
22119         * posix/regex_internal.h (__attribute): Remove.
22120         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22121         (re_string_context_at): Likewise.
22122         (bitset_not): Use __attribute__ and mark function as possibly
22123         unused.
22124         (bitset_merge): Likewise.
22125         (bitset_mask): Likewise.
22126         (re_string_char_size_at): Likewise.
22127         (re_string_wchar_at): Likewise.
22128         (re_string_elem_size_at): Likewise.
22130 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22132         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22133         code.
22134         (cc32): Likewise.
22136         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22137         (__acr): Likewise.
22138         (__cpy): Likewise.
22139         (norm): Likewise.
22140         (denorm): Likewise.
22141         (__dbl_mp): Likewise.
22142         (add_magnitudes): Likewise.
22143         (sub_magnitudes): Likewise.
22144         (__mul): Likewise.
22145         (__inv): Likewise.
22147         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22148         style.
22150         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22151         style.
22153         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22154         code.
22156         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22157         up changes with default code.
22158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22159         Likewise.
22161 2013-02-24  Allan McRae  <allan@archlinux.org>
22163         * manual/socket.texi (The Internet Namespace): Order menu items
22164         to match that in the file.
22166         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22167         node listing of the info page menu.
22169 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22171         [BZ #13550]
22172         * sysdeps/i386/bp-asm.h: Remove file.
22173         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22174         (PARMS): Do not use macros from bp-asm.h.
22175         (S1): Likewise.
22176         (S2): Likewise.
22177         (SIZE): Likewise.
22178         (__mpn_add_n): Do not use BP_SYM
22179         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22180         "bp-asm.h".
22181         (PARMS): Do not use macros from bp-asm.h.
22182         (S1): Likewise.
22183         (SIZE): Likewise.
22184         (__mpn_addmul_1): Do not use BP_SYM
22185         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22186         "bp-asm.h".
22187         (PARMS): Do not use macros from bp-asm.h.
22188         (SIGMSK): Likewise.
22189         (_setjmp): Likewise.  Do not use BP_SYM.
22190         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22191         "bp-asm.h".
22192         (PARMS): Do not use macros from bp-asm.h.
22193         (SIGMSK): Likewise.
22194         (setjmp): Likewise.  Do not use BP_SYM.
22195         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22196         "bp-asm.h".
22197         (PARMS): Do not use macros from bp-asm.h.
22198         (__frexp): Do not use BP_SYM.
22199         (frexp): Likewise.
22200         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22201         "bp-asm.h".
22202         (PARMS): Do not use macros from bp-asm.h.
22203         (__frexpf): Do not use BP_SYM.
22204         (frexpf): Likewise.
22205         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22206         "bp-asm.h".
22207         (PARMS): Do not use macros from bp-asm.h.
22208         (__frexpl): Do not use BP_SYM.
22209         (frexpl): Likewise.
22210         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22211         "bp-asm.h".
22212         (PARMS): Do not use macros from bp-asm.h.
22213         (__remquo): Do not use BP_SYM.
22214         (remquo): Likewise.
22215         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22216         "bp-asm.h".
22217         (PARMS): Do not use macros from bp-asm.h.
22218         (__remquof): Do not use BP_SYM.
22219         (remquof): Likewise.
22220         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22221         "bp-asm.h".
22222         (PARMS): Do not use macros from bp-asm.h.
22223         (__remquol): Do not use BP_SYM.
22224         (remquol): Likewise.
22225         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22226         "bp-asm.h".
22227         (PARMS): Do not use macros from bp-asm.h.
22228         (DEST): Likewise.
22229         (SRC): Likewise.
22230         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22231         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22232         "bp-asm.h".
22233         (PARMS): Do not use macros from bp-asm.h.
22234         (strlen): Do not use BP_SYM.
22235         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22236         "bp-asm.h".
22237         (PARMS): Do not use macros from bp-asm.h.
22238         (S1): Likewise.
22239         (S2): Likewise.
22240         (SIZE): Likewise.
22241         (__mpn_add_n): Do not use BP_SYM.
22242         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22243         "bp-asm.h".
22244         (PARMS): Do not use macros from bp-asm.h.
22245         (S1): Likewise.
22246         (SIZE): Likewise.
22247         (__mpn_addmul_1): Do not use BP_SYM.
22248         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22249         weak_alias.
22250         (bzero): Likewise.
22251         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22252         "bp-asm.h".
22253         (PARMS): Do not use macros from bp-asm.h.
22254         (S): Likewise.
22255         (SIZE): Likewise.
22256         (__mpn_lshift): Do not use BP_SYM.
22257         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22258         "bp-asm.h".
22259         (PARMS): Do not use macros from bp-asm.h.
22260         (DEST): Likewise.
22261         (SRC): Likewise.
22262         (LEN): Likewise.
22263         (memcpy): Likewise.  Do not use BP_SYM.
22264         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22265         libc_hidden_def and weak_alias.
22266         (mempcpy): Do not use BP_SYM in weak_alias.
22267         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22268         "bp-asm.h".
22269         (PARMS): Do not use macros from bp-asm.h.
22270         (DEST): Likewise.
22271         (LEN): Likewise.
22272         [!BZERO_P] (CHR): Likewise.
22273         (memset): Likewise.  Do not use BP_SYM.
22274         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22275         "bp-asm.h".
22276         (PARMS): Do not use macros from bp-asm.h.
22277         (S1): Likewise.
22278         (SIZE): Likewise.
22279         (__mpn_mul_1): Do not use BP_SYM.
22280         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22281         "bp-asm.h".
22282         (PARMS): Do not use macros from bp-asm.h.
22283         (S): Likewise.
22284         (SIZE): Likewise.
22285         (__mpn_rshift): Do not use BP_SYM.
22286         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22287         "bp-asm.h".
22288         (PARMS): Do not use macros from bp-asm.h.
22289         (STR): Likewise.
22290         (CHR): Likewise.
22291         (strchr): Likewise.  Do not use BP_SYM.
22292         (index): Do not use BP_SYM in weak_alias.
22293         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22294         "bp-asm.h".
22295         (PARMS): Do not use macros from bp-asm.h.
22296         (DEST): Likewise.
22297         (SRC): Likewise.
22298         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22299         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22300         "bp-asm.h".
22301         (PARMS): Do not use macros from bp-asm.h.
22302         (strlen): Do not use BP_SYM.
22303         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22304         "bp-asm.h".
22305         (PARMS): Do not use macros from bp-asm.h.
22306         (S1): Likewise.
22307         (S2): Likewise.
22308         (SIZE): Likewise.
22309         (__mpn_sub_n): Do not use BP_SYM.
22310         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22311         "bp-asm.h".
22312         (PARMS): Do not use macros from bp-asm.h.
22313         (S1): Likewise.
22314         (SIZE): Likewise.
22315         (__mpn_submul_1): Do not use BP_SYM.
22316         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22317         "bp-asm.h".
22318         (PARMS): Do not use macros from bp-asm.h.
22319         (S1): Likewise.
22320         (S2): Likewise.
22321         (SIZE): Likewise.
22322         (__mpn_add_n): Do not use BP_SYM.
22323         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22324         weak_alias.
22325         (bzero): Likewise.
22326         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22327         "bp-asm.h".
22328         (PARMS): Do not use macros from bp-asm.h.
22329         (BLK2): Likewise.
22330         (LEN): Likewise.
22331         (memcmp): Do not use BP_SYM.
22332         (bcmp): Do not use BP_SYM in weak_alias.
22333         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22334         "bp-asm.h".
22335         (PARMS): Do not use macros from bp-asm.h.
22336         (DEST): Likewise.
22337         (SRC): Likewise.
22338         (LEN): Likewise.
22339         (memcpy): Likewise.  Do not use BP_SYM.
22340         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22341         "bp-asm.h".
22342         (PARMS): Do not use macros from bp-asm.h.
22343         (DEST): Likewise.
22344         (SRC): Likewise.
22345         (LEN): Likewise.
22346         (memmove): Likewise.  Do not use BP_SYM.
22347         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22348         "bp-asm.h".
22349         (PARMS): Do not use macros from bp-asm.h.
22350         (DEST): Likewise.
22351         (SRC): Likewise.
22352         (LEN): Likewise.
22353         (__mempcpy): Likewise.  Do not use BP_SYM.
22354         (mempcpy): Do not use BP_SYM in weak_alias.
22355         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22356         "bp-asm.h".
22357         (PARMS): Do not use macros from bp-asm.h.
22358         (DEST): Likewise.
22359         (LEN): Likewise.
22360         [!BZERO_P] (CHR): Likewise.
22361         (memset): Likewise.  Do not use BP_SYM.
22362         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22363         "bp-asm.h".
22364         (PARMS): Do not use macros from bp-asm.h.
22365         (STR2): Likewise.
22366         (strcmp): Do not use BP_SYM.
22367         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22368         "bp-asm.h".
22369         (PARMS): Do not use macros from bp-asm.h.
22370         (STR): Likewise.
22371         (DELIM): Likewise.
22372         [USE_AS_STRTOK_R] (SAVE): Likewise.
22373         (FUNCTION): Likewise.  Do not use BP_SYM.
22374         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22375         aliases.
22376         (strtok_r): Likewise.
22377         (__GI___strtok_r): Likewise.
22378         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22379         (PARMS): Do not use macros from bp-asm.h.
22380         (S): Likewise.
22381         (SIZE): Likewise.
22382         (__mpn_lshift): Do not use BP_SYM.
22383         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22384         (PARMS): Do not use macros from bp-asm.h.
22385         (STR): Likewise.
22386         (CHR): Likewise.
22387         (__memchr): Do not use BP_SYM.
22388         (memchr): Do not use BP_SYM in weak_alias.
22389         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22390         (PARMS): Do not use macros from bp-asm.h.
22391         (BLK2): Likewise.
22392         (LEN): Likewise.
22393         (memcmp): Do not use BP_SYM.
22394         (bcmp): Do not use BP_SYM in weak_alias.
22395         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22396         (PARMS): Do not use macros from bp-asm.h.
22397         (S1): Likewise.
22398         (SIZE): Likewise.
22399         (__mpn_mul_1): Do not use BP_SYM.
22400         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22401         "bp-asm.h".
22402         (PARMS): Do not use macros from bp-asm.h.
22403         (STR): Likewise.
22404         (CHR): Likewise.
22405         (__rawmemchr): Do not use BP_SYM.
22406         (rawmemchr): Do not use BP_SYM in weak_alias.
22407         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22408         (PARMS): Do not use macros from bp-asm.h.
22409         (S): Likewise.
22410         (SIZE): Likewise.
22411         (__mpn_rshift): Do not use BP_SYM.
22412         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22413         (PARMS): Do not use macros from bp-asm.h.
22414         (SIGMSK): Likewise.
22415         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22416         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22417         (_start): Do not use BP_SYM.
22418         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22419         (PARMS): Do not use macros from bp-asm.h.
22420         (DEST): Likewise.
22421         (SRC): Likewise.
22422         (__stpcpy): Likewise.  Do not use BP_SYM.
22423         (stpcpy): Do not use BP_SYM in weak_alias.
22424         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22425         "bp-asm.h".
22426         (PARMS): Do not use macros from bp-asm.h.
22427         (DEST): Likewise.
22428         (SRC): Likewise.
22429         (LEN): Likewise.
22430         (__stpncpy): Likewise.  Do not use BP_SYM.
22431         (stpncpy): Do not use BP_SYM in weak_alias.
22432         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22433         (PARMS): Do not use macros from bp-asm.h.
22434         (STR): Likewise.
22435         (CHR): Likewise.
22436         (strchr): Likewise.  Do not use BP_SYM.
22437         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22438         "bp-asm.h".
22439         (PARMS): Do not use macros from bp-asm.h.
22440         (STR): Likewise.
22441         (CHR): Likewise.
22442         (__strchrnul): Likewise.  Do not use BP_SYM.
22443         (strchrnul): Do not use BP_SYM in weak_alias.
22444         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22445         "bp-asm.h".
22446         (PARMS): Do not use macros from bp-asm.h.
22447         (STOP): Likewise.
22448         (strcspn): Do not use BP_SYM.
22449         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22450         "bp-asm.h".
22451         (PARMS): Do not use macros from bp-asm.h.
22452         (STR): Likewise.
22453         (STOP): Likewise.
22454         (strpbrk): Likewise.  Do not use BP_SYM.
22455         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22456         "bp-asm.h".
22457         (PARMS): Do not use macros from bp-asm.h.
22458         (STR): Likewise.
22459         (CHR): Likewise.
22460         (strrchr): Likewise.  Do not use BP_SYM.
22461         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22462         (PARMS): Do not use macros from bp-asm.h.
22463         (SKIP): Likewise.
22464         (strspn): Do not use BP_SYM.
22465         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22466         (PARMS): Do not use macros from bp-asm.h.
22467         (STR): Likewise.
22468         (DELIM): Likewise.
22469         (SAVE): Likewise.
22470         (FUNCTION): Likewise.  Do not use BP_SYM.
22471         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22472         aliases.
22473         (strtok_r): Likewise.
22474         (__GI___strtok_r): Likewise.
22475         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22476         (PARMS): Do not use macros from bp-asm.h.
22477         (S1): Likewise.
22478         (S2): Likewise.
22479         (SIZE): Likewise.
22480         (__mpn_sub_n): Do not use BP_SYM.
22481         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22482         "bp-asm.h".
22483         (PARMS): Do not use macros from bp-asm.h.
22484         (S1): Likewise.
22485         (SIZE): Likewise.
22486         (__mpn_submul_1): Do not use BP_SYM.
22487         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22488         <bp-sym.h>.
22489         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22490         and <bp-asm.h>.
22491         (PARMS): Do not use macros from bp-asm.h.
22492         (FLAGS): Likewise.
22493         (PTID): Likewise.
22494         (TLS): Likewise.
22495         (CTID): Likewise.
22496         (__clone): Do not use BP_SYM.
22497         (clone): Do not use BP_SYM in weak_alias.
22498         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22499         and <bp-asm.h>.
22500         (PARMS): Do not use macros from bp-asm.h.
22501         (LEN): Likewise.
22502         (__mmap64): Do not use BP_SYM.
22503         (mmap64): Do not use BP_SYM in weak_alias.
22504         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22505         <bp-sym.h> and <bp-asm.h>.
22506         (PARMS): Do not use macros from bp-asm.h.
22507         (__posix_fadvise64_l64): Do not use BP_SYM.
22508         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22509         (PARMS): Do not use macros from bp-asm.h.
22510         (NSOPS): Likewise.
22511         (semtimedop): Do not use BP_SYM.
22512         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22513         and <bp-asm.h>.
22515 2013-02-21  Allan McRae  <allan@archlinux.org>
22517         * manual/message.texi (Charset conversion in gettext):
22518         Move @end statement to beginning of line.
22520 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22523         static.
22524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22525         Likewise.
22527         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22528         (denorm): Likewise.
22529         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22532 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22534         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22535         tail-call to the resolved function if pltexit isn't needed.
22537 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22540         or Y being zero as being unlikely.
22541         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22542         Likewise.
22544 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22546         * manual/nss.texi (System Databases and Name Service Switch):
22547         Remove frobnicate @pxref.
22549 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22551         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22552         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22554 2013-02-20  Petr Machata  <pmachata@redhat.com>
22556         * elf/elf.h (R_ARM_TARGET1): New macro.
22557         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22558         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22559         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22560         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22561         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22562         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22563         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22564         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22565         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22566         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22567         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22568         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22569         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22570         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22571         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22572         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22573         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22574         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22575         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22576         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22577         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22578         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22579         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22580         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22581         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22582         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22583         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22584         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22585         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22586         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22587         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22588         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22589         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22590         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22591         (R_ARM_THM_GOT_BREL12): Likewise.
22592         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22593         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22594         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22595         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22596         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22597         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22598         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22599         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22600         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22602 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22604         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22605         __attribute_used__ to __attribute__ ((unused)).
22607 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22609         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22610         powerpc mpa.c.
22611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22612         comment formatting.
22613         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22615 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22617         [BZ #13550]
22618         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22619         Remove macro.
22620         (ENTER): Remove both macro definitions.
22621         (LEAVE): Likewise.
22622         (CHECK_BOUNDS_LOW): Likewise.
22623         (CHECK_BOUNDS_HIGH): Likewise.
22624         (CHECK_BOUNDS_BOTH): Likewise.
22625         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22626         (RETURN_BOUNDED_POINTER): Likewise.
22627         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22628         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22629         (POP_ERRNO_LOCATION_RETURN): Likewise.
22630         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22631         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22632         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22633         macros.
22634         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22635         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22636         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22637         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22638         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22639         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22640         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22641         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22642         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22643         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22644         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22645         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22646         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22647         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22648         removed macros.
22649         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22650         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22651         macros.
22652         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22653         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22654         * sysdeps/i386/i586/memset.S (memset): Likewise.
22655         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22656         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22657         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22658         macros.
22659         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22660         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22661         Change uses of L(2) to L(out).
22662         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22663         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22664         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22665         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22666         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22667         removed macros.
22668         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22669         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22670         macros.
22671         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22672         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22673         (RETURN): Do not use macro LEAVE.
22674         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22675         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22676         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22677         * sysdeps/i386/i686/memset.S (memset): Likewise.
22678         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22679         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22680         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22681         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22682         Likewise.
22683         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22684         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22685         L(1_2) and L(1_3) into L(1).
22686         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22687         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22688         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22689         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22690         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22691         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22692         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22693         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22694         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22695         macros.
22696         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22697         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22698         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22699         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22700         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22701         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22702         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22703         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22704         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22705         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22706         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22707         * sysdeps/i386/strspn.S (strspn): Likewise.
22708         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22709         conditional code.
22710         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22711         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22712         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22713         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22714         L(1_3) into L(1_1).
22715         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22716         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22717         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22718         macros.
22719         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22721 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22723         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22724         macro.
22726 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22728         * math/atest-exp.c (exp_mpn): Remove ROUND.
22729         * math/atest-exp2.c (exp_mpn): Likewise.
22730         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22732         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22733         * stdlib/tst-tls-atexit-lib.c: Likewise.
22734         * stdlib/tst-tls-atexit.c: Likewise.
22736 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22738         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22739         and __attribute_alloc_size__.
22741 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22743         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22744         __attribute_alloc_size__.
22745         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22746         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22748 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22750         * include/programs/xmalloc.h: New file.
22751         * catgets/gencat.c: Include it.
22752         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22753         * elf/pldd.c: Likewise.
22754         * iconv/iconv_charmap.c: Likewise.
22755         * iconv/iconvconfig.c: Likewise.
22756         * iconv/strtab.c: Likewise.
22757         * locale/programs/locale.c: Likewise.
22758         * locale/programs/localedef.h: Likewise.
22759         * locale/programs/simple-hash.c: Likewise.
22760         * nscd/nscd.h: Likewise.
22761         * nss/makedb.c: Likewise.
22762         * sysdeps/generic/ldconfig.h: Likewise.
22764 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22766         * Versions.def: Add GLIBC_2.18.
22767         * include/link.h (struct link_map): New member l_tls_dtor_count.
22768         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22769         (__call_tls_dtors): Likewise.
22770         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22771         __cxa_thread_atexit_impl.
22772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22773         Likewise.
22774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22775         Likewise.
22776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22777         Likewise.
22778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22779         Likewise.
22780         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22782         Likewise.
22783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22784         Likewise.
22785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22787         Likewise.
22788         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22789         (tests): Add test case tst-tls-atexit.
22790         (modules-names): Add shared library for tst-tls-atexit.
22791         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22792         (GLIBC_PRIVATE): Add __call_tls_dtors.
22793         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22794         for libstdc++.
22795         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22796         * stdlib/tst-tls-atexit.c: New test case.
22797         * stdlib/tst-tls-atexit-lib.c: New test case.
22799         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22801         * elf/Versions (ld): Add _dl_find_dso_for_object.
22802         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22803         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22804         (dl_open_worker): Use _dl_find_dso_for_object.
22805         * elf/dl-sym.c (do_sym): Likewise.
22806         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22808 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22810         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22811         Syntactic changes only.
22812         (_dl_runtime_profile): Do a tail-call to the resolved function.
22814 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22816         [BZ #13550]
22817         * sysdeps/x86_64/bp-asm.h: Remove file.
22818         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22819         <bp-sym.h> and <bp-asm.h>.
22820         (__clone): Do not use BP_SYM.
22821         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22822         <bp-sym.h> and <bp-asm.h>.
22823         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22824         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22825         "bp-asm.h".
22826         (_setjmp): Do not use BP_SYM.
22827         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22828         "bp-asm.h".
22829         (setjmp): Do not use BP_SYM.
22830         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22831         libc_hidden_def.
22832         (mempcpy): Do not use BP_SYM in weak_alias.
22833         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22834         "bp-asm.h".
22835         (strchr): Do not use BP_SYM.
22836         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22837         "bp-asm.h".
22838         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22839         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22840         (_start): Do not use BP_SYM.
22841         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22842         "bp-asm.h".
22843         (strcat): Do not use BP_SYM.
22844         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22845         "bp-asm.h".
22846         (STRCMP): Do not use BP_SYM.
22847         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22848         "bp-asm.h".
22849         (STRCPY): Do not use BP_SYM.
22850         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22851         "bp-asm.h".
22852         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22853         "bp-asm.h".
22854         (FUNCTION): Do not use BP_SYM.
22855         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22856         weak_alias.
22857         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22859 2013-02-17  Andreas Jaeger  <aj@suse.de>
22861         * time/Versions: Sort entries.
22862         * string/Versions: Likewise.
22863         * resolv/Versions: Likewise.
22864         * posix/Versions: Likewise.
22865         * iconv/Versions: Likewise.
22866         * elf/Versions: Likewise.
22867         * wcsmbs/Versions: Likewise.
22869 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22871         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22872         loop termination condition.
22874         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22875         variable to calculate EZ.
22876         (__sqr): Likewise.
22878         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22879         the lower precision input.
22881 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22883         [BZ #13550]
22884         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22885         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22886         (run-via-rtld-prefix): Do not handle %-bp tests.
22887         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22888         (all-object-suffixes): Remove .ob.
22889         (bppfx): Remove variable.
22890         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22891         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22892         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22893         [$(build-bounded) = yes] (libtype.ob): Likewise.
22894         * Makerules (elide-routines.ob): Remove variable.
22895         (do-tests-clean): Do not handle *-bp.out.
22896         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22897         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22898         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22899         (tests): Do not include $(tests-bp.out).
22900         (xtests): Do not include $(xtests-bp.out).
22901         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22902         [$(build-bounded) = yes] ($(addprefix
22903         $(objpfx),$(binaries-bounded))): Remove rule.
22904         ($(objpfx)%-bp.out): Remove rule.
22905         * config.make.in (build-bounded): Remove variable.
22906         * crypt/Makefile [$(build-bounded) = yes]
22907         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22908         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22909         append to variable.
22910         [$(build-bounded) = yes] (install-lib): Likewise.
22911         [$(build-bounded) = yes] (generated): Likewise.
22912         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22913         Remove rule.
22914         * intl/Makefile [$(build-bounded) = yes]
22915         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22916         * math/Makefile [$(build-bounded) = yes]
22917         ($(tests:%=$(objpfx)%-bp): Likewise.
22918         * misc/Makefile [$(build-bounded) = yes]
22919         ($(objpfx)tst-tsearch-bp): Likewise.
22920         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22921         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22922         Remove dependency.
22923         * string/Makefile (o-objects.ob): Remove variable.
22924         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22925         (CFLAGS-.ob): Remove variable.
22926         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22927         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22928         both definitions of variable.
22929         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22930         (ASFLAGS-.ob): Remove variable.
22932 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22934         [BZ #13550]
22935         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22936         Remove __BOUNDED_POINTERS__ from condition.
22937         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22938         * string/bits/string2.h [!__NO_STRING_INLINES &&
22939         !__BOUNDED_POINTERS__]: Likewise.
22940         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22941         Likewise.
22942         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22943         Remove conditional code.
22944         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22945         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22946         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22947         condition.
22949         [BZ #13550]
22950         * csu/libc-start.c: Do not include <bp-sym.h>.
22951         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22952         * elf/dl-open.c: Do not include <bp-sym.h>.
22953         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22954         * math/fegetenv.c: Do not include <bp-sym.h>.
22955         (fegetenv): Do not use BP_SYM in versioned symbols.
22956         * nptl/sysdeps/pthread/bits/libc-lockP.h
22957         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22958         <bp-sym.h>.
22959         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22960         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22961         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22962         (__pthread_mutex_destroy): Likewise.
22963         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22964         (__pthread_mutex_lock): Likewise.
22965         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22966         (__pthread_mutex_trylock): Likewise.
22967         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22968         (__pthread_mutex_unlock): Likewise.
22969         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22970         (__pthread_mutexattr_init): Likewise.
22971         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22972         (__pthread_mutexattr_destroy): Likewise.
22973         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22974         (__pthread_mutexattr_settype): Likewise.
22975         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22976         (__pthread_rwlock_init): Likewise.
22977         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22978         (__pthread_rwlock_destroy): Likewise.
22979         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22980         (__pthread_rwlock_rdlock): Likewise.
22981         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22982         (__pthread_rwlock_tryrdlock): Likewise.
22983         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22984         (__pthread_rwlock_wrlock): Likewise.
22985         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22986         (__pthread_rwlock_trywrlock): Likewise.
22987         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22988         (__pthread_rwlock_unlock): Likewise.
22989         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22990         (__pthread_key_create): Likewise.
22991         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22992         (__pthread_setspecific): Likewise.
22993         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22994         (__pthread_getspecific): Likewise.
22995         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22996         Likewise.
22997         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22998         (_pthread_cleanup_push_defer): Likewise.
22999         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23000         (_pthread_cleanup_pop_restore): Likewise.
23001         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23002         (pthread_setcancelstate): Likewise.
23003         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23004         <bp-sym.h>.
23005         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23006         (memchr): Do not use BP_SYM in weak_alias.
23007         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23008         (fegetenv): Do not use BP_SYM in versioned symbols.
23009         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23010         (fesetenv): Do not use BP_SYM in versioned symbols.
23011         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23012         (feupdateenv): Do not use BP_SYM in versioned symbols.
23013         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23014         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23015         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23016         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23017         (open64): Do not use BP_SYM in weak_alias.
23018         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23019         (fegetenv): Do not use BP_SYM in versioned symbols.
23020         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23021         (fesetenv): Do not use BP_SYM in versioned symbols.
23022         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23023         (feupdateenv): Do not use BP_SYM in versioned symbols.
23024         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23025         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23026         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23027         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23028         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23029         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23030         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23031         <bp-sym.h>.
23032         (__libc_start_main): Do not use BP_SYM.
23034 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23036         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23037         redundant return line.
23038         (norm): Likewise.
23039         (denorm): Likewise.
23040         (dbl_mp): Likewise.
23041         (sub_magnitudes): Likewise.
23042         (__add): Likewise.
23043         (__sub): Likewise.
23044         (__mul): Likewise.
23045         (__inv): Likewise.
23046         (__dvd): Likewise.
23047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23048         (norm): Likewise.
23049         (denorm): Likewise.
23050         (dbl_mp): Likewise.
23051         (sub_magnitudes): Likewise.
23052         (__add): Likewise.
23053         (__sub): Likewise.
23054         (__mul): Likewise.
23055         (__inv): Likewise.
23056         (__dvd): Likewise.
23058         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23059         instead of __mul.
23060         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23061         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23062         (cc32): Likewise.
23064         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23065         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23066         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23067         of __mul for squares.
23068         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23069         function
23070         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23071         Likewise.
23072         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23073         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23075 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23077         [BZ #13550]
23078         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23079         code.
23080         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23081         prototype or function definition.  Rename ubp_* variables and
23082         parameters.  Remove argv definitions conditional on
23083         [__BOUNDED_POINTERS__].
23084         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23085         * elf/dl-runtime.c (_dl_fixup): Likewise.
23086         * include/set-hooks.h (RUN_HOOK): Likewise.
23087         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23088         definition.
23089         * string/strcpy.c (strcpy): Do not use __unbounded.
23090         * sysdeps/generic/frame.h (struct layout): Likewise.
23091         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23092         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23093         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23094         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23095         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23096         (__backtrace): Likewise.
23097         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23098         use __ptrvalue.
23099         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23100         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23101         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23102         Likewise.
23103         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23104         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23105         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23106         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23107         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23108         Do not use __unbounded.
23109         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23110         Rename __unboundedrlimits parameter to rlimits in prototype.
23111         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23112         Do not use __unbounded.
23113         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23114         not use __ptrvalue.
23115         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23116         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23117         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23118         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23119         __ptrvalue or __unbounded.
23120         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23121         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23122         use __unbounded.
23123         (__new_msgctl): Do not use __ptrvalue.
23124         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23125         __unbounded.
23126         (__libc_msgrcv): Do not use __ptrvalue.
23127         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23128         startup_info): Do not use __unbounded.
23129         (__libc_start_main): Likewise.  Rename ubp_* variables and
23130         parameters.  Remove argv definitions conditional on
23131         [__BOUNDED_POINTERS__].
23132         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23133         __ptrvalue.
23134         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23135         use __unbounded.
23136         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23137         or __ptrvalue.
23138         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23139         use __unbounded.
23140         (__new_shmctl): Do not use __ptrvalue.
23141         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23142         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23143         Likewise.
23144         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23145         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23146         (__libc_sigaction): Likewise.
23147         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23148         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23149         Likewise.
23150         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23152 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23154         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23156         * string/mempcpy.c: Implement by calling memcpy.
23158 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23160         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23162         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23163         evaluation.
23165         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23166         values in the mantissa.
23168         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23169         minimize writes to Z.
23170         (sub_magnitudes): Simplify code a bit.
23172 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23174         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23175         from the message.  The linker prefixes all warnings with that already.
23177 2013-02-12  Andreas Schwab  <schwab@suse.de>
23179         [BZ #15078]
23180         * posix/regexec.c (extend_buffers): Add parameter min_len.
23181         (check_matching): Pass minimum needed length.
23182         (clean_state_log_if_needed): Likewise.
23183         (get_subexp): Likewise.
23184         * posix/Makefile (tests): Add bug-regex34.
23185         (bug-regex34-ENV): Define.
23186         * posix/bug-regex34.c: New file.
23188         [BZ #11561]
23189         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23190         elements compare against the byte sequence of it, not its name.
23191         * posix/Makefile (tests): Add bug-regex35.
23192         (bug-regex35-ENV): Define.
23193         * posix/bug-regex35.c: New file.
23195 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23197         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23198         comment.
23199         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23200         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23201         (CHECK_EOL): Add undef.
23203 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23205         * bits/stdlib-bsearch.h: New file.
23206         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23207         * stdlib/stdlib.h: Likewise.
23209 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23211         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23212         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23213         declaration.
23214         * manual/search.texi (Array Search Function): Add missing const in
23215         lfind prototype.
23216         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23217         declaration to use rlim_t.
23218         (Basic Scheduling Functions): Remove erroneous const from
23219         sched_getparam prototype.  Remove erroneous * from
23220         sched_get_priority_max and sched_get_priority_min prototypes.
23221         (Resource Usage): Fix summary @comment on vtimes to refer to
23222         sys/vtimes.h rather than vtimes.h.
23223         Add missing *s in vtimes prototype.
23224         (Limits on Resources): Fix ulimit prototype to return long int.
23225         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23226         prototypes to use long int rather than double.
23227         (BSD Random): Fix initstate and setstate to use char *, not void *.
23228         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23229         prototype to make second argument 'struct aiocb64 *const[]'.
23230         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23231         (Status of AIO Operations): Remove erroneous const in aio_return and
23232         aio_return64 prototypes.
23233         (Synchronizing I/O): Fix sync prototype to return void.
23234         * manual/startup.texi (Suboptions): Remove an erroneous const in
23235         getsubopt prototype.
23236         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23237         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23238         use size_t rather than int.
23239         (Scanning All Users): Likewise for getpwent_r.
23240         (Setting Groups): Add missing const to setgroups prototype.
23241         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23242         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23243         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23244         'const void *' rather than 'const char *'.
23245         (Host Address Functions): Likewise for inet_ntop.
23246         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23247         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23248         ssize_t for return value.
23249         (Sending Data): Likewise for send, sendto, sendmsg.
23250         (Socket Option Functions): Add a missing const in setsockopt prototype.
23251         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23252         use wchar_t for the argument.
23253         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23254         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23255         take no arguments.
23256         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23257         double/float/long double for second argument.
23258         Fix return types of significand, significandf, significandl.
23259         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23260         argument in fchmod prototype.
23261         (File Owner): Use uid_t and gid_t in fchown prototype.
23262         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23263         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23264         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23265         use 'const struct dirent **' as argument types to CMP function pointer
23266         argument.
23267         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23268         (File Times): Fix summary magic @comment for struct utimbuf and utime
23269         to refer to utime.h, not time.h.
23270         * manual/string.texi (Argz Functions): Add missing const in
23271         argz_extract and argz_next prototypes.
23272         (Finding Tokens in a String): Likewise for basename.
23273         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23274         (Copying and Concatenation): Fix typo in wmemmove prototype.
23275         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23276         (Signal Stack): Remove erroneous const in sigstack prototype.
23277         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23278         prototype.
23279         (Simple Calendar Time): Likewise for stime.
23280         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23281         prototype.
23282         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23283         say sys/sysctl.h instead.
23284         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23285         and vsyslog prototypes.
23287 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23289         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23290         Remove.
23292 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23294         * misc/sys/mman.h: Fix typo in mremap comment.
23296 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23298         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23299         the '\0' terminator.
23301 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23303         [BZ #13550]
23304         * debug/segfault.c: Don't include <bp-checks.h>.
23305         * sysdeps/generic/bp-checks.h: Remove file.
23306         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23307         (__GETDENTS): Don't use CHECK_N.
23308         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23309         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23310         (__getgroups): Don't use CHECK_N.
23311         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23312         (setgroups): Don't use CHECK_N.
23313         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23314         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23315         (__libc_msgrcv): Don't use CHECK_N.
23316         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23317         (__libc_msgsnd): Don't use CHECK_N.
23318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23319         <bp-checks.h>.
23320         (__libc_pread): Don't use CHECK_N.
23321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23322         include <bp-checks.h>.
23323         (__libc_pread64): Don't use CHECK_N.
23324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23325         include <bp-checks.h>.
23326         (__libc_pwrite): Don't use CHECK_N.
23327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23328         include <bp-checks.h>.
23329         (__libc_pwrite64): Don't use CHECK_N.
23330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23331         <bp-checks.h>.
23332         (__libc_pread): Don't use CHECK_N.
23333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23334         include <bp-checks.h>.
23335         (__libc_pread64): Don't use CHECK_N.
23336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23337         include <bp-checks.h>.
23338         (__libc_pwrite): Don't use CHECK_N.
23339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23340         include <bp-checks.h>.
23341         (__libc_pwrite64): Don't use CHECK_N.
23342         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23343         (do_pread): Don't use CHECK_N.
23344         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23345         (do_pread64): Don't use CHECK_N.
23346         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23347         (do_pwrite): Don't use CHECK_N.
23348         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23349         (do_pwrite64): Don't use CHECK_N.
23350         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23351         (__libc_readv): Don't use CHECK_N.
23352         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23353         (semop): Don't use CHECK_N.
23354         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23355         <bp-checks.h>.
23356         (semtimedop): Don't use CHECK_N.
23357         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23358         (__libc_pread): Don't use CHECK_N.
23359         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23360         <bp-checks.h>.
23361         (__libc_pread64): Don't use CHECK_N.
23362         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23363         <bp-checks.h>.
23364         (__libc_pwrite): Don't use CHECK_N.
23365         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23366         <bp-checks.h>.
23367         (__libc_pwrite64): Don't use CHECK_N.
23368         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23369         <bp-checks.h>.
23370         (__libc_msgrcv): Don't use CHECK_N.
23371         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23372         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23373         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23374         (__libc_writev): Don't use CHECK_N.
23376 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23378         * string/strcpy.c: Removed unused variable.
23380         * Makeconfig (+sysdep-includes): Define with := rather than =.
23381         Use an existing include/ subdir of each sysdeps dir before it.
23383 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23385         * nscd/connection.c (register_traced_file): Comment function.
23386         [HAVE_INOTIFY] (union __inev): Define.
23387         [HAVE_INOTIFY] (inotify_check_files): New function.
23388         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23389         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23390         clear_db_cache.
23391         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23393 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23395         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23396         loaded if not already and that a failure is permanent.
23398 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23400         [BZ #15006]
23401         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23402         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23404 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23406         [BZ #13550]
23407         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23408         (CHECK_1_NULL_OK): Likewise.
23409         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23410         (__fxstat): Do not use CHECK_1.
23411         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23412         <bp-checks.h>.
23413         (___fxstat64): Do not use CHECK_1.
23414         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23415         <bp-checks.h>.
23416         (__fxstatat): Do not use CHECK_1.
23417         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23418         <bp-checks.h>.
23419         (__fxstatat64): Do not use CHECK_1.
23420         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23421         <bp-checks.h>.
23422         (__fxstat): Do not use CHECK_1.
23423         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23424         <bp-checks.h>.
23425         (__fxstatat): Do not use CHECK_1.
23426         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23427         <bp-checks.h>.
23428         (__getresgid): Do not use CHECK_1.
23429         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23430         <bp-checks.h>.
23431         (__getresuid): Do not use CHECK_1.
23432         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23433         <bp-checks.h>.
23434         (__lxstat): Do not use CHECK_1.
23435         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23436         <bp-checks.h>.
23437         (__old_msgctl): Do not use CHECK_1.
23438         (__new_msgctl): Likewise.
23439         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23440         <bp-checks.h>.
23441         (__new_setrlimit): Do not use CHECK_1.
23442         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23443         <bp-checks.h>.
23444         (__old_shmctl): Do not use CHECK_1.
23445         (__new_shmctl): Likewise.
23446         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23447         <bp-checks.h>.
23448         (__xstat): Do not use CHECK_1.
23449         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23450         (__lxstat): Do not use CHECK_1.
23451         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23452         <bp-checks.h>.
23453         (___lxstat64): Do not use CHECK_1.
23454         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23455         (__old_msgctl): Do not use CHECK_1.
23456         (__new_msgctl): Likewise.
23457         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23458         <bp-checks.h>.
23459         (__gettimeofday): Do not use CHECK_1.
23460         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23461         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23462         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23463         <bp-checks.h>.
23464         (__gettimeofday): Do not use CHECK_1.
23465         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23466         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23467         (__new_shmctl): Do not use CHECK_1.
23468         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23469         <bp-checks.h>.
23470         (do_sigtimedwait): Do not use CHECK_1.
23471         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23472         <bp-checks.h>.
23473         (do_sigwaitinfo): Do not use CHECK_1.
23474         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23475         <bp-checks.h>.
23476         (msgctl): Do not use CHECK_1.
23477         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23478         <bp-checks.h>.
23479         (shmctl): Do not use CHECK_1.
23480         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23481         (ustat): Do not use CHECK_1.
23482         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23483         <bp-checks.h>.
23484         (__fxstat): Do not use CHECK_1.
23485         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23486         <bp-checks.h>.
23487         (__fxstatat): Do not use CHECK_1.
23488         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23489         <bp-checks.h>.
23490         (__lxstat): Do not use CHECK_1.
23491         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23492         <bp-checks.h>.
23493         (__xstat): Do not use CHECK_1.
23494         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23495         (__xstat): Do not use CHECK_1.
23496         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23497         (___xstat64): Do not use CHECK_1.
23499         [BZ #13550]
23500         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23501         definitions.
23502         (CHECK_BOUNDS_HIGH): Likewise.
23503         * string/strcpy.c: Do not include <bp-checks.h>.
23504         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23506 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23508         * nscd/nscd-client.h (__nscd_drop_map_ref):
23509         Add __attribute__ ((unused)).
23510         * nis/nss-nisplus.h (niserr2nss): Likewise.
23512         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23513         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23515         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23516         Remove inline keyword.
23517         * include/rounding-mode.h (round_away): Likewise.
23518         * libio/wfileops.c (adjust_wide_data): Likewise.
23519         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23520         (__m128i_strloadu_tolower): Likewise.
23521         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23522         (__m128i_strloadu_tolower): Likewise.
23523         * time/mktime.c (ydhms_diff): Likewise.
23524         * locale/elem-hash.h (elem_hash): Likewise.
23525         * locale/setlocale.c (setdata): Likewise.
23526         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23527         (re_string_wchar_at): Likewise.
23528         (bitset_not, bitset_merge, bitset_mask): Likewise.
23529         [!(__GNUC__ > 3)] (inline): Remove macro.
23530         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23531         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23532         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23533         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23534         * string/memcmp.c (memcmp_bytes): Likewise.
23535         * locale/programs/locarchive.c (compute_hashval): Likewise.
23536         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23537         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23538         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23539         * nss/getent.c (print_rpc, print_protocols): Likewise.
23540         (print_passwd, print_group, print_aliases): Likewise.
23541         * nis/nss-nisplus.h (niserr2nss): Likewise.
23542         * nscd/connections.c (restart_p): Likewise.
23543         Change return type to bool.
23545 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23547         * Makeconfig (all-Depend-files): Add existing
23548         $(sorted-subdirs:=/Depend) files.
23549         (all-subdirs): Remove nss.
23550         * sysdeps/unix/inet/Subdirs: Add it here instead.
23551         * hesiod/Depend: New file.
23553         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23554         instead of calling alloca.
23556         * io/lseek.c (__lseek): Rename to __libc_lseek.
23557         Define __lseek as an alias.
23559         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23561 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23563         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23564         else clause and remove check for non-standard endianness.
23566 2013-02-04  David S. Miller  <davem@davemloft.net>
23568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23570 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23572         [BZ #13550]
23573         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23574         (__ubp_memchr): Remove prototype.
23575         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23576         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23577         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23578         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23579         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23580         Remove alias.
23581         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23582         (__ubp_memchr): Likewise.
23583         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23584         (__ubp_memchr): Likewise.
23585         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23586         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23587         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23588         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23589         CHECK_STRING.
23590         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23591         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23592         (__getcwd): Do not use CHECK_STRING.
23593         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23594         <bp-checks.h>.
23595         (__real_chown): Do not use CHECK_STRING.
23596         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23597         <bp-checks.h>.
23598         (fchownat): Do not use CHECK_STRING.
23599         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23600         CHECK_STRING.
23601         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23602         <bp-checks.h>.
23603         (__lchown): Do not use CHECK_STRING.
23604         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23605         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23606         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23607         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23609         include <bp-checks.h>.
23610         (truncate64): Do not use CHECK_STRING.
23611         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23612         <bp-checks.h>.
23613         (__real_chown): Do not use CHECK_STRING.
23614         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23615         <bp-checks.h>.
23616         (__lchown): Do not use CHECK_STRING.
23617         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23618         <bp-checks.h>.
23619         (__chown): Do not use CHECK_STRING.
23620         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23621         <bp-checks.h>.
23622         (truncate64): Do not use CHECK_STRING.
23623         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23624         Likewise.
23625         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23626         (__xmknod): Do not use CHECK_STRING.
23627         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23628         <bp-checks.h>.
23629         (__xmknodat): Do not use CHECK_STRING.
23630         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23631         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23633 2013-02-04  Andreas Schwab  <schwab@suse.de>
23635         [BZ #14142]
23636         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23637         * include/netdb.h: Likewise for h_errno.
23638         * elf/tst-stackguard1.c: Include <tls.h>.
23640 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23642         * elf/link.h (struct link_map): Extend the l_addr comment.
23643         * include/link.h (struct link_map): Likewise.
23645 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23647         [BZ #13550]
23648         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23649         (BOUNDED_1): Remove macro.
23650         * debug/backtrace.c: Don't include <bp-checks.h>.
23651         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23652         (__backtrace): Likewise.
23653         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23654         <bp-checks.h>.
23655         (__backtrace): Don't use BOUNDED_1.
23656         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23657         <bp-checks.h>.
23658         (__backtrace): Don't use BOUNDED_1.
23659         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23660         (__backtrace): Don't use BOUNDED_1.
23661         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23662         (shmat): Don't use BOUNDED_N.
23664 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23666         [BZ #13550]
23667         * sysdeps/generic/bp-start.h: Remove file.
23668         * csu/libc-start.c: Don't include <bp-start.h>.
23669         (LIBC_START_MAIN): Set up __environ directly instead of using
23670         INIT_ARGV_and_ENVIRON.
23671         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23672         <bp-start.h>.
23674         [BZ #13550]
23675         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23676         definitions.
23677         (CHECK_FCNTL): Likewise.
23678         (CHECK_N_PAGES): Likewise.
23680         [BZ #13550]
23681         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23682         definitions.
23683         (CHECK_SIGSET_NULL_OK): Likewise.
23684         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23685         <bp-checks.h>.
23686         (sigpending): Don't use CHECK_SIGSET.
23687         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23688         <bp-checks.h>.
23689         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23690         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23691         <bp-checks.h>.
23692         (do_sigsuspend): Don't use CHECK_SIGSET.
23693         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23694         use CHECK_SIGSET.
23695         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23696         (do_sigwait): Don't use CHECK_SIGSET.
23697         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23698         use CHECK_SIGSET.
23699         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23700         include <bp-checks.h>.
23701         (sigpending): Don't use CHECK_SIGSET.
23702         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23703         include <bp-checks.h>.
23704         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23705         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23706         <bp-checks.h>.
23707         (sigpending): Don't use CHECK_SIGSET.
23708         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23709         <bp-checks.h>.
23710         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23712         [BZ #13550]
23713         * sysdeps/generic/bp-semctl.h: Remove file.
23714         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23715         <bp-checks.h> and <bp-semctl.h>.
23716         (__old_semctl): Don't use CHECK_SEMCTL.
23717         (__new_semctl): Likewise.
23718         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23719         and <bp-semctl.h>.
23720         (__old_semctl): Don't use CHECK_SEMCTL.
23721         (__new_semctl): Likewise.
23722         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23723         <bp-checks.h> and <bp-semctl.h>.
23724         (__old_semctl): Don't use CHECK_SEMCTL.
23725         (__new_semctl): Likewise.
23726         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23727         <bp-checks.h> and <bp-semctl.h>.
23728         (semctl): Don't use CHECK_SEMCTL.
23730         [BZ #13550]
23731         * Makerules (elide-bp-thunks): Remove variable.
23732         (elide-routines.oS): Don't use $(elide-bp-thunks).
23733         (elide-routines.os): Likewise.
23734         (elide-routines.o): Likewise.
23735         (elide-routines.op): Likewise.
23736         (elide-routines.og): Likewise.
23737         (objects): Don't use $(bp-thunks).
23738         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23739         include.
23740         (common-generated): Do not add s-proto-bp.d.
23741         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23742         (int): Likewise.
23743         (typ): Likewise.
23744         Do not generate makefile rules for bounded-pointer thunks.
23745         * sysdeps/generic/bp-thunks.h: Remove file.
23746         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23747         * sysdeps/unix/s-proto-bp.S: Likewise.
23749         [BZ #15062]
23750         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23751         parts of result separately when argument is not close to line from
23752         -i to i and one part of argument is small.
23753         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23754         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23755         * math/libm-test.inc (cacos_test): Add more tests.
23756         (casin_test): Likewise.
23757         (casinh_test): Likewise.
23758         * sysdeps/i386/fpu/libm-test-ulps: Update.
23759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23761 2013-01-31  David S. Miller  <davem@davemloft.net>
23763         * po/de.po: Update from translation team.
23765 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23767         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23769 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23771         * configure.in (_AC_PROG_CC_C89): New definition.
23772         * configure: Regenerate.
23774         * configure.in (AC_PROG_CPP): New definition.
23775         * configure: Regenerate.
23777 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23779         * debug/tst-backtrace.h: New file.
23780         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23781         (ret): Remove variable.
23782         (x): Likewise.
23783         (FAIL): Remove macro.
23784         (NO_INLINE): Likewise.
23785         (fn1): Use match function instead of strstr.
23786         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23787         (ret): Remove variable.
23788         (x): Likewise.
23789         (FAIL): Remove macro.
23790         (NO_INLINE): Likewise.
23791         (fn): Use match function instead of strstr.
23792         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23793         (ret): Remove variable.
23794         (x): Likewise.
23795         (FAIL): Remove macro.
23796         (NO_INLINE): Likewise.
23797         (handle_signal): Use match function instead of strstr.
23798         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23799         (ret): Remove variable.
23800         (x): Likewise.
23801         (FAIL): Remove macro.
23802         (NO_INLINE): Likewise.
23803         (handle_signal): Use match function instead of strstr.
23805 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23807         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23809 2013-01-23  David S. Miller  <davem@davemloft.net>
23811         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23812         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23813         argument of CAS if possible.
23814         * sysdeps/sparc/sparc64/bits/atomic.h
23815         (__arch_compare_and_exchange_val_32_acq): Likewise.
23816         (__arch_compare_and_exchange_val_64_acq): Likewise.
23818 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23820         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23821         * sysdeps/posix/ulimit.c: ... this.
23822         Include <limits.h>.
23823         * sysdeps/unix/bsd/ulimit.c: Remove file.
23825 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23827         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23828         (LDFLAGS-tst-array5): Likewise.
23830 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23832         [BZ #15036]
23833         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23834         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23835         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23836         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23838 2013-01-21  David S. Miller  <davem@davemloft.net>
23840         * sysdeps/sparc/backtrace.c: New file.
23841         * sysdeps/sparc/sparc32/backtrace.h: New file.
23842         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23843         * sysdeps/sparc/sparc64/backtrace.h: New file.
23844         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23845         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23846         -funwind-tables.
23848 2013-01-21  Andreas Schwab  <schwab@suse.de>
23850         [BZ #15020]
23851         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23852         closed its stdout.
23854 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23857         "mpa2.h".
23858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23860 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23861             Mark Mitchell  <mark@codesourcery.com>
23862             Tom de Vries  <tom@codesourcery.com>
23863             Paul Pluzhnikov  <ppluzhnikov@google.com>
23865         * debug/tst-backtrace2.c: New file.
23866         * debug/tst-backtrace3.c: Likewise.
23867         * debug/tst-backtrace4.c: Likewise.
23868         * debug/tst-backtrace5.c: Likewise.
23869         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23870         (CFLAGS-tst-backtrace3.c): Likewise.
23871         (CFLAGS-tst-backtrace4.c): Likewise.
23872         (CFLAGS-tst-backtrace5.c): Likewise.
23873         (LDFLAGS-tst-backtrace2): Likewise.
23874         (LDFLAGS-tst-backtrace3): Likewise.
23875         (LDFLAGS-tst-backtrace4): Likewise.
23876         (LDFLAGS-tst-backtrace5): Likewise.
23877         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23878         tst-backtrace4 and tst-backtrace5.
23880 2013-01-18  Anton Blanchard  <anton@samba.org>
23881             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23883         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23884         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23885         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23886         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23888         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23889         "+r" and remove output regs list as redundant.  Add explicit inline
23890         asm to specify register of return val to work around compiler codegen
23891         bug.  Remove (int) cast on return value.  Add return type parameter to
23892         use in macro so that this macro does not truncate return value for
23893         64-bit values.
23894         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23895         pass to INTERNAL_VSYSCALL_NCS.
23896         (INLINE_VSYSCALL): Add 'long int' as return type to
23897         INTERNAL_VSYSCALL_NCS macro invocation.
23898         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23899         INTERNAL_VSYSCALL_NCS macro invocation.
23900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23902 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23904         [BZ #14496]
23905         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23906         Fix application of SIMD FP exception mask.
23908         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23909         mp_no from a power of two.
23910         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23911         __mpexp_twomm1.  Use __pow_mp.
23913         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23914         multiplication.
23916 2013-01-17  David S. Miller  <davem@davemloft.net>
23918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23920 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23922         [BZ #15023]
23923         * include/complex.h: Condition contents on [!_COMPLEX_H].
23924         (__kernel_casinhf): New prototype.
23925         (__kernel_casinh): Likewise.
23926         (__kernel_casinhl): Likewise.
23927         * math/Makefile (libm_calls): Add k_casinh.
23928         * math/k_casinh.c: New file.
23929         * math/k_casinhf.c: Likewise.
23930         * math/k_casinhl.c: Likewise.
23931         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23932         finite nonzero arguments.
23933         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23934         finite nonzero arguments.
23935         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23936         finite nonzero arguments.
23937         * math/s_casinh.c: Do not include <float.h>.
23938         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23939         * math/s_casinhf.c: Do not include <float.h>.
23940         (__casinhf): Move code for finite nonzero arguments to
23941         k_casinhf.c.
23942         * math/s_casinhl.c: Do not include <float.h>.
23943         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23944         redefine.
23945         (__casinhl): Move code for finite nonzero arguments to
23946         k_casinhl.c.
23947         * math/libm-test.inc (cacos_test): Add more tests.
23948         * sysdeps/i386/fpu/libm-test-ulps: Update.
23949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23951 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23953         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23954         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23955         [!HAVE_MREMAP]: Remove [defined linux] case.
23956         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23958 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23960         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23962 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23964         * elf/elf.h (R_386_SIZE32): New relocation.
23965         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23966         R_386_SIZE32.
23967         (elf_machine_rela): Likewise.
23968         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23969         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23971 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23973         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23974         (FP_FAST_FMA): Do not define.
23975         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23976         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23977         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23978         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23979         !_SOFT_FLOAT]: Likewise.
23980         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23981         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23982         value.
23983         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23984         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23985         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23986         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23987         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23988         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23989         file.
23991 2013-01-16  Andreas Schwab  <schwab@suse.de>
23993         [BZ #14327]
23994         * include/stdlib.h (__mktemp): Add declaration.
23995         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23996         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23998 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24000         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24001         definitions.
24002         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24003         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24004         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24005         definitions here.
24006         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24007         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24008         definitions.
24009         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24010         and ONE.
24011         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24012         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24013         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24014         definitions.
24015         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24016         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24017         definitions.
24018         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24020         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24022 2013-01-15  David S. Miller  <davem@davemloft.net>
24024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24025         trunc{,f} to libm-sysdep_routes.
24026         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24028         file.
24029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24031         file.
24032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24033         file.
24034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24036         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24037         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24038         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24039         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24040         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24041         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24044         nearbyint{,f} to libm-sysdep_routes.
24045         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24047         New file.
24048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24049         file.
24050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24051         New file.
24052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24053         file.
24054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24056         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24057         file.
24058         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24059         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24060         file.
24061         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24062         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24063         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24065         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24066         libc_feholdexcept and libc_fesetenv.
24068 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24070         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24072 2013-01-14  David S. Miller  <davem@davemloft.net>
24074         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24075         (SPARC_ASM_VIS2_IFUNC): Likewise.
24076         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24078         use of 'siam' instruction.
24079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24080         Likewise.
24081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24082         Likewise.
24083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24084         Likewise.
24085         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24086         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24087         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24088         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24090         file.
24091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24092         file.
24093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24094         file.
24095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24096         file.
24097         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24098         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24099         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24100         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24102         new VIS2 routines.
24103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24106         Likewise.
24107         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24108         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24109         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24110         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24112         routines to libm-sysdep_routines.
24113         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24116         fdim/fdimf to libm-sysdep_routines.
24117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24118         file.
24119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24121         file.
24122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24125         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24126         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24127         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24128         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24130 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24132         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24133         to optimize copies.
24135         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24136         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24137         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24140         local variable MPTWO.
24141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24142         Likewise.
24144 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24146         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24147         GLOB_NOESCAPE.
24149 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24151         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24153 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24155         * manual/pattern.texi (glob_t): Document gl_flags.
24156         (glob64_t): Likewise.
24158 2013-01-11  David S. Miller  <davem@davemloft.net>
24160         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24161         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24162         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24163         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24164         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24165         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24166         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24167         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24168         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24169         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24170         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24171         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24172         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24174         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24175         sparc V9 rather than using V8 code.
24176         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24177         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24179         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24180         Move to...
24181         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24182         Here.
24184 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24186         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24187         not in the main loop.
24188         * configure: Regenerated.
24190 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24192         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24193         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24194         to just #else.
24195         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24196         [!__GLIBC_HAVE_LONG_LONG] case.
24197         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24198         condition to just #else.
24199         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24200         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24201         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24202         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24203         unconditional.
24204         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24205         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24206         #elif condition to just #else.
24207         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24208         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24209         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24210         #elif condition to just #else.
24212 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24214         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24215         (EF_MIPS_ARCH_64): Fix value.
24216         (EF_MIPS_ARCH_32R2): New.
24217         (EF_MIPS_ARCH_64R2): New.
24219 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24221         * Makeconfig (+link-pie-before-libc): New.
24222         (+link-pie-after-libc): Likewise.
24223         (+link-pie-tests): Likewise.
24224         (+link-pie): Rewritten.
24225         (link-before-libc): Remove $(config-LDFLAGS).
24226         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24227         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24228         (config-LDFLAGS): Renamed to ...
24229         (rtld-LDFLAGS): This.
24230         (rtld-tests-LDFLAGS): New macro.
24231         (link-libc-rpath-link): Likewise.
24232         (link-libc-tests-rpath-link): Likewise.
24233         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24234         (link-libc): Prepand $(link-libc-rpath-link).
24235         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24236         (test-program-prefix): New macro.
24237         (test-via-rtld-prefix): Likewise.
24238         (test-program-cmd): Likewise.
24239         (host-test-program-cmd): Likewise.
24240         * Makefile ($(common-objpfx)testrun.sh): Replace
24241         $(run-program-prefix) with $(test-program-prefix).
24242         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24243         $(rtld-LDFLAGS).
24244         ($(common-objpfx)shlib.lds): Likewise.
24245         (build-module-helper): Likewise.
24246         ($(common-objpfx)format.lds): Likewise.
24247         * Rules (binaries-pie-tests): New.
24248         (binaries-pie-notests): Likewise.
24249         (binaries-pie): Rewritten.
24250         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24251         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24252         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24253         (make-test-out): Replace $(host-built-program-cmd) with
24254         $(host-test-program-cmd).
24255         * config.make.in (build-hardcoded-path-in-tests): New variable.
24256         * configure.in (--enable-hardcoded-path-in-tests): New configure
24257         option.
24258         (hardcoded_path_in_tests): New AC_SUBST.
24259         * configure: Regenerated.
24260         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24261         $(built-program-cmd) with $(test-program-cmd).
24262         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24263         (test_program_cmd): This.
24264         * elf/Makefile ($(objpfx)order.out): Run test with
24265         $(test-program-prefix).
24266         ($(objpfx)order2.out): Likewise.
24267         ($(objpfx)tst-initorder.out): Likewise.
24268         ($(objpfx)tst-initorder2.out): Likewise.
24269         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24270         $(test-program-cmd).
24271         ($(objpfx)tst-array1-static.out): Likewise.
24272         ($(objpfx)tst-array2.out): Likewise.
24273         ($(objpfx)tst-array3.out): Likewise.
24274         ($(objpfx)tst-array4.out): Likewise.
24275         ($(objpfx)tst-array5.out): Likewise.
24276         ($(objpfx)tst-array5-static.out): Likewise.
24277         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24278         $(test-program-cmd).
24279         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24280         $(run-program-prefix) with $(test-program-prefix).
24281         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24282         (test_program_prefix): This.
24283         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24284         $(run-program-prefix) with $(test-program-prefix).
24285         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24286         (test_program_prefix): This.
24287         * iconvdata/tst-tables.sh: Likewise.
24288         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24289         $(run-program-prefix) with $(test-program-prefix).
24290         ($(objpfx)tst-translit.out): Likewise.
24291         ($(objpfx)tst-gettext2.out): Likewise.
24292         ($(objpfx)tst-gettext4.out): Likewise.
24293         ($(objpfx)tst-gettext6.out): Likewise.
24294         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24295         (test_program_prefix): This.
24296         * intl/tst-gettext2.sh: Likewise.
24297         * intl/tst-gettext4.sh  Likewise.
24298         * intl/tst-gettext6.sh: Likewise.
24299         * intl/tst-translit.sh: Likewise.
24300         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24301         with $(test-program-cmd).
24302         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24303         $(run-program-prefix) with $(test-program-prefix).
24304         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24305         (test_program_prefix): This.
24306         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24307         $(run-program-prefix) with $(test-program-prefix).
24308         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24309         (test_program_prefix): This.
24310         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24311         * posix/Makefile ($(objpfx)globtest.out): Replace
24312         $(run-via-rtld-prefix) and $(test-wrapper) with
24313         $(test-program-prefix) and $(test-via-rtld-prefix).
24314         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24315         $(test-program-prefix).
24316         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24317         $(host-test-program-cmd).
24318         (tst-spawn-ARGS): Likewise.
24319         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24320         $(test-program-prefix).
24321         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24322         (test_via_rtld_prefix): This.
24323         (test_wrapper): Renamed to ...
24324         (test_program_prefix): This.
24325         (run_program_prefix): Replaced by test_program_prefix.
24326         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24327         (test_program_prefix): This.
24328         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24329         with $(host-test-program-cmd).
24330         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24331         $(run-program-prefix) with $(test-program-prefix).
24332         ($(objpfx)tst-printf.out): Likewise.
24333         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24334         $(test-program-cmd).
24335         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24336         (test_program_prefix): This.
24337         * stdio-common/tst-unbputc.sh: Likewise.
24338         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24339         $(run-program-prefix) with $(test-program-prefix).
24340         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24341         (test_program_prefix): This.
24342         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24343         $(built-program-cmd) with $(test-program-cmd).
24345 2013-01-11  Andreas Jaeger  <aj@suse.de>
24347         [BZ #15003]
24348         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24349         value. Sync with Linux 3.7.
24351 2013-01-10  David S. Miller  <davem@davemloft.net>
24353         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24354         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24355         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24357 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24359         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24360         never set.
24361         * configure: Regenerated.
24363 2013-01-10  David S. Miller  <davem@davemloft.net>
24365         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24366         sparc V9 rather than using V8 code.
24367         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24368         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24370 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24372         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24373         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24374         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24375         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24376         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24377         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24378         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24379         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24380         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24381         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24382         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24383         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24384         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24385         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24386         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24387         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24388         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24389         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24390         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24391         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24392         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24393         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24394         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24395         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24396         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24397         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24398         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24400 2013-01-10  David S. Miller  <davem@davemloft.net>
24402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24404 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24406         * posix/Makefile (tests-static): New variable.
24407         (tests): Add $(tests-static).
24408         (tst-exec-static-ARGS): New variable.
24409         (tst-spawn-static-ARGS): Likewise.
24410         * posix/tst-exec-static.c: New file.
24411         * posix/tst-spawn-static.c: Likewise.
24412         * posix/tst-exec.c: Support run directly.
24413         * posix/tst-spawn.c: Likewise.
24415 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24417         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24418         long.
24419         * math/bits/mathcalls.h (llrint): Likewise.
24420         (llround): Likewise.
24421         * stdlib/stdlib.h (struct drand48_data): Likewise.
24422         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24423         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24424         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24425         Likewise.
24426         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24427         Likewise.
24428         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24429         (elf_greg_t): Likewise.
24430         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24431         (__jmp_buf): Likewise.
24432         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24433         definitions.
24434         (llrint): Likewise, for all definitions.
24435         (llrintl): Likewise.
24437         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24438         Remove [__GNUC__] condition.
24439         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24440         condition to just [__USE_ISOC99].
24441         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24443 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24445         [BZ #14200]
24446         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24447         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24448         defined.
24449         (_POSIX_V6_ILP32_OFF32): Likewise.
24450         (_XBS5_ILP32_OFF32): Likewise.
24451         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24452         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24454 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24456         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24458         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24459         doubles __mpexp_twomm1.  Adjust usage.
24460         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24461         Remove.
24463 2013-01-10  Andreas Schwab  <schwab@suse.de>
24465         [BZ #14964]
24466         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24467         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24469 2013-01-09  David S. Miller  <davem@davemloft.net>
24471         [BZ #15003]
24472         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24473         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24474         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24475         (TCP_FASTOPEN): Define.
24476         (tcp_repair_opt): New structure.
24477         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24478         enum values.
24479         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24480         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24481         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24482         (tcp_cookie_transactions): New structure.
24484 2013-01-09  Anton Blanchard  <anton@samba.org>
24486         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24487         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24488         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24489         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24491 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24493         * include/features.h (__USE_ANSI): Remove.
24495 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24497         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24499         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24501 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24503         * sysdeps/s390/fpu/libm-test-ulps: Update.
24505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24507         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24508         (__acr): Likewise.
24509         (__cpy): Likewise.
24510         (norm): Likewise.
24511         (denorm): Likewise.
24512         (__mp_dbl): Likewise.
24513         (__dbl_mp): Likewise.
24514         (add_magnitudes): Likewise.
24515         (sub_magnitudes): Likewise.
24516         (__add): Likewise.
24517         (__sub): Likewise.
24518         (__mul): Likewise.
24519         (__inv): Likewise.
24520         (__dvd): Likewise.
24521         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24522         (__acr): Likewise.
24523         (__cpy): Likewise.
24524         (norm): Likewise.
24525         (denorm): Likewise.
24526         (__mp_dbl): Likewise.
24527         (__dbl_mp): Likewise.
24528         (add_magnitudes): Likewise.
24529         (sub_magnitudes): Likewise.
24530         (__add): Likewise.
24531         (__sub): Likewise.
24532         (__mul): Likewise.
24533         (__inv): Likewise.
24534         (__dvd): Likewise.
24535         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24536         (__acr): Likewise.
24537         (__cpy): Likewise.
24538         (norm): Likewise.
24539         (denorm): Likewise.
24540         (__mp_dbl): Likewise.
24541         (__dbl_mp): Likewise.
24542         (add_magnitudes): Likewise.
24543         (sub_magnitudes): Likewise.
24544         (__add): Likewise.
24545         (__sub): Likewise.
24546         (__mul): Likewise.
24547         (__inv): Likewise.
24548         (__dvd): Likewise.
24550 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24552         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24553         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24554         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24555         2 && __USE_EXTERN_INLINES]: Likewise.
24557 2013-01-08  Andreas Jaeger  <aj@suse.de>
24559         [BZ# 14985]
24560         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24561         Remove.
24562         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24563         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24565 2013-01-07  Anton Blanchard  <anton@samba.org>
24567         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24568         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24569         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24570         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24571         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24572         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24573         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24574         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24576         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24577         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24578         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24579         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24580         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24581         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24582         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24583         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24584         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24585         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24586         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24587         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24588         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24589         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24590         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24591         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24592         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24593         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24594         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24595         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24596         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24597         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24598         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24599         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24600         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24601         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24602         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24603         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24604         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24605         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24606         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24607         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24608         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24609         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24611 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24613         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24614         (__MALLOC_PMT): Likewise.
24615         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24616         [__GNUC__], only on [_LIBC].
24617         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24618         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24619         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24620         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24621         forward declaration.
24622         (realloc_hook_ini): Likewise.
24623         (memalign_hook_ini): Likewise.
24624         (__libc_memalign): Do not use __MALLOC_PMT in variable
24625         declaration.
24626         (__libc_valloc): Likewise.
24627         (__libc_pvalloc): Likewise.
24628         (__libc_calloc): Likewise.
24629         (__posix_memalign): Likewise.
24631         [BZ #14996]
24632         * math/s_casinh.c: Include <float.h>.
24633         (__casinh): Do not do computation with squaring and square root
24634         for large arguments.
24635         * math/s_casinhf.c: Include <float.h>.
24636         (__casinhf): Do not do computation with squaring and square root
24637         for large arguments.
24638         * math/s_casinhl.c: Include <float.h>.
24639         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24640         (__casinhl): Do not do computation with squaring and square root
24641         for large arguments.
24642         * math/libm-test.inc (casin_test): Add more tests.
24643         (casinh_test): Likewise.
24644         * sysdeps/i386/fpu/libm-test-ulps: Update.
24645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24647 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24649         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24650         (__x86_64_raw_data_cache_size): Likewise.
24651         (__x86_64_data_cache_size_half): Likewise.
24652         (__x86_64_raw_data_cache_size_half): Likewise.
24653         (__x86_64_shared_cache_size): Likewise.
24654         (__x86_64_raw_shared_cache_size): Likewise.
24655         (__x86_64_shared_cache_size_half): Likewise.
24656         (__x86_64_raw_shared_cache_size_half): Likewise.
24657         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24658         to ...
24659         (__x86_data_cache_size): This.
24660         (__x86_64_raw_data_cache_size): Renamed to ...
24661         (__x86_raw_data_cache_size): This.
24662         (__x86_64_data_cache_size_half): Renamed to ...
24663         (__x86_data_cache_size_half): This.
24664         (__x86_64_raw_data_cache_size_half): Renamed to ...
24665         (__x86_raw_data_cache_size_half): This.
24666         (__x86_64_shared_cache_size): Renamed to ...
24667         (__x86_shared_cache_size): This.
24668         (__x86_64_raw_shared_cache_size): Renamed to ...
24669         (__x86_raw_shared_cache_size): This.
24670         (__x86_64_shared_cache_size_half): Renamed to ...
24671         (__x86_shared_cache_size_half): This.
24672         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24673         (__x86_raw_shared_cache_size_half): This.
24674         * sysdeps/x86_64/memcpy.S: Updated.
24675         * sysdeps/x86_64/memset.S: Likewise.
24676         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24677         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24678         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24680 2013-01-04  David S. Miller  <davem@davemloft.net>
24682         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24684 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24686         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24687         1 to avoid redefinition warning.
24688         (__USE_GNU): Don't define.
24689         (init_signaling_nan): Protoize.
24691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24693 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24695         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24697         (__cpymn): Likewise.
24698         (norm): Remove commented code.
24699         (denorm): Likewise.
24700         (__mp_dbl): Likewise.
24701         (__inv): Likewise.
24702         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24703         (__cpymn): Likewise.
24704         (norm): Remove commented code.
24705         (denorm): Likewise.
24706         (__mp_dbl): Likewise.
24707         (__inv): Likewise.
24709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24710         mp_no value for 1.0 and 2.0.
24711         (norm): Use RADIXI instead of radixi.d.
24712         (denorm): Likewise.
24713         (__mul): Use 0.0 instead of zero.d.
24714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24715         mp_no value for 1.0 and 2.0.
24716         (norm): Use RADIXI instead of radixi.d.
24717         (denorm): Likewise.
24718         (__mul): Use 0.0 instead of zero.d.
24720 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24722         [BZ #14994]
24723         * math/s_casinh.c (__casinh): Reduce finite argument to first
24724         quadrant then set signs of results at the end.
24725         * math/s_casinhf.c (__casinhf): Likewise.
24726         * math/s_casinhl.c (__casinhl): Likewise.
24727         * math/libm-test.inc (casin_test): Add more tests.
24728         (casinh_test): Likewise.
24729         * sysdeps/i386/fpu/libm-test-ulps: Update.
24730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24732 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24734         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24736         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24738         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24739         declarations.
24740         (denorm): Likewise.
24741         (__mp_dbl): Likewise.
24742         (__inv): Likewise.
24744         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24745         and adjust the header comment.
24747         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24748         variable name from declaration.
24750 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24753         Initialize COMMON_CPUID_INDEX_7 element.
24754         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24755         (CPUID_RTM): Likewise.
24756         (HAS_RTM): Likewise.
24757         (COMMON_CPUID_INDEX_7): New enum.
24759 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24761         [BZ #14981]
24762         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24763         size is zero, record memory as freed.
24765 2013-01-03  Andreas Jaeger  <aj@suse.de>
24767         * po/ia.po: Add new Interlingua translation.
24769 2012-01-03  Allan McRae  <allan@archlinux.org>
24771         * locale/programs/localedef.c: Fix description of '--posix' flag.
24773 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24775         * NEWS: Update dates in second copyright notice.
24776         * README: Update copyright dates in example.
24777         * manual/libc.texinfo: Update copyright dates.
24778         * scripts/test-installation.pl: Update copyright date in --version
24779         output.
24781         * hurd/ctty-input.c: Fix copyright notice formatting.
24782         * hurd/ctty-output.c: Likewise.
24783         * hurd/dtable.c: Likewise.
24784         * hurd/hurd-raise.c: Likewise.
24785         * hurd/hurdprio.c: Likewise.
24786         * hurd/msgportdemux.c: Likewise.
24787         * misc/sys/file.h: Likewise.
24788         * misc/sys/ioctl.h: Likewise.
24789         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24790         * sysdeps/mach/hurd/chdir.c: Likewise.
24791         * sysdeps/mach/hurd/fchdir.c: Likewise.
24792         * sysdeps/mach/hurd/rename.c: Likewise.
24793         * sysdeps/mach/hurd/rmdir.c: Likewise.
24794         * sysdeps/mach/hurd/seekdir.c: Likewise.
24795         * sysdeps/mach/hurd/setsid.c: Likewise.
24796         * sysdeps/posix/wait3.c: Likewise.
24798         * All files with FSF copyright notices: Update copyright dates
24799         using scripts/update-copyrights.
24800         * intl/plural.c: Regenerated.
24801         * locale/programs/charmap-kw.h: Likewise.
24802         * locale/programs/locfile-kw.h: Likewise.
24804 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24806         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24807         four values.
24809         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24810         calculation loop and add branch prediction.
24812         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24813         check access beyond bounds of m1np.
24815         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24816         MPTWO.
24817         (__inv): Remove local variable MPTWO to use the global
24818         constant.
24819         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24820         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24821         variable MPTWO.
24822         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24823         MP3HALFS static const.
24825 2013-01-01  David S. Miller  <davem@davemloft.net>
24827         * po/ca.po: Update from translation team.
24829 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24831         * scripts/update-copyrights: New file.
24832         * Makeconfig: Reformat copyright notice.
24833         * ctype/ctype.h: Likewise.
24834         * debug/swprintf_chk.c: Likewise.
24835         * elf/dl-cache.c: Likewise.
24836         * elf/dl-debug.c: Likewise.
24837         * elf/dl-object.c: Likewise.
24838         * grp/initgroups.c: Likewise.
24839         * hurd/Makefile: Likewise.
24840         * hurd/hurd/signal.h: Likewise.
24841         * hurd/hurdfault.c: Likewise.
24842         * hurd/hurdioctl.c: Likewise.
24843         * hurd/hurdlookup.c: Likewise.
24844         * hurd/intr-msg.c: Likewise.
24845         * iconv/gconv_open.c: Likewise.
24846         * libio/swprintf.c: Likewise.
24847         * locale/lc-ctype.c: Likewise.
24848         * locale/nl_langinfo.c: Likewise.
24849         * mach/Machrules: Likewise.
24850         * mach/Makefile: Likewise.
24851         * malloc/obstack.h: Likewise.
24852         * manual/Makefile: Likewise.
24853         * manual/tsort.awk: Likewise.
24854         * misc/bits/stab.def: Likewise.
24855         * nis/nis_print_group_entry.c: Likewise.
24856         * nis/nis_table.c: Likewise.
24857         * nis/nss_compat/compat-pwd.c: Likewise.
24858         * nis/nss_compat/compat-spwd.c: Likewise.
24859         * po/Makefile: Likewise.
24860         * posix/fnmatch.c: Likewise.
24861         * posix/regex.h: Likewise.
24862         * resolv/Makefile: Likewise.
24863         * resolv/nss_dns/dns-network.c: Likewise.
24864         * resolv/res_hconf.c: Likewise.
24865         * scripts/gen-sorted.awk: Likewise.
24866         * soft-fp/soft-fp.h: Likewise.
24867         * stdio-common/printf.h: Likewise.
24868         * stdlib/monetary.h: Likewise.
24869         * stdlib/random.c: Likewise.
24870         * stdlib/random_r.c: Likewise.
24871         * sysdeps/generic/Makefile: Likewise.
24872         * sysdeps/gnu/Makefile: Likewise.
24873         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24874         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24875         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24876         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24877         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24878         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24879         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24880         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24881         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24882         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24883         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24884         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24885         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24886         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24887         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24888         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24889         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24890         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24891         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24892         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24893         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24894         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24895         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24896         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24897         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24898         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24899         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24900         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24901         * sysdeps/mach/hurd/errnos.awk: Likewise.
24902         * sysdeps/mach/hurd/fork.c: Likewise.
24903         * sysdeps/mach/hurd/getcwd.c: Likewise.
24904         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24905         * sysdeps/mach/hurd/mmap.c: Likewise.
24906         * sysdeps/mach/hurd/utimes.c: Likewise.
24907         * sysdeps/mach/hurd/xmknod.c: Likewise.
24908         * sysdeps/posix/profil.c: Likewise.
24909         * sysdeps/posix/readdir_r.c: Likewise.
24910         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24911         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24912         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24913         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24915         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24916         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24917         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24918         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24919         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24920         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24921         * sysdeps/pthread/lio_listio.c: Likewise.
24922         * sysdeps/sparc/dl-procinfo.h: Likewise.
24923         * sysdeps/unix/i386/sysdep.S: Likewise.
24924         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24925         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24926         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24927         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24929         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24930         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24931         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24932         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24933         * sysdeps/wordsize-32/divdi3.c: Likewise.
24934         * time/sys/time.h: Likewise.
24935         * wcsmbs/Makefile: Likewise.
24937 2013-01-01  David S. Miller  <davem@davemloft.net>
24939         * po/fr.po: Update from translation team.
24941         * catgets/gencat.c: Update copyright year.
24942         * csu/version.c: Likewise.
24943         * debug/catchsegv.sh: Likewise.
24944         * debug/pcprofiledump.c: Likewise.
24945         * debug/xtrace.sh: Likewise.
24946         * elf/ldconfig.c: Likewise.
24947         * elf/ldd.bash.in: Likewise.
24948         * elf/pldd.c: Likewise.
24949         * elf/sotruss.ksh: Likewise.
24950         * elf/sprof.c: Likewise.
24951         * iconv/iconv_prog.c: Likewise.
24952         * iconv/iconvconfig.c: Likewise.
24953         * locale/programs/locale.c: Likewise.
24954         * locale/programs/localedef.c: Likewise.
24955         * login/programs/pt_chown.c: Likewise.
24956         * malloc/memusage.sh: Likewise.
24957         * malloc/memusagestat.c: Likewise.
24958         * malloc/mtrace.pl: Likewise.
24959         * nscd/nscd.c: Likewise.
24960         * nss/getent.c: Likewise.
24961         * nss/makedb.c: Likewise.
24962         * posix/getconf.c: Likewise.
24964 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24966         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24967         numbers.
24969 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24971         * math/bits/mathcalls.h (modf): Use __nonnull.
24973 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24975         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24976         (split): Use macro CN instead of the bare value.
24977         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24978         could be used.
24979         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24980         instead of the bare value.
24981         (power1): Likewise.
24983 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24985         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24986         __ATAN_TWOM.
24987         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24989         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24990         their values.
24991         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24992         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24993         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24994         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24996 2012-12-28  Andreas Jaeger  <aj@suse.de>
24998         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24999         values are from Linux 3.7.
25001         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25002         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25004 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25006         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25007         TRUE case.
25009         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25010         (norm): Likewise.
25011         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25012         variables with preprocessor constants.
25013         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25014         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25015         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25017 2012-12-27  Bruno Haible  <bruno@clisp.org>
25019         [BZ #14317]
25020         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25021         only if needed.
25023 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25025         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25026         and use variable directly.
25027         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25029         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25030         MPONE.
25031         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25032         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25033         variable MPONE.
25034         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25035         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25036         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25037         include directive.  Remove local variable MPONE.
25038         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25039         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25040         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25042 2012-12-25  David S. Miller  <davem@davemloft.net>
25044         * version.h (RELEASE): Set to "development".
25045         (VERSION): Set to "2.17.90".
25046         * NEWS: Add 2.18 section.
25048 2012-12-21  David S. Miller  <davem@davemloft.net>
25050         * po/hr.po: Update from translation team.
25052 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25054         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25056 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25058         * NEWS:  Mention new memcpy for MIPS.
25060 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25062         * manual/contrib.texi (Contributors): Spelling correction.
25064 2012-12-15  David S. Miller  <davem@davemloft.net>
25066         * po/ru.po: Update from translation team.
25068 2012-12-13  David S. Miller  <davem@davemloft.net>
25070         * NEWS: Mention IFUNC testsuite enhancements.
25072         * po/pl.po: Update from translation team.
25073         * po/bg.po: Likewise.
25075         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25076         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25078 2012-12-11  David S. Miller  <davem@davemloft.net>
25080         * po/sv.po: Update from translation team.
25082         * po/vi.po: Update from translation team.
25084         * po/cs.po: Update from translation team.
25086         * po/de.po: Update from translation team.
25087         * po/eo.po: Likewise.
25088         * po/nl.po: Likewise.
25090 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25092         [BZ #14246]
25093         * manual/argp.texi (Argp Helper Functions): Move node to follow
25094         Argp Parsing State.
25096         [BZ #14872]
25097         * manual/conf.texi (Limits on File System Capacity): Mention if
25098         terminating null is included in the max size.
25100 2012-12-10  Andreas Jaeger  <aj@suse.de>
25102         * po/cs.po: Update from translation team.
25104 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25106         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25107         void pointer and cast to uintptr_t.
25108         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25109         path.
25110         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25111         * sysdeps/s390/s390-64/memset.S: Likewise.
25113 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25115         [BZ #14833]
25116         * menual/message.texi (Message Translation): Fix typos.
25117         (Helper programs for gettext): Likewise.
25119 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25121         [BZ #14898]
25122         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25123         Change to -1.
25125 2012-12-07  David S. Miller  <davem@davemloft.net>
25127         * po/libc.pot: Update.
25129 2012-12-07  Richard Henderson  <rth@redhat.com>
25131         [BZ #10114]
25132         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25133         normal/normal case to before the switch.
25134         (_FP_DIV): Likewise.
25136 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25137             Mike Frysinger  <vapier@gentoo.org>
25139         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25140         check for __NR_fadvise64_64.
25142 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25144         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25145         0, not just to plain "0" as a statement.
25146         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25147         with cw.
25149 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25151         * NEWS: Use sourceware.org in Bugzilla URL.
25153 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25156         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25158         * stdio-common/tst-put-error.c (do_test): Add newline to the
25159         padded test to ensure flush.
25161 2012-12-05  Jeff Law  <law@redhat.com>
25163         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25165 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25167         * README: Don't refer to ports add-on as distributed separately.
25168         Mention AArch64 in list of systems supported in the ports add-on.
25170         * LICENSES: Add more non-FSF copyright and license notices.
25172         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25173         ((unused)).
25175         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25177         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25178         10000 as width of padded output.
25180 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25182         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25184         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25185         variable LX with __attribute__ ((unused)).
25186         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25187         Likewise.
25188         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25189         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25190         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25191         with __attribute__ ((unused)).
25193 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25195         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25197 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25199         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25200         (CFLAGS-nldbl-acos.c): New variable.
25201         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25202         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25203         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25204         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25205         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25206         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25207         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25208         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25209         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25210         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25211         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25212         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25213         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25214         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25215         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25216         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25217         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25218         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25219         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25220         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25221         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25222         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25223         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25224         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25225         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25226         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25227         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25228         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25229         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25230         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25231         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25232         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25233         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25234         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25235         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25236         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25237         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25238         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25239         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25240         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25241         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25242         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25243         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25244         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25245         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25246         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25247         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25248         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25249         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25250         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25251         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25252         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25253         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25254         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25255         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25256         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25257         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25258         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25259         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25260         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25261         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25262         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25263         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25264         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25265         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25266         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25267         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25268         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25269         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25270         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25271         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25272         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25273         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25274         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25275         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25276         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25277         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25278         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25279         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25280         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25281         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25282         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25283         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25284         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25285         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25286         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25287         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25288         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25289         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25290         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25291         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25292         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25293         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25294         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25295         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25296         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25297         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25300         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25302         [BZ #14914]
25303         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25304         whole low double instead of just low 47 bits when splitting values
25305         into two parts.
25307 2012-12-03  Allan McRae  <allan@archlinux.org>
25309         * manual/stdio.texi (Predefined Printf Handlers): Remove
25310         @hsep and @vsep usage.
25312 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25314         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25315         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25317 2012-12-03  Jeff Law  <law@redhat.com>
25319         * time/sys/time.h (settimeofday): Do not mark TV argument
25320         as __nonnull.
25322 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25324         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25325         when currently writing and seek to current position when not.
25326         * libio/Makefile (tests): Remove bug-fclose1.
25327         * libio/bug-fclose1.c: Delete.
25329 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25331         * manual/arith.texi (feenableexcept): Fix typo.
25332         (fedisableexcept): Likewise.
25334 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25336         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25337         second, differently-typed declaration, rather than a cast.
25339 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25341         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25342         * include/rpc/svc.h: ... here.
25344 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25346         [BZ #13013]
25347         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25348         depending n and resplen2 to catch cases where answer
25349         equals answerp2.
25351 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25353         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25354         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25356 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25358         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25360 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25362         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25364 2012-11-28  Jeff Law  <law@redhat.com>
25366         [BZ #13761]
25367         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25368         dataset_temporary.  Track alloca usage into alloca_used.
25369         If dataset is large allocate and release it via malloc/free.
25371 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25373         [BZ #14197]
25374         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25376 2012-11-28  David S. Miller  <davem@davemloft.net>
25378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25380 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25382         [BZ #14803]
25383         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25384         of pi/2 rounded to nearest to 64 bits.
25385         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25386         nearest to 64 bits.
25387         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25388         bits.
25390 2012-11-28  Jeff Law <law@redhat.com>
25391             Martin Osvald <mosvald@redhat.com>
25393         [BZ #14889]
25394         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25395         * sunrpc/svc.c: Include time.h.
25396         (__svc_accept_failed): New function.
25397         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25398         any reason other than EINTR, call __svc_accept_failed.
25399         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25400         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25402 2012-11-28  Andreas Schwab  <schwab@suse.de>
25404         * scripts/abilist.awk: Also handle indirect functions in .opd
25405         section.
25407 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25409         [BZ #13881]
25410         * sysdeps/x86/fpu/powl_helper.c: New file.
25411         * sysdeps/x86/fpu/Makefile: Likewise.
25412         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25413         (p3): New object.
25414         (__ieee754_powl): Use __powl_helper for finite arguments except
25415         integer exponents below 8.
25416         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25417         (p3): New object.
25418         (__ieee754_powl): Use __powl_helper for finite arguments except
25419         integer exponents below 8.
25420         * math/libm-test.inc (pow_test): Add more tests and enable some
25421         previously disabled tests.
25422         * sysdeps/i386/fpu/libm-test-ulps: Update.
25423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25425 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25426             Carlos O'Donell  <carlos_odonell@mentor.com>
25428         * nss/makedb.c (is_prime): Assert that input is odd and greater
25429         than 4.  Note that fact in a comment too.
25430         (next_prime): Add 4 to input.
25432 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25434         [BZ #11741]
25435         * libio/Makefile (tests): Add test case tst-fwrite-error.
25436         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25437         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25438         * libio/tst-fwrite-error.c: New test case.
25440 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25442         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25443         before casting to void *.
25444         * include/libc-internal.h (__pointer_type): New macro.
25445         (__integer_if_pointer_type_sub): Likewise.
25446         (__integer_if_pointer_type): Likewise.
25447         (cast_to_integer): Likewise.
25448         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25449         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25450         before casting to atomic64_t.
25451         (atomic_exchange_acq): Likewise.
25452         (__arch_exchange_and_add_body): Likewise.
25453         (__arch_add_body): Likewise.
25454         (atomic_add_negative): Likewise.
25455         (atomic_add_zero): Likewise.
25457 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25459         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25460         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25461         (add_fdes): Likewise.
25462         (linear_search_fdes): Likewise.
25463         (binary_search_unencoded_fdes): Likewise.
25465 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25467         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25469 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25471         * configure.in: Autodetect C++ header directories.
25472         * configure: Regenerated.
25474 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25476         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25478 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25482 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25484         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25485         LDBL_MANT_DIG == 106]: Disable some tests.
25486         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25487         Likewise.
25488         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25489         Likewise.
25491         [BZ #14871]
25492         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25493         input for small inputs.  Return +/- pi/2 for large inputs.
25494         * math/libm-test.inc (atan_test): Add more tests.
25496         * sysdeps/generic/unwind-dw2-fde-glibc.c
25497         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25498         __attribute__ ((unused)).
25500         [BZ #14645]
25501         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25502         x * y if x and y are nonzero and z is zero.
25504         [BZ #14811]
25505         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25506         nonzero exponents with absolute value below 0x1p-117 to +/-
25507         0x1p-117.
25509         [BZ #14869]
25510         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25511         up arguments below 2**-450, not just those below 2**-500.
25512         * math/libm-test.inc (hypot_test): Add another test.
25514         [BZ #14868]
25515         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25516         Return a+b for ratio over 2**120, not 2**60.
25517         * math/libm-test.inc (hypot_test): Add another test.
25519         * math/libm-test.inc (clog_test): Use
25520         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25521         (clog10_test): Likewise.
25523         [BZ #6778]
25524         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25526 2012-11-22  Andreas Schwab  <schwab@suse.de>
25528         * sysdeps/i386/fpu/libm-test-ulps: Update.
25530 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25532         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25533         printf output with newline.
25535 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25537         [BZ #14865]
25538         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25539         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25540         -z nodlopen, -z initfirst and -z execstack support.
25541         * configure: Regenerated.
25543         * elf/elf.h (DF_1_NODIRECT): New macro.
25544         (DF_1_IGNMULDEF): Likewise.
25545         (DF_1_NOKSYMS): Likewise.
25546         (DF_1_NOHDR): Likewise.
25547         (DF_1_EDITED): Likewise.
25548         (DF_1_NORELOC): Likewise.
25549         (DF_1_SYMINTPOSE): Likewise.
25550         (DF_1_GLOBAUDIT): Likewise.
25551         (DF_1_SINGLETON): Likewise.
25552         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25553         DT_1_SUPPORTED_MASK bits.
25554         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25556 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25558         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25560 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25562         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25563         macro.
25565         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25566         (sendmmsg): Move declarations...
25567         * socket/sys/socket.h: ... here.
25568         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25569         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25570         include it from...
25571         * socket/recvmmsg.c: ... this new file.
25572         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25573         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25574         definition of __sendmmsg hidden.
25575         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25576         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25577         Move ENOSYS stub into and include it from...
25578         * socket/sendmmsg.c: ... this new file.
25579         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25580         (sysdep_routines): Move recvmmsg and sendmmsg...
25581         * socket/Makefile (routines): ... here.
25582         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25583         (GLIBC_PRIVATE): Add __sendmmsg.
25584         * include/sys/socket.h (__sendmmsg): Add declarations.
25585         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25586         sendmmsg.
25588 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25590         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25591         variable I1 with __attribute__ ((unused)).
25592         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25594 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25596         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25597         DUMMY variables with __attribute__ ((unused)).
25599         * bits/byteswap.h: Include <bits/types.h>.
25600         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25602 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25604         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25605         string_t.  Do not manually set errno.
25606         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25607         length with __strnlen.  Make sure to both set errno and return it on
25608         failure.
25610 2012-11-19  David S. Miller  <davem@davemloft.net>
25612         With help from Joseph Myers.
25613         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25614         very large arguments properly.
25615         * math/libm-test.inc (atan_test): New tests.
25616         (atan2_test): New tests.
25617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25618         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25620 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25622         [BZ #14856]
25623         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25624         Define to 3.
25626         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25627         [POSIX] (EADDRNOTAVAIL): Likewise.
25628         [POSIX] (EAFNOSUPPORT): Likewise.
25629         [POSIX] (EALREADY): Likewise.
25630         [POSIX] (ECONNABORTED): Likewise.
25631         [POSIX] (ECONNREFUSED): Likewise.
25632         [POSIX] (ECONNRESET): Likewise.
25633         [POSIX] (EDESTADDRREQ): Likewise.
25634         [POSIX] (EDQUOT): Likewise.
25635         [POSIX] (EHOSTUNREACH): Likewise.
25636         [POSIX] (EIDRM): Likewise.
25637         [POSIX] (EISCONN): Likewise.
25638         [POSIX] (ELOOP): Likewise.
25639         [POSIX] (EMULTIHOP): Likewise.
25640         [POSIX] (ENETDOWN): Likewise.
25641         [POSIX] (ENETUNREACH): Likewise.
25642         [POSIX] (ENOBUFS): Likewise.
25643         [POSIX] (ENODATA): Likewise.
25644         [POSIX] (ENOLINK): Likewise.
25645         [POSIX] (ENOMSG): Likewise.
25646         [POSIX] (ENOPROTOOPT): Likewise.
25647         [POSIX] (ENOSR): Likewise.
25648         [POSIX] (ENOSTR): Likewise.
25649         [POSIX] (ENOTCONN): Likewise.
25650         [POSIX] (ENOTSOCK): Likewise.
25651         [POSIX] (EOPNOTSUPP): Likewise.
25652         [POSIX] (EOVERFLOW): Likewise.
25653         [POSIX] (EPROTO): Likewise.
25654         [POSIX] (EPROTONOSUPPORT): Likewise.
25655         [POSIX] (EPROTOTYPE): Likewise.
25656         [POSIX] (ESTALE): Likewise.
25657         [POSIX] (ETIME): Likewise.
25658         [POSIX] (ETXTBSY): Likewise.
25659         [POSIX] (EWOULDBLOCK): Likewise.
25660         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25661         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25662         [POSIX] (SEEK_CUR): Likewise.
25663         [POSIX] (SEEK_END): Likewise.
25664         [POSIX || UNIX98] (mode_t): Do not require.
25665         [POSIX] (off_t): Likewise.
25666         [POSIX] (pid_t): Likewise.
25667         [POSIX] (sys/stat.h): Do not allow header.
25668         [POSIX] (unistd.h): Likewise.
25669         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25670         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25671         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25672         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25673         require.
25674         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25675         sigevent): Specify elements.
25676         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25677         entry.
25678         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25679         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25681         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25682         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25683         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25684         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25685         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25686         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25687         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25688         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25689         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25690         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25691         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25692         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25693         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25694         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25695         Likewise.
25696         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25697         Likewise.
25698         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25699         Likewise.
25700         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25701         Likewise.
25702         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25703         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25704         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25705         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25706         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25707         Specify lower bound on value.
25708         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25709         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25710         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25711         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25712         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25713         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25714         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25715         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25716         value.
25717         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25718         as optional.
25719         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25720         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25721         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25722         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25723         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25724         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25725         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25726         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25727         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25728         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25729         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25730         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25731         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25732         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25733         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25734         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25735         entry.
25736         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25737         optional.
25738         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25739         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25740         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25741         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25742         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25743         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25744         Likewise.
25745         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25746         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25747         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25748         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25749         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25750         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25751         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25752         as optional.
25753         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25754         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25755         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25756         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25757         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25758         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25759         specify as optional.
25760         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25761         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25762         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25763         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25764         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25765         [XPG3] (NL_LANGMAX): Likewise.
25766         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25767         [POSIX || XPG3] (NL_NMAX): Likewise.
25768         [POSIX || XPG3] (NL_SETMAX): Likewise.
25769         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25770         [XPG3] (NZERO): Likewise.
25771         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25772         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25773         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25774         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25775         (REG_ERANGE): Expect.
25776         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25777         optional-constant.
25778         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25779         Use (void) in prototype.
25780         [POSIX] (*_t): Allow.
25781         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25782         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25783         (WRDE_BADVAL): Expect.
25785         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25786         expect.
25787         [XPG3 || XPG4] (O_RSYNC): Likewise.
25788         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25789         Likewise.
25790         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25791         [XPG3 || XPG4] (sigqueue): Likewise.
25792         [XPG3 || XPG4] (sigtimedwait): Likewise.
25793         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25794         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25795         [XPG3 || XPG4] (vsnprintf): Likewise.
25796         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25797         Likewise.
25798         [XPG3 || XPG4] (blksize_t): Likewise.
25799         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25800         Likewise.
25801         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25802         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25803         [XPG3 || XPG4] (struct itimerspec): Likewise.
25804         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25805         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25806         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25807         [XPG3 || XPG4] (clockid_t): Likewise.
25808         [XPG3 || XPG4] (timer_t): Likewise.
25809         [XPG3 || XPG4] (clock_getres): Likewise.
25810         [XPG3 || XPG4] (clock_gettime): Likewise.
25811         [XPG3 || XPG4] (clock_settime): Likewise.
25812         [XPG3 || XPG4] (nanosleep): Likewise.
25813         [XPG3 || XPG4] (timer_create): Likewise.
25814         [XPG3 || XPG4] (timer_delete): Likewise.
25815         [XPG3 || XPG4] (timer_gettime): Likewise.
25816         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25817         [XPG3 || XPG4] (timer_settime): Likewise.
25818         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25819         [XPG3 || XPG4] (getlogin_r): Likewise.
25820         [XPG3 || XPG4] (pread): Likewise.
25821         [XPG3 || XPG4] (pthread_atfork): Likewise.
25822         [XPG3 || XPG4] (pwrite): Likewise.
25824         [BZ #14835]
25825         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25826         <bits/siginfo.h>.
25828 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25830         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25831         finalizing MALLSTREAM.
25833         * sysdeps/mach/hurd/syncfs.c: New file.
25835 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25837         [BZ #14719]
25838         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25839         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25840         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25841         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25842         (_nss_dns_gethostbyname4_r): Likewise.
25843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25844         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25846 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25848         [BZ #13763]
25849         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25851 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25853         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25854         * elf/cache.c (print_entry): Print ",AArch64" for
25855         FLAG_AARCH64_LIB64
25857         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25858         * elf/cache.c (print_entry): Print ",hard-float" for
25859         FLAG_ARM_LIBHF.
25861 2012-11-18  David S. Miller  <davem@davemloft.net>
25863         With help from Joseph Myers.
25864         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25865         cutoff to 2**-13.
25866         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25867         cutoff to 2**-25.
25868         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25869         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25870         small.
25871         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25872         * math/libm-test.inc (y0_test): New tests.
25873         (y1_test): New tests.
25874         * sysdeps/i386/fpu/libm-test-ulps: Update.
25875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25878 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25880         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25881         64-bit targets.
25882         * configure: Regenerated.
25884 2012-11-17  David S. Miller  <davem@davemloft.net>
25886         [BZ #14811]
25887         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25888         nonzero exponents with absolute value below 0x1p-128 to +/-
25889         0x1p-128.
25891 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25893         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25895         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25897         * posix/getconf-speclist.c: New file.
25898         * posix/posix-envs.def: Likewise.
25899         * posix/confstr.c (START_ENV_GROUP): New macro.
25900         (END_ENV_GROUP): Likewise.
25901         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25902         (KNOWN_PRESENT_ENV_STRING): Likewise.
25903         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25904         (UNKNOWN_ENVIRONMENT): Likewise.
25905         (confstr): Include posix-envs.def instead of handling
25906         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25907         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25908         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25909         (END_ENV_GROUP): Likewise.
25910         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25911         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25912         (UNKNOWN_ENVIRONMENT): Likewise.
25913         (__sysconf): Include posix-envs.def instead of handling associated
25914         cases directly here.
25915         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25916         preprocessing getconf-speclist.c rather than running getconf or
25917         generating empty file.
25919 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25921         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25923 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25925         [BZ #14672]
25926         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25928 2012-11-16  David S. Miller  <davem@davemloft.net>
25930         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25931         smaller than LDBL_EPSILON/2.0L, just return xm1.
25933 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25935         * elf/tst-array1.c (init): Set constructor priority to 1000.
25936         (fini): Set destructor priority to 1000.
25937         * elf/tst-array2dep.c: Likewise.
25939 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25941         [BZ #11741]
25942         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25943         (_IO_new_file_xsputn): Also return EOF if none of the input
25944         data was written when overflow failed.
25945         * libio/iopadn.c (_IO_padn): Likewise.
25946         * libio/iowpadn.c (_IO_wpadn): Likewise.
25947         * stdio-common/tst-put-error.c: Add copyright notice.
25948         (do_test): Add case for printing padded string.
25949         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25950         _IO_padn returned error.
25951         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25952         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25953         return EOF.
25955 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25957         * libio/libioP.h: Add comment note that the references to C++
25958         bits are now obsolete.
25960 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25962         * math/libm-test.inc (check_complex): Use asprintf.
25964 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25966         * debug/pcprofiledump.c (print_version): Update copyright year.
25967         * malloc/memusagestat.c (print_version): Likewise.
25969 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25971         [BZ #14831]
25972         * elf/Makefile (tests): Add tst-audit8.
25973         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25974         ($(objpfx)tst-audit8.out): New target.
25975         (tst-audit8-ENV): New variable.
25976         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25977         audit if l_reloc_result is NULL.
25978         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25979         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25980         * elf/tst-audit8.c: New file.
25982 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25984         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25985         * misc/Makefile (CFLAGS-select.c): Define.
25986         * posix/Makefile (CFLAGS-pause.c): Define.
25988 2012-11-13  David S. Miller  <davem@davemloft.net>
25990         * crypt/Makefile: Move test targets after toplevel Rules
25991         inclusion.  Grab any necessary sysdep routines when linking.
25992         * crypt/md5.c (md5_process_block): Remove define, we will always
25993         name it __md5_process_block.
25994         (md5_finish_ctx): Update md5_process_block call.
25995         (md5_stream): Likewise.
25996         (md5_process_bytes): Likewise.
25997         (md5_process_block): Rename to __md5_process_block and move to ...
25998         * crypt/md5-block.c: ... here.
25999         * crypt/sha256.c (sha256_process_block): Move to ...
26000         * crypt/sha256-block.c: ... here.
26001         * crypt/sha512.c (sha512_process_block): Move to ...
26002         * crypt/sha512-block.c: ... here.
26003         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26004         path.
26005         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26006         * sysdeps/sparc/sparc64/multiarch/Makefile
26007         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26008         crypt subdir.
26009         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26010         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26011         multiarch changes.
26012         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26013         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26014         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26015         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26016         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26017         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26018         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26019         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26020         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26021         file.
26022         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26023         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26024         file.
26025         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26027 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26029         * timezone/tzselect.ksh: Update from tzcode git revision
26030         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26031         * timezone/zdump.c: Likewise.
26032         * timezone/zic.c: Likewise.
26033         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26034         in TZVERSION setting, not $(PKGVERSION).
26035         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26036         REPORT_BUGS_TO settings.
26038         [BZ #14838]
26039         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26040         macro.
26042 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26044         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26045         detection to immediately after _FP_ROUND().
26046         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26047         bits are 0.
26049 2012-11-11  David S. Miller  <davem@davemloft.net>
26051         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26052         inttypes.h
26053         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26054         __close rather than their public counterparts.
26056 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26058         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26059         file.
26060         [UNIX98] (sem_timedwait): Do not expect.
26061         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26062         [XPG4 || UNIX98] (sockatmark): Do not expect.
26063         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26064         (clock_getcpuclockid): Do not expect.
26065         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26066         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26067         Do not expect.
26068         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26069         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26070         [UNIX98] (vwscanf): Likewise.
26071         [UNIX98] (vswscanf): Likewise.
26073 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26075         * timezone/version.h: Remove file.
26076         * timezone/README: Do not refer to version.h.
26077         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26078         $(objpfx)version.h.
26079         ($(objpfx)zdump.o): Likewise.
26080         ($(objpfx)version.h): New target.
26082         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26083         2012i.
26084         * timezone/README: Don't mention modification to tzselect.ksh.
26085         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26086         work on unmodified tzselect.ksh.  Substitute version numbers in
26087         tzselect.ksh.
26089         * Makefile (format-me): Remove.
26090         (INSTALL): Adjust indentation.  Use commands directly instead of
26091         using $(format-me).
26093         * aclocal.m4 (ACX_PKGVERSION): New macro.
26094         (ACX_BUGURL): Likewise.
26095         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26096         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26097         (REPORT_BUGS_TO): Likewise.
26098         * configure: Regenerated.
26099         * config.h.in (PKGVERSION): New macro.
26100         (REPORT_BUGS_TO): Likewise.
26101         * config.make.in (PKGVERSION): New variable.
26102         (PKGVERSION_TEXI): Likewise.
26103         (REPORT_BUGS_TO): Likewise.
26104         (REPORT_BUGS_TEXI): Likewise.
26105         * Makefile (format-me): Use -I$(common-objpfx)manual.
26106         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26107         ($(common-objpfx)manual/%): New target.
26108         (manual/%): Remove target.
26109         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26110         (print_version): Use PKGVERSION.
26111         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26112         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26113         and REPORT_BUGS_TO.
26114         ($(objpfx)xtrace): Likewise.
26115         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26116         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26117         (print_version): Use PKGVERSION.
26118         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26119         (do_version): Use PKGVERSION.
26120         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26121         REPORT_BUGS_TO.
26122         (common-ldd-rewrite): Likewise.
26123         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26124         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26125         (print_version): Use PKGVERSION.
26126         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26127         * elf/pldd.c (argp_program_bug_address): Remove variable.
26128         (more_help): New function.
26129         (argp): Use more_help.
26130         (print_version): Use PKGVERSION.
26131         * elf/sln.c (main): Use PKGVERSION.
26132         (usage): Use REPORT_BUGS_TO.
26133         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26134         (top level): Use PKGVERSION.
26135         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26136         (print_version): Use PKGVERSION.
26137         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26138         (print_version): Use PKGVERSION.
26139         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26140         (print_version): Use PKGVERSION.
26141         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26142         (print_version): Use PKGVERSION.
26143         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26144         (print_version): Use PKGVERSION.
26145         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26146         (print_version): Use PKGVERSION.
26147         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26148         and BUGURL.
26149         ($(objpfx)memusage): Likewise.
26150         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26151         (do_version): Use PKGVERSION.
26152         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26153         (print_version): Use PKGVERSION.
26154         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26155         ($PKGVERSION): New variable.
26156         ($REPORT_BUGS_TO): Likewise.
26157         (usage): Use $REPORT_BUGS_TO.
26158         (top level): Use $PKGVERSION.
26159         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26160         ($(objpfx)pkgvers.texi): New rule.
26161         ($(objpfx)stamp-pkgvers): Likewise.
26162         * manual/install.texi: Include pkgvers.texi.
26163         (--with-pkgversion): Document new configure option.
26164         (--with-bugurl): Likewise.
26165         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26166         than necessarily for this particular distribution.  Use
26167         REPORT_BUGS_TO for where to report bugs.
26168         * INSTALL: Regenerated.
26169         * manual/libc.texinfo: Include pkgvers.texi.
26170         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26171         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26172         (print_version): Use PKGVERSION.
26173         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26174         (print_version): Use PKGVERSION.
26175         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26176         (print_version): Use PKGVERSION.
26177         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26178         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26179         macro.
26180         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26181         (print_version): Use PKGVERSION.
26182         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26183         (print_version): Use PKGVERSION.
26184         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26185         and PKGVERSION.
26187         * timezone/checktab.awk: Update from tzcode 2012i.
26188         * timezone/ialloc.c: Likewise.
26189         * timezone/private.h: Likewise.
26190         * timezone/scheck.c: Likewise.
26191         * timezone/tzfile.h: Likewise.
26192         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26193         (TZVERSION): Hardcode tzcode version number.
26194         * timezone/zdump.c: Update from tzcode 2012i.
26195         * timezone/zic.c: Likewise.
26196         * timezone/version.h: New file.
26197         * timezone/README: Describe version.h.  Update upstream location.
26199         [BZ #14824]
26200         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26201         (mktemp): Enable declaration.
26202         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26203         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26204         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26205         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26206         Likewise.
26207         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26208         Likewise.
26209         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26210         Likewise.
26211         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26212         Likewise.
26213         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26214         Likewise.
26215         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26216         Likewise.
26218         [BZ #14821]
26219         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26220         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26221         for copies of such integer values.
26222         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26223         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26225 2012-11-09  Andreas Jaeger  <aj@suse.de>
26227         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26228         definitions and declarations that are provided by
26229         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26231 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26233         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26234         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26235         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26236         definition.
26238 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26240         * elf/elf.h: Update comment before AArch64 relocations.
26242 2012-11-07  David S. Miller  <davem@davemloft.net>
26244         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26245         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26246         (__start_context): Declare.
26247         (__makecontext_ret): Delete.
26248         (__makecontext): Hook up __start_context instead of
26249         __makecontext_ret.
26250         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26251         (sysdep_routines): Add __start_context when in stdlib.
26253 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26255         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26256         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26257         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26258         hardcoded "nm".
26259         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26260         (READELF): New variable.  Use it instead of hardcoded "readelf".
26262 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26264         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26265         * sysdeps/x86/Makefile: Here.
26266         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26267         * sysdeps/x86/tst-xmmymm.sh: This.
26269 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26271         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26272         expectations.
26273         [UNIX98] (pthread_barrier_t): Do not expect.
26274         [UNIX98] (pthread_barrierattr_t): Likewise.
26275         [UNIX98] (pthread_spinlock_t): Likewise.
26276         [UNIX98] (pthread_barrier_destroy): Likewise.
26277         [UNIX98] (pthread_barrier_init): Likewise.
26278         [UNIX98] (pthread_barrier_wait): Likewise.
26279         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26280         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26281         [UNIX98] (pthread_barrierattr_init): Likewise.
26282         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26283         [UNIX98] (pthread_getcpuclockid): Likewise.
26284         [UNIX98] (pthread_mutex_timedlock): Likewise.
26285         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26286         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26287         [UNIX98] (pthread_sigmask): Likewise.
26288         [UNIX98] (pthread_spin_destroy): Likewise.
26289         [UNIX98] (pthread_spin_init): Likewise.
26290         [UNIX98] (pthread_spin_lock): Likewise.
26291         [UNIX98] (pthread_spin_trylock): Likewise.
26292         [UNIX98] (pthread_spin_unlock): Likewise.
26293         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26294         Do not expect.
26295         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26296         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26297         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26298         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26299         [XPG3 || XPG4] (pthread_key_t): Likewise.
26300         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26301         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26302         [XPG3 || XPG4] (pthread_once_t): Likewise.
26303         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26304         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26305         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26306         [XPG3 || XPG4] (pthread_t): Likewise.
26308         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26309         not expect.
26310         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26312         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26313         Change function return type to int.
26315         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26316         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26317         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26318         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26319         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26320         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26321         [!POSIX] (posix_madvise): Likewise.
26322         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26323         && !UNIX98].
26324         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26325         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26326         (mode_t): Likewise.
26327         (posix_mem_offset): Likewise.
26328         (posix_typed_mem_get_info): Likewise.
26329         (posix_typed_mem_open): Likewise.
26331         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26332         Change condition to [XOPEN2K8].
26334         * conform/conformtest.pl: Preprocess allow-header data with -x c
26335         instead of from stdin.
26336         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26337         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26338         [C99-based standards] (cerfc): Likewise.
26339         [C99-based standards] (cexp2): Likewise.
26340         [C99-based standards] (cexpm1): Likewise.
26341         [C99-based standards] (clog10): Likewise.
26342         [C99-based standards] (clog1p): Likewise.
26343         [C99-based standards] (clog2): Likewise.
26344         [C99-based standards] (clgamma): Likewise.
26345         [C99-based standards] (ctgamma): Likewise.
26346         [C99-based standards] (cerff): Likewise.
26347         [C99-based standards] (cerfcf): Likewise.
26348         [C99-based standards] (cexp2f): Likewise.
26349         [C99-based standards] (cexpm1f): Likewise.
26350         [C99-based standards] (clog10f): Likewise.
26351         [C99-based standards] (clog1pf): Likewise.
26352         [C99-based standards] (clog2f): Likewise.
26353         [C99-based standards] (clgammaf): Likewise.
26354         [C99-based standards] (ctgammaf): Likewise.
26355         [C99-based standards] (cerfl): Likewise.
26356         [C99-based standards] (cerfcl): Likewise.
26357         [C99-based standards] (cexp2l): Likewise.
26358         [C99-based standards] (cexpm1l): Likewise.
26359         [C99-based standards] (clog10l): Likewise.
26360         [C99-based standards] (clog1pl): Likewise.
26361         [C99-based standards] (clog2l): Likewise.
26362         [C99-based standards] (clgammal): Likewise.
26363         [C99-based standards] (ctgammal): Likewise.
26364         * conform/data/inttypes.h-data [C99-based standards]: Include
26365         stdint.h-data.  Remove all expectations for stdint.h contents.
26366         [C99-based standards] (PRI*): Do not allow.
26367         [C99-based standards] (SCN*): Likewise.
26368         [C99-based standards] (*_t): Likewise.
26369         [C99-based-standards] (PRId8): Expect macro.
26370         [C99-based-standards] (PRIi8): Likewise.
26371         [C99-based-standards] (PRIo8): Likewise.
26372         [C99-based-standards] (PRIu8): Likewise.
26373         [C99-based-standards] (PRIx8): Likewise.
26374         [C99-based-standards] (PRIX8): Likewise.
26375         [C99-based-standards] (SCNd8): Likewise.
26376         [C99-based-standards] (SCNi8): Likewise.
26377         [C99-based-standards] (SCNo8): Likewise.
26378         [C99-based-standards] (SCNu8): Likewise.
26379         [C99-based-standards] (SCNx8): Likewise.
26380         [C99-based-standards] (PRIdLEAST8): Likewise.
26381         [C99-based-standards] (PRIiLEAST8): Likewise.
26382         [C99-based-standards] (PRIoLEAST8): Likewise.
26383         [C99-based-standards] (PRIuLEAST8): Likewise.
26384         [C99-based-standards] (PRIxLEAST8): Likewise.
26385         [C99-based-standards] (PRIXLEAST8): Likewise.
26386         [C99-based-standards] (SCNdLEAST8): Likewise.
26387         [C99-based-standards] (SCNiLEAST8): Likewise.
26388         [C99-based-standards] (SCNoLEAST8): Likewise.
26389         [C99-based-standards] (SCNuLEAST8): Likewise.
26390         [C99-based-standards] (SCNxLEAST8): Likewise.
26391         [C99-based-standards] (PRIdFAST8): Likewise.
26392         [C99-based-standards] (PRIiFAST8): Likewise.
26393         [C99-based-standards] (PRIoFAST8): Likewise.
26394         [C99-based-standards] (PRIuFAST8): Likewise.
26395         [C99-based-standards] (PRIxFAST8): Likewise.
26396         [C99-based-standards] (PRIXFAST8): Likewise.
26397         [C99-based-standards] (SCNdFAST8): Likewise.
26398         [C99-based-standards] (SCNiFAST8): Likewise.
26399         [C99-based-standards] (SCNoFAST8): Likewise.
26400         [C99-based-standards] (SCNuFAST8): Likewise.
26401         [C99-based-standards] (SCNxFAST8): Likewise.
26402         [C99-based-standards] (PRId16): Likewise.
26403         [C99-based-standards] (PRIi16): Likewise.
26404         [C99-based-standards] (PRIo16): Likewise.
26405         [C99-based-standards] (PRIu16): Likewise.
26406         [C99-based-standards] (PRIx16): Likewise.
26407         [C99-based-standards] (PRIX16): Likewise.
26408         [C99-based-standards] (SCNd16): Likewise.
26409         [C99-based-standards] (SCNi16): Likewise.
26410         [C99-based-standards] (SCNo16): Likewise.
26411         [C99-based-standards] (SCNu16): Likewise.
26412         [C99-based-standards] (SCNx16): Likewise.
26413         [C99-based-standards] (PRIdLEAST16): Likewise.
26414         [C99-based-standards] (PRIiLEAST16): Likewise.
26415         [C99-based-standards] (PRIoLEAST16): Likewise.
26416         [C99-based-standards] (PRIuLEAST16): Likewise.
26417         [C99-based-standards] (PRIxLEAST16): Likewise.
26418         [C99-based-standards] (PRIXLEAST16): Likewise.
26419         [C99-based-standards] (SCNdLEAST16): Likewise.
26420         [C99-based-standards] (SCNiLEAST16): Likewise.
26421         [C99-based-standards] (SCNoLEAST16): Likewise.
26422         [C99-based-standards] (SCNuLEAST16): Likewise.
26423         [C99-based-standards] (SCNxLEAST16): Likewise.
26424         [C99-based-standards] (PRIdFAST16): Likewise.
26425         [C99-based-standards] (PRIiFAST16): Likewise.
26426         [C99-based-standards] (PRIoFAST16): Likewise.
26427         [C99-based-standards] (PRIuFAST16): Likewise.
26428         [C99-based-standards] (PRIxFAST16): Likewise.
26429         [C99-based-standards] (PRIXFAST16): Likewise.
26430         [C99-based-standards] (SCNdFAST16): Likewise.
26431         [C99-based-standards] (SCNiFAST16): Likewise.
26432         [C99-based-standards] (SCNoFAST16): Likewise.
26433         [C99-based-standards] (SCNuFAST16): Likewise.
26434         [C99-based-standards] (SCNxFAST16): Likewise.
26435         [C99-based-standards] (PRId32): Likewise.
26436         [C99-based-standards] (PRIi32): Likewise.
26437         [C99-based-standards] (PRIo32): Likewise.
26438         [C99-based-standards] (PRIu32): Likewise.
26439         [C99-based-standards] (PRIx32): Likewise.
26440         [C99-based-standards] (PRIX32): Likewise.
26441         [C99-based-standards] (SCNd32): Likewise.
26442         [C99-based-standards] (SCNi32): Likewise.
26443         [C99-based-standards] (SCNo32): Likewise.
26444         [C99-based-standards] (SCNu32): Likewise.
26445         [C99-based-standards] (SCNx32): Likewise.
26446         [C99-based-standards] (PRIdLEAST32): Likewise.
26447         [C99-based-standards] (PRIiLEAST32): Likewise.
26448         [C99-based-standards] (PRIoLEAST32): Likewise.
26449         [C99-based-standards] (PRIuLEAST32): Likewise.
26450         [C99-based-standards] (PRIxLEAST32): Likewise.
26451         [C99-based-standards] (PRIXLEAST32): Likewise.
26452         [C99-based-standards] (SCNdLEAST32): Likewise.
26453         [C99-based-standards] (SCNiLEAST32): Likewise.
26454         [C99-based-standards] (SCNoLEAST32): Likewise.
26455         [C99-based-standards] (SCNuLEAST32): Likewise.
26456         [C99-based-standards] (SCNxLEAST32): Likewise.
26457         [C99-based-standards] (PRIdFAST32): Likewise.
26458         [C99-based-standards] (PRIiFAST32): Likewise.
26459         [C99-based-standards] (PRIoFAST32): Likewise.
26460         [C99-based-standards] (PRIuFAST32): Likewise.
26461         [C99-based-standards] (PRIxFAST32): Likewise.
26462         [C99-based-standards] (PRIXFAST32): Likewise.
26463         [C99-based-standards] (SCNdFAST32): Likewise.
26464         [C99-based-standards] (SCNiFAST32): Likewise.
26465         [C99-based-standards] (SCNoFAST32): Likewise.
26466         [C99-based-standards] (SCNuFAST32): Likewise.
26467         [C99-based-standards] (SCNxFAST32): Likewise.
26468         [C99-based-standards] (PRId64): Likewise.
26469         [C99-based-standards] (PRIi64): Likewise.
26470         [C99-based-standards] (PRIo64): Likewise.
26471         [C99-based-standards] (PRIu64): Likewise.
26472         [C99-based-standards] (PRIx64): Likewise.
26473         [C99-based-standards] (PRIX64): Likewise.
26474         [C99-based-standards] (SCNd64): Likewise.
26475         [C99-based-standards] (SCNi64): Likewise.
26476         [C99-based-standards] (SCNo64): Likewise.
26477         [C99-based-standards] (SCNu64): Likewise.
26478         [C99-based-standards] (SCNx64): Likewise.
26479         [C99-based-standards] (PRIdLEAST64): Likewise.
26480         [C99-based-standards] (PRIiLEAST64): Likewise.
26481         [C99-based-standards] (PRIoLEAST64): Likewise.
26482         [C99-based-standards] (PRIuLEAST64): Likewise.
26483         [C99-based-standards] (PRIxLEAST64): Likewise.
26484         [C99-based-standards] (PRIXLEAST64): Likewise.
26485         [C99-based-standards] (SCNdLEAST64): Likewise.
26486         [C99-based-standards] (SCNiLEAST64): Likewise.
26487         [C99-based-standards] (SCNoLEAST64): Likewise.
26488         [C99-based-standards] (SCNuLEAST64): Likewise.
26489         [C99-based-standards] (SCNxLEAST64): Likewise.
26490         [C99-based-standards] (PRIdFAST64): Likewise.
26491         [C99-based-standards] (PRIiFAST64): Likewise.
26492         [C99-based-standards] (PRIoFAST64): Likewise.
26493         [C99-based-standards] (PRIuFAST64): Likewise.
26494         [C99-based-standards] (PRIxFAST64): Likewise.
26495         [C99-based-standards] (PRIXFAST64): Likewise.
26496         [C99-based-standards] (SCNdFAST64): Likewise.
26497         [C99-based-standards] (SCNiFAST64): Likewise.
26498         [C99-based-standards] (SCNoFAST64): Likewise.
26499         [C99-based-standards] (SCNuFAST64): Likewise.
26500         [C99-based-standards] (SCNxFAST64): Likewise.
26501         [C99-based-standards] (PRIdMAX): Likewise.
26502         [C99-based-standards] (PRIiMAX): Likewise.
26503         [C99-based-standards] (PRIoMAX): Likewise.
26504         [C99-based-standards] (PRIuMAX): Likewise.
26505         [C99-based-standards] (PRIxMAX): Likewise.
26506         [C99-based-standards] (PRIXMAX): Likewise.
26507         [C99-based-standards] (SCNdMAX): Likewise.
26508         [C99-based-standards] (SCNiMAX): Likewise.
26509         [C99-based-standards] (SCNoMAX): Likewise.
26510         [C99-based-standards] (SCNuMAX): Likewise.
26511         [C99-based-standards] (SCNxMAX): Likewise.
26512         [C99-based-standards] (PRIdPTR): Likewise.
26513         [C99-based-standards] (PRIiPTR): Likewise.
26514         [C99-based-standards] (PRIoPTR): Likewise.
26515         [C99-based-standards] (PRIuPTR): Likewise.
26516         [C99-based-standards] (PRIxPTR): Likewise.
26517         [C99-based-standards] (PRIXPTR): Likewise.
26518         [C99-based-standards] (SCNdPTR): Likewise.
26519         [C99-based-standards] (SCNiPTR): Likewise.
26520         [C99-based-standards] (SCNoPTR): Likewise.
26521         [C99-based-standards] (SCNuPTR): Likewise.
26522         [C99-based-standards] (SCNxPTR): Likewise.
26523         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26524         allow.
26525         * conform/data/stdint.h-data: Update comments to clarify
26526         requirements.
26527         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26528         type.
26529         [C99-based standards] (INT8_MAX): Likewise.
26530         [C99-based standards] (INT16_MIN): Likewise.
26531         [C99-based standards] (INT16_MAX): Likewise.
26532         [C99-based standards] (INT32_MIN): Likewise.
26533         [C99-based standards] (INT32_MAX): Likewise.
26534         [C99-based standards] (INT64_MIN): Likewise.
26535         [C99-based standards] (INT64_MAX): Likewise.
26536         [C99-based standards] (UINT8_MAX): Likewise.
26537         [C99-based standards] (UINT16_MAX): Likewise.
26538         [C99-based standards] (UINT32_MAX): Likewise.
26539         [C99-based standards] (UINT64_MAX): Likewise.
26540         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26541         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26542         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26543         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26544         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26545         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26546         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26547         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26548         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26549         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26550         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26551         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26552         [C99-based standards] (INT_FAST8_MIN): Likewise.
26553         [C99-based standards] (INT_FAST8_MAX): Likewise.
26554         [C99-based standards] (INT_FAST16_MIN): Likewise.
26555         [C99-based standards] (INT_FAST16_MAX): Likewise.
26556         [C99-based standards] (INT_FAST32_MIN): Likewise.
26557         [C99-based standards] (INT_FAST32_MAX): Likewise.
26558         [C99-based standards] (INT_FAST64_MIN): Likewise.
26559         [C99-based standards] (INT_FAST64_MAX): Likewise.
26560         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26561         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26562         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26563         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26564         [C99-based standards] (INTPTR_MIN): Likewise.
26565         [C99-based standards] (INTPTR_MAX): Likewise.
26566         [C99-based standards] (UINTPTR_MAX): Likewise.
26567         [C99-based standards] (INTMAX_MIN): Likewise.
26568         [C99-based standards] (INTMAX_MAX): Likewise.
26569         [C99-based standards] (UINTMAX_MAX): Likewise.
26570         [C99-based standards] (PTRDIFF_MIN): Likewise.
26571         [C99-based standards] (PTRDIFF_MAX): Likewise.
26572         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26573         [C99-based standards] (SIZE_MAX): Likewise.
26574         [C99-based standards] (WCHAR_MAX): Likewise.
26575         [C99-based standards] (WINT_MAX): Likewise.
26576         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26577         constraint on value.
26578         [C99-based standards] (WCHAR_MIN): Likewise.
26579         [C99-based standards] (WINT_MIN): Likewise.
26580         [C99-based standards] (*_t): Allow.
26581         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26582         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26583         Include math.h-data and complex.h-data.  Remove all expectations
26584         of math.h and complex.h contents.
26585         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26586         at end of line.
26587         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26588         (struct tm): Expect tag.
26589         [C99-based-standards] (wcstof): Expect function.
26590         [C99-based-standards] (wcstold): Likewise.
26591         [C99-based-standards] (wcstoll): Likewise.
26592         [C99-based-standards] (wcstoull): Likewise.
26593         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26594         macro-int-constant.  Specify type.
26595         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26596         constraint on value.
26597         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26598         Specify type.
26599         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26600         Specify value.
26601         [ISO C standards]: Do not allow headers.
26602         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26603         wcs[abcdefghijklmnopqrstuvwxyz]*.
26604         [ISO C standards] (*_t): Do not allow.
26605         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26606         Expect function.
26607         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26608         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26609         Specify type.
26610         [ISO C standards]: Do not allow headers.
26611         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26612         is[abcdefghijklmnopqrstuvwxyz]*.
26613         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26614         to[abcdefghijklmnopqrstuvwxyz]*.
26615         [ISO C standards] (*_t): Do not allow.
26616         * conform/data/stdalign.h-data: New file.
26617         * conform/data/stdbool.h-data: Likewise.
26618         * conform/data/stdnoreturn.h-data: Likewise.
26620 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26622         [BZ #14815]
26623         * manual/filesys.texi (Directory Entries): Typo fix.
26624         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26626 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26628         * elf/elf.h (EM_AARCH64): New macro.
26629         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26630         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26631         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26632         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26633         (R_AARCH64_TLSDESC): Likewise.
26634         (NT_ARM_TLS): Likewise.
26635         (NT_ARM_HW_BREAK): Likewise.
26636         (NT_ARM_HW_WATCH): Likewise.
26638 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26640         [BZ #14811]
26641         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26642         (__ieee754_powl): Saturate nonzero exponents with absolute value
26643         below 0x1p-79 to +/- 0x1p-79.
26644         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26645         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26646         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26647         nonzero exponents with absolute value below 0x1p-32 to +/-
26648         0x1p-32.
26649         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26650         (__ieee754_powl): Saturate nonzero exponents with absolute value
26651         below 0x1p-79 to +/- 0x1p-79.
26652         * math/libm-test.inc (pow_test): Add more tests.
26654 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26656         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26657         _dl_s390_cap_flags with kernel. Increase string length.
26658         (_dl_s390_platforms): Add z196 and zEC12.
26660 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26662         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26663         Change XOPEN21K to XOPEN2K.
26665 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26667         * string/memmove.c: Use memcpy when possible.
26669 2012-11-06  Andreas Jaeger  <aj@suse.de>
26671         * po/eo.po: Update from translation team.
26673 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26675         [BZ #14793]
26676         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26677         exponent and small x and y exponents, scale x or y up.  Increase
26678         by 2 the exponent used in scaling up.
26679         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26680         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26681         * math/libm-test.inc (fma_test): Add more tests.
26682         (fma_test_towardzero): Likewise.
26683         (fma_test_downward): Likewise.
26684         (fma_test_upward): Likewise.
26686 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26688         [BZ #14805]
26689         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26690         fenv_t *.
26692         [BZ #14801]
26693         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26694         namespace for names of struct fields.
26695         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26696         fenv_t fields.
26697         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26698         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26700 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26702         [BZ #3665]
26703         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26705 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26707         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26708         PTR_DEMANGLE.
26710         [BZ #5246]
26711         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26712         PTR_DEMANGLE.
26714 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26716         [BZ #14797]
26717         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26718         definitely overflow as x * y not x * y + z.
26719         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26720         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26721         * math/libm-test.inc (fma_test): Add more tests.
26722         (fma_test_towardzero): Likewise.
26723         (fma_test_downward): Likewise.
26724         (fma_test_upward): Likewise.
26726 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26728         [BZ #157]
26730         * include/stub-tag.h: Remove file.
26731         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26732         '#include' of it.
26733         * manual/maint.texi (Porting): Don't reference it.
26734         * Makerules ($(objpfx)stubs): Likewise.
26735         * dirent/closedir.c: Don't include <stub-tag.h>.
26736         * dirent/dirfd.c: Likewise.
26737         * dirent/fdopendir.c: Likewise.
26738         * dirent/getdents.c: Likewise.
26739         * dirent/getdents64.c: Likewise.
26740         * dirent/opendir.c: Likewise.
26741         * dirent/readdir.c: Likewise.
26742         * dirent/readdir64.c: Likewise.
26743         * dirent/readdir64_r.c: Likewise.
26744         * dirent/readdir_r.c: Likewise.
26745         * dirent/rewinddir.c: Likewise.
26746         * dirent/seekdir.c: Likewise.
26747         * dirent/telldir.c: Likewise.
26748         * gmon/profil.c: Likewise.
26749         * grp/setgroups.c: Likewise.
26750         * inet/if_index.c: Likewise.
26751         * io/access.c: Likewise.
26752         * io/chdir.c: Likewise.
26753         * io/chmod.c: Likewise.
26754         * io/chown.c: Likewise.
26755         * io/close.c: Likewise.
26756         * io/dup.c: Likewise.
26757         * io/dup2.c: Likewise.
26758         * io/dup3.c: Likewise.
26759         * io/euidaccess.c: Likewise.
26760         * io/faccessat.c: Likewise.
26761         * io/fchdir.c: Likewise.
26762         * io/fchmod.c: Likewise.
26763         * io/fchmodat.c: Likewise.
26764         * io/fchown.c: Likewise.
26765         * io/fchownat.c: Likewise.
26766         * io/fcntl.c: Likewise.
26767         * io/flock.c: Likewise.
26768         * io/fstatfs.c: Likewise.
26769         * io/fstatfs64.c: Likewise.
26770         * io/fstatvfs.c: Likewise.
26771         * io/fstatvfs64.c: Likewise.
26772         * io/futimens.c: Likewise.
26773         * io/fxstat.c: Likewise.
26774         * io/fxstat64.c: Likewise.
26775         * io/fxstatat.c: Likewise.
26776         * io/fxstatat64.c: Likewise.
26777         * io/getcwd.c: Likewise.
26778         * io/isatty.c: Likewise.
26779         * io/lchmod.c: Likewise.
26780         * io/lchown.c: Likewise.
26781         * io/link.c: Likewise.
26782         * io/linkat.c: Likewise.
26783         * io/lseek.c: Likewise.
26784         * io/lseek64.c: Likewise.
26785         * io/lxstat64.c: Likewise.
26786         * io/mkdir.c: Likewise.
26787         * io/mkdirat.c: Likewise.
26788         * io/mkfifo.c: Likewise.
26789         * io/mkfifoat.c: Likewise.
26790         * io/open.c: Likewise.
26791         * io/open64.c: Likewise.
26792         * io/openat.c: Likewise.
26793         * io/openat64.c: Likewise.
26794         * io/pipe.c: Likewise.
26795         * io/pipe2.c: Likewise.
26796         * io/poll.c: Likewise.
26797         * io/posix_fadvise.c: Likewise.
26798         * io/posix_fadvise64.c: Likewise.
26799         * io/posix_fallocate.c: Likewise.
26800         * io/posix_fallocate64.c: Likewise.
26801         * io/read.c: Likewise.
26802         * io/readlink.c: Likewise.
26803         * io/readlinkat.c: Likewise.
26804         * io/rmdir.c: Likewise.
26805         * io/sendfile.c: Likewise.
26806         * io/sendfile64.c: Likewise.
26807         * io/statfs.c: Likewise.
26808         * io/statfs64.c: Likewise.
26809         * io/statvfs.c: Likewise.
26810         * io/statvfs64.c: Likewise.
26811         * io/symlink.c: Likewise.
26812         * io/symlinkat.c: Likewise.
26813         * io/ttyname.c: Likewise.
26814         * io/ttyname_r.c: Likewise.
26815         * io/umask.c: Likewise.
26816         * io/unlink.c: Likewise.
26817         * io/unlinkat.c: Likewise.
26818         * io/utime.c: Likewise.
26819         * io/utimensat.c: Likewise.
26820         * io/write.c: Likewise.
26821         * io/xmknod.c: Likewise.
26822         * io/xmknodat.c: Likewise.
26823         * io/xstat.c: Likewise.
26824         * io/xstat64.c: Likewise.
26825         * login/getpt.c: Likewise.
26826         * login/grantpt.c: Likewise.
26827         * login/unlockpt.c: Likewise.
26828         * math/e_acoshl.c: Likewise.
26829         * math/e_acosl.c: Likewise.
26830         * math/e_asinl.c: Likewise.
26831         * math/e_atan2l.c: Likewise.
26832         * math/e_atanhl.c: Likewise.
26833         * math/e_coshl.c: Likewise.
26834         * math/e_expl.c: Likewise.
26835         * math/e_fmodl.c: Likewise.
26836         * math/e_gammal_r.c: Likewise.
26837         * math/e_hypotl.c: Likewise.
26838         * math/e_j0l.c: Likewise.
26839         * math/e_j1l.c: Likewise.
26840         * math/e_jnl.c: Likewise.
26841         * math/e_lgammal_r.c: Likewise.
26842         * math/e_log10l.c: Likewise.
26843         * math/e_log2l.c: Likewise.
26844         * math/e_logl.c: Likewise.
26845         * math/e_powl.c: Likewise.
26846         * math/e_rem_pio2l.c: Likewise.
26847         * math/e_sinhl.c: Likewise.
26848         * math/e_sqrtl.c: Likewise.
26849         * math/fclrexcpt.c: Likewise.
26850         * math/fedisblxcpt.c: Likewise.
26851         * math/feenablxcpt.c: Likewise.
26852         * math/fegetenv.c: Likewise.
26853         * math/fegetexcept.c: Likewise.
26854         * math/fegetround.c: Likewise.
26855         * math/feholdexcpt.c: Likewise.
26856         * math/fesetenv.c: Likewise.
26857         * math/fesetround.c: Likewise.
26858         * math/feupdateenv.c: Likewise.
26859         * math/fgetexcptflg.c: Likewise.
26860         * math/fraiseexcpt.c: Likewise.
26861         * math/fsetexcptflg.c: Likewise.
26862         * math/ftestexcept.c: Likewise.
26863         * math/k_cosl.c: Likewise.
26864         * math/k_rem_pio2l.c: Likewise.
26865         * math/k_sinl.c: Likewise.
26866         * math/k_tanl.c: Likewise.
26867         * math/s_asinhl.c: Likewise.
26868         * math/s_atanl.c: Likewise.
26869         * math/s_cbrtl.c: Likewise.
26870         * math/s_erfl.c: Likewise.
26871         * math/s_expm1l.c: Likewise.
26872         * math/s_log1pl.c: Likewise.
26873         * math/s_tanhl.c: Likewise.
26874         * misc/acct.c: Likewise.
26875         * misc/brk.c: Likewise.
26876         * misc/chflags.c: Likewise.
26877         * misc/chroot.c: Likewise.
26878         * misc/fchflags.c: Likewise.
26879         * misc/fgetxattr.c: Likewise.
26880         * misc/flistxattr.c: Likewise.
26881         * misc/fremovexattr.c: Likewise.
26882         * misc/fsetxattr.c: Likewise.
26883         * misc/fsync.c: Likewise.
26884         * misc/ftruncate.c: Likewise.
26885         * misc/futimes.c: Likewise.
26886         * misc/futimesat.c: Likewise.
26887         * misc/getdomain.c: Likewise.
26888         * misc/getdtsz.c: Likewise.
26889         * misc/gethostid.c: Likewise.
26890         * misc/gethostname.c: Likewise.
26891         * misc/getloadavg.c: Likewise.
26892         * misc/getpagesize.c: Likewise.
26893         * misc/getsysstats.c: Likewise.
26894         * misc/getxattr.c: Likewise.
26895         * misc/gtty.c: Likewise.
26896         * misc/ioctl.c: Likewise.
26897         * misc/lgetxattr.c: Likewise.
26898         * misc/listxattr.c: Likewise.
26899         * misc/llistxattr.c: Likewise.
26900         * misc/lremovexattr.c: Likewise.
26901         * misc/lsetxattr.c: Likewise.
26902         * misc/lutimes.c: Likewise.
26903         * misc/madvise.c: Likewise.
26904         * misc/mincore.c: Likewise.
26905         * misc/mlock.c: Likewise.
26906         * misc/mlockall.c: Likewise.
26907         * misc/mmap.c: Likewise.
26908         * misc/mprotect.c: Likewise.
26909         * misc/msync.c: Likewise.
26910         * misc/munlock.c: Likewise.
26911         * misc/munlockall.c: Likewise.
26912         * misc/munmap.c: Likewise.
26913         * misc/preadv.c: Likewise.
26914         * misc/preadv64.c: Likewise.
26915         * misc/ptrace.c: Likewise.
26916         * misc/pwritev.c: Likewise.
26917         * misc/pwritev64.c: Likewise.
26918         * misc/readv.c: Likewise.
26919         * misc/reboot.c: Likewise.
26920         * misc/remap_file_pages.c: Likewise.
26921         * misc/removexattr.c: Likewise.
26922         * misc/revoke.c: Likewise.
26923         * misc/select.c: Likewise.
26924         * misc/setdomain.c: Likewise.
26925         * misc/setegid.c: Likewise.
26926         * misc/seteuid.c: Likewise.
26927         * misc/sethostid.c: Likewise.
26928         * misc/sethostname.c: Likewise.
26929         * misc/setregid.c: Likewise.
26930         * misc/setreuid.c: Likewise.
26931         * misc/setxattr.c: Likewise.
26932         * misc/sstk.c: Likewise.
26933         * misc/stty.c: Likewise.
26934         * misc/swapoff.c: Likewise.
26935         * misc/swapon.c: Likewise.
26936         * misc/sync.c: Likewise.
26937         * misc/syncfs.c: Likewise.
26938         * misc/syscall.c: Likewise.
26939         * misc/truncate.c: Likewise.
26940         * misc/ualarm.c: Likewise.
26941         * misc/usleep.c: Likewise.
26942         * misc/ustat.c: Likewise.
26943         * misc/utimes.c: Likewise.
26944         * misc/vhangup.c: Likewise.
26945         * misc/writev.c: Likewise.
26946         * posix/_exit.c: Likewise.
26947         * posix/alarm.c: Likewise.
26948         * posix/execve.c: Likewise.
26949         * posix/fexecve.c: Likewise.
26950         * posix/fork.c: Likewise.
26951         * posix/fpathconf.c: Likewise.
26952         * posix/getaddrinfo.c: Likewise.
26953         * posix/getegid.c: Likewise.
26954         * posix/geteuid.c: Likewise.
26955         * posix/getgid.c: Likewise.
26956         * posix/getgroups.c: Likewise.
26957         * posix/getlogin.c: Likewise.
26958         * posix/getlogin_r.c: Likewise.
26959         * posix/getpgid.c: Likewise.
26960         * posix/getpid.c: Likewise.
26961         * posix/getppid.c: Likewise.
26962         * posix/getresgid.c: Likewise.
26963         * posix/getresuid.c: Likewise.
26964         * posix/getsid.c: Likewise.
26965         * posix/getuid.c: Likewise.
26966         * posix/glob64.c: Likewise.
26967         * posix/nanosleep.c: Likewise.
26968         * posix/pathconf.c: Likewise.
26969         * posix/pause.c: Likewise.
26970         * posix/posix_madvise.c: Likewise.
26971         * posix/pread.c: Likewise.
26972         * posix/pread64.c: Likewise.
26973         * posix/pwrite.c: Likewise.
26974         * posix/pwrite64.c: Likewise.
26975         * posix/sched_getaffinity.c: Likewise.
26976         * posix/sched_getp.c: Likewise.
26977         * posix/sched_gets.c: Likewise.
26978         * posix/sched_primax.c: Likewise.
26979         * posix/sched_primin.c: Likewise.
26980         * posix/sched_rr_gi.c: Likewise.
26981         * posix/sched_setaffinity.c: Likewise.
26982         * posix/sched_setp.c: Likewise.
26983         * posix/sched_sets.c: Likewise.
26984         * posix/sched_yield.c: Likewise.
26985         * posix/setgid.c: Likewise.
26986         * posix/setlogin.c: Likewise.
26987         * posix/setpgid.c: Likewise.
26988         * posix/setresgid.c: Likewise.
26989         * posix/setresuid.c: Likewise.
26990         * posix/setsid.c: Likewise.
26991         * posix/setuid.c: Likewise.
26992         * posix/sleep.c: Likewise.
26993         * posix/spawni.c: Likewise.
26994         * posix/sysconf.c: Likewise.
26995         * posix/times.c: Likewise.
26996         * posix/wait.c: Likewise.
26997         * posix/wait3.c: Likewise.
26998         * posix/wait4.c: Likewise.
26999         * posix/waitpid.c: Likewise.
27000         * resolv/gai_sigqueue.c: Likewise.
27001         * resource/getpriority.c: Likewise.
27002         * resource/getrlimit.c: Likewise.
27003         * resource/getrusage.c: Likewise.
27004         * resource/nice.c: Likewise.
27005         * resource/setpriority.c: Likewise.
27006         * resource/setrlimit.c: Likewise.
27007         * resource/ulimit.c: Likewise.
27008         * rt/aio_cancel.c: Likewise.
27009         * rt/aio_fsync.c: Likewise.
27010         * rt/aio_read.c: Likewise.
27011         * rt/aio_sigqueue.c: Likewise.
27012         * rt/aio_suspend.c: Likewise.
27013         * rt/aio_write.c: Likewise.
27014         * rt/clock_getres.c: Likewise.
27015         * rt/clock_gettime.c: Likewise.
27016         * rt/clock_nanosleep.c: Likewise.
27017         * rt/clock_settime.c: Likewise.
27018         * rt/lio_listio.c: Likewise.
27019         * rt/mq_close.c: Likewise.
27020         * rt/mq_getattr.c: Likewise.
27021         * rt/mq_notify.c: Likewise.
27022         * rt/mq_open.c: Likewise.
27023         * rt/mq_receive.c: Likewise.
27024         * rt/mq_send.c: Likewise.
27025         * rt/mq_setattr.c: Likewise.
27026         * rt/mq_timedreceive.c: Likewise.
27027         * rt/mq_timedsend.c: Likewise.
27028         * rt/mq_unlink.c: Likewise.
27029         * rt/shm_open.c: Likewise.
27030         * rt/shm_unlink.c: Likewise.
27031         * rt/timer_create.c: Likewise.
27032         * rt/timer_delete.c: Likewise.
27033         * rt/timer_getoverr.c: Likewise.
27034         * rt/timer_gettime.c: Likewise.
27035         * rt/timer_settime.c: Likewise.
27036         * setjmp/__longjmp.c: Likewise.
27037         * setjmp/setjmp.c: Likewise.
27038         * signal/kill.c: Likewise.
27039         * signal/killpg.c: Likewise.
27040         * signal/raise.c: Likewise.
27041         * signal/sigaction.c: Likewise.
27042         * signal/sigaltstack.c: Likewise.
27043         * signal/sigblock.c: Likewise.
27044         * signal/sigignore.c: Likewise.
27045         * signal/sigintr.c: Likewise.
27046         * signal/signal.c: Likewise.
27047         * signal/sigpause.c: Likewise.
27048         * signal/sigpending.c: Likewise.
27049         * signal/sigqueue.c: Likewise.
27050         * signal/sigreturn.c: Likewise.
27051         * signal/sigset.c: Likewise.
27052         * signal/sigsetmask.c: Likewise.
27053         * signal/sigstack.c: Likewise.
27054         * signal/sigsuspend.c: Likewise.
27055         * signal/sigtimedwait.c: Likewise.
27056         * signal/sigvec.c: Likewise.
27057         * signal/sigwait.c: Likewise.
27058         * signal/sigwaitinfo.c: Likewise.
27059         * signal/sysv_signal.c: Likewise.
27060         * socket/accept.c: Likewise.
27061         * socket/accept4.c: Likewise.
27062         * socket/bind.c: Likewise.
27063         * socket/connect.c: Likewise.
27064         * socket/getpeername.c: Likewise.
27065         * socket/getsockname.c: Likewise.
27066         * socket/getsockopt.c: Likewise.
27067         * socket/isfdtype.c: Likewise.
27068         * socket/listen.c: Likewise.
27069         * socket/recv.c: Likewise.
27070         * socket/recvfrom.c: Likewise.
27071         * socket/recvmsg.c: Likewise.
27072         * socket/send.c: Likewise.
27073         * socket/sendmsg.c: Likewise.
27074         * socket/sendto.c: Likewise.
27075         * socket/setsockopt.c: Likewise.
27076         * socket/shutdown.c: Likewise.
27077         * socket/sockatmark.c: Likewise.
27078         * socket/socket.c: Likewise.
27079         * socket/socketpair.c: Likewise.
27080         * stdio-common/ctermid.c: Likewise.
27081         * stdio-common/cuserid.c: Likewise.
27082         * stdio-common/remove.c: Likewise.
27083         * stdio-common/rename.c: Likewise.
27084         * stdio-common/renameat.c: Likewise.
27085         * stdio-common/tempname.c: Likewise.
27086         * stdlib/getcontext.c: Likewise.
27087         * stdlib/makecontext.c: Likewise.
27088         * stdlib/setcontext.c: Likewise.
27089         * stdlib/swapcontext.c: Likewise.
27090         * stdlib/system.c: Likewise.
27091         * streams/fattach.c: Likewise.
27092         * streams/fdetach.c: Likewise.
27093         * streams/getmsg.c: Likewise.
27094         * streams/getpmsg.c: Likewise.
27095         * streams/putmsg.c: Likewise.
27096         * streams/putpmsg.c: Likewise.
27097         * sysdeps/unix/bsd/getpt.c: Likewise.
27098         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27099         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27100         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27102         Likewise.
27103         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27104         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27105         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27106         * sysvipc/msgctl.c: Likewise.
27107         * sysvipc/msgget.c: Likewise.
27108         * sysvipc/msgrcv.c: Likewise.
27109         * sysvipc/msgsnd.c: Likewise.
27110         * sysvipc/semctl.c: Likewise.
27111         * sysvipc/semget.c: Likewise.
27112         * sysvipc/semop.c: Likewise.
27113         * sysvipc/semtimedop.c: Likewise.
27114         * sysvipc/shmat.c: Likewise.
27115         * sysvipc/shmctl.c: Likewise.
27116         * sysvipc/shmdt.c: Likewise.
27117         * sysvipc/shmget.c: Likewise.
27118         * termios/tcdrain.c: Likewise.
27119         * termios/tcflow.c: Likewise.
27120         * termios/tcflush.c: Likewise.
27121         * termios/tcgetattr.c: Likewise.
27122         * termios/tcgetpgrp.c: Likewise.
27123         * termios/tcsendbrk.c: Likewise.
27124         * termios/tcsetattr.c: Likewise.
27125         * termios/tcsetpgrp.c: Likewise.
27126         * time/adjtime.c: Likewise.
27127         * time/clock.c: Likewise.
27128         * time/getitimer.c: Likewise.
27129         * time/gettimeofday.c: Likewise.
27130         * time/setitimer.c: Likewise.
27131         * time/settimeofday.c: Likewise.
27132         * time/stime.c: Likewise.
27133         * time/time.c: Likewise.
27135 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27137         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27138         /usr/old/bin.
27140         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27141         instead of spaces.
27142         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27144 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27146         [BZ #14796]
27147         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27148         FE_TONEAREST before applying Dekker multiplication and Knuth
27149         addition.  Clear inexact exceptions and check for exact zero
27150         results afterwards.
27151         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27152         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27153         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27154         * math/libm-test.inc (fma_test): Add more tests.
27155         (fma_test_towardzero): Likewise.
27156         (fma_test_downward): Likewise.
27157         (fma_test_upward): Likewise.
27158         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27159         function.
27160         (libc_fesetround): New macro.
27161         (libc_fesetroundf): Likewise.
27162         (libc_fesetroundl): Likewise.
27163         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27164         function.
27165         (libc_fesetround_387): Likewise.
27166         (libc_fesetroundf): New macro.
27167         (libc_fesetround): Likewise.
27168         (libc_fesetroundl): Likewise.
27169         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27170         function.
27171         (libc_fesetroundf): New macro.
27172         (libc_fesetround): Likewise.
27173         (libc_fesetroundl): Likewise.
27174         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27175         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27176         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27177         libm_hidden_ver.
27178         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27179         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27180         libm_hidden_def.
27181         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27182         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27183         libm_hidden_ver.
27184         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27185         libm_hidden_def.
27187         [BZ #3439]
27188         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27189         integer constant usable in #if and use that to give value to enum
27190         constant.
27191         (FE_DIVBYZERO): Likewise.
27192         (FE_UNDERFLOW): Likewise.
27193         (FE_OVERFLOW): Likewise.
27194         (FE_INVALID): Likewise.
27195         (FE_INVALID_SNAN): Likewise.
27196         (FE_INVALID_ISI): Likewise.
27197         (FE_INVALID_IDI): Likewise.
27198         (FE_INVALID_ZDZ): Likewise.
27199         (FE_INVALID_IMZ): Likewise.
27200         (FE_INVALID_COMPARE): Likewise.
27201         (FE_INVALID_SOFTWARE): Likewise.
27202         (FE_INVALID_SQRT): Likewise.
27203         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27204         (FE_TONEAREST): Likewise.
27205         (FE_TOWARDZERO): Likewise.
27206         (FE_UPWARD): Likewise.
27207         (FE_DOWNWARD): Likewise.
27208         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27209         (FE_DIVBYZERO): Likewise.
27210         (FE_OVERFLOW): Likewise.
27211         (FE_UNDERFLOW): Likewise.
27212         (FE_INEXACT): Likewise.
27213         (FE_TONEAREST): Likewise.
27214         (FE_DOWNWARD): Likewise.
27215         (FE_UPWARD): Likewise.
27216         (FE_TOWARDZERO): Likewise.
27217         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27218         (FE_UNDERFLOW): Likewise.
27219         (FE_OVERFLOW): Likewise.
27220         (FE_DIVBYZERO): Likewise.
27221         (FE_INVALID): Likewise.
27222         (FE_TONEAREST): Likewise.
27223         (FE_TOWARDZERO): Likewise.
27224         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27225         (FE_OVERFLOW): Likewise.
27226         (FE_UNDERFLOW): Likewise.
27227         (FE_DIVBYZERO): Likewise.
27228         (FE_INEXACT): Likewise.
27229         (FE_TONEAREST): Likewise.
27230         (FE_TOWARDZERO): Likewise.
27231         (FE_UPWARD): Likewise.
27232         (FE_DOWNWARD): Likewise.
27233         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27234         (FE_DIVBYZERO): Likewise.
27235         (FE_OVERFLOW): Likewise.
27236         (FE_UNDERFLOW): Likewise.
27237         (FE_INEXACT): Likewise.
27238         (FE_TONEAREST): Likewise.
27239         (FE_DOWNWARD): Likewise.
27240         (FE_UPWARD): Likewise.
27241         (FE_TOWARDZERO): Likewise.
27243 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27245         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27247 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27249         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27250         commands.  Quote $PWD.
27251         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27252         -x" by "export".
27253         (remove_newlines): Remove.
27255 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27257         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27258         * stdlib/stdlib.h (atof): Moved to ...
27259         * include/bits/stdlib-float.h: Here.  New file.
27260         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27261         * stdlib/bits/stdlib-float.h: New file.
27262         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27263         -mno-sse -mno-mmx.
27264         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27265         <xmmintrin.h>.
27267 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27269         * conform/conformtest.pl (@headers): Add fenv.h.
27270         * conform/data/fenv.h-data: New file.
27271         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27272         include of <math/fenv.h>.
27274         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27275         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27276         && !UNIX98].  Enables tests for XOPEN2K8.
27277         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27278         POSIX2008]: Likewise.
27280         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27281         (struct rusage): Do not expect type or its members.
27283         [BZ #3439]
27284         * math/math.h (FP_NAN): Define macro to integer constant usable in
27285         #if and use that to give value to enum constant.
27286         (FP_INFINITE): Likewise.
27287         (FP_ZERO): Likewise.
27288         (FP_SUBNORMAL): Likewise.
27289         (FP_NORMAL): Likewise.
27291 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27293         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27294         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27295         arguments.
27297 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27299         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27300         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27301         autoconf-time if not.
27302         * configure.in: Remove AC_PREREQ.
27304 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27306         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27307         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27308         of the internal implementation.
27310 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27312         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27313         except include of <misc/sys/syslog.h>.
27315 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27318         function returns with a NULL context exit with zero.
27320 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27322         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27324 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27326         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27327         (run_program_cmd): This.
27328         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27329         (tst_langinfo): New variable.  Use it.
27331 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27333         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27334         floating point opcodes.
27336 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27338         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27339         variable.
27341         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27343         * sysdeps/mach/hurd/powerpc: Remove directory.
27344         * sysdeps/mach/powerpc: Likewise.
27346 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27348         * scripts/check-local-headers.sh: Ignore c++ headers.
27350 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27352         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27353         __libc_cleanup_region_start argument.
27355 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27357         [BZ #14784]
27358         [BZ #14785]
27359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27360         x * y using scaling, not as x * y + z.
27361         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27362         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27363         * math/libm-test.inc (fma_test): Add more tests.
27364         (fma_test_towardzero): Likewise.
27365         (fma_test_downward): Likewise.
27366         (fma_test_upward): Likewise.
27368 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27370         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27372 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27374         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27375         New variable.
27377 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27379         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27381 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27384         Fix sort order.
27385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27386         Likewise.
27388 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27391         Fix the order of the list for glibc 2.17.
27392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27393         Likewise.
27395 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27399 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27401         [BZ #14610]
27402         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27403         for low part of x being zero before using __atanl (y).
27404         * math/libm-test.inc (atan2_test): Add another test.
27406         * manual/install.texi (Configuring and compiling): Document
27407         general use of test-wrapper and test-wrapper-env.
27408         * INSTALL: Regenerated.
27410         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27411         (__fma): Do not extract and scale down low bits on after-rounding
27412         systems when result rounded to normal precision would have normal
27413         exponent.
27414         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27415         (__fmal): Do not extract and scale down low bits on after-rounding
27416         systems when result rounded to normal precision would have normal
27417         exponent.
27418         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27419         (__fmal): Do not extract and scale down low bits on after-rounding
27420         systems when result rounded to normal precision would have normal
27421         exponent.
27422         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27423         macro.
27424         (fma_test): Add more tests.
27425         (fma_test_towardzero): Likewise.
27426         (fma_test_downward): Likewise.
27427         (fma_test_upward): Likewise.
27429 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27431         * sysdeps/i386/tininess.h: Renamed to ...
27432         * sysdeps/x86/tininess.h: This.
27433         * sysdeps/x86_64/tininess.h: Removed.
27435 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27437         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27438         input.  Use $(build-program-cmd).
27439         ($(objpfx)tst-array1-static.out): Likewise.
27440         ($(objpfx)tst-array2.out): Likewise.
27441         ($(objpfx)tst-array3.out): Likewise.
27442         ($(objpfx)tst-array4.out): Likewise.
27443         ($(objpfx)tst-array5.out): Likewise.
27444         ($(objpfx)tst-array5-static.out): Likewise.
27446 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27448         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27449         if defined.
27451         * nss/nsswitch.h (nss_interface_function): Provide new
27452         macro for use with NSS functions.
27453         * grp/initgroups.c: Use new macro.
27454         * nss/getXXbyYY.c: Likewise.
27455         * nss/getXXbyYY_r.c: Likewise.
27456         * nss/getXXent.c: Likewise.
27457         * nss/getXXent_r.c: Likewise.
27458         * sysdeps/posix/getaddrinfo.c: Likewise.
27460 2012-10-30  Andreas Jaeger  <aj@suse.de>
27462         * po/ru.po: Update Russion translation from translation project.
27464 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27466         [BZ #14152]
27467         [BZ #14783]
27468         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27469         result and shift together with sticky bit instead of replicating
27470         round-to-nearest rounding.
27471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27472         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27473         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27474         missing underflow exceptions.
27475         (fma_test_towardzero): Add more tests.
27476         (fma_test_downward): Likewise.
27477         (fma_test_upward): Likewise.
27479         [BZ #14047]
27480         * sysdeps/generic/tininess.h: New file.
27481         * sysdeps/i386/tininess.h: Likewise.
27482         * sysdeps/sh/tininess.h: Likewise.
27483         * sysdeps/x86_64/tininess.h: Likewise.
27484         * stdlib/tst-strtod-underflow.c: Likewise.
27485         * stdlib/tst-tininess.c: Likewise.
27486         * stdlib/strtod_l.c: Include <tininess.h>.
27487         (round_and_return): Do not set errno for exact underflow cases.
27488         Force an underflow exception when setting errno for underflow.
27489         Determine underflow based on rounding to normal precision if
27490         TININESS_AFTER_ROUNDING.
27491         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27492         ERANGE for exact underflow cases.
27493         * stdlib/Makefile (tests): Add tst-tininess and
27494         tst-strtod-underflow.
27495         ($(objpfx)tst-tininess): Use $(link-libm).
27496         ($(objpfx)tst-strtod-underflow): Likewise.
27498 2012-10-30  Andreas Jaeger  <aj@suse.de>
27500         [BZ#14767]
27501         * elf/Makefile (tests): Remove conditional for have-initfini-array
27502         since this is now always required and the variable does not exist
27503         anymore.
27504         (tests-static): Likewise.
27505         (modules-names): Likewise.
27507         * po/eo.po: Add Esperanto translation from translation project.
27509         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27510         merged with constructor/destructor.
27511         (init_array): Likewise.
27512         * elf/tst-array2dep.c (fini_array): Likewise.
27513         (init_array): Likewise.
27515 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27517         * manual/message.texi: Delete @cartouche tags.
27519 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27521         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27522         EOPNOTSUPP.
27523         * sysdeps/mach/hurd/fsync.c: Likewise.
27525         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27526         [_POSIX_REALTIME_SIGNALS]: Change condition to
27527         [_POSIX_REALTIME_SIGNALS > 0].
27529 2012-10-27  Andreas Jaeger  <aj@suse.de>
27531         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27532         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27533         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27534         [__WORDSIZE != 64]: Likewise.
27536 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27538         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27539         *  iconvdata/tst-tables.sh: Likewise.
27541 2012-10-25  David S. Miller  <davem@davemloft.net>
27543         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27544         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27545         of strtoull.
27547         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27548         ifunc-impl-list.c
27549         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27550         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27551         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27552         file.
27554 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27556         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27557         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27558         __getdirentries.
27560 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27561             Jim Blandy  <jimb@codesourcery.com>
27563         * scripts/cross-test-ssh.sh: New file.
27564         * manual/install.texi (Configuring and compiling): Document use of
27565         cross-test-ssh.sh.
27566         * INSTALL: Regenerated.
27568 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27570         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27571         EOPNOTSUPP.
27573 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27575         * Makeconfig (run-program-prefix): Fix comment.
27577 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27578             Jim Blandy  <jimb@codesourcery.com>
27580         * Makeconfig (test-wrapper): New variable,
27581         (test-wrapper-env): Likewise.
27582         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27583         (run-built-tests): Define to yes.
27584         (run-program-prefix): Use $(test-wrapper).
27585         (built-program-cmd): Likewise.
27586         * Rules (make-test-out): Use $(test-wrapper-env) and
27587         $(host-built-program-cmd).
27588         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27589         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27590         tst-pathopt.sh.
27591         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27592         $(test-wrapper-env) to tst-rtld-load-self.sh.
27593         ($(objpfx)order2.out): Use $(test-wrapper).
27594         ($(objpfx)tst-initorder.out): Likewise.
27595         ($(objpfx)tst-initorder2.out): Likewise.
27596         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27597         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27598         (test_wrapper_env): New variable.  Use it to run ld.so.
27599         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27600         Use it to run ld.so.
27601         (test_wrapper_env): Likewise.
27602         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27603         $(test-wrapper) to run-iconv-test.sh.
27604         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27605         (ICONV): Use $test_wrapper.
27606         * posix/Makefile ($(objpfx)globtest.out): Pass
27607         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27608         globtest.sh, not $(run-program-prefix).
27609         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27610         (test_wrapper): Likewise.
27611         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27612         set together with run_via_rtld_prefix.
27613         (run_program_prefix): Define in terms of test_wrapper and
27614         run_via_rtld_prefix.
27616 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27618         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27619         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27620         Targets removed.
27622         [BZ #14743]
27623         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27624         Declare __clock_getres, __clock_gettime, __clock_settime,
27625         __clock_nanosleep, and __clock_getcpuclockid.
27626         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27627         Remove librt_hidden_def (clock_gettime).
27628         * sysdeps/unix/clock_gettime.c: Likewise.
27629         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27630         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27631         * rt/clock_getres.c: Define __clock_getres as an alias.
27632         * sysdeps/posix/clock_getres.c: Likewise.
27633         * rt/clock_settime.c: Define __clock_settime as an alias.
27634         * sysdeps/unix/clock_settime.c: Likewise.
27635         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27636         * sysdeps/unix/clock_nanosleep.c: Likewise.
27637         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27638         * rt/clock-compat.c: New file.
27639         * rt/Makefile (librt-routines): Add clock-compat and move
27640         $(clock-routines) to ...
27641         (routines): ... here, new variable.
27642         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27643         Don't add get_clockfreq here.
27644         * rt/Versions (libc: GLIBC_2.17): New version set.
27645         Add clock_* symbols here.
27646         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27647         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27648         (GLIBC_2.17): Add clock_* symbols.
27649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27650         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27651         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27653         Likewise.
27654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27655         Likewise.
27656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27660         * NEWS: Mention the move.
27662         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27663         Use __open, __read, __close rather than their public counterparts.
27664         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27665         (__get_clockfreq_via_cpuinfo): Likewise.
27666         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27667         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27669         * config.h.in (HAVE_IFUNC): New #undef.
27670         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27671         was successful.
27672         * configure: Regenerated.
27674 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27676         * configure.in: Move READELF check to start of file.
27677         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27678         libc_cv_asm_gnu_indirect_function in the process.
27679         * configure: Regenerated.
27681 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27683         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27684         send the output to /dev/null.
27685         (libc_cv_cc_with_libunwind): Likewise.
27686         (libc_cv_as_noexecstack): Likewise.
27687         * configure: Regenerate.
27689 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27691         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27693         * posix/globtest.sh (TMPDIR): Do not set.
27694         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27695         (testout): Likewise.
27697 2012-10-24  Andreas Jaeger  <aj@suse.de>
27699         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27700         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27701         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27702         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27703         posix_fadvise64, posix_fallocate64.
27705         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27706         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27707         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27708         Likewise.
27709         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27710         Likewise.
27711         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27713         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27714         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27715         <bits/fcntl-linux.h>.
27716         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27718         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27719         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27720         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27721         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27722         [__WORDSIZE != 64]: Likewise.
27724 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27726         * Makeconfig (run-built-tests): New variable.
27727         * Rules [$(cross-compiling) = yes]: Change condition to
27728         [$(run-built-tests) = no].
27729         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27730         to [$(run-built-tests) = yes].
27731         * elf/Makefile [$(cross-compiling) = no]: Likewise
27732         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27733         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27734         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27735         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27736         * io/Makefile [$(cross-compiling) = no]: Likewise.
27737         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27738         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27739         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27740         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27741         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27742         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27743         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27744         * string/Makefile [$(cross-compiling) = no]: Likewise.
27746         * posix/Makefile ($(objpfx)globtest.out): Pass
27747         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27748         $(rtld-installed-name).
27749         * posix/globtest.sh (elf_objpfx): Remove variable.
27750         (rtld_installed_name): Likewise.
27751         (library_path): Likewise.
27752         (run_program_prefix): New variable.  Use for running globtest
27753         binary.
27755 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27756             Joseph Myers  <joseph@codesourcery.com>
27758         * Makeconfig (host-built-program-cmd): New variable.
27759         * elf/Makefile (tst-stackguard1-ARGS): Use
27760         $(host-built-program-cmd).
27761         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27762         (tst-spawn-ARGS): Likewise.
27763         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27765 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27766             Jim Blandy  <jimb@codesourcery.com>
27768         * Makeconfig (run-via-rtld-prefix): New variable.
27769         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27770         (built-program-cmd): Likewise.
27772 2012-10-22  Andreas Jaeger  <aj@suse.de>
27774         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27775         __O_RSYNC if it exists, otherwise to O_SYNC.
27777 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27778             Joseph Myers  <joseph@codesourcery.com>
27780         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27781         /dev/null.
27782         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27783         from /dev/null
27784         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27785         /dev/null.
27787 2012-10-22  Andreas Jaeger  <aj@suse.de>
27789         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27790         Define always.
27791         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27793         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27794         bits/fcntl-linux.h.
27796         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27797         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27799         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27800         to __O_LARGEFILE.
27801         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27802         to __O_LARGEFILE.
27804 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27805             Joseph Myers  <joseph@codesourcery.com>
27807         * config.make.in (NM): New variable.
27809 2012-10-21  Andreas Jaeger  <aj@suse.de>
27811         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27812         definitions and declarations that are provided by
27813         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27815 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27817         [BZ #14683]
27818         * elf/Makefile (tests-static): Add tst-leaks1-static.
27819         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27820         ($(objpfx)tst-leaks1-static): New rule.
27821         ($(objpfx)tst-leaks1-static-mem): Likewise.
27822         (tst-leaks1-static-ENV): New macro.
27823         * elf/dl-open.c (dl_open_worker): Check the main application
27824         only if SHARED is defined.
27825         * elf/tst-leaks1-static.c: New file.
27827 2012-10-20  Andreas Jaeger  <aj@suse.de>
27829         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27830         generic values for Linux.
27831         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27832         and declarations that are provided by <bits/fcntl-linux.h> and
27833         include <bits/fcntl-linux.h>.
27834         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27835         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27837 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27839         * io/fcntl.h: Move include of <bits/types.h> to the top and
27840         include it unconditionally.
27842 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27844         * wcsmbs/Makefile (tests-ifunc): New variable.
27845         (tests): Add $(tests-ifunc).
27846         * wcsmbs/test-wcschr-ifunc.c: New file.
27847         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27848         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27849         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27850         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27851         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27853         * string/Makefile (tests-ifunc): New variable.
27854         (tests): Add $(tests-ifunc).
27855         * string/test-memccpy.c (TEST_NAME): New macro.
27856         * string/test-memchr.c (TEST_NAME): Likewise.
27857         * string/test-memcmp.c (TEST_NAME): Likewise.
27858         * string/test-memcpy.c (TEST_NAME): Likewise.
27859         * string/test-memmem.c (TEST_NAME): Likewise.
27860         * string/test-memmove.c (TEST_NAME): Likewise.
27861         * string/test-memset.c (TEST_NAME): Likewise.
27862         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27863         * string/test-stpcpy.c (TEST_NAME): Likewise.
27864         * string/test-stpncpy.c (TEST_NAME): Likewise.
27865         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27866         * string/test-strcasestr.c (TEST_NAME): Likewise.
27867         * string/test-strcat.c (TEST_NAME): Likewise.
27868         * string/test-strchr.c (TEST_NAME): Likewise.
27869         * string/test-strcmp.c(TEST_NAME): Likewise.
27870         * string/test-strcpy.c (TEST_NAME): Likewise.
27871         * string/test-strcspn.c (TEST_NAME): Likewise.
27872         * string/test-strlen.c (TEST_NAME): Likewise.
27873         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27874         * string/test-strncmp.c (TEST_NAME): Likewise.
27875         * string/test-strncpy.c (TEST_NAME): Likewise.
27876         * string/test-strnlen.c (TEST_NAME): Likewise.
27877         * string/test-strpbrk.c (TEST_NAME): Likewise.
27878         * string/test-strrchr.c (TEST_NAME): Likewise.
27879         * string/test-strspn.c (TEST_NAME): Likewise.
27880         * string/test-strstr.c (TEST_NAME): Likewise.
27881         * string/test-bcopy-ifunc.c: New file.
27882         * string/test-bzero-ifunc.c: Likewise.
27883         * string/test-memccpy-ifunc.c: Likewise.
27884         * string/test-memchr-ifunc.c: Likewise.
27885         * string/test-memcmp-ifunc.c: Likewise.
27886         * string/test-memcpy-ifunc.c: Likewise.
27887         * string/test-memmem-ifunc.c: Likewise.
27888         * string/test-memmove-ifunc.c: Likewise.
27889         * string/test-mempcpy-ifunc.c: Likewise.
27890         * string/test-memset-ifunc.c: Likewise.
27891         * string/test-rawmemchr-ifunc.c: Likewise.
27892         * string/test-stpcpy-ifunc.c: Likewise.
27893         * string/test-stpncpy-ifunc.c: Likewise.
27894         * string/test-strcasecmp-ifunc.c: Likewise.
27895         * string/test-strcasestr-ifunc.c: Likewise.
27896         * string/test-strcat-ifunc.c: Likewise.
27897         * string/test-strchr-ifunc.c: Likewise.
27898         * string/test-strchrnul-ifunc.c: Likewise.
27899         * string/test-strcmp-ifunc.c: Likewise.
27900         * string/test-strcpy-ifunc.c: Likewise.
27901         * string/test-strcspn-ifunc.c: Likewise.
27902         * string/test-strlen-ifunc.c: Likewise.
27903         * string/test-strncasecmp-ifunc.c: Likewise.
27904         * string/test-strncat-ifunc.c: Likewise.
27905         * string/test-strncmp-ifunc.c: Likewise.
27906         * string/test-strncpy-ifunc.c: Likewise.
27907         * string/test-strnlen-ifunc.c: Likewise.
27908         * string/test-strpbrk-ifunc.c: Likewise.
27909         * string/test-strrchr-ifunc.c: Likewise.
27910         * string/test-strspn-ifunc.c: Likewise.
27911         * string/test-strstr-ifunc.c: Likewise.
27913         * debug/Makefile (tests-ifunc): New variable.
27914         (tests): Add $(tests-ifunc).
27915         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27916         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27917         * debug/test-stpcpy_chk-ifunc.c: New file.
27918         * debug/test-strcpy_chk-ifunc.c: Likewise.
27920 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27922         [BZ #13601]
27923         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27924         header is not read in.
27926 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27928         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27929         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27930         directly.  Pass built executable to script as
27931         $(built-program-cmd).
27932         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27933         $testprogram without using LD_LIBRARY_PATH and $ldso.
27935         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27936         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27937         $(rtld-installed-name).
27938         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27939         (rtld_installed_name): Likewise.
27940         (library_path): Likewise.
27941         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27942         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27943         $(run-program-prefix) to tst-tables.sh.
27944         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27945         it to run tst-table-from and tst-table-to.
27946         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27947         Pass it to tst-table.sh.
27948         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27949         $(run-program-prefix) to tst-gettext.sh.
27950         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27951         tst-translit.sh.
27952         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27953         tst-gettext2.sh.
27954         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27955         to run tst-gettext.
27956         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27957         to run tst-gettext2.
27958         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27959         to run tst-translit.
27960         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27961         $(run-program-prefix) to tst-mtrace.sh.
27962         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27963         to run tst-mtrace.
27964         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27965         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27966         $(rtld-installed-name).
27967         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27968         (rtld_installed_name): Likewise.
27969         (run_program_prefix): New variable.  Use it to run wordexp-test.
27971         * Makeconfig (ARCH): Remove all definitions.
27972         (machine): Likewise.
27973         [ARCH]: Remove conditional code.
27974         [!objdir]: Give error.
27975         [!objdir] (objpfx): Remove.
27976         [!objdir] (common-objpfx): Likewise.
27977         [!objdir] (common-objdir): Likewise.
27978         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27979         AC_CONFIG_FILES call.
27980         * configure: Regenerated.
27982         [BZ #13888]
27983         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27984         or TMPDIR.
27985         (testout): Likewise.
27987         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27988         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27989         $(rtld-installed-name).
27990         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27991         (rtld_installed_name): Likwise.
27992         (runit): Remove function.
27993         (run_getconf): New variable,  Use it for running getconf binary.
27995 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27997         [BZ #14716]
27998         * string/test-memmem.c (check_result): New function.
27999         (do_one_test): Use it.
28000         (check1): New function.
28001         (test_main): Use it.
28003 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28005         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28007 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28009         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28010         (_G_LSEEK64): Likewise.
28011         (_G_MMAP64): Likewise.
28012         (_G_FSTAT64): Likewise.
28013         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28014         (_G_LSEEK64): Likewise.
28015         (_G_MMAP64): Likewise.
28016         (_G_FSTAT64): Likewise.
28017         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28018         unconditional.  Call __mmap64 directly.
28019         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28020         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28021         __lseek64 directly.
28022         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28023         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28024         __mmap64 directly.
28025         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28026         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28027         __lseek64 directly.
28028         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28029         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28030         __lseek64 directly.
28031         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28032         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28033         __lseek64 directly.
28034         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28035         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28036         __fxstat64 directly.
28037         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28038         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28039         unconditional.
28040         (freopen64) [!_G_OPEN64]: Remove conditional code.
28041         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28042         unconditional.
28043         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28044         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28045         unconditional.
28046         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28047         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28048         unconditional.
28049         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28050         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28051         unconditional.
28052         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28053         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28054         unconditional.
28055         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28056         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28057         unconditional.
28058         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28059         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28060         unconditional.
28061         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28063 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28065         [BZ #12140]
28066         * manual/memory.texi (Malloc Tunable Parameters): Add note
28067         about free list pointers overwriting some perturb bytes.
28068         Wording suggested by Roland McGrath.
28070 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28072         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28073         (lgamma_test): Likewise.
28074         (tgamma_test): Likewise.
28076 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28078         [BZ #14700]
28079         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28080         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28082 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28084         * NEWS: Mention BZ #14716.
28085         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28086         when removing AVAILABLE1_USES_J macro.
28088 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28090         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28091         (__bswap_64): __uint64_t for unsigned 64-bit int.
28093 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28095         * include/string.h (memmem): Declare libc hidden alias.
28096         * string/memmem.c (memmem): Define libc hidden alias.
28097         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28098         __read, __close instead of open, read, close.
28100 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28102         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28103         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28104         global and hidden.
28105         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28106         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28107         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28108         Likewise.
28109         (__rawmemchr_sse2): Likewise.
28110         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28111         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28112         (__strchr_sse2): Likewise.
28113         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28114         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28115         (__strcasecmp_sse2): Likewise.
28116         (__strncasecmp_sse2): Likewise.
28117         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28118         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28119         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28120         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28121         (__strrchr_sse2): Likewise.
28122         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28123         ifunc-impl-list.c.
28124         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28125         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28126         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28127         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28128         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28129         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28130         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28131         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28132         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28133         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28134         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28135         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28136         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28137         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28138         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28139         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28140         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28141         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28142         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28143         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28144         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28145         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28146         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28147         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28148         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28149         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28150         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28151         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28152         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28153         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28155         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28156         global and hidden.
28157         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28158         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28159         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28160         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28161         Likewise.
28162         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28163         Likewise.
28164         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28165         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28166         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28167         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28168         ifunc-impl-list.c.
28169         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28170         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28171         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28172         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28173         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28174         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28175         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28176         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28177         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28178         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28179         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28180         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28181         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28182         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28183         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28184         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28185         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28186         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28187         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28188         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28189         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28190         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28191         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28192         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28193         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28194         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28195         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28196         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28197         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28198         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28199         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28200         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28201         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28202         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28203         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28204         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28205         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28206         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28207         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28208         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28209         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28211         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28212         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28213         * include/ifunc-impl-list.h: New file.
28214         * misc/ifunc-impl-list.c: Likewise.
28215         * misc/Makefile (routines): Add ifunc-impl-list.
28216         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28217         * string/test-string.h: Include <ifunc-impl-list.h>.
28218         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28219         TEST_NAME]: New variables.
28220         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28221         are defined.
28222         (test_init): Call __libc_ifunc_impl_list to initialize
28223         func_list if TEST_IFUNC and TEST_NAME are defined.
28225         * string/Makefile (strop-tests): Add bcopy and bzero.
28226         * string/test-bcopy.c: New file.
28227         * string/test-bzero.c: Likewise.
28228         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28229         defined.
28230         * string/test-memset.c: Support bzero test if TEST_BZERO is
28231         defined.
28232         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28233         __libc_memmove.
28234         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28235         __libc_memset.
28236         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28237         of memset.
28239 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28241         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28242         * configure: Regenerated.
28244         * Makeconfig (+link-static-before-libc): Don't include
28245         $(link-static-libc).
28247         * libio/libio.h (_IO_pos_t): Remove.
28249 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28251         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28252         McGrath.
28254 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28256         * crypt/crypt-entry.c: Include fips-private.h.
28257         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28258         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28259         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28260         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28262 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28264         * crypt/crypt-private.h: Include stdbool.h.
28265         (_ufc_setup_salt_r): Return bool.
28266         * crypt/crypt-entry.c: Include errno.h.
28267         (__crypt_r): Return NULL with EINVAL for bad salt.
28268         * crypt/crypt_util.c (bad_for_salt): New.
28269         (_ufc_setup_salt_r): Check that salt is long enough and within
28270         the specified alphabet.
28271         * crypt/badsalttest.c: New file.
28272         * crypt/Makefile (tests): Add it.
28273         ($(objpfx)badsalttest): New.
28275 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28277         * NEWS: Add entry for BZ #14602.
28279 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28281         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28282         type-generic.
28283         * math/libm-test.inc: Update comment listing what functions and
28284         macros are tested.
28285         (isgreater_test): New function.
28286         (isgreaterequal_test): Likewise.
28287         (isless_test): Likewise.
28288         (islessequal_test): Likewise.
28289         (islessgreater_test): Likewise.
28290         (isunordered_test): Likewise.
28291         (main): Call the new functions.
28293 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28295         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28296         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28297         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28298         * sysdeps/i386/configure: Regenerated.
28299         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28300         * sysdeps/mach/configure: Regenerated.
28301         * sysdeps/mach/hurd/configure: Regenerated.
28302         * sysdeps/powerpc/configure: Regenerated.
28303         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28304         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28305         * sysdeps/s390/s390-32/configure: Regenerated.
28306         * sysdeps/s390/s390-64/configure: Regenerated.
28307         * sysdeps/sh/configure: Regenerated.
28308         * sysdeps/sparc/configure: Regenerated.
28309         * sysdeps/unix/sysv/linux/configure: Regenerated.
28310         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28311         * sysdeps/x86_64/configure: Regenerated.
28313         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28314         defined.  Don't check if MAP is NULL.
28316 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28318         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28319         (_G_stat64): Likewise.
28320         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28321         (_G_stat64): Likewise.
28322         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28323         instead of struct _G_stat64.
28324         * libio/fileops.c (mmap_remap_check): Likewise.
28325         (decide_maybe_mmap): Likewise.
28326         (_IO_new_file_seekoff): Likewise.
28327         (_IO_file_stat): Likewise.
28328         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28329         _G_off64_t.
28330         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28331         instead of struct _G_stat64.
28332         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28334 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28336         [BZ #14602]
28337         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28338         Replace with ...
28339         (CHECK_EOL): New macro.
28340         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28341         CHECK_EOL.
28342         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28343         Replace with CHECK_EOL.
28344         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28345         Replace with CHECK_EOL.
28347 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28349         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28350         type-generic.
28351         * math/libm-test.inc: Update comment listing what functions and
28352         macros are tested.
28353         (finite_test): New function.
28354         (isinf_test): Likewise.
28355         (isnan_test): Likewise.
28356         (fpclassify_test): Test subnormal input.
28357         (isfinite_test): Likewise.
28358         (isnormal_test): Likewise.
28359         (main): Call the new functions.
28361 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28363         [BZ #14660]
28364         * Makerules (%.dynsym): Force C locale when running
28365         $(OBJDUMP) --dynamic-syms.
28367 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28369         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28370         <stdint.h>.
28372 2012-10-06  David S. Miller  <davem@davemloft.net>
28374         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28375         upper 32-bits of the length value in %o2 since we use branch-on-register
28376         tests which consider the entire 64-bit register.
28378 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28380         * string/test-strstr.c (check2): Add a test for page boundary.
28382 2012-10-05  David S. Miller  <davem@davemloft.net>
28384         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28385         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28386         file.
28387         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28388         sysdep_routines.
28389         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28390         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28391         and bzero when HWCAP_SPARC_CRYPTO is present.
28393 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28395         [BZ #14602]
28396         * string/test-strstr.c (check2): New function.
28397         (test_main): Call check2.
28399         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28400         and bug-strchr1.
28401         * string/bug-strcasestr1.c (do_test): Moved to ...
28402         * string/test-strcasestr.c (check1): Here.  New function.
28403         (do_one_test): Break out result checking code into ...
28404         (check_result): This.  New function.
28405         (do_one_test): Call check_result.
28406         (test_main): Call check1.
28407         * string/bug-strchr1.c (do_test): Moved to ...
28408         * string/test-strchr.c (check1): Here.  New function.
28409         (do_one_test): Break out result checking code into ...
28410         (check_result): This.  New function.
28411         (do_one_test): Call check_result.
28412         (test_main): Call check1.
28413         * string/bug-strstr1.c (main): Moved to ...
28414         * string/test-strstr.c (check1): Here.  New function.
28415         (do_one_test): Break out result checking code into ...
28416         (check_result): This.  New function.
28417         (do_one_test): Call check_result.
28418         (test_main): Call check1.
28419         * string/bug-strcasestr1.c: Removed.
28420         * string/bug-strchr1.c: Likewise.
28421         * string/bug-strstr1.c: Likewise.
28423         * elf/Makefile (dl-routines): Add hwcaps.
28424         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28425         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28426         (_dl_important_hwcaps): Moved to ...
28427         * elf/dl-hwcaps.c: Here.  New file.
28428         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28430         [BZ #14557]
28431         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28432         if IS_IN_rtld isn't defined.
28434         * elf/dl-support.c (_dl_sysinfo_map): New.
28435         Include "get-dynamic-info.h" and "setup-vdso.h".
28436         (_dl_non_dynamic_init): Call setup_vdso.
28437         * elf/dynamic-link.h: Don't include <assert.h>.
28438         (elf_get_dynamic_info): Moved to ...
28439         * elf/get-dynamic-info.h: Here.  New file.
28440         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28441         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28442         * elf/setup-vdso.h: Here.  New file.
28443         * elf/rtld.c: Include "setup-vdso.h".
28444         (dl_main): Call setup_vdso.
28446 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28448         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28449         creal in comment listing functions tested.  List finite, isinf,
28450         isnan, isless, islessequal, isgreater, isgreaterequal,
28451         islessgreater, isunordered, lgamma_r and pow10 as functions and
28452         macros not tested.  Mention which functions not tested are aliases
28453         for other functions.  Fix typo.  Note that signs of NaNs are not
28454         tested.
28456         * scripts/config.guess: Update from config.git.
28457         * scripts/config.sub: Likewise.
28459 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28461         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28462         * misc/madvise.c (madvise): Renamed to __madvise.
28463         Make madvise a weak alias.
28464         * include/sys/mman.h: Declare __madvise.
28465         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28466         * sysdeps/unix/syscalls.list
28467         (madvise): Make __madvise the strong name, and madvise a weak alias.
28468         * sysdeps/unix/sysv/linux/syscalls.list
28469         (madvise, mmap): Remove redundant entries.
28470         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28471         * malloc/malloc.c (mtrim): Likewise.
28472         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28474 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28476         * sysdeps/mach/hurd/dl-cache.c: File removed.
28477         * config.h.in (USE_LDCONFIG): New #undef.
28478         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28479         * configure: Regenerated.
28480         * elf/Makefile (dl-routines): Add dl-cache only under
28481         [$(use-ldconfig) = yes].
28482         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28483         cache on [USE_LDCONFIG].
28484         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28485         [USE_LDCONFIG].
28486         * elf/rtld.c (dl_main): Likewise.
28488 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28490         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28491         _SC_LEVEL4_CACHE_LINESIZE.
28493 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28495         * sysdeps/unix/bsd/confstr.h: File removed.
28497 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28499         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28500         sys/sdt-config.h.
28502 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28504         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28505         Make 'mapoff' field ElfW(Off) rather than off_t.
28507 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28509         * nscd/Makefile: Remove nscd-cflags and all its users.
28510         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28511         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28513         [BZ #10631]
28514         * malloc.c (malloc_printerr): Clarify error message.
28516 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28518         [BZ #14648]
28519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28520         Set bit_FMA_Usable if FMA is supported.
28521         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28522         macro.
28523         (bit_FMA4_Usable): Updated.
28524         (index_FMA_Usable): New macro.
28525         (CPUID_FMA): Likewise
28526         (HAS_FMA): Defined with bit_FMA_Usable.
28528 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28530         * bits/types.h (__swblk_t): Type removed.
28531         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28532         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28533         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28534         (__SWBLK_T_TYPE): Likewise.
28535         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28536         (__SWBLK_T_TYPE): Likewise.
28537         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28538         (__SWBLK_T_TYPE): Likewise.
28539         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28540         (__SWBLK_T_TYPE): Likewise.
28542 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28543             Honza Horak <hhorak@redhat.com>
28545         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28546         (xdr_mapname): Use YPMAXMAP as maxsize.
28547         (xdr_peername): Use YPMAXPEER as maxsize.
28548         (xdr_keydat): Use YPAXRECORD as maxsize.
28549         (xdr_valdat): Use YPMAXRECORD as maxsize.
28551 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28553         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28555         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28556         * csu/init-first.c: ... here.
28557         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28558         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28559         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28560         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28561         * sysdeps/i386/init-first.c: File removed.
28562         * sysdeps/sh/init-first.c: File removed.
28564 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28566         [BZ #14645]
28567         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28568         if x * y might underflow to zero and z is zero.
28569         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28570         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28571         * math/libm-test.inc (min_subnorm_value): New variable.
28572         (fma_test): Add more tests.
28573         (fma_test_towardzero): Likewise.
28574         (fma_test_downward): Likewise
28575         (fma_test_upward): Likewise.
28576         (initialize): Set min_subnorm_value.
28578 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28580         [BZ #14638]
28581         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28582         0 + 0.
28583         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28584         mode for addition resulting in exact zero.
28585         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28586         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28587         exact 0 + 0.
28588         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28589         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28590         * math/libm-test.inc (fma_test): Add more tests.
28591         (fma_test_towardzero): New function.
28592         (fma_test_downward): Likewise.
28593         (fma_test_upward): Likewise.
28594         (main): Call the new functions.
28596 2012-09-28  David S. Miller  <davem@davemloft.net>
28598         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28600 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28602         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28603         instead of SIGALRM.
28605         * sysdeps/gnu/_G_config.h: Moved to ...
28606         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28607         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28608         * sysdeps/generic/_G_config.h: ... here.
28610         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28612         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28614         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28615         Conditionalize target on [libnss_test1.so-version].
28617         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28619         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28620         (elfobjdir): Move out of conditionals.
28622         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28623         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28624         (__nss_lookup_function): Conditionalize label remove_from_tree on
28625         [!DO_STATIC_NSS || SHARED], matching its only use.
28627 2012-09-28  David S. Miller  <davem@davemloft.net>
28629         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28630         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28631         file.
28632         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28633         sysdep_routines.
28634         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28635         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28636         when HWCAP_SPARC_CRYPTO is present.
28638 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28640         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28642 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28644         [BZ #6530]
28645         * stdio-common/vfprintf.c (process_string_arg): Revert
28646         2000-07-22 change.
28648 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28650         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28651         for testcase.
28652         * stdio-common/tst-sprintf.c: Include <locale.h>
28653         (main): Test sprintf's handling of incomplete multibyte
28654         characters.
28656 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28658         * elf/dl-runtime.c (VERSYMIDX): Removed.
28659         * elf/dl-version.c (VERSYMIDX): Likewise.
28660         * elf/do-rel.h (VERSYMIDX): Likewise.
28661         (VALIDX): Likewise.
28662         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28663         * elf/rtld.c (VALIDX): Likewise.
28664         (ADDRIDX): Likewise.
28665         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28666         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28667         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28668         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28669         (VALIDX): Likewise.
28670         (ADDRIDX): Likewise.
28672 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28674         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28676 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28678         [BZ #11438]
28679         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28680         to global scope.
28681         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28682         addresses are in the same scope as 192.0.2/24.
28683         * posix/gai.conf: Document new scope table defaults.
28685 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28687         [BZ #5298]
28688         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28689         for ftell.  Compute offsets from write pointers instead.
28690         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28692 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28694         [BZ #14543]
28695         * libio/Makefile (tests): New test case tst-fseek.
28696         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28697         combination works in wide mode.
28698         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28699         state when the external buffer state changes.
28701 2012-09-27  David S. Miller  <davem@davemloft.net>
28703         [BZ #14376]
28704         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28705         pass reloc->r_addend in as the 'high' argument to
28706         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28710 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28712         * rt/tst-aio2.c: Include <pthread.h>.
28713         * rt/tst-aio3.c: Likewise.
28715 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28717         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28719 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28721         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28722         contents on [SHARED].
28724 2012-09-26  Marek Polacek  <polacek@redhat.com>
28726         [BZ #14530]
28727         [BZ #13741]
28728         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28729         for C++ and GCC <4.3 as well as for non GCC compilers.
28731 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28733         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28735 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28737         * Makefile.in (all, install): Declare with .PHONY.
28738         Reported by Michael Hope <michael.hope@linaro.org>.
28740 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28742         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28743         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28744         system header.
28745         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28746         Likewise.
28747         (sydep_routines): Add the new and the internal functions.
28748         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28749         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28751         (GLIBC_2.17): Add the new function.
28752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28753         (GLIBC_2.17): Likewise.
28754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28755         (GLIBC_2.17): Likewise.
28756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28757         (GLIBC_2.17): Likewise.
28758         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28760 2012-09-25  Alan Modra  <amodra@gmail.com>
28762         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28763         Add release barrier before setting once_control to say
28764         initialisation is done.  Add hints on lwarx.  Use macro in
28765         place of isync.
28766         (clear_once_control): Add release barrier.
28768 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28770         [BZ #13629]
28771         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28772         specially.
28773         * math/s_clog10.c (__clog10): Likewise.
28774         * math/s_clog10f.c (__clog10f): Likewise.
28775         * math/s_clog10l.c (__clog10l): Likewise.
28776         * math/s_clogf.c (__clogf): Likewise.
28777         * math/s_clogl.c (__clogl): Likewise.
28778         * math/Makefile (libm-calls): Add x2y2m1.
28779         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28780         (__x2y2m1): Likewise.
28781         (__x2y2m1l): Likewise.
28782         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28783         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28784         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28785         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28786         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28787         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28788         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28789         * sysdeps/i386/fpu/libm-test-ulps: Update.
28790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28792         [BZ #14621]
28793         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28794         int as type of variable DEPTH.
28795         (glob): Use size_t instead of int as type of variables NEWCOUNT
28796         and OLD_PATHC.
28798 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28800         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28801         Add s_sincosf-sse2.
28802         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28803         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28804         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28805         macros for using routine as __sincosf_ia32.
28806         Use macro for function declaration and weak_alias.
28807         * sysdeps/i386/fpu/libm-test-ulps: Update.
28809         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28812         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28813         subnormal argument.
28814         * math/s_cexpf.c (__cexpf): Likewise.
28815         * math/s_csinf.c (__csinf): Likewise.
28816         * math/s_csinhf.c (__csinhf): Likewise.
28817         * math/s_ctanf.c (__ctanf): Likewise.
28818         * math/s_ctanhf.c (__ctanhf): Likewise.
28819         * math/s_ccosh.c (__ccoshf): Likewise.
28820         * math/s_cexp.c (__cexpl): Likewise.
28821         * math/s_csin.c (__csin): Likewise.
28822         * math/s_csinh.c (__csinh): Likewise.
28823         * math/s_ctan.c (__ctan): Likewise.
28824         * math/s_ctanh.c (ctanh): Likewise.
28825         * math/s_ccoshl.c (__ccoshl): Likewise.
28826         * math/s_cexpl.c (__cexpl): Likewise.
28827         * math/s_csinl.c (__csinl): Likewise.
28828         * math/s_csinhl.c (__csinhl): Likewise.
28829         * math/s_ctanl.c (__ctanl): Likewise.
28830         * math/s_ctanhl.c (__ctanhl): Likewise.
28832 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28834         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28835         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28836         (_IO_off_t): Define to __off_t, not _G_off_t.
28837         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28838         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28839         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28840         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28841         type of __dummy and __dummy2 fields.
28842         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28843         (_G_ssize_t): Likewise.
28844         (_G_off_t): Likewise.
28845         (_G_pid_t): Likewise.
28846         (_G_uid_t): Likewise.
28847         (_G_wchar_t): Likewise.
28848         (_G_wint_t): Likewise.
28849         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28850         (_G_ssize_t): Likewise.
28851         (_G_off_t): Likewise.
28852         (_G_pid_t): Likewise.
28853         (_G_uid_t): Likewise.
28854         (_G_wchar_t): Likewise.
28855         (_G_wint_t): Likewise.
28856         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28857         (_G_ssize_t): Likewise.
28858         (_G_off_t): Likewise.
28859         (_G_pid_t): Likewise.
28860         (_G_uid_t): Likewise.
28861         (_G_wchar_t): Likewise.
28862         (_G_wint_t): Likewise.
28864 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28866         * malloc/arena.c: Include malloc-sysdep.h.
28867         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28868         is sufficient to shrink the heap or an unmap is needed.
28869         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28870         new function check_may_shrink_heap.
28871         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28872         new function check_may_shrink_heap.
28874 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28876         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28877         comments.
28879 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28881         * catgets/test-gencat.sh: Add "set -e".
28882         * elf/tst-pathopt.sh: Likewise.
28883         * grp/tst_fgetgrent.sh: Likewise.
28884         * iconvdata/run-iconv-test.sh: Likewise.
28885         * intl/tst-gettext.sh: Likewise.
28886         * intl/tst-gettext2.sh: Likewise.
28887         * intl/tst-gettext4.sh: Likewise.
28888         * intl/tst-gettext6.sh: Likewise.
28889         * intl/tst-translit.sh: Likewise.
28890         * io/ftwtest-sh: Likewise.
28891         * libio/test-freopen.sh: Likewise.
28892         * malloc/tst-mtrace.sh: Likewise.
28893         * posix/globtest.sh: Likewise.
28894         * posix/tst-getconf.sh: Likewise.
28895         * posix/wordexp-tst.sh: Likewise.
28896         * stdio-common/tst-printf.sh: Likewise.
28897         * stdio-common/tst-unbputc.sh: Likewise.
28898         * stdlib/tst-fmtmsg.sh: Likewise.
28899         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28900         * catgets/Makefile: Do not specify -e option when running
28901         testsuite shell scripts.
28902         * elf/Makefile: Likewise.
28903         * grp/Makefile: Likewise.
28904         * iconvdata/Makefile: Likewise.
28905         * intl/Makefile: Likewise.
28906         * io/Makefile: Likewise.
28907         * libio/Makefile: Likewise.
28908         * malloc/Makefile: Likewise.
28909         * posix/Makefile: Likewise.
28910         * stdio-common/Makefile: Likewise.
28911         * stdlib/Makefile: Likewise.
28912         * sysdeps/x86_64/Makefile: Likewise.
28914         * io/ftwtest-sh: Add copyright header.
28915         * posix/globtest.sh: Likewise.
28916         * posix/tst-getconf.sh: Likewise.
28917         * posix/wordexp-tst.sh: Likewise.
28918         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28920 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28922         [BZ #13679]
28923         * Makeconfig (+link): Defined as $(+link-static) if
28924         $(build-shared) isn't yes.
28925         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28926         isn't yes.
28927         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28929         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28931         [BZ #14562]
28932         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28933         new chunk size with MALLOC_ALIGN_MASK.
28935 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28937         [BZ #5044]
28938         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28939         <rounding-mode.h>.
28940         (__printf_fphex): Determine rounding using get_rounding_mode and
28941         round_away.
28942         * stdio-common/tst-printf-round.c (struct hex_test): New
28943         structure.
28944         (hex_tests): New variable.
28945         (test_hex_in_one_mode): New function.
28946         (do_test): Also run tests for hex float output.
28948 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28950         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28951         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28952         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28953         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28954         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28955         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28956         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28957         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28959 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28961         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28962         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28963         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28964         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28966 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28968         [BZ #14579]
28969         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28970         mode only.
28971         * elf/tst-rtld-load-self.sh: New test.
28972         * elf/Makefile: Run it.
28974 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28976         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28977         (tst-writev-ENV): Remove.
28978         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28980 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28982         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28984 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28986         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28987         unconditional.
28988         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28989         Likewise.
28990         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28991         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28992         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28993         Likewise.
28995 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28997         [BZ #14587]
28998         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28999         * config.make.in (have-cpp-asm-debuginfo): Removed.
29000         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29001         * configure: Regenerated.
29003 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29005         [BZ #5044]
29006         * stdio-common/printf_fp.c: Include <stdbool.h> and
29007         <rounding-mode.h>.
29008         (___printf_fp): Determine rounding using get_rounding_mode and
29009         round_away.
29010         * stdio-common/tst-printf-round.c: New file.
29011         * stdio-common/Makefile (tests): Add tst-printf-round.
29012         (link-libm): New variable.
29013         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29015 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29017         [BZ #14576]
29018         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29019         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29020         Likewise.
29021         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29022         Likewise.
29024 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29026         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29027         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29028         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29029         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29031 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29033         [BZ #14518]
29034         * include/rounding-mode.h: New file.
29035         * sysdeps/generic/get-rounding-mode.h: Likewise.
29036         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29037         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29038         (MAX_VALUE): New macro.
29039         (MIN_VALUE): Likewise.
29040         (overflow_value): New function.
29041         (underflow_value): Likewise.
29042         (round_and_return): Use overflow_value and underflow_value to
29043         determine return values in overflow and underflow cases.  Use
29044         round_away to determine rounding depending on rounding mode.
29045         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29046         determine return values in overflow and underflow cases.
29047         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29048         (struct test_results): New structure.
29049         (struct test): Use struct test_results to store expected results
29050         for all rounding modes.
29051         (TEST): Include expected results for all rounding modes.
29052         (test_in_one_mode): New function.
29053         (do_test): Use test_in_one_mode to compute and check results.
29054         Check results for all rounding modes.
29055         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29056         $(link-libm).
29058 2012-12-09  Allan McRae  <allan@archlinux.org>
29060         * sysdeps/i386/fpu/libm-test-ulps: Update
29062 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29064         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29065         (_G_int32_t): Likewise.
29066         (_G_uint16_t): Likewise.
29067         (_G_uint32_t): Likewise.
29068         (_G_HAVE_BOOL): Likewise.
29069         (_G_HAVE_ATEXIT): Likewise.
29070         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29071         (_G_HAVE_IO_FILE_OPEN): Likewise.
29072         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29073         (_G_int32_t): Likewise.
29074         (_G_uint16_t): Likewise.
29075         (_G_uint32_t): Likewise.
29076         (_G_HAVE_BOOL): Likewise.
29077         (_G_HAVE_ATEXIT): Likewise.
29078         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29079         (_G_HAVE_IO_FILE_OPEN): Likewise.
29080         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29081         (_G_int32_t): Likewise.
29082         (_G_uint16_t): Likewise.
29083         (_G_uint32_t): Likewise.
29084         (_G_HAVE_BOOL): Likewise.
29085         (_G_HAVE_ATEXIT): Likewise.
29086         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29087         (_G_HAVE_IO_FILE_OPEN): Likewise.
29089 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29091         * csu/libc-tls.c: Update copyright years.
29093 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29095         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29096         [!_G_USING_THUNKS]: Remove conditional code.
29097         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29098         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29100         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29101         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29102         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29103         (_G_VTABLE_LABEL_PREFIX): Likewise.
29104         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29105         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29106         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29107         (_G_VTABLE_LABEL_PREFIX): Likewise.
29108         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29109         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29110         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29111         (_G_VTABLE_LABEL_PREFIX): Likewise.
29112         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29114 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29116         * libio/Makefile: Include ../Makeconfig before tests.
29117         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29118         only if $(build-shared) is yes.
29120         * iconv/gconv_db.c: Update copyright years.
29122 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29124         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29125         unwind info if defined PIC. Fix special cases description.
29126         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29128         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29129         DP_HI_MASK entry.
29130         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29132 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29134         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29136         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29137         is NULL.
29139         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29140         (LDLIBS-tst-chk4): This.
29141         (LDFLAGS-tst-chk5): Renamed to ...
29142         (LDLIBS-tst-chk5): This.
29143         (LDFLAGS-tst-chk6): Renamed to ...
29144         (LDLIBS-tst-chk6): This.
29145         (LDFLAGS-tst-lfschk4): Renamed to ...
29146         (LDLIBS-tst-lfschk4): This.
29147         (LDFLAGS-tst-lfschk5): Renamed to ...
29148         (LDLIBS-tst-lfschk5): This.
29149         (LDFLAGS-tst-lfschk6): Renamed to ...
29150         (LDLIBS-tst-lfschk6): This.
29152         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29153         on $(common-objpfx)soversions.mk.
29155 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29157         [BZ #10014]
29158         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29159         example host name.
29161 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29163         * malloc/arena.c (arena_get_retry): New function that gets
29164         another arena for the caller to try its request on.
29165         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29166         current arena cannot fulfill the request.
29167         (__libc_memalign): Likewise.
29168         (__libc_memalign): Likewise.
29169         (__libc_pvalloc): Likewise.
29170         (__libc_calloc): Likewise.
29172 2012-09-05  John Tobey  <john.tobey@gmail.com>
29174         [BZ #13542]
29175         * manual/arith.texi (Operations on Complex): Fix description
29176         of carg branch cut.
29178 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29180         [BZ #10014]
29181         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29182         host name.
29184         [BZ #10038]
29185         * manual/memory.texi (Memory): Make order of menu items match
29186         order of sections.
29188 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29190         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29191         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29192         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29194 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29196         * csu/libc-tls.c (static_dtv): Renamed to ...
29197         (_dl_static_dtv): This.  Make it global.
29198         (_dl_initial_dtv): Removed.
29199         (__libc_setup_tls): Updated.
29200         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29201         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29202         DL_INITIAL_DTV.
29204 2012-09-06  Petr Machata  <pmachata@redhat.com>
29206         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29207         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29208         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29209         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29211 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29213         [BZ #14545]
29214         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29215         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29216         freeing dtv[-1].
29218 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29220         [BZ #14544]
29221         * Makeconfig (link-static-before-libc): Replace $(+prector)
29222         with $(+prectorT).
29223         (link-static-after-libc): Replace $(+postctor) with
29224         $(+postctorT).
29225         (link-bounded): Replace $(+prector)/$(+postctor) with
29226         $(+prectorT)/$(+postctorT).
29227         (+prectorT): New macro.
29228         (+postctorT): Likewise.
29230 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29232         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29233         (round_str): Handle values above the maximum for IBM long double
29234         as inexact.
29235         * stdlib/tst-strtod-round.c (tests): Regenerated.
29237 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29239         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29240         assembler flag.
29241         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29242         zarch_nohighgprs around the zarch optimized routines.
29243         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29244         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29245         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29246         for zarch.
29248 2012-09-05  David S. Miller  <davem@davemloft.net>
29250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29252         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29253         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29254         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29255         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29256         entries.
29258 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29260         * malloc/arena.c: Fold copyright years.
29261         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29263 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29265         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29267 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29269         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29271 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29273         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29274         change internal state upon failure.
29276 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29278         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29279         * malloc/memusage.c (mmap): Likewise.
29280         (mmap64, mremap): Likewise.  Adjust name in comment.
29282 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29284         * libio/fileops.c: Fix typos in comments.
29285         * libio/oldfileops.c: Likewise.
29286         * libio/wfileops.c: Likewise.
29288 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29290         [BZ #1349]
29291         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29292         (tst-malloc-usable-ENV): Set environment for test case.
29293         * malloc/hooks.c (malloc_check_get_size): New function to get
29294         requested size.
29295         * malloc/malloc.c (musable): Use malloc_check_get_size.
29296         * malloc/tst-malloc-usable.c: New test case.
29298 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29300         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29302 2012-09-05  Allan McRae  <allan@archlinux.org>
29304         [BZ #13966]
29305         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29306         determine header location.
29307         * configure: Regenerated.
29309 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29311         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29312         float format.
29313         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29314         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29315         format.
29316         (test): Regenerate.
29318 2012-09-04  David S. Miller  <davem@davemloft.net>
29320         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29321         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29322         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29324 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29326         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29327         failures.
29329         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29331 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29333         [BZ #9914]
29334         * libio/iogetdelim.c: Include <limits.h>.
29335         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29336         + len + 1 would overflow.
29338 2012-09-03  Andreas Jaeger  <aj@suse.de>
29340         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29341         * sysdeps/i386/fpu/libm-test-ulps: Update.
29343 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29345         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29346         Add s_sinf-sse2, s_conf-sse2.
29348         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29349         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29350         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29351         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29353         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29354         for using routine as __sinf_ia32.
29355         Use macro for function declaration and weak_alias.
29356         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29357         for using routine as __cosf_ia32.
29358         Use macro for function declaration and weak_alias.
29360         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29361         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29363         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29364         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29367         * math/libm-test.inc (cos_test): Add more test cases.
29368         (sin_test): Likewise.
29369         (sincos_test): Likewise.
29371 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29373         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29374         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29375         hidden.
29376         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29378 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29380         [BZ #14538]
29381         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29382         first element of the GOT.
29383         (elf_machine_load_address): Return the difference between
29384         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29386 2012-09-01  Allan McRae  <allan@archlinux.org>
29388         [BZ #13412]
29389         * configure.in (AWK): Require gawk version 3.0 or later.
29390         * configure: Regenerated.
29392 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29394         * sysdeps/unix/sysv/linux/kernel-features.h
29395         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29396         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29397         [__NR_clock_getres]: Make code unconditional.
29398         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29399         (clock_getcpuclockid): Remove code left unreachable by removal of
29400         conditionals.
29401         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29402         code unconditional.
29403         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29404         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29405         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29406         Make code unconditional.
29407         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29408         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29409         * sysdeps/unix/sysv/linux/clock_settime.c
29410         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29411         conditional code.
29412         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29413         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29415 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29417         [BZ #14476]
29418         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29419         scripts/test-installation.pl.
29421         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29422         and $ld_so_version if it is set.
29424 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29426         [BZ #14516]
29427         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29428         failure if reading from procfs failed.
29429         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29431 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29433         * sysdeps/unix/sysv/linux/kernel-features.h
29434         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29435         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29436         Remove conditional code.
29437         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29438         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29439         Remove conditional code.
29440         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29441         * sysdeps/unix/sysv/linux/i386/fxstat.c
29442         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29443         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29444         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29445         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29446         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29447         * sysdeps/unix/sysv/linux/i386/lxstat.c
29448         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29449         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29450         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29451         Remove conditional code.
29452         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29453         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29454         Remove conditional code.
29455         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29456         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29457         <kernel-features.h>.
29458         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29459         Remove.
29460         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29461         Remove conditional code.
29462         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29463         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29464         Remove conditional.
29466 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29468         [BZ #5400]
29469         * NEWS: Add fixed bug number.
29471 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29473         [BZ #14519]
29474         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29475         underflowing exponent in case of negative sign.
29476         * stdlib/tst-strtod-round-data: Add more tests.
29477         * stdlib/tst-strtod-round.c (tests): Regenerated.
29479         [BZ #3479]
29480         * stdlib/strtod_l.c (NDIG): Remove.
29481         (HEXNDIG): Likewise.
29482         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29483         smallest representable value.
29484         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29485         lie within an exact representation of 1/2 ulp of the result.
29486         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29487         unconditionally.
29488         (TENS_P9_IDX): Define unconditionally.
29489         (TENS_P9_SIZE): Likewise.
29490         (TENS_P10_IDX): Likewise.
29491         (TENS_P10_SIZE): Likewise.
29492         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29493         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29494         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29495         entries for 10^2^13 and 10^2^14.
29496         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29497         (TENS_P13_IDX): Define.
29498         (TENS_P13_SIZE): Likewise.
29499         (TENS_P14_IDX): Likewise.
29500         (TENS_P14_SIZE): Likewise.
29501         (_fpioconst_pow10): Change array size to
29502         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29503         unconditional.
29504         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29505         1024]: Add entries for 10^2^13 and 10^2^14.
29506         [LAST_POW10 > _LAST_POW10]: Remove #error.
29507         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29508         (_fpioconst_pow10): Change array size to
29509         FPIOCONST_POW10_ARRAY_SIZE.
29510         * stdlib/gen-fpioconst.c: New file.
29511         * stdlib/gen-tst-strtod-round.c: Likewise.
29512         * stdlib/tst-strtod-round-data: Likewise.
29513         * stdlib/tst-strtod-round.c: Likewise.
29514         * stdlib/Makefile (tests): Add tst-strtod-round.
29516         [BZ #14459]
29517         * stdlib/strtod_l.c: Include <stdint.h>.
29518         (NDEBUG): Do not define.
29519         (round_and_return): Change EXPONENT parameter to type intmax_t.
29520         Rearrange calculations to avoid internal overflow possibilities.
29521         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29522         Rearrange calculations to avoid internal overflow possibilities.
29523         Assert that number fits inside MPNSIZE limbs.
29524         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29525         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29526         calculations and add assertions to avoid internal overflow
29527         possibilities.  Add casts to avoid signed/unsigned operations.
29528         * stdlib/tst-strtod-overflow.c: New file.
29529         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29531 2012-08-25  Marek Polacek  <polacek@redhat.com>
29533         * time/time.h: Fix some typos in comments.
29535 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29537         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29538         * posix/tst-rfc3484-2.c: Likewise.
29539         * posix/tst-rfc3484-3.c: Likewise.
29541 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29543         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29544         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29546 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29548         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29549         #include of fxstatat64.c.
29551 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29553         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29554         * shadow/getspent_r.c: Likewise.
29555         * shadow/getspnam.c: Likewise.
29556         * shadow/getspnam_r.c: Likewise.
29557         * gshadow/getsgent.c: Likewise.
29558         * gshadow/getsgent_r.c: Likewise.
29559         * gshadow/getsgnam.c: Likewise.
29560         * gshadow/getsgnam_r.c: Likewise.
29561         * inet/getnetbyad.c: Likewise.
29562         * inet/getnetbyad_r.c: Likewise.
29563         * inet/getnetbynm.c: Likewise.
29564         * inet/getnetbynm_r.c: Likewise.
29565         * inet/getnetent.c: Likewise.
29566         * inet/getnetent_r.c: Likewise.
29567         * inet/getproto.c: Likewise.
29568         * inet/getproto_r.c: Likewise.
29569         * inet/getprtent.c: Likewise.
29570         * inet/getprtent_r.c: Likewise.
29571         * inet/getprtname.c: Likewise.
29572         * inet/getprtname_r.c: Likewise.
29573         * inet/getrpcbyname.c: Likewise.
29574         * inet/getrpcbyname_r.c: Likewise.
29575         * inet/getrpcbynumber.c: Likewise.
29576         * inet/getrpcbynumber_r.c: Likewise.
29577         * inet/getrpcent.c: Likewise.
29578         * inet/getrpcent_r.c: Likewise.
29579         * inet/getaliasent.c: Likewise.
29580         * inet/getaliasent_r.c: Likewise.
29581         * inet/getaliasname.c: Likewise.
29582         * inet/getaliasname_r.c: Likewise.
29583         * nscd/getgrgid_r.c: Likewise.
29584         * nscd/getgrnam_r.c: Likewise.
29585         * nscd/gethstbyad_r.c: Likewise.
29586         * nscd/gethstbynm3_r.c: Likewise.
29587         * nscd/getpwnam_r.c: Likewise.
29588         * nscd/getpwuid_r.c: Likewise.
29589         * nscd/getsrvbynm_r.c: Likewise.
29590         * nscd/getsrvbypt_r.c: Likewise.
29591         * nscd/gai.c: Likewise.
29593         * configure.in (build_nscd): New substituted variable, set
29594         by --disable-build-nscd and defaults to $use_nscd.
29595         * configure: Regenerated.
29596         * config.make.in (build-nscd): New substituted variable.
29597         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29598         Change conditional to require [$(build-nscd) = yes] as well.
29599         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29601         [BZ# 13696]
29602         * configure.in (use_nscd): New substituted variable, set by
29603         --disable-nscd.  If enabled, define USE_NSCD.
29604         * configure: Regenerated.
29605         * config.h.in: Add USE_NSCD.
29606         * config.make.in (use-nscd): New substituted variable.
29607         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29608         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29609         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29610         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29611         (CFLAGS-getgrnam_r.c): Likewise.
29612         (CFLAGS-initgroups.c): Likewise.
29613         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29614         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29615         Variables removed.
29616         * inet/getnetgrent_r.c
29617         (nscd_setnetgrent): New function, broken out of ...
29618         (setnetgrent): ... here.  Call it.
29619         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29620         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29621         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29622         * nscd/Makefile (routines, aux): Move definitions after include of
29623         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29624         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29625         Conditionalize on [USE_NSCD].
29626         (is_nscd, nscd_init_cb): Likewise.
29627         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29628         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29629         * nss/nss_db/db-init.c: Likewise.
29630         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29631         [USE_NSCD].
29632         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29633         (make_request): Use it.
29634         (cache_valid_p): New function.
29635         (__check_pf): Use it.
29636         * NEWS: Add item for --disable-nscd.
29638 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29640         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29641         to support sed >= 4.2.1-20-ga9bf076.
29642         * configure: Regenerated.
29644 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29646         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29647         Conditionalize whole body on [IREL].
29649 2012-08-22  Jeff Law <law@redhat.com>
29651         [BZ #14505]
29652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29653         if the family is PF_UNSPEC.
29655 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29657         * Makerules (lib-version): Rename from V.
29658         (install-lib-nosubdir): Change V to lib-version.
29660 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29662         [BZ #14252]
29663         * powerpc32/power6/wcschr.c: New file.
29664         * powerpc32/power6/wcscpy.c: New file.
29665         * powerpc32/power6/wcsrchr.c: New file.
29666         * powerpc64/power6/wcschr.c: New file.
29667         * powerpc64/power6/wcscpy.c: New file.
29668         * powerpc64/power6/wcsrchr.c: New file.
29670 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29672         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29673         (two_way_short_needle): Use it.
29674         * string/strstr.c (AVAILABLE1_USES_J): Define.
29675         * string/strcasestr.c: Likewise.
29677         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29678         array references.
29679         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29681         [BZ #11607]
29682         * NEWS: Add an entry.
29683         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29684         define their defaults.
29685         (two_way_short_needle): Detect end-of-string on-the-fly.
29686         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29687         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29688         * string/bug-strcasestr1.c: New test.
29689         * string/Makefile: Run it.
29691 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29693         [BZ #11607]
29694         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29695         the first character.
29697 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29699         * csu/elf-init.c (__libc_csu_irel): Function removed.
29700         * csu/libc-start.c (apply_irel): New function.
29701         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29703 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29705         * sysdeps/unix/sysv/linux/kernel-features.h
29706         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29707         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29708         <kernel-features.h>.
29709         [__NR_fadvise64_64]: Make code unconditional.
29710         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29711         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29712         !__NR_fadvise64_64)]: Likewise.
29713         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29714         !__NR_fadvise64_64))]: Likewise.
29715         [__NR_fadvise64]: Make code unconditional.
29716         [!__NR_fadvise64]: Remove conditional code.
29717         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29718         <kernel-features.h>.
29719         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29720         unconditional.
29721         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29722         conditional code.
29723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29724         not include <kernel-features.h>.
29725         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29726         unconditional.
29727         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29728         conditional code.
29729         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29730         include <kernel-features.h>.
29731         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29732         unconditional.
29733         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29734         conditional code.
29736 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29738         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29739         slight instruction rearrangements per scrollpipe analysis.
29740         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29742 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29744         * manual/syslog.texi (syslog; vsyslog, closelog):
29745         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29746         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29748         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29749         DSOCAPS to match condition on defining it.
29751 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29753         * sysdeps/unix/sysv/linux/kernel-features.h
29754         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29756         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29757         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29759         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29760         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29762         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29763         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29765         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29766         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29768         * sysdeps/unix/sysv/linux/kernel-features.h
29769         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29770         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29771         unconditional.
29772         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29773         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29774         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29775         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29776         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29777         Make code unconditional.
29778         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29779         (__mmap64) [!__NR_mmap2]: Likewise.
29780         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29781         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29782         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29783         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29784         [__NR_mmap2]: Make code unconditional.
29785         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29786         (__mmap64) [!__NR_mmap2]: Likewise.
29788 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29790         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29792 2012-08-18  Andreas Jaeger  <aj@suse.de>
29794         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29796 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29798         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29799         * include/unistd.h (__have_sock_cloexec): Likewise.
29800         (__have_pipe2): Likewise.
29801         (__have_dup3): Likewise.
29803 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29805         [BZ #9685]
29806         * include/unistd.h (__have_pipe2): Change define into an extern int.
29807         (__have_dup3): Likewise.
29808         * socket/have_sock_cloexec.c: Include fcntl.h.
29809         (__have_pipe2): New variable.
29810         (__have_dup3): Likewise.
29812 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29814         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29816 2012-08-17  Marek Polacek  <polacek@redhat.com>
29818         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29819         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29821 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29823         * configure.in: Add AC_SUBST for sysheaders.
29824         * configure: Regenerated.
29825         * config.make.in (sysheaders): New substituted variable.
29827         * sysdeps/unix/mkfifo.c: Moved ...
29828         * sysdeps/posix/mkfifo.c: ... here.
29829         * sysdeps/unix/mkfifoat.c: Moved ...
29830         * sysdeps/posix/mkfifoat.c: ... here.
29832         * sysdeps/unix/utime.c: Moved ...
29833         * sysdeps/posix/utime.c: ... here.
29835         * sysdeps/unix/time.c: Moved ...
29836         * sysdeps/posix/time.c: ... here.
29837         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29838         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29840         * sysdeps/unix/nice.c: Moved ...
29841         * sysdeps/posix/nice.c: ... here.
29843         * sysdeps/unix/alarm.c: Moved ...
29844         * sysdeps/posix/alarm.c: ... here.
29846         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29848 2012-08-17  Jeff Law <law@redhat.com>
29850         * intl/Makefile (codeset_mo): New variable.
29851         ($(codeset_mo)): New target.
29852         (tst-codeset.out): Depend on that.  Remove explicit rule.
29853         (tst-gettext3.out, tst-gettext5.out): Likewise.
29854         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29855         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29856         * intl/tst-codeset.sh: Remove.
29857         * intl/tst-gettext3.sh: Likewise.
29858         * intl/tst-gettext5.sh: Likewise.
29860 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29862         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29863         * sysdeps/unix/syscalls.list: ... here.
29865         * sysdeps/posix/getaddrinfo.c
29866         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29867         (gaiconf_init, gaiconf_reload): Use them.
29868         [!_STATBUF_ST_NSEC]
29869         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29870         Define using time_t rather than struct timespec.
29872         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29873         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29874         Macros removed.
29875         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29876         [!NO_THREADS].
29877         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29878         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29879         Likewise.
29881         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29882         __libc_cleanup_push argument.
29884         * bits/param.h: New file.
29885         * misc/sys/param.h: New file.
29886         * include/sys/param.h: New file.
29887         * misc/Makefile (headers): Add bits/param.h.
29888         * sysdeps/generic/sys/param.h: File removed.
29889         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29890         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29891         * sysdeps/mach/hurd/bits/param.h: New file.
29892         * sysdeps/mach/hurd/sys/param.h: File removed.
29894         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29895         last change.
29897         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29898         [_IO_MTSAFE_IO].
29899         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29900         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29901         New macros.
29903         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29904         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29905         rather than -D_IO_MTSAFE_IO conditionally.
29906         * stdio-common/Makefile (CPPFLAGS): Likewise.
29907         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29908         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29909         Use $(libio-mtsafe).
29910         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29911         of -D_IO_MTSAFE_IO.
29912         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29913         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29914         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29915         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29916         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29917         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29918         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29919         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29920         (CFLAGS-fread_u_chk.c): Likewise.
29921         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29922         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29923         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29924         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29925         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29926         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29927         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29928         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29929         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29931         * libio/Makefile: Test [$(libc-reentrant) = yes]
29932         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29934         * Makeconfig
29935         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29936         * sysdeps/pthread/configure: File removed.
29937         * sysdeps/pthread/Makeconfig: New file.
29938         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29939         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29941 2012-08-16  Gary Benson  <gbenson@redhat.com>
29943         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29944         unmapping the first object in a namespace.
29946 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29948         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29949         (__internal_setnetgrent): ... this.  Add internal_function to
29950         definition.  Add libc_hidden_def.
29951         (setnetgrent): Update caller.
29952         (internal_endnetgrent): Renamed to ...
29953         (__internal_endnetgrent): ... this.  Add internal_function to
29954         definition.  Add libc_hidden_def.
29955         (endnetgrent): Update caller.
29956         (internal_getnetgrent_r): Renamed to ...
29957         (__internal_getnetgrent_r): ... this.  Add internal_function to
29958         definition.  Add libc_hidden_def.
29959         (__getnetgrent_r): Update caller.
29960         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29962 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29964         * stdlib/longlong.h: Update from GCC.
29966 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29968         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29969         on _QL, which is set by umul_ppmm but never used.
29970         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29971         variables, which are set by GMP macros but never used.
29972         * stdio-common/_itowa.c (_itowa): Likewise.
29973         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29974         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29976 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29978         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29979         struct La_sh_regs is not constant.
29980         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29981         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29982         and struct La_sparc64_regs are not constant.
29984 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29986         * sysdeps/unix/sysv/linux/kernel-features.h
29987         (__ASSUME_POSIX_TIMERS): Remove.
29988         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29989         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29990         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29991         Make code unconditional.
29992         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29993         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29994         Make code unconditional.
29995         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29996         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29997         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29998         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29999         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30000         Make code unconditional.
30001         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30002         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30003         (__libc_missing_posix_timers): Remove.
30005 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30007         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30008         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30010         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30012         * elf/dl-sym.c: Include <stdlib.h>.
30014         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30015         constants, which avoids warnings in 32-bit builds.
30017         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30018         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30020         * misc/lseek.c: File moved to ...
30021         * io/lseek.c: ... here.
30023         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30025         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30026         shifting LEN more than 31 bits at once.
30028 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30030         [BZ #14195]
30031         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30032         segmentation fault for a case of two empty input strings.
30033         * string/test-strncasecmp.c (check1): Renamed to...
30034         (bz12205): ...this.
30035         (bz14195): Add new testcase for two empty input strings and N > 0.
30036         (test_main): Call new testcase, adapt for renamed function.
30038 2012-08-15  Andreas Jaeger  <aj@suse.de>
30040         [BZ #14090]
30041         * crypt/md5test2.c: New test, based on test supplied by Serge
30042         Belyshev <belyshev@depni.sinp.msu.ru>.
30043         * crypt/Makefile (xtests): Add md5test-giant..
30044         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30046 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30048         [BZ #14090]
30049         * crypt/md5.c (md5_process_block): Don't assume the buffer
30050         length is less than 2**32.
30051         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30052         length is less than 2**64.
30054 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30056         * string/str-two-way.h: Include <sys/param.h>.
30057         (MAX): Macro removed.
30059         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30060         Move #define and #undef of memmove to just before and after
30061         including <string.h>.
30063         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30064         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30065         and after including <string.h>.  Move declarations of
30066         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30067         to before #include "string/memmove.c".
30069         * include/dirent.h: Declare __getdirentries.
30071         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30072         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30074 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30076         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30077         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30078         * sysdeps/i386/configure: Regenerated.
30079         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30080         STABS_CURRENT_FILE, and STABS_FUN.
30081         (END): Remove call to STABS_FUN_END.
30082         (STABS_CURRENT_FILE1): Delete.
30083         (STABS_CURRENT_FILE): Likewise.
30084         (STABS_FUN): Likewise.
30085         (STABS_FUN_END): Likewise.
30086         (STABS_FUN2): Likewise.
30087         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30088         * sysdeps/x86_64/configure: Regenerated.
30090 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30092         * elf/dl-open.c: Include <atomic.h>.
30093         * elf/dl-lookup.c: Likewise.
30095 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30097         * sysdeps/unix/sysv/linux/kernel-features.h
30098         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30099         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30100         unconditionally.
30101         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30102         unconditionally.
30103         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30104         condition on __ASSUME_CLONE_THREAD_FLAGS.
30106 2012-08-14  Andreas Jaeger  <aj@suse.de>
30108         * sysdeps/i386/fpu/libm-test-ulps: Update.
30110 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30112         * include/atomic.h (atomic_exchange_and_add): Split into ...
30113         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30114         New atomic macros.
30116 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30118         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30120 2012-08-13  Jeff Law <law@redhat.com>
30122         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30123         null byte in the output string.
30125 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30127         * sysdeps/unix/sysv/linux/kernel-features.h
30128         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30129         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30130         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30131         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30132         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30133         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30134         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30136 2012-08-09  Jeff Law <law@redhat.com>
30138         [BZ #13939]
30139         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30140         When avoid_arena is set, don't retry in the that arena.  Pick the
30141         next one, whatever it might be.
30142         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30143         (arena_lock): Pass in new parameter to arena_get2.
30144         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30145         arena_get2.
30146         (__libc_malloc): Unify retrying after main arena failure with
30147         __libc_memalign version.
30148         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30150 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30152         [BZ #14166]
30153         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30154         to __redirect_strstr.
30155         (__strstr_sse42): Use typeof __redirect_strstr.
30156         (__strstr_ia32): Likewise.
30157         (__libc_strstr): New prototype.
30158         (strstr): Renamed to ...
30159         (__libc_strstr): This.
30160         (strstr): New strong alias of __libc_strstr.
30161         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30162         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30163         __redirect_time.
30164         Include <time.h>.
30165         (__libc_time): New prototype.
30166         (time_ifunc): Replace time with __libc_time.
30167         (time): New strong alias and hidden definition of __libc_time.
30168         (__GI_time): Remove strong alias.
30169         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30170         Include <stddef.h>.
30171         (memmove): Redefined to __redirect_memmove.
30172         (__memmove_sse2): Use typeof __redirect_memmove.
30173         (__memmove_ssse3): Likewise.
30174         (__memmove_ssse3_back): Likewise.
30175         (__libc_memmove): New prototype.
30176         (memmove): Renamed to ...
30177         (__libc_memmove): This.
30178         (memmove): New strong alias of __libc_memmove.
30180 2012-08-08  Mark Salter  <msalter@redhat.com>
30182         * elf/elf.h
30183         (R_MN10300_TLS_GD): Define.
30184         (R_MN10300_TLS_LD): Likewise.
30185         (R_MN10300_TLS_LDO): Likewise.
30186         (R_MN10300_TLS_GOTIE): Likewise.
30187         (R_MN10300_TLS_IE): Likewise.
30188         (R_MN10300_TLS_LE): Likewise.
30189         (R_MN10300_TLS_DTPMOD): Likewise.
30190         (R_MN10300_TLS_DTPOFF): Likewise.
30191         (R_MN10300_TLS_TPOFF): Likewise.
30192         (R_MN10300_SYM_DIFF): Likewise.
30193         (R_MN10300_ALIGN): Likewise.
30194         (R_MN10300_NUM): Update.
30196 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30198         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30199         Remove.
30201 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30203         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30205         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30206         sysdeps/unix -> sysdeps/posix move.
30207         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30209 2012-08-07      Allan McRae     <allan@archlinux.org>
30211         [BZ #14303]
30212         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30213         (SUNOS_CPP): Likewise.
30214         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30215         not found.
30216         (open_input): Call CPP using execvp.
30218 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30220         * sysdeps/unix/sysv/linux/kernel-features.h
30221         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30222         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30223         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30224         (__ASSUME_WAITID_SYSCALL): Likewise.
30225         * sysdeps/unix/sysv/linux/dl-execstack.c
30226         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30227         code unconditional.
30228         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30229         conditional code.
30230         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30231         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30232         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30233         code.
30234         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30235         unconditional.
30236         [__ASSUME_WAITID_SYSCALL]: Likewise.
30237         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30239 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30241         * sysdeps/unix/closedir.c: Renamed to ...
30242         * sysdeps/posix/closedir.c: ... here.
30243         * sysdeps/unix/dirfd.c: Renamed to ...
30244         * sysdeps/posix/dirfd.c: ... here.
30245         * sysdeps/unix/dirstream.h: Renamed to ...
30246         * sysdeps/posix/dirstream.h: ... here.
30247         * sysdeps/unix/fdopendir.c: Renamed to ...
30248         * sysdeps/posix/fdopendir.c: ... here.
30249         * sysdeps/unix/opendir.c: Renamed to ...
30250         * sysdeps/posix/opendir.c: ... here.
30251         * sysdeps/unix/readdir.c: Renamed to ...
30252         * sysdeps/posix/readdir.c: ... here.
30253         * sysdeps/unix/readdir_r.c: Renamed to ...
30254         * sysdeps/posix/readdir_r.c: ... here.
30255         * sysdeps/unix/rewinddir.c: Renamed to ...
30256         * sysdeps/posix/rewinddir.c: ... here.
30257         * sysdeps/unix/seekdir.c: Renamed to ...
30258         * sysdeps/posix/seekdir.c: ... here.
30259         * sysdeps/unix/telldir.c: Renamed to ...
30260         * sysdeps/posix/telldir.c: ... here.
30261         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30262         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30263         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30264         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30266         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30267         * bits/fcntl.h: ... here.
30269         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30270         not 0.
30271         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30272         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30273         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30274         (struct flock): Move l_start, l_len to the beginning.
30275         Use __pid_t for l_pid.
30276         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30277         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30278         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30279         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30280         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30281         [__USE_LARGEFILE64] (struct flock64): New type.
30282         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30284         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30285         * bits/dirent.h: ... here.
30287         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30288         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30290 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30292         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30293         Change from 2.6.0 to 2.6.16.
30294         * sysdeps/unix/sysv/linux/configure: Regenerated.
30295         * sysdeps/unix/sysv/linux/kernel-features.h
30296         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30297         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30298         version.
30299         (__ASSUME_UTIMES): Likewise.
30300         (__ASSUME_CLONE_STOPPED): Remove.
30301         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30302         architectures, not kernel version.
30303         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30304         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30305         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30306         (__ASSUME_WAITID_SYSCALL): Likewise.
30307         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30308         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30309         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30310         refer to older versions.
30312 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30314         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30315         Define alphasort64 as an alias.
30316         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30317         Define versionsort64 as an alias.
30318         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30319         Define scandir64 as an alias.
30320         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30321         Define scandirat64 as an alias.
30322         * dirent/alphasort64.c (alphasort64):
30323         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30324         * dirent/versionsort64.c: Likewise.
30325         * dirent/scandir64.c: Likewise.
30326         * dirent/scandirat64.c: Likewise.
30327         * sysdeps/wordsize-64/alphasort.c: File removed.
30328         * sysdeps/wordsize-64/alphasort64.c: File removed.
30329         * sysdeps/wordsize-64/scandir.c: File removed.
30330         * sysdeps/wordsize-64/scandir64.c: File removed.
30331         * sysdeps/wordsize-64/scandirat.c: File removed.
30332         * sysdeps/wordsize-64/scandirat64.c: File removed.
30333         * sysdeps/wordsize-64/versionsort.c: File removed.
30334         * sysdeps/wordsize-64/versionsort64.c: File removed.
30335         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30336         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30337         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30338         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30339         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30340         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30341         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30342         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30344         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30345         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30346         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30347         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30348         [defined __arch64__ || defined __sparcv9]
30349         (__INO_T_MATCHES_INO64_T): New macro.
30350         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30351         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30352         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30353         * sysdeps/unix/sysv/linux/bits/dirent.h
30354         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30355         (_DIRENT_MATCHES_DIRENT64): New macro.
30357         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30358         Define lockf64 as an alias.
30359         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30360         Define fseeko64 as an alias.
30361         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30362         Define ftello64 as an alias.
30363         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30364         Define _IO_fgetpos64 and fgetpos64 as aliases.
30365         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30366         Define _IO_fsetpos64 and fsetpos64 as aliases.
30367         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30368         Conditionalize body on this.
30369         * libio/fseeko64.c: Likewise.
30370         * libio/ftello64.c: Likewise.
30371         * libio/iofgetpos64.c: Likewise.
30372         * libio/iofsetpos64.c: Likewise.
30373         * sysdeps/wordsize-64/lockf.c: File removed.
30374         * sysdeps/wordsize-64/lockf64.c: File removed.
30375         * sysdeps/wordsize-64/fseeko.c: File removed.
30376         * sysdeps/wordsize-64/fseeko64.c: File removed.
30377         * sysdeps/wordsize-64/ftello.c: File removed.
30378         * sysdeps/wordsize-64/ftello64.c: File removed.
30379         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30380         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30381         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30382         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30383         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30384         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30385         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30386         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30387         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30388         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30389         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30390         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30391         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30392         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30394         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30395         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30396         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30397         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30398         [defined __arch64__ || defined __sparcv9]
30399         (__OFF_T_MATCHES_OFF64_T): New macro.
30400         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30401         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30402         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30403         (__OFF_T_MATCHES_OFF64_T): New macro.
30405 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30407         * stdlib/secure-getenv.c (__secure_getenv): Replace
30408         GLIBC_2_16 with GLIBC_2_17.
30410 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30412         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30413         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30415 2012-08-03  David S. Miller  <davem@davemloft.net>
30417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30419 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30421         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30422         Remove.
30423         (__ASSUME_CORRECT_SI_PID): Likewise.
30424         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30425         (__ASSUME_TMPFS_NAME): Likewise.
30426         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30427         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30428         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30429         (HAVE_AUX_SECURE): Make definition unconditional.
30430         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30431         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30433 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30435         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30436         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30437         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30438         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30439         __eloop_threshold instead of SYMLOOP_MAX.
30441         * sysdeps/generic/eloop-threshold.h: New file.
30442         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30443         of MAXSYMLINKS.
30444         * elf/chroot_canon.c (chroot_canon): Likewise.
30446 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30448         [BZ #13717]
30449         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30450         Change to 2.6.0 everywhere.
30451         * sysdeps/unix/sysv/linux/configure: Regenerated.
30452         * sysdeps/unix/sysv/linux/kernel-features.h
30453         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30454         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30455         kernel versions.
30456         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30457         (__ASSUME_FUTEX_REQUEUE): Remove.
30458         (__ASSUME_STATFS64): Define unconditionally.
30459         (__ASSUME_AT_SECURE): Likewise.
30460         (__ASSUME_CORRECT_SI_PID): Likewise.
30461         (__ASSUME_TGKILL): Define without depending on kernel version for
30462         i386.
30463         (__ASSUME_UTIMES): Likewise.
30464         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30465         kernel version.
30466         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30467         (__ASSUME_TMPFS_NAME): Likewise.
30468         * README: Update reference to Linux kernel versions.
30470 2012-08-02  Marek Polacek  <polacek@redhat.com>
30472         [BZ# 14150]
30473         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30474         libc_cv_asm_type_prefix with %.
30475         * configure: Regenerated.
30476         * include/libc-symbols.h: Remove comment about
30477         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30478         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30479         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30480         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30481         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30482         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30483         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30484         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30485         * elf/tst-unique2mod1.c: Likewise.
30486         * elf/tst-unique1mod2.c: Likewise.
30487         * elf/tst-unique1mod1.c: Likewise.
30488         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30489         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30490         Replace ASM_TYPE_DIRECTIVE with .type.
30491         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30492         * sysdeps/i386/sysdep.h: Likewise.
30493         * sysdeps/x86_64/sysdep.h: Likewise.
30494         * sysdeps/sh/sysdep.h: Likewise.
30495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30496         Do not define ASM_TYPE_DIRECTIVE.
30497         * sysdeps/powerpc/sysdep.h: Likewise.
30498         * sysdeps/powerpc/powerpc32/sysdep.h:
30499         Replace ASM_TYPE_DIRECTIVE with .type.
30500         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30501         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30502         * sysdeps/i386/fpu/e_powf.S: Likewise.
30503         * sysdeps/i386/fpu/e_expl.S: Likewise.
30504         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30505         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30506         * sysdeps/i386/fpu/e_pow.S: Likewise.
30507         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30508         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30509         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30510         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30511         * sysdeps/i386/fpu/e_log2.S: Likewise.
30512         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30513         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30514         * sysdeps/i386/fpu/e_powl.S: Likewise.
30515         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30516         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30517         * sysdeps/i386/fpu/e_logl.S: Likewise.
30518         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30519         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30520         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30521         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30522         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30523         * sysdeps/i386/fpu/e_log.S: Likewise.
30524         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30525         * sysdeps/i386/fpu/e_logf.S: Likewise.
30526         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30527         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30528         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30529         * sysdeps/i386/fpu/e_log10.S: Likewise.
30530         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30531         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30532         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30533         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30534         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30535         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30536         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30537         * sysdeps/i386/i686/strtok.S: Likewise.
30538         * sysdeps/i386/i386-mcount.S: Likewise.
30539         * sysdeps/i386/strtok.S: Likewise.
30540         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30541         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30542         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30543         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30544         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30545         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30546         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30547         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30548         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30549         * sysdeps/x86_64/_mcount.S: Likewise.
30550         * sysdeps/x86_64/strtok.S: Likewise.
30551         * sysdeps/sh/_mcount.S: Likewise.
30553 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30555         * libio/iofopen.c: Include <fcntl.h>.
30556         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30557         (_IO_fopen64, fopen64): Define as aliases.
30558         * libio/iofopen64.c: Include <fcntl.h>.
30559         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30560         Conditionalize body on this.
30561         * sysdeps/wordsize-64/iofopen.c: File removed.
30562         * sysdeps/wordsize-64/iofopen64.c: File removed.
30564 2012-08-01  Marek Polacek  <polacek@redhat.com>
30566         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30567         Use dlfcn directly instead of a variable.
30568         (binfmt-subdir): Do not define.
30569         (dlfcn): Likewise.
30571 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30573         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30574         Remove all definitions.
30575         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30576         <kernel-features.h>.
30577         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30578         (miss_F_GETOWN_EX): Remove all definitions.
30579         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30580         macro definition.
30581         [!__ASSUME_FCNTL64]: Remove conditional code.
30582         [__ASSUME_FCNTL64]: Make code unconditional.
30583         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30584         <kernel-features.h>.
30585         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30586         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30587         (lockf64) [__NR_fcntl64]: Make code unconditional.
30588         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30590         * sysdeps/unix/sysv/linux/kernel-features.h
30591         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30592         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30593         Make code unconditional.
30594         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30595         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30597         [__NR_vfork]: Make code unconditional.
30598         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30599         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30601         [__NR_vfork]: Make code unconditional.
30602         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30603         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30605 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30607         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30608         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30610         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30611         Define mkstemp64 as an alias.
30612         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30613         Define mkstemps64 as an alias.
30614         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30615         Define mkostemp64 as an alias.
30616         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30617         Define mkostemps64 as an alias.
30618         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30619         Conditionalize body on this.
30620         * misc/mkostemp64.c: Likewise.
30621         * misc/mkostemps64.c: Likewise.
30622         * misc/mkstemps64.c: Likewise.
30623         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30624         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30625         * sysdeps/wordsize-64/mkostemp.c: File removed.
30626         * sysdeps/wordsize-64/mkstemp.c: File removed.
30627         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30628         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30629         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30630         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30632         [BZ #14138]
30633         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30634         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30635         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30636         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30638         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30639         compat_symbol macros from <shlib-compat.h> rather than the underlying
30640         default_symbol_version and symbol_version macros, so that DEFAULT
30641         lines in shlib-versions are respected.
30642         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30644 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30646         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30647         Declare with warn_unused_result.
30648         (setgid, setregid, setegid, setresgid): Likewise.
30649         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30650         Likewise.
30651         * WUR-REPORT: Remove set*id functions.
30653 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30655         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30657 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30659         [BZ #10191]
30660         * include/sys/socket.h (__libc_accept, __libc_accept4):
30661         Add attribute_hidden.
30662         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30664         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30665         use of PTR_MANGLE.
30666         * inet/getnetgrent_r.c (setup): Likewise.
30668         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30670 2012-07-31  David S. Miller  <davem@davemloft.net>
30672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30674 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30676         [BZ #13629]
30677         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30678         value between 1.0 and 2.0 and smaller part has absolute value less
30679         than 1.0.
30680         * math/s_clog10.c (__clog10): Likewise.
30681         * math/s_clog10f.c (__clog10f): Likewise.
30682         * math/s_clog10l.c (__clog10l): Likewise.
30683         * math/s_clogf.c (__clogf): Likewise.
30684         * math/s_clogl.c (__clogl): Likewise.
30685         * math/libm-test.inc (clog_test): Add more tests.
30686         (clog10_test): Likewise.
30687         * sysdeps/i386/fpu/libm-test-ulps: Update.
30688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30690 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30692         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30693         Exit with zero in case no suitable GID is found, and write a
30694         message to standard error.
30696 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30698         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30699         rather than to 1.
30700         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30701         (MAXPATHLEN): Removed.
30702         (NOGROUP, NODEV): New macros.
30703         (setbit, clrbit, isset, isclr): New macros.
30704         (howmany, roundup, powerof2): New macros.
30705         (DEV_BSIZE): New macro.
30707         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30708         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30710         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30711         definition on [!__NO_LONG_DOUBLE_MATH].
30713         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30714         PTR_MANGLE and PTR_DEMANGLE.
30716         * socket/accept4.c (accept4): Rename to __libc_accept4.
30717         Define accept4 as a weak alias.
30719         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30720         on [_DIRENT_HAVE_D_TYPE].
30721         * io/ftw.c (ftw_dir): Likewise.
30723         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30725         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30727         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30728         Use the BSD numbers rather than the arbitrary ones we had.
30729         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30730         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30731         (SIGXCPU, SIGXFSZ): New macros.
30732         (_NSIG): Now 32.
30734         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30735         initializer on [_LIBC_REENTRANT].
30737         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30738         definitions inside [_POSIX_MAPPED_FILES].
30740         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30742         * dirent/opendir.c: Include <fcntl.h>.
30744         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30745         (__libc_getspecific): Likewise.
30746         (__libc_key_create): Likewise.
30748         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30749         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30750         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30751         (tmpfile64): Define as alias.
30752         * sysdeps/wordsize-64/tmpfile.c: File removed.
30753         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30754         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30755         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30757         * stdio-common/vfscanf.c: Include <stdbool.h>.
30758         * nss/makedb.c: Likewise.
30759         * stdio-common/_i18n_number.h: Likewise.
30760         * argp/argp-help.c: Likewise.
30761         * posix/wordexp.c: Likewise.
30762         * sysdeps/posix/spawni.c: Likewise.
30763         * nss/nss_files/files-initgroups.c: Likewise.
30764         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30765         * nss/nss_files/files-initgroups.c: Likewise.
30766         * nss/nss_db/db-netgrp.c: Likewise.
30767         * nss/nss_db/db-initgroups.c: Likewise.
30768         * io/fchmodat.c: Include <sys/stat.h>.
30770         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30771         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30773         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30774         [HAVE_MMAP].
30776         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30777         Add multiple inclusion protection.
30779 2012-07-27  David S. Miller  <davem@davemloft.net>
30781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30783 2012-07-27  Gary Benson  <gbenson@redhat.com>
30785         [BZ #14298]
30786         * elf/rtld.c: Include <stap-probe.h>.
30787         (dl_main): Added static probes "init_start" and "init_complete".
30788         * elf/dl-load.c: Include <stap-probe.h>.
30789         (lose): Take new parameter "nsid".
30790         Added static probe "map_failed".
30791         (_dl_map_object_from_fd): Pass namespace id to lose.
30792         Added static probe "map_start".
30793         (open_verify): Pass namespace id to lose.
30794         * elf/dl-open.c: Include <stap-probe.h>.
30795         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30796         and "reloc_complete".
30797         * elf/dl-close.c: Include <stap-probe.h>.
30798         (_dl_close_worker): Added static probes "unmap_start" and
30799         "unmap_complete".
30800         * elf/rtld-debugger-interface.txt: New file documenting the above.
30802 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30804         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30805         rather than a string variable.
30806         * sunrpc/rpc_main.c (h_output): Likewise.
30807         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30809 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30811         * inet/check_native.c: New file.
30813 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30815         [BZ #13629]
30816         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30817         if larger part has absolute value 1.0.
30818         * math/s_clog10.c (__clog10): Likewise.
30819         * math/s_clog10f.c (__clog10f): Likewise.
30820         * math/s_clog10l.c (__clog10l): Likewise.
30821         * math/s_clogf.c (__clogf): Likewise.
30822         * math/s_clogl.c (__clogl): Likewise.
30823         * math/libm-test.inc (clog_test): Add more tests.
30824         (clog10_test): Likewise.
30825         * sysdeps/i386/fpu/libm-test-ulps: Update.
30826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30828         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30829         (pltexit): Likewise.
30830         (La_regs): Likewise.
30831         (La_retval): Likewise.
30832         (int_retval): Likewise.
30833         Update #error for removed macros to refer only to definitions in
30834         tst-audit.h.
30835         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30836         macro.
30837         (pltexit): Likewise.
30838         (La_regs): Likewise.
30839         (La_retval): Likewise.
30840         (int_retval): Likewise.
30841         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30842         macro.
30843         (pltexit): Likewise.
30844         (La_regs): Likewise.
30845         (La_retval): Likewise.
30846         (int_retval): Likewise.
30847         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30848         macro.
30849         (pltexit): Likewise.
30850         (La_regs): Likewise.
30851         (La_retval): Likewise.
30852         (int_retval): Likewise.
30853         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30854         macro.
30855         (pltexit): Likewise.
30856         (La_regs): Likewise.
30857         (La_retval): Likewise.
30858         (int_retval): Likewise.
30859         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30860         macro.
30861         (pltexit): Likewise.
30862         (La_regs): Likewise.
30863         (La_retval): Likewise.
30864         (int_retval): Likewise.
30865         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30866         macro.
30867         (pltexit): Likewise.
30868         (La_regs): Likewise.
30869         (La_retval): Likewise.
30870         (int_retval): Likewise.
30871         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30872         macro definitions in tst-audit.h.
30873         * sysdeps/i386/tst-audit.h: New file.
30874         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30875         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30876         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30877         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30878         * sysdeps/sh/tst-audit.h: Likewise.
30879         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30880         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30881         * sysdeps/x86_64/tst-audit.h: Likewise.
30883 2012-07-26  Andreas Jaeger  <aj@suse.de>
30885         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30886         ptrace.
30888         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30889         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30890         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30891         PTRACE_O_MASK.
30892         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30893         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30894         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30896         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30897         value.
30899         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30900         _sigsys.
30901         (si_call_addr, si_syscall, si_arch): Define new macro.
30902         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30903         _sigsys.
30904         (si_call_addr, si_syscall, si_arch): Define new marcro.
30905         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30906         _sigsys.
30907         (si_call_addr, si_syscall, si_arch): Define new macro.
30908         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30909         _sigsys.
30910         (si_call_addr, si_syscall, si_arch): Define new macro.
30912 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30914         [BZ #13717]
30915         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30916         Change to 2.4.21 where previously 2.4.1.
30917         * sysdeps/unix/sysv/linux/configure: Regenerated.
30918         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30919         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30920         Linux kernel version.
30921         (__ASSUME_STD_AUXV): Remove.
30922         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30923         kernel version.
30924         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30925         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30926         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30927         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30928         (__ASSUME_NETLINK_SUPPORT): Likewise.
30929         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30930         (__no_netlink_support): Remove conditional definition.
30931         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30932         Remove.
30933         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30934         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30935         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30936         (if_nameindex_ioctl): Remove.
30937         (if_nameindex_netlink): Do not handle __no_netlink_support.
30938         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30939         code.
30940         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30941         Remove conditional code.
30942         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30943         code.
30944         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30945         unconditional.
30946         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30947         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30948         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30949         Remove.
30950         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30951         [!__ASSUME_STD_AUXV]: Remove conditional code.
30952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30953         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30954         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30956         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30957         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30958         code.
30959         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30961         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30962         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30963         conditional code.
30964         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30966         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30967         code.
30968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30969         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30970         conditional code.
30971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30972         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30973         code unconditional.
30974         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30975         conditional code.
30976         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30977         unconditional.
30978         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30979         conditional code.
30980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30981         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30982         unconditional.
30983         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30984         conditional code.
30985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30986         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30987         code unconditional.
30988         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30989         conditional code.
30990         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30991         unconditional.
30992         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30993         conditional code.
30994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30995         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30996         code unconditional.
30997         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30998         conditional code.
30999         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31000         unconditional.
31001         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31002         conditional code.
31004 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31006         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31007         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31008         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31009         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31010         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31011         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31012         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31013         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31014         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31015         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31016         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31017         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31018         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31019         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31020         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31021         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31022         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31023         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31024         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31025         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31026         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31027         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31028         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31030 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31032         * Versions.def: Add GLIBC_2.17.
31033         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31034         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31035         Introduce __libc_secure_getenv.
31036         * stdlib/Versions (2.17): Add secure_getenv
31037         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31038         * stdlib/secure-getenv.c: Rename __secure_getenv to
31039         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31040         symbol __secure_getenv for GLIBC_2.0.
31041         * stdlib/tst-secure-getenv.c: New.
31042         * stdlib/Makefile (tests): Add testcase.
31043         * manual/startup.texi (Environment Access): Document
31044         secure_getenv.
31045         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31046         __libc_secure_getenv.
31047         * inet/ruserpass.c (ruserpass): Likewise.
31048         * malloc/mtrace.c (mtrace): Likewise.
31049         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31050         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31051         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31052         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31053         HAVE_SECURE_GETENV.
31054         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31055         __secure_getenv to __libc_secure_getenv.
31056         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31058         Likewise.
31059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31060         Likewise.
31061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31063         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31069 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31071         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31072         (struct La_i86_retval): Likewise.
31073         (struct La_x86_64_regs): Likewise.
31074         (struct La_x86_64_retval): Likewise.
31075         (struct La_x32_regs): Likewise.
31076         (struct La_x32_retval): Likewise.
31077         (struct La_ppc32_regs): Likewise.
31078         (struct La_ppc32_retval): Likewise.
31079         (struct La_ppc64_regs): Likewise.
31080         (struct La_ppc64_retval): Likewise.
31081         (struct La_sh_regs): Likewise.
31082         (struct La_sh_retval): Likewise.
31083         (struct La_s390_32_regs): Likewise.
31084         (struct La_s390_32_retval): Likewise.
31085         (struct La_s390_64_regs): Likewise.
31086         (struct La_s390_64_retval): Likewise.
31087         (struct La_sparc32_regs): Likewise.
31088         (struct La_sparc32_retval): Likewise.
31089         (struct La_sparc64_regs): Likewise.
31090         (struct La_sparc64_retval): Likewise.
31091         (struct audit_ifaces): Remove architecture-specific pltenter and
31092         pltexit members.
31093         * sysdeps/i386/ldsodefs.h: New file.
31094         * sysdeps/powerpc/ldsodefs.h: Likewise.
31095         * sysdeps/s390/ldsodefs.h: Likewise.
31096         * sysdeps/sh/ldsodefs.h: Likewise.
31097         * sysdeps/sparc/ldsodefs.h: Likewise.
31098         * sysdeps/x86_64/ldsodefs.h: Likewise.
31100 2012-07-25  Marek Polacek  <polacek@redhat.com>
31102         [BZ #6808]
31103         * math/libm-test.inc (yn_test): Add another test.
31104         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31105         to ERANGE when the result is +-Inf.
31106         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31107         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31108         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31109         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31111 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31113         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31114         equal to 0.
31115         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31116         clock_t.
31117         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31119 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31121         * configure.in <sysdeps resolving>: Correct printing
31122         Implies_before.
31123         * configure: Regenerate.
31125 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31127         * math/w_ilogb.c: Include <limits.h>.
31128         * math/w_ilogbl.c: Likewise.
31130 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31132         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31133         va_copy.  Document allowing for unavailable va_copy only as
31134         pre-C99 compatibility.
31135         * manual/string.texi (Copying and Concatenation): Use va_copy
31136         instead of __va_copy in concat example.
31138 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31140         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31141         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31142         it if not null.
31144         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31145         with O_NOLINK passed to __file_name_lookup.
31147         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31148         with O_NOLINK passed to __file_name_lookup.
31150         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31151         negative N or less than NGIDS.
31153         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31154         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31155         enough.  Use memcpy instead of strncpy.
31157 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31159         * elf/Makefile (check-data): Remove.
31160         (localplt.data): New vpath directive.
31161         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31162         instead of $(check-data).
31163         * scripts/data/localplt-generic.data: Move to ...
31164         * sysdeps/generic/localplt.data: ... here.
31165         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31166         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31167         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31169         ... here.
31170         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31172         ... here.
31173         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31175         ... here.
31176         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31178         ... here.
31179         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31181         ... here.
31182         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31184         ... here.
31186 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31188         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31189         PPC32 and PPC64 files.
31190         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31191         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31193 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31195         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31196         __makecontext_ret to ...
31197         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31198         ... here and call exit if uc_link is NULL.  New file.
31199         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31200         __makecontext_ret.S.
31201         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31202         __makecontext_ret to ...
31203         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31204         ... here and call exit if uc_link is NULL.  New file.
31205         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31206         __makecontext_ret.S.
31208 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31210         * elf/elf.h (R_390_IRELATIVE): New definition.
31211         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31212         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31213         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31214         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31215         (elf_machine_lazy_rel): Likewise.
31216         * sysdeps/s390/dl-irel.h: New file.
31217         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31218         * sysdeps/s390/s390-64/memset.S: New asm code.
31219         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31220         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31221         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31222         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31223         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31224         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31225         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31226         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31227         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31228         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31229         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31230         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31231         * sysdeps/s390/s390-32/memset.S: New asm code.
31232         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31234 2012-07-17  Marek Polacek  <polacek@redhat.com>
31236         [BZ #14349]
31237         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31238         * sysdeps/s390/s390-64/configure.in: Likewise.
31239         * sysdeps/sparc/configure.in: Likewise.
31240         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31241         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31242         * sysdeps/i386/configure.in: Likewise.
31243         * sysdeps/x86_64/configure.in: Likewise.
31244         * sysdeps/sh/configure.in: Likewise.
31245         * sysdeps/s390/s390-32/configure: Regenerated.
31246         * sysdeps/s390/s390-64/configure: Likewise.
31247         * sysdeps/x86_64/configure: Likewise.
31248         * sysdeps/sh/configure: Likewise.
31249         * sysdeps/powerpc/powerpc64/configure: Likewise.
31250         * sysdeps/powerpc/powerpc32/configure: Likewise.
31251         * sysdeps/sparc/configure: Likwise.
31252         * sysdeps/i386/configure: Likewise.
31254         * elf/dl-open.c: Comment fixes.
31256 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31258         * Makefile [CXX] (check-data): Remove.
31259         [CXX] (c++-types.data): New vpath directive.
31260         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31261         vpath.  Do not allow for C++ type data being missing.
31262         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31263         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31264         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31265         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31266         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31267         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31268         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31270         ... here.
31271         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31273         ... here.
31274         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31276         ... here.
31277         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31279         ... here.
31280         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31282         ... here.
31283         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31285         ... here.
31286         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31288         ... here.
31289         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31292         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31293         definitions to architecture-specific files.
31294         (TLS_IE): Likewise.
31295         (TLS_LD): Likewise.
31296         (TLS_GD): Likewise.
31297         * sysdeps/i386/tls-macros.h: New file.
31298         * sysdeps/powerpc/tls-macros.h: Likewise.
31299         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31300         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31301         * sysdeps/sh/tls-macros.h: Likewise.
31302         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31303         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31304         * sysdeps/x86_64/tls-macros.h: Likewise.
31306 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31308         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31309         zero value for regular exit case.
31311         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31312         (__start_context): Preserve zero value for regular exit case.
31314 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31315             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31317         * manual/setjmp.texi (setcontext): Clarify normal process
31318         termination when uc_link is the null pointer.
31319         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31320         exit call.
31322 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31324         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31325         preprocessor.  Test for each exception mask separately.
31327 2012-07-16  Andreas Jaeger  <aj@suse.de>
31329         * po/ru.po: Update from translation team.
31331 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31333         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31334         equal to 0.
31335         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31336         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31337         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31338         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31339         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31341 2012-07-13  Andreas Jaeger  <aj@suse.de>
31343         * po/fr.po: Update from translation team.
31345 2012-07-12  Marek Polacek  <polacek@redhat.com>
31347         [BZ #14173]
31348         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31349         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31350         loop condition.
31352 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31354         [BZ #13717]
31355         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31356         Change to 2.4.1 where previously 2.4.0.
31357         * sysdeps/unix/sysv/linux/configure: Regenerated.
31358         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31359         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31360         version.
31361         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31362         (__ASSUME_AT_CLKTCK): Remove.
31363         (__ASSUME_AT_PAGESIZE): Likewise.
31364         (__ASSUME_AT_XID): Likewise.
31365         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31366         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31367         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31368         unconditionally.
31369         (HAVE_AUX_PAGESIZE): Likewise.
31370         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31371         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31372         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31374 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31376         [BZ #14307]
31377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31378         the temporary buffer used to invoke __gethostbyname2_r,
31379         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31380         host_data / struct gaih_addrtuple.
31381         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31382         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31383         header file nss/nsswitch.h.
31384         * nss/nsswitch.h (global scope): Add definition of implementation
31385         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31386         resolv/nss_dns/dns-host.c).
31388 2012-07-11  Andreas Jaeger  <aj@suse.de>
31390         * po/fr.po: Update from translation team.
31392         * po/sv.po: Update from translation team
31393         * po/fr.po: Another update from translation team.
31395 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31397         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31398         for subnormals or multiply small sinh result by itself.
31399         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31402 2012-07-11  David S. Miller  <davem@davemloft.net>
31404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31406 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31408         [BZ #14347]
31409         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31410         (INTERNAL_MARK): Shift it here.
31412 2012-07-10  Marek Polacek  <polacek@redhat.com>
31414         [BZ #14151]
31415         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31416         libc_cv_asm_global_directive with .globl.
31417         * configure: Regenerated.
31418         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31419         with .globl.
31420         * sysdeps/i386/configure: Regenerated.
31421         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31422         with .globl.
31423         * sysdeps/x86_64/configure: Regenerated.
31424         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31425         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31426         * elf/tst-unique2mod2.c: Likewise.
31427         * elf/tst-unique2mod1.c: Likewise.
31428         * elf/tst-unique1mod2.c: Likewise.
31429         * elf/tst-unique1mod1.c: Likewise.
31430         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31431         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31432         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31433         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31434         * sysdeps/mach/sysdep.h: Likewise.
31435         * sysdeps/i386/sysdep.h: Likewise.
31436         * sysdeps/i386/i386-mcount.S: Likewise.
31437         * sysdeps/x86_64/_mcount.S: Likewise.
31438         * sysdeps/x86_64/sysdep.h: Likewise.
31439         * sysdeps/sh/_mcount.S: Likewise.
31440         * sysdeps/sh/sysdep.h: Likewise.
31441         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31442         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31443         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31444         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31445         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31446         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31447         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31448         * locale/localeinfo.h: Likewise.
31449         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31450         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31452 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31454         [BZ #14336]
31455         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31456         system".
31457         * manual/message.texi (The Uniforum approach): Likewise.
31458         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31459         (glibc iconv Implementation): Likewise.
31461 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31463         [BZ #14337]
31464         * math/s_clog.c (__clog): Avoid scaling a value down where that
31465         could result in underflow.
31466         * math/s_clog10.c (__clog10): Likewise.
31467         * math/s_clog10f.c (__clog10f): Likewise.
31468         * math/s_clog10l.c (__clog10l): Likewise.
31469         * math/s_clogf.c (__clogf): Likewise.
31470         * math/s_clogl.c (__clogl): Likewise.
31471         * math/libm-test.inc (clog_test): Add more tests.
31472         (clog10_test): Likewise.
31473         * sysdeps/i386/fpu/libm-test-ulps: Update.
31474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31476 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31478         [BZ #14283]
31479         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31480         by 7 not 8 to examine high bit of fractional part.
31482         [BZ #14042]
31483         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31484         for call to __mcount_internal.
31485         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31486         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31487         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31489 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31491         [BZ #14154]
31492         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31493         approximation for values within 0x1p-13f of an odd multiple of
31494         pi/4.
31495         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31496         exception.  Add more tests.
31497         * sysdeps/i386/fpu/libm-test-ulps: Update.
31499         [BZ #6778]
31500         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31501         inputs and return -1 for them.  Do not check for +Inf in case not
31502         reachable for +Inf.
31503         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31504         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31505         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31506         and return -1 for them.  Do not check for +Inf in case not
31507         reachable for +Inf.
31508         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31509         define.
31510         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31511         and return -1 for them.  Do not check for +Inf in case not
31512         reachable for +Inf.
31513         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31514         spurious underflow.
31515         * sysdeps/i386/fpu/libm-test-ulps: Update.
31516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31518 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31520         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31522 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31524         [BZ #14157]
31525         [BZ #14331]
31526         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31527         could result in spurious underflow.  Scale down values above
31528         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31529         * math/s_csqrtf.c (__csqrtf): Likewise.
31530         * math/s_csqrtl.c (__csqrtl): Likewise.
31531         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31532         spurious underflow.
31533         * sysdeps/i386/fpu/libm-test-ulps: Update.
31534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31536 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31538         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31539         xopen-msg.sed.
31540         * catgets/xopen-msg.awk: New file.
31541         * catgets/xopen-msg.sed: Removed.
31543         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31544         po2text.sed.
31545         * intl/po2test.awk: New file.
31546         * intl/po2test.sed: Removed.
31548 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31550         [BZ #14328]
31551         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31552         or multiply small sinh result by itself.
31553         * math/s_ctanf.c (__ctanf): Likewise.
31554         * math/s_ctanh.c (__ctanh): Likewise.
31555         * math/s_ctanhf.c (__ctanhf): Likewise.
31556         * math/s_ctanhl.c (__ctanhl): Likewise.
31557         * math/s_ctanl.c (__ctanl): Likewise.
31558         * math/libm-test.inc (ctan_test_tonearest): New function.
31559         (ctan_test_towardzero): Likewise.
31560         (ctan_test_downward): Likewise.
31561         (ctan_test_upward): Likewise.
31562         (ctanh_test_tonearest): Likewise.
31563         (ctanh_test_towardzero): Likewise.
31564         (ctanh_test_downward): Likewise.
31565         (ctanh_test_upward): Likewise.
31566         (main): Call these new functions.
31567         * sysdeps/i386/fpu/libm-test-ulps: Update.
31568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31570 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31572         * .gitignore: Delete /ports entry.
31574 2012-07-03  Andreas Jaeger  <aj@suse.de>
31576         * po/bg.po: Update from translation team.
31577         * po/cs.po: Likewise.
31578         * po/de.po: Likewise.
31579         * po/hr.po: Likewise.
31580         * po/nl.pl: Likewise.
31581         * po/pl.po: Likewise.
31582         * po/vi.po: Likewise.
31584 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31586         * Makeconfig [!+link] (+link-before-libc): New variable.
31587         [!+link] (+link-after-libc): Likewise.
31588         [!+link] (+link-tests): Likewise.
31589         [!+link] (+link): Define in terms of $(+link-before-libc) and
31590         $(+link-after-libc).
31591         [!+link-static] (+link-static-before-libc): New variable.
31592         [!+link-static] (+link-static-after-libc): Likewise.
31593         [!+link-static] (+link-static-tests): Likewise.
31594         [!+link-static] (+link-static): Define in terms of
31595         $(+link-static-before-libc) and $(+link-static-after-libc).
31596         [build-shared] (link-libc-before-gnulib): New variable.
31597         [build-shared] (link-libc-tests): Likewise.
31598         [build-shared] (link-libc): Define in terms of
31599         $(link-libc-before-gnulib).
31600         [!build-shared] (link-libc-tests): New variable.
31601         (link-libc-static-tests): New variable.
31602         [!gnulib] (gnulib-arch): New variable.
31603         [!gnulib] (gnulib-tests): Likewise.
31604         [!gnulib] (static-gnulib-arch): Likewise.
31605         [!gnulib] (static-gnulib-tests): Likewise.
31606         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31607         Define with "=" instead of ":=".
31608         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31609         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31610         * Rules (binaries-all-notests): New variable.
31611         (binaries-all-tests): Likewise.
31612         (binaries-static-notests): Likewise.
31613         (binaries-static-tests): Likewise.
31614         (binaries-all): Define using $(binaries-all-notests) and
31615         $(binaries-all-tests).
31616         (binaries-static): Define using $(binaries-static-notests) and
31617         $(binaries-static-tests).
31618         (binaries-shared-tests): New variable.
31619         (binaries-shared-notests): Likewise.
31620         (binaries-shared): Remove variable.
31621         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31622         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31623         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31624         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31625         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31626         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31627         * elf/Makefile (sln-modules): New variable.
31628         (extra-objs): Add $(sln-modules:=.o).
31629         (ldconfig-modules): Add static-stubs.
31630         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31631         * elf/static-stubs.c: New file.
31633         [BZ #14283]
31634         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31635         by 7 not 8 to examine high bit of fractional part.  Use volatile
31636         variables when splitting into final array of floats if
31637         __FLT_EVAL_METHOD__ != 0.
31638         * math/libm-test.inc (cos_test): Add another test.
31639         (sin_test): Likewise.
31640         * sysdeps/i386/fpu/libm-test-ulps: Update.
31642         [BZ #14273]
31643         * math/libm-test.inc (cosh_test): Add more tests.
31645         * version.h (RELEASE): Set to "development".
31646         (VERSION): Set to "2.16.90".
31648 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31650         * NEWS: Update copyright. Remove last-updated date.
31651         Mention math library bug fixes and timezone data changes.
31652         * README: Mention GNU/Hurd, x32, and HPPA support status.
31654 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31656         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31658 2012-06-27  Andreas Jaeger  <aj@suse.de>
31660         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31662 2012-06-25  Andreas Jaeger  <aj@suse.de>
31664         * sysdeps/s390/fpu/libm-test-ulps: Update.
31666 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31667             Thomas Schwinge  <thomas@codesourcery.com>
31669         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31670         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31671         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31672         fanotify_mark.
31674 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31676         * sysdeps/mach/start.c: Remove file.
31677         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31678         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31679         * sysdeps/sh/init-first.c: Likewise.
31681         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31682         registers for frame unwinding purposes, add CFI directives.
31683         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31684         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31685         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31686         Likewise.
31688         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31689         __fortify_fail returning.
31690         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31692         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31693         sysdeps/sh/____longjmp_chk.S.
31694         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31695         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31696         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31697         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31699         * sysdeps/sh/abort-instr.h: New file.
31700         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31701         process in case exit returns.
31703         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31704         initialize the GOT register before use.
31706         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31707         calculation of ARGC > 4.
31709         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31710         meaningful names to some local labels.
31712 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31713             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31715         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31716         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31717         (__arch_compare_and_exchange_val_16_acq): Likewise.
31718         (__arch_compare_and_exchange_val_32_acq): Likewise.
31719         (atomic_exchange_and_add): Fix gUSA sequence.
31720         (atomic_add): Likewise.
31721         (atomic_add_negative): Likewise.
31722         (atomic_add_zero): Likewise.
31723         (atomic_bit_test_set): Likewise.
31725 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31727         [BZ #13579]
31728         * include/link.h (struct link_map): Add l_free_initfini.
31729         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31730         l_initfini.
31731         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31732         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31733         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31734         set.
31736 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31738         * configure.in: Use AC_LANG_SOURCE.
31739         * configure: Regenerate.
31741 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31743         * configure.in (libc_cv_localstatedir): New substituted variable.
31744         * configure: Regenerated.
31745         * config.make.in (localstatedir): New variable, substituted from
31746         libc_cv_localstatedir.
31747         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31748         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31749         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31750         * sysdeps/gnu/configure: Regenerated.
31752 2012-06-21  Jeff Law  <law@redhat.com>
31754         [BZ #14277]
31755         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31756         free.  Simplify list management for _LIBC case.
31758 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31760         [BZ #14273]
31761         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31762         Clear sign bit of 64-bit integer value before comparing against
31763         overflow value.
31765         * sysdeps/mach/configure: Regenerated.
31767 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31769         [BZ #14278]
31770         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31772 2012-06-21  Jeff Law  <law@redhat.com>
31774         [BZ #13882]
31775         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31776         uint16_t for elements in the "seen" array to avoid char overflows.
31777         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31778         * elf/dl-open.c (dl_open_worker): Likewise.
31780 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31782         * scripts/list-sources.sh: Scan PORTS for translations.
31783         * po/libc.pot: Regenerated.
31785 2012-06-21  Andreas Jaeger  <aj@suse.de>
31787         [BZ #12194]
31788         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31789         warning.
31790         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31791         * bits/byteswap-16.h (__bswap_16): Likewise.
31792         * bits/byteswap.h (__bswap_constant_16): Likewise.
31794 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31796         [BZ #14117]
31797         * sysdeps/i386/fpu_control.h: Removed.
31798         * sysdeps/x86_64/fpu_control.h: Moved to ...
31799         * sysdeps/x86/fpu_control.h: Here.
31801         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31802         (_FPU_SETCW): Likewise.
31804 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31806         [BZ #14117]
31807         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31808         * sysdeps/x86/fpu/bits/mathinline.h: This.
31809         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31811         [BZ #14050]
31812         [BZ #14117]
31813         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31814         functions if __x86_64__ is defined.
31816 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31818         * string/endian.h: Add !__ASSEMBLER__ condition for including
31819         conversion interfaces.
31821 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31823         [BZ #14241]
31824         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31825         of ABS(x) in calculating zero to negative powers other than odd
31826         integers.
31827         * math/libm-test.inc (pow_test): Add more tests.
31829 2012-06-15  Andreas Jaeger  <aj@suse.de>
31831         * manual/contrib.texi (Contributors): Update entry of Liubov
31832         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31833         Machado Filho.
31835 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31837         * string/string.h: Add __wur to GNU version of strerror_r.
31839 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31841         [BZ #14229]
31842         * string/Makefile (tests): Add tst-strtok_r.
31843         * string/tst-strtok_r.c: New file.
31844         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31845         RAX_LP/RDX_LP on SAVE_PTR.
31847 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31849         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31851 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31853         * libm_test.inc (csqrt_test): Allow more spurious underflow
31854         exceptions.
31855         (j0_test): Likewise.
31856         (j1_test): Likewise.
31857         (y0_test): Likewise.
31858         (y1_test): Likewise.
31860 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31862         * po/Makefile (libc.pot): Use UTF-8 charset.
31864 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31866         [BZ #14210]
31867         Suppress sign-conversion warning from FD_SET.
31868         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31869         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31870         not unsigned long int.
31871         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31873 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31875         [BZ #14050]
31876         [BZ #14117]
31877         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31878         __extern_always_inline instead of __extern_inline.
31879         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31880         (__signbit): Likewise.
31881         (__signbitl): Support C++ namespace.
31882         (lrintf): New inline function.
31883         (lrint): Likewise.
31884         (llrintf): Likewise.
31885         (llrint): Likewise.
31886         (fmaxf): Likewise.
31887         (fmax): Likewise.
31888         (fminf): Likewise.
31889         (fmin): Likewise.
31890         (rint): Likewise.
31891         (rintf): Likewise.
31892         (ceil): Likewise.
31893         (ceilf): Likewise.
31894         (floor): Likewise.
31895         (floorf): Likewise.
31896         (nearbyint): Likewise.
31897         (nearbyintf): Likewise.
31899 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31901         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31902         non-default versions.
31904 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31906         [BZ #14218]
31907         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31909 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31911         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31912         (FE_UPWARD, FE_DOWNWARD): Don't define.
31913         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31914         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31916         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31917         reading it.
31918         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31919         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31921 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31923         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31924         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31925         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31926         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31928 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31930         [BZ #14117]
31931         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31932         * sysdeps/i386/fpu/Implies: New file.
31933         * sysdeps/x86_64/fpu/Implies: Likewise.
31934         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31935         * sysdeps/x86/fpu/bits/fenv.h: This.
31937         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31938         __SSE_MATH__.
31940 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31942         [BZ #14134]
31943         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31944         character 0xffff that matches the last element of the
31945         conversion table.
31947 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31949         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31950         fmodl commit.
31952 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31954         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31955         values higher than 25.6283.
31957 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31959         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31960         subnormal exponent extraction and add some __builtin_expect.
31961         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31962         Fix for subnormal mantissa calculation.
31964 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31966         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31967         cpu2 is -1 and errno is not ENOSYS.
31969 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31971         [BZ #14117]
31972         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31973         * sysdeps/x86/bits/string.h: This.
31974         * sysdeps/x86_64/bits/string.h: Removed.
31976         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31977         if not compiling for x86-64, but compiling for >= i486.
31979         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31980         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31982         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31983         New macro from Linux kernel 3.4.0.
31984         (FP_XSTATE_MAGIC2): Likewise.
31985         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31986         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31987         (struct _fpx_sw_bytes): New struct.
31988         (struct _xsave_hdr): Likewise.
31989         (struct _ymmh_state): Likewise.
31990         (struct _xstate): Likewise.
31992         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31993         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31994         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31995         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31996         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31997         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31999         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32000         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32001         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32002         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32003         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32004         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32006 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32008         [BZ #13743]
32009         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32010         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32011         (sysdep_headers): Include sys/platform/ppc.h.
32012         * sysdeps/powerpc/test-gettimebase.c: Test for
32013         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32014         * manual/Makefile (appendices): Include platform.texi.
32015         * manual/contrib.texi (Contributors): Update @node pointers.
32016         * manual/maint.texi (Maintenance): Likewise.
32017         (Platform): New node.
32018         * manual/platform.texi: New file.  Document the new features.
32020 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32021             Jakub Jelinek  <jakub@redhat.com>
32023         [BZ #14188]
32024         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32025         where __builtin_expect is unavailable.
32027 2012-06-03  David S. Miller  <davem@davemloft.net>
32029         * stdlib/longlong.h: Updated from GCC.
32031 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32033         [BZ #14042]
32034         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32035         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32036         __mcount_internal.
32037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32038         (GLIBC_2.16): Likewise.
32040 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32042         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32044 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32047         (default-abi): New variable.
32048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32049         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32050         variable.
32051         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32052         Likewise.
32053         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32054         Likewise.
32055         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32056         Likewise.
32058         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32059         definition.  Document in comment.
32061 2012-06-01  David S. Miller  <davem@davemloft.net>
32063         * stdlib/longlong.h: Updated from GCC.
32065 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32067         [BZ #14117]
32068         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32069         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32070         sys/debugreg.h sys/io.h here.
32071         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32072         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32073         sys/io.h.
32074         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32075         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32076         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32077         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32078         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32079         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32081         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32082         Define only if __x86_64__ is defined.
32084 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32086         [BZ #14048]
32087         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32088         Use int64_t for variable i.
32089         * math/libm-test.inc (fmod_test): Add more tests.
32091         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32092         z computation is not scheduled after fetestexcept.
32093         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32094         Use math_force_eval instead of asm to ensure calculation scheduled
32095         before exception test.
32096         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32097         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32099 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32102         computation is not scheduled after fetestexcept.
32104 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32106         [BZ #14117]
32107         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32108         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32110 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32112         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32113         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32115 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32117         [BZ #14117]
32118         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32119         <bits/wordsize.h>.
32120         (__WCHAR_MIN): Support __WORDSIZE == 64.
32121         (__WCHAR_MAX): Likewise.
32123         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32124         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32126         [BZ #14183]
32127         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32128         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32130         [BZ #14117]
32131         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32132         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32134         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32135         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32137         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32138         Defined to 1 if __x86_64__ isn't defined.
32139         (_STAT_VER_LINUX_OLD): New.
32140         (st_atime): Remove duplicate.
32141         (st_mtime): Likewise.
32142         (st_ctime): Likewise.
32144 2012-05-31  David S. Miller  <davem@davemloft.net>
32146         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32147         entries.
32149 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32151         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32152         gen-libm-test.pl.
32154         [BZ #14132]
32155         * elf/dl-reloc.c: Include <_itoa.h>.
32156         (_dl_reloc_bad_type): Remove use of INTUSE.
32157         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32158         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32159         * stdio-common/psiginfo.c (psiginfo): Likewise.
32160         * stdio-common/psignal.c (psignal): Likewise.
32161         * string/strsignal.c (strsignal): Likewise.
32162         * include/signal.h (_sys_siglist): Declare hidden proto.
32163         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32164         INTVARDEF with libc_hidden_data_def.
32165         * stdio-common/itoa-udigits.c: Likewise.
32166         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32167         (_itoa_lower_digits_internal): Remove declaration.
32168         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32169         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32170         (_sys_sigabbrev_internal): Remove aliases.
32171         (_sys_siglist): Define hidden alias.
32173 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32175         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32176         bits/sysctl.h.
32178 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32180         [BZ #14117]
32181         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32182         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32184         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32185         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32186         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32187         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32188         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32189         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32191         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32192         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32193         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32195         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32196         with __addr.
32197         (insw): Likewise.
32198         (insl): Likewise.
32199         (outsb): Likewise.
32200         (outsw): Likewise.
32201         (outsl): Likewise.
32203         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32204         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32205         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32207         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32208         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32209         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32210         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32211         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32212         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32214         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32215         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32217         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32218         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32220         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32221         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32222         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32224         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32225         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32226         to ...
32227         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32229         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32230         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32231         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32233         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32234         for x86-64.
32235         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32237 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32239         * math/math.h (M_El): Use two more decimal places.
32240         (M_LOG2El): Likewise.
32241         (M_LOG10El): Likewise.
32242         (M_LN2l): Likewise.
32243         (M_LN10l): Likewise.
32244         (M_PIl): Likewise.
32245         (M_PI_2l): Likewise.
32246         (M_PI_4l): Likewise.
32247         (M_1_PIl): Likewise.
32248         (M_2_PIl): Likewise.
32249         (M_2_SQRTPIl): Likewise.
32250         (M_SQRT2l): Likewise.
32251         (M_SQRT1_2l): Likewise.
32253 2012-05-31  David S. Miller  <davem@davemloft.net>
32255         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32256         values between float registers.
32257         * sysdeps/sparc/sparc64/memset.S: Likewise.
32258         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32260 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32262         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32263         -D_FORTIFY_SOURCE=1.
32264         (CPPFLAGS-tst-longjmp_chk.c): Define.
32265         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32266         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32267         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32268         CFLAGS-tst-wchar-h.c.
32270 2012-05-31  Marek Polacek  <polacek@redhat.com>
32272         [BZ #14132]
32273         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32274         __endmntent_internal): Remove declaration.
32275         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32276         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32277         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32279 2012-05-30  David S. Miller  <davem@davemloft.net>
32281         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32282         (___Q_simulate_exceptions): Use real FP ops rather than writing
32283         into the %fsr.
32284         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32285         Likewise.
32287 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32289         [BZ #14117]
32290         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32291         * sysdeps/x86/bits/xtitypes.h: This.
32293         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32294         * sysdeps/x86/bits/wordsize.h: This.
32296         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32297         * sysdeps/x86/bits/huge_vall.h: This.
32299         * sysdeps/i386/bits/select.h: Removed.
32300         * sysdeps/x86_64/bits/select.h: Renamed to ...
32301         * sysdeps/x86/bits/select.h: This.
32303         * sysdeps/i386/bits/setjmp.h: Removed.
32304         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32305         * sysdeps/x86/bits/setjmp.h: This.
32307         * sysdeps/i386/bits/mathdef.h: Removed.
32308         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32309         * sysdeps/x86/bits/mathdef.h: This.
32311 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32313         [BZ #14132]
32314         * include/sys/socket.h (__connect_internal)
32315         (__libc_sa_len_internal): Remove declaration.
32316         (__connect, __libc_sa_len): Declare hidden_proto.
32317         (SA_LEN): Remove use of INTUSE.
32318         * socket/connect.c: Add libc_hidden_def.
32319         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32320         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32321         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32322         alias.
32323         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32324         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32325         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32326         of adding _internal alias.
32328 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32330         [BZ #14117]
32331         * sysdeps/i386/bits/link.h: Removed.
32332         * sysdeps/i386/bits/linkmap.h: Likewise.
32333         * sysdeps/x86_64/bits/link.h: Renamed to ...
32334         * sysdeps/x86/bits/link.h: This.
32335         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32336         * sysdeps/x86/bits/linkmap.h: This.
32338         * sysdeps/i386/bits/endian.h: Removed.
32339         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32340         * sysdeps/x86/bits/endian.h: This.
32342         * sysdeps/i386/bits/byteswap.h: Removed.
32343         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32344         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32345         * sysdeps/x86/bits/byteswap.h: This.
32346         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32347         * sysdeps/x86/bits/byteswap-16.h: This.
32348         * sysdeps/i386/Implies: Add x86.
32349         * sysdeps/x86_64/Implies: Likewise.
32351 2012-05-30  David S. Miller  <davem@davemloft.net>
32353         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32354         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32355         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32356         (FP_TRAPPING_EXCEPTIONS): Define.
32357         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32358         (FP_TRAPPING_EXCEPTIONS): Define.
32359         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32360         subnormals only when inexact has been signalled or underflow
32361         exceptions are enabled.
32362         (_FP_PACK_CANONICAL): Likewise.
32364 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32366         [BZ #14183]
32367         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32368         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32370 2012-05-30  Richard Henderson  <rth@twiddle.net>
32372         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32373         with #ifndef NOT_IN_libc.
32375         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32376         marked to avoid plt entry.
32378 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32380         [BZ #14112]
32381         * Makeconfig (default-abi): New macro.
32382         (abi-includes): Likewise.
32383         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32384         $(abi-$(default-abi)-lib-soname) for soname if defined.
32385         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32386         abi-variants.
32387         * Makefile (installed-stubs): Likewise.
32388         * include/stubs-biarch.h: Removed.
32389         * scripts/lib-names.awk: Only handle one library at a time.
32390         * scripts/soversions.awk: Remove WORDSIZE support.
32391         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32392         entries.
32393         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32394         Removed.
32395         (syscall-list-default-condition): Likewise.
32396         (syscall-list-default-condition): Likewise.
32397         (syscall-list-includes): Likewise.
32398         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32399         syscall-list-* with abi-*.  Handle undefined abi-variants.
32400         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32401         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32402         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32403         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32404         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32405         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32406         Removed.
32407         (syscall-list-32-options): Likewise.
32408         (syscall-list-32-condition): Likewise.
32409         (syscall-list-64-options): Likewise.
32410         (syscall-list-64-condition): Likewise.
32411         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32412         macro.
32413         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32414         Renamed to ...
32415         (abi-*): This.
32416         (abi-64-ld-soname): New macro.
32417         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32418         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32419         Renamed to ...
32420         (abi-*): This.
32421         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32422         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32424 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32426         * sysdeps/unix/sysv/linux/kernel-features.h
32427         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32428         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32429         include <kernel-features.h>.
32430         [!__NR_ftruncate64]: Remove conditional code.
32431         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32432         [__NR_ftruncate64]: Make code unconditional.
32433         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32434         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32435         include <kernel-features.h>.
32436         [!__NR_ftruncate64]: Remove conditional code.
32437         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32438         [__NR_ftruncate64]: Make code unconditional.
32439         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32441         include <kernel-features.h>.
32442         [!__NR_ftruncate64]: Remove conditional code.
32443         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32444         [__NR_ftruncate64]: Make code unconditional.
32445         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32447         include <kernel-features.h>.
32448         [!__NR_ftruncate64]: Remove conditional code.
32449         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32450         [__NR_ftruncate64]: Make code unconditional.
32451         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32453         * configure.in (libc_cv_fpie): Weaken to a compile test using
32454         LIBC_TRY_CC_OPTION.
32455         * configure: Regenerated.
32457 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32463         Refreshed.
32464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32470         Refreshed.
32472 2012-05-27  David S. Miller  <davem@davemloft.net>
32474         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32475         (___Q_zero): New.
32476         (__Q_simulate_exceptions): Return void.  Change to simulate
32477         exceptions by writing into the %fsr.
32478         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32479         (__Qp_handle_exceptions): Likewise.
32480         (numbers): Delete.
32481         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32482         __Qp_handle_exceptions.
32483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32484         __Qp_handle_exceptions.
32485         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32486         as unused and give dummy FP_RND_NEAREST initializer.
32487         (FP_INHIBIT_RESULTS): Define.
32488         (___Q_simulate_exceptions): Update declaration.
32489         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32490         formatting.
32491         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32492         as unused and give dummy FP_RND_NEAREST initializer.
32493         (__Qp_handle_exceptions): Update declaration.
32494         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32495         formatting.
32497 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32499         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32500         the temporary FPU control word.
32501         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32502         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32503         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32504         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32505         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32506         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32507         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32508         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32509         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32510         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32511         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32513 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32515         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32516         fields.
32518 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32520         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32521         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32522         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32523         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32524         Likewise.
32525         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32526         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32527         Likewise.
32529 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32531         * po/h.po: Update from translation team.
32533 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32535         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32537         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32538         handling of denormals.
32539         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32540         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32541         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32542         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32543         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32544         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32545         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32546         Likewise.
32548 2012-05-26  Marek Polacek  <polacek@redhat.com>
32550         [BZ #14152]
32551         * math/libm-test.inc (fma_test): Don't always expect underflow
32552         exception.
32554 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32556         [BZ #12416]
32557         * elf/tst-execstack.c: Include stackinfo.h.
32558         (do_test): Adjust test case to ensure that pthread_getattr_np
32559         behaviour remains the same after marking stack executable.
32561 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32563         * sysdeps/unix/sysv/linux/kernel-features.h
32564         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32565         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32566         kernel-features.h.
32567         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32568         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32569         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32570         kernel-features.h.
32571         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32572         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32574 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32576         * configure.in: Define the default includes to being none.
32577         * configure: Regenerated.
32579 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32581         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32582         * sysdeps/x86_64/setjmp.S: Likewise.
32583         * sysdeps/i386/bsd-setjmp.S: Likewise.
32584         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32585         * sysdeps/i386/setjmp.S: Likewise.
32586         * sysdeps/i386/__longjmp.S: Likewise.
32587         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32588         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32590         * include/stap-probe.h: New file.
32591         * configure.in: Handle --enable-systemtap.
32592         * configure: Regenerated.
32593         * config.h.in (USE_STAP_PROBE): New #undef.
32594         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32595         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32596         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32598 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32600         [BZ #13717]
32601         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32602         to 2.4.0 where earlier.
32603         * sysdeps/unix/sysv/linux/configure: Regenerated.
32604         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32605         <kernel-features.h>.
32606         [__ASSUME_32BITUIDS]: Make code unconditional.
32607         [!__ASSUME_32BITUIDS]: Remove conditional code.
32608         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32609         <kernel-features.h>.
32610         [__ASSUME_32BITUIDS]: Make code unconditional.
32611         [!__ASSUME_32BITUIDS]: Remove conditional code.
32612         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32613         [__ASSUME_32BITUIDS]: Make code unconditional.
32614         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32615         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32616         <kernel-features.h>.
32617         [__ASSUME_32BITUIDS]: Make code unconditional.
32618         [!__ASSUME_32BITUIDS]: Remove conditional code.
32619         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32620         <kernel-features.h>.
32621         [__ASSUME_32BITUIDS]: Make code unconditional.
32622         [!__ASSUME_32BITUIDS]: Remove conditional code.
32623         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32624         <kernel-features.h>.
32625         [__ASSUME_32BITUIDS]: Make code unconditional.
32626         [!__ASSUME_32BITUIDS]: Remove conditional code.
32627         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32628         <kernel-features.h>.
32629         [__ASSUME_32BITUIDS]: Make code unconditional.
32630         [!__ASSUME_32BITUIDS]: Remove conditional code.
32631         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32632         <kernel-features.h>.
32633         [__ASSUME_32BITUIDS]: Make code unconditional.
32634         [!__ASSUME_32BITUIDS]: Remove conditional code.
32635         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32636         <kernel-features.h>.
32637         [__ASSUME_32BITUIDS]: Make code unconditional.
32638         [!__ASSUME_32BITUIDS]: Remove conditional code.
32639         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32640         <kernel-features.h>.
32641         [__ASSUME_32BITUIDS]: Make code unconditional.
32642         [!__ASSUME_32BITUIDS]: Remove conditional code.
32643         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32644         <kernel-features.h>.
32645         [__ASSUME_32BITUIDS]: Make code unconditional.
32646         [!__ASSUME_32BITUIDS]: Remove conditional code.
32647         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32648         <kernel-features.h>.
32649         [__ASSUME_32BITUIDS]: Make code unconditional.
32650         [!__ASSUME_32BITUIDS]: Remove conditional code.
32651         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32652         <kernel-features.h>.
32653         [__ASSUME_32BITUIDS]: Make code unconditional.
32654         [!__ASSUME_32BITUIDS]: Remove conditional code.
32655         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32656         <kernel-features.h>.
32657         [__NR_setresgid] (__setresgid): Do not declare.
32658         [__ASSUME_32BITUIDS]: Make code unconditional.
32659         [!__ASSUME_32BITUIDS]: Remove conditional code.
32660         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32661         <kernel-features.h>.
32662         [__NR_setresuid] (__setresuid): Do not declare.
32663         [__ASSUME_32BITUIDS]: Make code unconditional.
32664         [!__ASSUME_32BITUIDS]: Remove conditional code.
32665         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32666         <kernel-features.h>.
32667         [__ASSUME_32BITUIDS]: Make code unconditional.
32668         [!__ASSUME_32BITUIDS]: Remove conditional code.
32669         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32670         <kernel-features.h>.
32671         [__ASSUME_32BITUIDS]: Make code unconditional.
32672         [!__ASSUME_32BITUIDS]: Remove conditional code.
32673         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32674         <kernel-features.h>.
32675         [__ASSUME_32BITUIDS]: Make code unconditional.
32676         [!__ASSUME_32BITUIDS]: Remove conditional code.
32677         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32678         <kernel-features.h>.
32679         [__ASSUME_32BITUIDS]: Make code unconditional.
32680         [!__ASSUME_32BITUIDS]: Remove conditional code.
32681         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32682         <kernel-features.h>.
32683         [__ASSUME_32BITUIDS]: Make code unconditional.
32684         [!__ASSUME_32BITUIDS]: Remove conditional code.
32685         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32686         <kernel-features.h>.
32687         [__ASSUME_32BITUIDS]: Make code unconditional.
32688         [!__ASSUME_32BITUIDS]: Remove conditional code.
32689         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32690         <kernel-features.h>.
32691         [__ASSUME_32BITUIDS]: Make code unconditional.
32692         [!__ASSUME_32BITUIDS]: Remove conditional code.
32693         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32694         <kernel-features.h>.
32695         [__ASSUME_32BITUIDS]: Make code unconditional.
32696         [!__ASSUME_32BITUIDS]: Remove conditional code.
32697         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32698         <kernel-features.h>.
32699         [__ASSUME_32BITUIDS]: Make code unconditional.
32700         [!__ASSUME_32BITUIDS]: Remove conditional code.
32701         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32702         <kernel-features.h>.
32703         [__ASSUME_32BITUIDS]: Make code unconditional.
32704         [!__ASSUME_32BITUIDS]: Remove conditional code.
32705         * sysdeps/unix/sysv/linux/kernel-features.h
32706         (__ASSUME_SETRESUID_SYSCALL): Remove.
32707         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32708         (__ASSUME_32BITUIDS): Likewise.
32709         (__ASSUME_LDT_WORKS): Likewise.
32710         (__ASSUME_O_DIRECTORY): Likewise.
32711         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32712         architecture but not kernel version.
32713         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32714         (__ASSUME_MMAP2_SYSCALL): Likewise.
32715         (__ASSUME_STAT64_SYSCALL): Likewise.
32716         (__ASSUME_IPC64): Likewise.
32717         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32718         <kernel-features.h>.
32719         [__ASSUME_32BITUIDS]: Make code unconditional.
32720         [!__ASSUME_32BITUIDS]: Remove conditional code.
32721         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32722         <kernel-features.h>.
32723         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32724         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32725         132096]: Remove conditional code.
32726         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32727         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32728         <kernel-features.h>.
32729         [__ASSUME_32BITUIDS]: Make code unconditional.
32730         [!__ASSUME_32BITUIDS]: Remove conditional code.
32731         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32732         <kernel-features.h>.
32733         [__ASSUME_32BITUIDS]: Make code unconditional.
32734         [!__ASSUME_32BITUIDS]: Remove conditional code.
32735         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32736         <kernel-features.h>.
32737         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32738         unconditional.
32739         (__setresgid): Do not declare.
32740         [__ASSUME_32BITUIDS]: Make code unconditional.
32741         [!__ASSUME_32BITUIDS]: Remove conditional code.
32742         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32743         <kernel-features.h>.
32744         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32745         unconditional.
32746         (__setresuid): Do not declare.
32747         [__ASSUME_32BITUIDS]: Make code unconditional.
32748         [!__ASSUME_32BITUIDS]: Remove conditional code.
32749         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32750         <kernel-features.h>.
32751         [__ASSUME_32BITUIDS]: Make code unconditional.
32752         [!__ASSUME_32BITUIDS]: Remove conditional code.
32753         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32754         <kernel-features.h>.
32755         [__ASSUME_32BITUIDS]: Make code unconditional.
32756         [!__ASSUME_32BITUIDS]: Remove conditional code.
32758 2012-05-25  Richard Henderson  <rth@twiddle.net>
32760         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32761         dl_hwcap to ifunc resolver.
32762         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32763         elf_ifunc_invoke.
32764         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32765         dl_hwcap to ifunc resolver.
32766         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32768 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32770         [BZ #14153]
32771         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32772         for |x| <= 2**-26, not 2**-57.
32773         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32774         exception.
32776 2012-05-24  Jeff Law  <law@redhat.com>
32778         * stdio-common/Makefile (tests): Add bug25.
32779         * stdio-common/bug25.c: New test.
32781 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32783         [BZ #13576]
32784         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32785         multiple of MALLOC_ALIGNMENT in size.
32786         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32788 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32790         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32791         Require >= 256.
32792         (FILENAME_MAX): Use macro-int-constant.
32793         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32794         (_IOFBF): Use macro-int-constant.
32795         (_IOLBF): Likewise.
32796         (_IONBF): Likewise.
32797         (SEEK_CUR): Likewise.
32798         (SEEK_END): Likewise.
32799         (SEEK_SET): Likewise.
32800         (TMP_MAX): Likewise.
32801         (EOF): Use macro-int-constant.  Require < 0.
32802         (NULL): Use macro-constant.  Require == 0.
32803         (stdin): Require type to be FILE *.
32804         (stdout): Likewise.
32805         (stderr): Likewise.
32806         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32807         macro-int-constant.
32808         (EXIT_SUCCESS): Likewise.
32809         (NULL): Use macro-constant.  Require == 0.
32810         (RAND_MAX): Use macro-int-constant.
32811         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32812         [C99-based standards] (strtof): Require function.
32813         [C99-based standards] (strtold): Likewise.
32814         [C99-based standards] (strtoll): Likewise.
32815         [C99-based standards] (strtoull): Likewise.
32816         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32817         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32818         [ISO || ISO99 || ISO11] (math.h): Likewise.
32819         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32820         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32821         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32823 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32825         [BZ #14132]
32826         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32827         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32828         * intl/dgettext.c (DCGETTEXT): Likewise.
32829         * intl/gettext.c (DCGETTEXT): Likewise.
32830         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32831         * posix/regex_internal.h (gettext): Likewise.
32832         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32833         Remove declaration.
32834         * include/argz.h (__argz_count_internal)
32835         (__argz_stringify_internal): Remove declaration.
32836         (__argz_count, __argz_stringify): Declare hidden proto.
32837         * intl/dcgettext.c: Remove use of INTDEF.
32838         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32839         * string/argz-stringify.c: Likewise.
32840         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32841         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32842         Declare hidden proto.
32843         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32844         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32845         Declare hidden proto.
32846         * include/stdio.h (__asprintf_internal): Don't declare.
32847         (__asprintf): Don't define as macro.  Declare hidden proto.
32848         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32849         (__fsetlocking): Declare hidden proto.
32850         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32851         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32852         hidden proto.
32853         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32854         (_IO_setlinebuf): Remove use of INTUSE.
32855         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32856         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32857         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32858         Remove declaration.
32859         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32860         (_IO_do_flush): Remove use of INTUSE.
32861         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32862         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32863         (_IO_adjust_column, _IO_least_wmarker)
32864         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32865         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32866         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32867         (_IO_default_doallocate, _IO_wdefault_doallocate)
32868         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32869         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32870         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32871         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32872         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32873         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32874         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32875         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32876         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32877         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32878         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32879         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32880         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32881         proto.
32882         (_IO_flush_all_internal, _IO_adjust_column_internal)
32883         (_IO_default_uflow_internal, _IO_default_finish_internal)
32884         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32885         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32886         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32887         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32888         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32889         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32890         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32891         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32892         (_IO_file_close_internal, _IO_file_close_it_internal)
32893         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32894         (_IO_file_init_internal, _IO_file_attach_internal)
32895         (_IO_file_fopen_internal, _IO_file_read_internal)
32896         (_IO_file_sync_internal, _IO_file_seek_internal)
32897         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32898         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32899         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32900         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32901         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32902         (_IO_list_all_internal, _IO_link_in_internal)
32903         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32904         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32905         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32906         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32907         (_IO_do_write_internal, _IO_padn_internal)
32908         (_IO_getline_info_internal, _IO_getline_internal)
32909         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32910         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32911         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32912         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32913         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32914         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32915         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32916         with libc_hidden_ver, remove use of INTUSE.
32917         * libio/genops.c: Likewise.
32918         * libio/freopen.c: Likewise.
32919         * libio/freopen64.c: Likewise.
32920         * libio/iofclose.c: Likewise.
32921         * libio/iofdopen.c: Likewise.
32922         * libio/iofflush.c: Likewise.
32923         * libio/iofflush_u.c: Likewise.
32924         * libio/iofgets.c: Likewise.
32925         * libio/iofgets_u.c: Likewise.
32926         * libio/iofopen.c: Likewise.
32927         * libio/iofopncook.c: Likewise.
32928         * libio/iofread.c: Likewise.
32929         * libio/iofread_u.c: Likewise.
32930         * libio/ioftell.c: Likewise.
32931         * libio/iofwrite.c: Likewise.
32932         * libio/iogetline.c: Likewise.
32933         * libio/iogets.c: Likewise.
32934         * libio/iogetwline.c: Likewise.
32935         * libio/iopadn.c: Likewise.
32936         * libio/iopopen.c: Likewise.
32937         * libio/ioseekoff.c: Likewise.
32938         * libio/ioseekpos.c: Likewise.
32939         * libio/iosetbuffer.c: Likewise.
32940         * libio/iosetvbuf.c: Likewise.
32941         * libio/ioungetc.c: Likewise.
32942         * libio/ioungetwc.c: Likewise.
32943         * libio/iovdprintf.c: Likewise.
32944         * libio/iovsprintf.c: Likewise.
32945         * libio/iovsscanf.c: Likewise.
32946         * libio/memstream.c: Likewise.
32947         * libio/obprintf.c: Likewise.
32948         * libio/oldfileops.c: Likewise.
32949         * libio/oldiofclose.c: Likewise.
32950         * libio/oldiofdopen.c: Likewise.
32951         * libio/oldiofopen.c: Likewise.
32952         * libio/oldiopopen.c: Likewise.
32953         * libio/oldstdfiles.c: Likewise.
32954         * libio/putc.c: Likewise.
32955         * libio/setbuf.c: Likewise.
32956         * libio/setlinebuf.c: Likewise.
32957         * libio/stdfiles.c: Likewise.
32958         * libio/strops.c: Likewise.
32959         * libio/vasprintf.c: Likewise.
32960         * libio/vscanf.c: Likewise.
32961         * libio/vsnprintf.c: Likewise.
32962         * libio/vswprintf.c: Likewise.
32963         * libio/wfiledoalloc.c: Likewise.
32964         * libio/wfileops.c: Likewise.
32965         * libio/wgenops.c: Likewise.
32966         * libio/wmemstream.c: Likewise.
32967         * libio/wstrops.c: Likewise.
32968         * libio/__fpurge.c: Likewise.
32969         * libio/__fsetlocking.c: Likewise.
32970         * assert/assert.c: Likewise.
32971         * debug/fgets_chk.c: Likewise.
32972         * debug/fgets_u_chk.c: Likewise.
32973         * debug/fread_chk.c: Likewise.
32974         * debug/fread_u_chk.c: Likewise.
32975         * debug/gets_chk.c: Likewise.
32976         * debug/obprintf_chk.c: Likewise.
32977         * debug/vasprintf_chk.c: Likewise.
32978         * debug/vdprintf_chk.c: Likewise.
32979         * debug/vsnprintf_chk.c: Likewise.
32980         * debug/vsprintf_chk.c: Likewise.
32981         * malloc/mtrace.c: Likewise.
32982         * misc/error.c: Likewise.
32983         * misc/syslog.c: Likewise.
32984         * stdio-common/asprintf.c: Likewise.
32985         * stdio-common/fxprintf.c: Likewise.
32986         * stdio-common/getw.c: Likewise.
32987         * stdio-common/isoc99_fscanf.c: Likewise.
32988         * stdio-common/isoc99_scanf.c: Likewise.
32989         * stdio-common/isoc99_vfscanf.c: Likewise.
32990         * stdio-common/isoc99_vscanf.c: Likewise.
32991         * stdio-common/isoc99_vsscanf.c: Likewise.
32992         * stdio-common/printf-prs.c: Likewise.
32993         * stdio-common/printf_fp.c: Likewise.
32994         * stdio-common/printf_fphex.c: Likewise.
32995         * stdio-common/printf_size.c: Likewise.
32996         * stdio-common/putw.c: Likewise.
32997         * stdio-common/scanf.c: Likewise.
32998         * stdio-common/sprintf.c: Likewise.
32999         * stdio-common/tmpfile.c: Likewise.
33000         * stdio-common/vfprintf.c: Likewise.
33001         * stdio-common/vfscanf.c: Likewise.
33002         * stdlib/strfmon_l.c: Likewise.
33003         * sunrpc/openchild.c: Likewise.
33004         * sunrpc/xdr_stdio.c: Likewise.
33005         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33006         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33008 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33010         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33012         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33013         in the third column, to generate for the shared library an IFUNC
33014         that uses _dl_vdso_vsym.
33015         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33016         * Makeconfig (object-suffixes-noshared): New variable.
33018         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33019         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33020         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33021         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33023         [BZ #14132]
33024         * include/sys/time.h (__gettimeofday): Remove macro.
33025         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33026         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33027         Remove INTDEF.
33028         (__gettimeofday): Add libc_hidden_def.
33029         (gettimeofday): Add libc_hidden_weak.
33030         * sysdeps/mach/gettimeofday.c: Likewise.
33031         * sysdeps/posix/gettimeofday.c: Likewise.
33032         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33033         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33034         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33035         (__gettimeofday_internal): Remove strong_alias.
33036         (__gettimeofday): Add libc_hidden_def.
33037         (gettimeofday): Add libc_hidden_weak.
33038         * sysdeps/unix/syscalls.list (gettimeofday):
33039         Remove __gettimeofday_internal alias.
33041 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33042             H.J. Lu  <hongjiu.lu@intel.com>
33044         [BZ #12495]
33045         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33046         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33047         (largebin_index_32_big): New.
33048         (largebin_index): Use it for 16-byte alignment.
33049         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33050         correction with front_misalign.
33052 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33056         Likewise.
33057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33058         Likewise.
33059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33060         Likewise.
33061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33062         Likewise.
33063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33064         Likewise.
33065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33066         Likewise.
33067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33068         Likewise.
33069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33070         Likewise.
33071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33072         Likewise.
33073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33074         Likewise.
33075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33076         Likewise.
33077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33078         Likewise.
33080         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33081         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33083 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33085         [BZ #10846]
33086         [BZ #14036]
33087         * math/libm-test.inc (exp_test): Add test from bug 14036.
33088         (pow_test): Add test from bug 10846.
33090         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33091         and other flags.
33092         (special_function): Do not include flags in test name.
33093         (parse_args): Likewise.
33094         * sysdeps/i386/fpu/libm-test-ulps: Update.
33095         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33096         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33097         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33100         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33101         exceptions.
33102         * math/libm-test.inc ("Philosophy"): Update comment about
33103         exception testing.
33104         (UNDERFLOW_EXCEPTION): New macro.
33105         (UNDERFLOW_EXCEPTION_OK): Likewise.
33106         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33107         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33108         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33109         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33110         (INVALID_EXCEPTION_OK): Update value.
33111         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33112         (OVERFLOW_EXCEPTION_OK): Likewise.
33113         (IGNORE_ZERO_INF_SIGN): Likewise.
33114         (test_exceptions): Handle underflow exceptions.
33115         (acos_test): Update for underflow exception expectations.
33116         (cexp_test): Likewise.
33117         (clog_test): Likewise.
33118         (clog10_test): Likewise.
33119         (csqrt_test): Likewise.
33120         (ctan_test): Likewise.
33121         (ctanh_test): Likewise.
33122         (exp_test): Likewise.
33123         (exp10_test): Likewise.
33124         (exp2_test): Likewise.
33125         (expm1_test): Likewise.
33126         (fma_test): Likewise.
33127         (j0_test): Likewise.
33128         (jn_test): Likewise.
33129         (nexttoward_test): Likewise.
33130         (pow_test): Likewise.
33131         (scalbn_test): Likewise.
33132         (scalbln_test): Likewise.
33133         (tan_test): Likewise.
33134         (y1_test): Likewise.
33135         * sysdeps/i386/fpu/libm-test-ulps: Update.
33136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33138 2012-05-23  David S. Miller  <davem@davemloft.net>
33140         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33141         (__libc_sigaction): Remove unused local variables.
33143 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33145         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33147 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33149         mktime: avoid signed integer overflow
33150         * time/mktime.c (__mktime_internal): Do not mishandle the case
33151         where diff == INT_MIN.
33153         mktime: simplify computation of average
33154         * time/mktime.c (ranged_convert): Use new time_t_avg function
33155         instead of rolling our own (probably-slower) code.
33157         mktime: do not assume signed right shift propagates sign bit
33158         * time/mktime.c (isdst_differ): New static function.
33159         (__mktime_internal): No need to normalize tm_isdst now.
33160         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33161         tm_isdst values.
33163         mktime: merge another wrapv change from gnulib
33164         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33165         from some compilers.
33167         mktime: remove incorrect attempt at unusual arithmetics
33168         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33169         The code didn't really work on such machines anyway.
33170         (TYPE_MINIMUM): Assume two's complement.
33171         (twos_complement_arithmetic): Verify that long_int and time_t
33172         are two's complement (or unsigned, in the latter case).
33174         mktime: check signed shifts on long_int and time_t, too
33175         * time/mktime.c (SHR): Check that shifts work as desired
33176         on the types long_int and time_t too, as SHR is used on
33177         such types.
33179         mktime: do not assume 'long' is wide enough
33180         * time/mktime.c (verify): Move decl up.
33181         (long_int): New type.
33182         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33183         to remove assumption in the code that 'long' is wide enough to
33184         store year values.  This assumption is not true on x32 and on
33185         some non-glibc platforms.
33187         mktime: merge wrapv change from gnulib
33188         * time/mktime.c (WRAPV): New macro.
33189         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33190         (guess_time_tm, __mktime_internal): Do not assume that signed
33191         integer overflow wraps around; modern compilers generate code
33192         where this assumption is no longer valid.
33194 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33196         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33197         Replace "jmp L(pseudo_end)" with "ret".
33198         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33199         Likewise.
33201 2012-05-23  Andreas Jaeger  <aj@suse.de>
33203         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33204         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33206 2012-05-23  Andreas Jaeger  <aj@suse.de>
33207             Maximilian Attems  <max@stro.at>
33209         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33210         New macros.
33212 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33214         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33215         code so that pseudo_end is just ret and the stack pointer is
33216         correct also for static library in error case.
33218 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33220         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33221         move to syscalls.list.
33222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33227         * manual/install.texi (Running make install): Do not mention Linux
33228         kernel version for which pt_chown is not needed.
33229         (Linux): Do not mention problems with nscd with 2.0 kernels.
33230         * INSTALL: Regenerated.
33232 2012-05-23  Andreas Jaeger  <aj@suse.de>
33234         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33235         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33236         macro.
33237         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33238         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33239         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33240         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33241         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33242         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33243         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33244         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33245         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33246         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33247         * sysdeps/unix/sysv/linux/bits/in.h
33248         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33250 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33252         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33253         (PREPARE_VERSION): Just use assert instead, it will be elided
33254         under [NDEBUG] anyway.
33256 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33258         * sysdeps/unix/sysv/linux/Makefile: Include
33259         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33260         (sysdep_routines): Remove sysctl.
33261         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33262         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33263         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33264         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33265         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33267 2012-05-22  Andreas Jaeger  <aj@suse.de>
33269         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33270         that pseudo_end is just ret and the stack pointer is correct also
33271         for static library in error case.
33273 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33275         [BZ #14122]
33276         * nss/nsswitch.c (defconfig_entries): New variable.
33277         (__nss_database_lookup): Don't leak defconfig entries.
33278         (nss_parse_service_list): Don't leak on error paths.
33279         (free_database_entries): New function.
33280         (free_defconfig): New function.
33281         (free_mem): Move common code to free_database_entries.
33283 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33285         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33286         Add arch_prctl.
33287         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33289         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33290         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33291         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33292         New macro.
33293         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33294         (INTERNAL_SYSCALL_TYPES): Likewise.
33295         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33296         (LOAD_REGS_TYPES_[1-6]): Likewise.
33297         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33298         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33300 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33302         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33303         copysignl for GLIBC_2_0.
33304         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33305         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33306         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33307         logbl for GLIBC_2_0.
33308         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33309         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33311 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33313         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33314         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33316         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33317         Use "neg %eax".
33319         * time/mktime.c: Update copyright years.
33321 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33323         mktime: merge comment-quoting-style change from gnulib
33324         * time/mktime.c: Quote 'like this' in comments.
33325         The GNU coding standards suggest that we no longer quote `like this',
33326         as "`" and "'" are typically rendered asymmetrically nowadays.
33327         The typical gnulib style is to quote 'like this' when quoting
33328         code, and "like this" when quoting English.
33330         * time/mktime.c (compile-command): Add "-I.".
33332         mktime: merge mktime-internal.h change from gnulib
33333         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33335         mktime: merge time_r change from gnulib
33336         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33338         mktime: merge DEBUG change from gnulib
33339         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33340         case system <time.h> has a #define.
33342         mktime: merge <sys/types.h> change from gnulib
33343         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33344         since <time.t> is now guaranteed to define time_t.
33346         mktime: merge HAVE_CONFIG_H change from gnulib
33347         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33349 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33351         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33352         Use "neg %eax".
33354         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33355         __rlim_t cast.
33356         (struct rusage): Use anonymous union to pad each field to
33357         __syscall_slong_t.
33359 2012-05-21  David S. Miller  <davem@davemloft.net>
33361         * Makefules (o-iterator): Remove .s cases.
33362         (compile-command.s): Delete.
33363         (COMPILE.s): Delete.
33364         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33366 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33368         * configure.in (libc_cv_predef_stack_protector): Only consider
33369         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33370         * configure: Regenerated.
33372 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33375         New macro.  Use R*LP on int and pointer.
33376         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33377         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33378         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33379         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33381         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33382         [__WORDSIZE_TIME64_COMPAT32] instead of
33383         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33384         (struct utmp): Likewise.
33385         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33386         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33387         Renamed to ...
33388         (__WORDSIZE_TIME64_COMPAT32): This.
33389         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33390         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33391         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33392         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33393         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33394         (__WORDSIZE_TIME64_COMPAT32): New macro.
33396 2012-05-21  Andreas Jaeger  <aj@suse.de>
33398         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33399         only if [SHARED]. Add prototype for __wcschr_ia32.
33401 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33403         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33404         of %rbp unmolested in the jmp_buf while mangling the low bits.
33405         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33406         unmolested high bits of %rbp while demangling the low bits.
33407         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33409 2012-05-21  Andreas Jaeger  <aj@suse.de>
33411         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33412         * sunrpc/svc_simple.c: Use it for registerrpc.
33413         * sunrpc/xcrypt.c: Use it for passwd2des.
33415         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33417 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33419         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33420         Don't define if [__SYSCALL_WORDSIZE != 32].
33421         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33422         New macro.
33424 2012-05-21  Bruno Haible  <bruno@clisp.org>
33425             Andreas Jaeger  <aj@suse.de>
33427         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33428         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33429         inptr and inend for must_buffer_ch.
33430         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33431         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33432         * stdio-common/Makefile (tests): Remove bug15.
33433         (bug15-ENV): Remove macro.
33434         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33435         anymore.
33437 2012-05-19  Andreas Jaeger  <aj@suse.de>
33438             Roland McGrath  <roland@hack.frob.com>
33440         * manual/contrib.texi: Completely rewritten. It contains now an
33441         alphabetical list of contributors and their contributions.
33443 2012-05-21  Richard Henderson  <rth@twiddle.net>
33445         * misc/getauxval.c (__getauxval): Use unsigned long int.
33446         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33447         (getauxval): Use unsigned long int.
33449 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33451         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33453 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33455         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33456         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33457         __alignof__ (long double).
33459 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33463 2012-05-20  Richard Henderson  <rth@twiddle.net>
33465         * misc/getauxval.c: New file.
33466         * misc/sys/auxv.h: New file.
33467         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33468         (routines): Add getauxval.
33469         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33470         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33471         * elf/dl-sysdep.c (_dl_auxv): Remove.
33472         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33473         * elf/dl-support.c (_dl_auxv): New variable.
33474         (_dl_aux_init): Initialize it.
33475         * manual/startup.texi (Auxiliary Vector): New node.
33476         * sysdeps/generic/bits/hwcap.h: New file.
33477         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33478         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33479         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33480         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33481         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33482         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33484         Update.
33485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33488         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33494 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33498 2012-05-19  David S. Miller  <davem@davemloft.net>
33500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33502 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33504         [BZ #14123]
33505         * math/s_ccosh.c: Include <float.h>
33506         (__ccosh): Avoid internal overflow calculating sinh and cosh
33507         values before multiplying by sin and cos values.
33508         * math/s_ccoshf.c: Likewise.
33509         * math/s_ccoshl.c: Likewise.
33510         * math/s_csin.c: Likewise.
33511         * math/s_csinf.c: Likewise.
33512         * math/s_csinl.c: Likewise.
33513         * math/s_csinh.c: Likewise.
33514         * math/s_csinhf.c: Likewise.
33515         * math/s_csinhl.c: Likewise.
33516         * math/libm-test.inc (ccos_test): Add more tests.
33517         (ccosh_test): Likewise.
33518         (csin_test): Likewise.
33519         (csinh_test): Likewise.
33520         * sysdeps/i386/fpu/libm-test-ulps: Update.
33521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33523 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33525         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33526         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33528         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33530 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33532         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33533         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33534         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33535         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33536         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33537         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33538         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33539         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33540         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33541         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33542         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33543         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33544         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33545         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33546         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33547         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33548         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33549         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33550         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33551         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33552         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33553         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33554         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33555         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33556         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33557         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33558         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33559         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33560         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33561         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33562         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33564 2012-05-18  Andreas Jaeger  <aj@suse.de>
33566         * csu/.gitignore: Delete.
33568 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33570         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33571         (timex): Use __syscall_slong_t.
33573 2012-05-18  Andreas Jaeger  <aj@suse.de>
33574             Carlos O'Donell  <carlos_odonell@mentor.com>
33576         * manual/install.texi (Configuring and compiling): Update
33577         description about files modified in the source directory.
33578         * INSTALL: Regenerated.
33580 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33582         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33583         value.  Use "or" to set return value to -1.
33584         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33585         negate return value.
33587 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33589         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33590         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33591         failure if the compiler has Graphite support disabled.
33592         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33593         Likewise.
33594         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33595         (CFLAGS-memmove.c): Likewise.
33596         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33597         Likewise.
33599 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33601         * sysdeps/x86_64/x32/_itoa.h: New file.
33603         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33604         getdents system call only if kernel and user dirents have the
33605         same d_ino and d_off.
33607         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33608         LLONG_MAX != LONG_MAX.
33609         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33610         (_fitoa_word): Likewise.
33612         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33613         years.
33614         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33615         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33616         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33618         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33619         include <bits/wordsize.h>.  Check __x86_64__ instead of
33620         __WORDSIZE.
33621         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33622         if __x86_64__ is defined.  Use anonymous union on fpstate.
33624         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33625         anonymous union.
33627 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33629         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33630         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33631         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33632         Refer to _rtld_local_ro instead of _rtld_global_ro.
33633         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33634         Likewise.
33635         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33636         Likewise.
33637         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33638         Likewise.
33639         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33640         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33641         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33643         * sysdeps/powerpc/powerpc32/dl-machine.c
33644         (__elf_machine_runtime_setup) [PROF]: Don't reference
33645         _dl_prof_resolve.
33647 2012-05-18  Andreas Jaeger  <aj@suse.de>
33649         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33650         function only available for GCCs before 3.4 since GCC 3.4
33651         introduced a builtin.
33652         (lrint): Likewise.
33653         (llrintf): Likewise.
33654         (llrint): Likewise.
33655         (fmaxf): Likewise.
33656         (fmax): Likewise.
33657         (fminf): Likewise.
33658         (fmin): Likewise.
33659         (rint): Likewise.
33660         (rintf): Likewise.
33661         (nearbyint): Likewise.
33662         (nearbyintf): Likewise.
33663         (ceil): Likewise.
33664         (ceilf): Likewise.
33665         (floor): Likewise.
33666         (floorf): Likewise.
33668 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33670         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33671         on both fields and cast pointer to __syscall_ulong_t.
33673         * bits/types.h (__fsword_t): New type.
33674         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33675         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33676         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33677         (__FSWORD_T_TYPE): Likewise.
33678         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33679         (__FSWORD_T_TYPE): Likewise.
33680         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33681         (__FSWORD_T_TYPE): Likewise.
33682         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33683         (__FSWORD_T_TYPE): Likewise.
33684         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33685         __SWORD_TYPE with __fsword_t.
33686         (statfs64): Likewise.
33688 2012-05-17  David S. Miller  <davem@davemloft.net>
33690         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33692 2012-05-17  Andreas Jaeger  <aj@suse.de>
33694         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33695         warning.
33697 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33699         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33701 2012-05-17  Andreas Jaeger  <aj@suse.de>
33703         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33704         when it is used.
33706 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33708         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33710 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33712         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33713         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33715 2012-05-17  Andreas Jaeger  <aj@suse.de>
33716             Carlos O'Donell  <carlos_odonell@mentor.com>
33718         [BZ #14059]
33719         * sysdeps/x86_64/multiarch/init-arch.h
33720         (bit_YMM_Usable): Rename to...
33721         (bit_AVX_Usable): ... this.
33722         (bit_FMA4_Usable): New macro.
33723         (bit_XMM_state): New macro.
33724         (bit_YMM_state): New macro.
33725         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33726         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33727         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33728         (CPUID_OSXSAVE): New macro.
33729         (CPUID_AVX): New macro.
33730         (CPUID_FMA4): New macro.
33731         (index_YMM_Usable): Rename to...
33732         (index_AVX_Usable): ... this.
33733         (HAS_AVX): Use HAS_ARCH_FEATURE.
33734         (HAS_FMA4): Likewise.
33735         (HAS_YMM_USABLE): Remove.
33736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33737         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33738         are present.
33739         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33740         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33741         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33742         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33743         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33745 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33747         * math/libm-test.c: Support platforms without multiple rounding modes.
33748         * math/bug-nextafter.c: Support platforms without FP exceptions.
33749         * math/bug-nexttoward.c: Likewise.
33750         * math/test-fenv.c: Likewise.
33751         * math/test-misc.c: Likewise.
33752         * stdlib/bug-getcontext.c: Likewise.
33754 2012-05-17  Andreas Jaeger  <aj@suse.de>
33756         * manual/examples/search.c (critter_cmp): Change signature to
33757         avoid warnings.
33758         * manual/string.texi (Collation Functions): Likewise.
33760 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33762         * bits/types.h: Fold copyright years.
33763         * bits/typesizes.h: Likewise.
33764         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33765         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33766         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33767         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33768         * time/time.h: Likewise.
33770 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33772         [BZ #208]
33773         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33774         in instead of returning them.  Return void.
33775         (__libc_mallinfo): Accumulate over all arenas.
33776         (__malloc_stats): Adjust for change in int_mallinfo interface.
33778 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33780         [BZ #10375]
33781         * configure.in (NM): Add AC_CHECK_TOOL for it.
33782         (libc_extra_cflags): New substituted variable.
33783         Check for -fstack-protector being used implicitly.
33784         * configure: Regenerated.
33785         * config.make.in (config-extra-cflags): New variable,
33786         gets @libc_extra_cflags@.
33787         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33789         [BZ #10375]
33790         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33791         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33792         * configure: Regenerated.
33793         * config.make.in (CPPUNDEFS): New substituted variable.
33794         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33795         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33796         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33798 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33800         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33801         (mq_attr): Use __syscall_slong_t.
33803 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33805         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33806         Check __x86_64__ instead of __WORDSIZE.
33807         (_STAT_VER_LINUX): Likewise.
33808         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33809         __syscall_ulong_t and __syscall_slong_t.
33810         (stat64): Likewise.
33812 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33814         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33816 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33818         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33820 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33822         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33823         __syscall_ulong_t.
33825         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33826         include <bits/wordsize.h>.  Check __x86_64__ instead of
33827         __WORDSIZE.
33828         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33829         defined.
33830         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33832         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33833         include <bits/wordsize.h>.  Check __x86_64__ instead of
33834         __WORDSIZE.
33835         (user_regs_struct): Use "__extension__ unsigned long long"
33836         instead of "unsigned long" if __x86_64__ is defined.
33837         (user): Likewise.  Pad after pointer field if __ILP32__ is
33838         defined.
33840 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33842         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33843         versions 5 to 9.
33844         * configure: Regenerated.
33845         * manual/install.texi (texinfo): Increase version requirement to
33846         4.5 or later.
33847         * INSTALL: Regenerated.
33849         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33851 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33853         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33855         * sysdeps/x86_64/x32/ffs.c: New file.
33857         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33858         __syscall_ulong_t.
33859         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33860         defined.  Use __syscall_ulong_t.
33861         (shminfo): Use __syscall_ulong_t.
33862         (shm_info): Likewise.
33864         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33865         __syscall_ulong_t.
33867         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33868         <bits/wordsize.h>.
33869         (msgqnum_t): Use __syscall_ulong_t.
33870         (msglen_t): Likewise.
33871         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33872         __syscall_ulong_t.
33874         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33875         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33877         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33879         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33880         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33882         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33883         __syscall_slong_t.
33885         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33886         include <bits/wordsize.h>.  Check __x86_64__ instead of
33887         __WORDSIZE.
33889         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33890         "unsigned long long int" if __x86_64__ is defined.
33891         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33893         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33894         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33895         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33897         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33898         <stdint.h>.
33899         (GET_PC): Cast to uintptr_t first.
33900         (GET_FRAME): Likewise.
33901         (GET_STACK): Likewise.
33903         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33904         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33905         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33906         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33907         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33908         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33909         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33910         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33911         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33912         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33913         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33914         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33915         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33916         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33917         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33918         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33919         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33920         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33921         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33922         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33923         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33924         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33925         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33926         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33927         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33928         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33929         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33930         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33931         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33933 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33935         * Makerules (+depfiles): Also collect depfiles from .oS in
33936         $(extra-objs).
33937         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33938         .oS, $(libnldbl-routines)).
33940         * Makerules (native-compile-mkdep-flags): Define.
33941         * sunrpc/Makefile (extra-objs): Add $(addprefix
33942         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33943         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33944         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33945         calling $(make-target-directory).
33947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33949         * bits/types.h (__snseconds_t): Removed.
33950         * time/time.h (struct timespec): Replace __snseconds_t with
33951         __syscall_slong_t.
33952         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33953         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33954         Likewise.
33955         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33956         (__SNSECONDS_T_TYPE): Likewise.
33957         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33958         (__SNSECONDS_T_TYPE): Likewise.
33959         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33960         (__SNSECONDS_T_TYPE): Likewise.
33962 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33964         * sysdeps/mach/hurd/bits/typesizes.h
33965         (__SYSCALL_SLONG_TYPE): New macro.
33966         (__SYSCALL_ULONG_TYPE): Likewise.
33968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33970         * bits/types.h (__syscall_slong_t): New type.
33971         (__syscall_ulong_t): Likewise.
33973         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33974         (__SYSCALL_ULONG_TYPE): Likewise.
33975         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33976         (__SYSCALL_SLONG_TYPE): Likewise.
33977         (__SYSCALL_ULONG_TYPE): Likewise.
33978         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33979         (__SYSCALL_SLONG_TYPE): Likewise.
33980         (__SYSCALL_ULONG_TYPE): Likewise.
33981         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33982         (__SYSCALL_SLONG_TYPE): Likewise.
33983         (__SYSCALL_ULONG_TYPE): Likewise.
33985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33987         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33988         Add sigaltstack-offsets.sym.
33989         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33990         <sigaltstack-offsets.h>.
33991         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33992         longjmp_msg pointer.
33993         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33994         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33995         signal stack.
33996         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33998 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34000         * elf/stackguard-macros.h: Remove file.
34001         * sysdeps/generic/stackguard-macros.h: New file.
34002         * sysdeps/i386/stackguard-macros.h: Likewise.
34003         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34004         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34005         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34006         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34007         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34008         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34009         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34010         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34011         <elf/stackguard-macros.h>.
34013         [BZ #14109]
34014         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34015         __aligned__ in attribute.
34016         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34017         (gregset_t): Likewise.
34019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34021         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34022         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34023         * sysdeps/x86_64/x32/Implies-after: New file.
34025 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34027         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34028         and access return value for _dl_profile_fixup.  Use R10_LP to
34029         load frame size.
34031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34033         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34035 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34037         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34038         * sysdeps/x86_64/x32/sysdep.h: New file.
34040 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34042         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34043         * sysdeps/x86_64/setjmp.S: Likewise.
34045 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34047         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34048         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34049         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34050         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34051         remove unused global constant.
34053 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34055         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34056         include of <not-cancel.h>.
34058 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34060         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34062 2012-05-15  Jeff Law  <law@redhat.com>
34063             Andreas Jaeger  <aj@suse.de>
34065         [BZ #13594]
34066         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34067         out from...
34068         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34069         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34070         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34071         code changing __hst_map_handle.map.
34073 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34075         * configure.in (sysnames): Look for Implies-before and Implies-after
34076         files.
34077         * configure: Regenerated.
34079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34081         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34082         8-byte data alignment with LP_SIZE alignment.
34084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34086         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34087         into R10_LP.
34089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34091         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34095         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34096         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34097         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34098         Likewise.
34099         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34103         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34104         (stackinfo_sub_sp): Likewise.
34106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34108         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34109         RAX_LP.
34111 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34113         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34114         into R*_LP.
34116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34118         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34119         sizes into R*_LP.
34121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34123         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34127         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34128         into R11_LP and load __x86_64_shared_cache_size_half into
34129         R8_LP.
34131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34133         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34134         R8_LP.
34136 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34138         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34139         logb for POWER7.
34140         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34141         logbf for POWER7.
34142         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34143         logbl for POWER7.
34144         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34145         powerpc32/power7/fpu/s_logb.c via #include.
34146         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34147         powerpc32/power7/fpu/s_logbf.c via #include.
34148         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34149         powerpc32/power7/fpu/s_logbl.c via #include.
34151 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34153         * README.libm: Remove file.
34155 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34157         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34158         count for x32.  Use R*_LP and omit operand-size suffix.
34160 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34162         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34163         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34164         * sysdeps/x86_64/x32/shlib-versions: New file.
34166 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34168         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34169         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34170         Use _dl_fatal_printf instead.
34172 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34174         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34175         set if not set by the user.  Do not allow for being unset.
34176         * sysdeps/unix/sysv/linux/configure: Regenerated.
34178 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34180         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34181         the `q' suffix from lea and replace .quad with ASM_ADDR.
34183 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34186         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34187         instead of $17.
34188         (PTR_DEMANGLE): Likewise.
34190 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34192         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34193         (LP_OP): Likewise.
34194         (ASM_ADDR): Likewise.
34195         (RAX_LP): Likewise.
34196         (RBP_LP): Likewise.
34197         (RBX_LP): Likewise.
34198         (RCX_LP): Likewise.
34199         (RDI_LP): Likewise.
34200         (RSI_LP): Likewise.
34201         (RSP_LP): Likewise.
34202         (R8_LP): Likewise.
34203         (R9_LP): Likewise.
34204         (R10_LP): Likewise.
34205         (R10_LP): Likewise.
34206         (R11_LP): Likewise.
34207         (R12_LP): Likewise.
34208         (R13_LP): Likewise.
34209         (R14_LP): Likewise.
34210         (R15_LP): Likewise.
34212 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34214         * sysdeps/x86_64/x32/dl-machine.h: New file.
34216 2012-05-14  Andreas Jaeger  <aj@suse.de>
34218         * manual/Makefile (subdir): Remove export of subdir.
34219         (all): Remove target.
34220         (.PHONY): Remove all from list.
34221         (mkinstalldirs): Remove.
34222         (.PHONY): Remove installdirs from list.
34223         ($(inst_infodir)/libc.info): Use make-target-directory.
34224         (installdirs): Remove.
34225         (subdir_%): Remove.
34226         (glibc-targets): Remove.
34227         (lib): Remove.
34228         (stubs): Remove.
34229         ($(objpfx)stubs ../po/manual.pot): Remove.
34230         ($(objpfx)stamp%): Remove.
34231         (make-target-directory): Remove.
34232         (subdir_install): Remove.
34233         (routines): Remove.
34234         (aux): Remove.
34235         (sources): Remove.
34236         (objects): Remove.
34237         (headers): Remove.
34239         [BZ #13750]
34240         * manual/.gitignore: Remove, it's not needed anymore.
34241         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34242         all files in it.
34243         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34244         directory.
34245         (texis): Renamed to $(objpfx)texis.
34246         (texis-path): New, contains path to generated files.
34247         (chapters.%): Use texis-path for complete path, add extra argument
34248         libc-texinfo.sh.
34249         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34250         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34251         (summary,texi, stamp-summary): Use complete path of
34252         files. Generate files in build dir.
34253         (dir-add.texi): Build in build dir.
34254         (libm-err.texi,stamp-libm-err): Likewise.
34255         (version.texi, stamp-version): Likewise.
34256         (.%c.texi): Likewise.
34257         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34258         (mostlyclean): Remove target.
34259         (realclean): Remove target.
34260         (generated): Add new variable with contents from mostlyclean and
34261         realclean, remove entries duplicated in common-mostlyclean, add
34262         stamp-libm-err and stamp-version.
34263         (generated-dirs): Add libc directory.
34264         ($(inst_infodir)/libc.info): Install files from build dir.
34266         * manual/install.texi (Configuring and compiling): Adjust since
34267         the info files are not part of the tar ball anymore.
34269 2012-05-14  Andreas Jaeger  <aj@suse.de>
34271         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34272         variable.
34274 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34276         [BZ #13717]
34277         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34278         to 2.2.0 where earlier.
34279         * sysdeps/unix/sysv/linux/configure: Regenerated.
34280         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34281         Remove conditional code.
34282         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34283         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34284         Remove conditional code.
34285         [!__NR_lchown]: Likewise.
34286         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34287         [__NR_lchown]: Likewise.
34288         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34289         comment referencing __ASSUME_LCHOWN_SYSCALL.
34290         * sysdeps/unix/sysv/linux/i386/sigaction.c
34291         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34292         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34293         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34294         Remove conditional code.
34295         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34296         (__protocol_available): Remove #if 0 code.
34297         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34298         conditional code.
34299         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34300         * sysdeps/unix/sysv/linux/kernel-features.h
34301         (__ASSUME_GETCWD_SYSCALL): Don't define.
34302         (__ASSUME_REALTIME_SIGNALS): Likewise.
34303         (__ASSUME_PREAD_SYSCALL): Likewise.
34304         (__ASSUME_PWRITE_SYSCALL): Likewise.
34305         (__ASSUME_POLL_SYSCALL): Likewise.
34306         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34307         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34308         non-SPARC.
34309         (__ASSUME_SIOCGIFNAME): Don't define.
34310         (__ASSUME_MSG_NOSIGNAL): Likewise.
34311         (__ASSUME_SENDFILE): Define unconditionally.
34312         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34313         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34314         conditional code.
34315         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34316         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34317         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34318         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34319         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34320         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34321         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34323         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34324         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34326         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34327         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34329         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34330         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34332         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34333         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34335         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34336         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34338         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34339         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34341         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34342         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34344         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34345         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34346         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34347         Remove conditional code.
34348         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34349         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34350         Remove conditional code.
34351         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34352         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34353         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34354         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34355         Remove conditional code.
34356         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34357         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34358         Remove conditional code.
34359         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34360         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34361         Remove conditional code.
34362         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34363         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34364         Remove conditional code.
34365         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34366         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34367         Remove conditional code.
34368         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34369         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34370         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34371         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34372         * sysdeps/unix/sysv/linux/sigaction.c
34373         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34374         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34375         * sysdeps/unix/sysv/linux/sigpending.c
34376         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34377         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34378         * sysdeps/unix/sysv/linux/sigprocmask.c
34379         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34380         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34381         * sysdeps/unix/sysv/linux/sigsuspend.c
34382         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34383         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34384         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34385         (__libc_missing_rt_sigs): Remove.
34386         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34387         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34388         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34389         Remove conditional code.
34390         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34391         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34392         return 1.
34393         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34394         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34395         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34396         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34398 2012-05-14  Andreas Jaeger  <aj@suse.de>
34400         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34401         it's not used in glibc.
34402         (__coshm1): Likewise.
34403         (__acosh1p): Likewise.
34404         (__sgn): Likewise.
34406         * manual/string.texi (Copying and Concatenation): Add missing
34407         variable in concat example.
34408         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34410 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34412         [BZ #14103]
34413         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34414         __builtin_clzl with __builtin_clzll.
34416 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34418         [BZ #14104]
34419         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34420         libc_freeres_ptr.
34422 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34424         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34425         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34426         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34427         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34429 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34431         * NEWS: Update ia64 info.
34433 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34435         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34436         used as bcopy.
34438 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34440         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34441         * sysdeps/unix/syscalls.list (dup3): Likewise.
34442         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34443         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34445 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34447         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34448         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34450 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34452         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34453         thread pointer.
34454         (TLS_IE): Use mov/add instead of movq/addq to load thread
34455         pointer.
34456         (TLS_GD_PREFIX): New.
34457         (TLS_GD): Use it.
34459 2012-05-11  David S. Miller  <davem@davemloft.net>
34461         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34462         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34463         (_FPU_SETCW): Likewise.
34465 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34467         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34468         is 32-byte aligned.
34470 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34472         [BZ #11837]
34473         * iconvdata/gb18030.c: Update tables.
34474         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34475         characters specially.
34476         (BODY for TO_LOOP): Add encoding of missing ranges.
34478 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34480         [BZ #13673]
34481         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34482         * sysdeps/mach/hurd/dup3.c: Likewise.
34483         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34484         * sysdeps/powerpc/memmove.c:: Likewise.
34486 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34488         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34489         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34491 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34493         * elf/elf.h (R_X86_64_RELATIVE64): New.
34494         (R_X86_64_NUM): Updated.
34495         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34496         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34497         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34498         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34499         tst-quad1pie tst-quad2pie
34500         (modules-names): Add tst-quadmod1 tst-quadmod2.
34501         ($(objpfx)tst-quad1): New dependency.
34502         ($(objpfx)tst-quad2): Likewise.
34503         ($(objpfx)tst-quad1pie): Likewise.
34504         ($(objpfx)tst-quad2pie): Likewise.
34505         * sysdeps/x86_64/tst-quad1.c: New file.
34506         * sysdeps/x86_64/tst-quad1pie.c: New file.
34507         * sysdeps/x86_64/tst-quad2.c: Likewise.
34508         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34509         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34510         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34511         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34512         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34514 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34516         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34517         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34518         * streams/stropts.h (t_scalar_t): Define type.
34520         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34521         (_PATH_PRESERVE): Set to "/var/lib".
34522         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34524         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34525         instead of int.
34527         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34528         if __dir_mkfile succeeded.
34530         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34531         checking for _hurd_dtablesize.  Unlock it right after having
34532         finished _hurd_dtable allocation.
34534 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34536         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34537         * sysdeps/mach/hurd/configure: Regenerated.
34538         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34539         special-casing to...
34540         * sysdeps/gnu/configure.in: ... this new file.
34541         * sysdeps/unix/sysv/linux/configure: Regenerated.
34542         * sysdeps/gnu/configure: New generated file.
34544         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34545         for Linux: use nsec instead of usec, as well as:
34546         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34547         members of type struct timespec.
34548         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34549         New macros.
34550         (struct stat64): Likewise.
34551         (_STATBUF_ST_NSEC): New macro.
34552         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34554         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34555         __strtoul_internal rather than strtoul.
34557 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34559         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34560         and reject them.
34562 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34564         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34565         which preserves existing values.
34566         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34568 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34570         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34571         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34572         greater than FD_SETSIZE.
34574 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34576         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34577         allocated, call __vm_protect to finish enabling the existing space, and
34578         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34579         allocate the remainder.
34581 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34583         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34584         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34586 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34588         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34589         sysdeps/mach/hurd/readlink.c.
34591         * posix/tst-sysconf.c (posix_options): Only use
34592         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34593         _POSIX_SYNCHRONIZED_IO when they are defined
34594         * sysdeps/mach/hurd/bits/posix_opt.h:
34595         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34596         (_XOPEN_REALTIME): Undefine macro.
34597         (_XOPEN_REALTIME_THREADS): Undefine macro.
34598         (_XOPEN_SHM): Undefine macro.
34599         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34600         macro to -1.
34601         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34602         macro to -1.
34603         (_POSIX_ASYNC_IO): Undefine macro.
34604         (_POSIX_PRIORITIZED_IO): Undefine macro.
34605         (_POSIX_SPIN_LOCKS): Define macro to -1.
34607         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34608         SA_NODEFER, SA_RESETHAND.
34609         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34610         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34611         F_DUPFD_CLOEXEC.
34613 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34615         * elf/Makefile (pldd-modules): Define unconditionally.
34617 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34619         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34621 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34623         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34624         Return ENOENT when name is empty.
34625         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34627 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34629         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34631         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34633 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34635         Fix mlock in all cases except non-readable pages.
34636         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34637         instead of VM_PROT_ALL as parameter to __vm_wire function.
34639         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34640         (__mkdir): When path is `/', just fail with EEXIST.
34641         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34643 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34645         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34646         <sys/uio.h> (for writev).
34647         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34648         and <sys/param.h> (for MIN).
34650 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34652         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34653         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34654         if interrupted.
34656 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34658         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34659         Depend on against $(link-rpcuserlibs).
34661 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34663         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34664         (__libc_stack_end): Do not use attribute_relro.
34665         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34666         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34667         to libthread-provided value.
34668         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34669         attribute_relro.
34671 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34673         [BZ #3748]
34674         * bits/libc-lock.h (__libc_once_get): New macro.
34675         * sysdeps/mach/bits/libc-lock.h: Likewise.
34676         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34677         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34678         instead of using implementation details.
34680         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34681         * libio/freopen.c: Likewise.
34682         * libio/freopen64.c: Likewise.
34683         * misc/syslog.c: Likewise.
34684         * nscd/connections.c: Likewise.
34685         * nscd/netgroupcache.c: Likewise.
34686         * sysdeps/posix/getcwd.c: Likewise.
34688 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34690         * math/w_ilogbf.c: Add #include <limits.h>.
34692 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34694         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34695         path instead of returning without unlocking.
34697         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34698         immediate-write ioctls.
34699         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34701 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34703         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34704         __builtin_frame_address instead of making assumptions about the
34705         location of the return address relative to DATA.  Force early load of
34706         the return address.
34707         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34708         __builtin_frame_address.
34710         dup3 for GNU Hurd.
34711         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34712         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34713         implement dup3 and do some further code clean-ups.
34714         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34715         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34717 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34719         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34721         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34722         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34723         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34724         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34725         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34726         d->port.lock.
34728         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34729         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34730         when handler == SIG_ERR, not when handler != SIG_ERR.
34732 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34734         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34735         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34736         definitions.
34738         accept4 for GNU Hurd.
34739         * include/sys/socket.h (__libc_accept4): New prototype.
34740         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34741         to implement __libc_accept4.
34742         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34743         __libc_accept4.
34744         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34746         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34747         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34748         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34749         signal-defines.sym.
34751 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34753         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34755 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34757         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34758         assertion on O_CLOEXEC flag.
34759         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34760         * hurd/intern-fd.c: Likewise.
34761         * hurd/port2fd.c: Likewise.
34763 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34765         [BZ #3906]
34766         * bits/in.h (IPV6_PKTINFO): Define new macro.
34767         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34769 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34771         [BZ #13954]
34772         [BZ #13955]
34773         [BZ #13956]
34774         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34775         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34776         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34777         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34778         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34779         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34780         * math/libm-test.inc (logb_test) : Additional logb tests.
34782 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34783             Andreas Jaeger  <aj@suse.de>
34785         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34786         * configure: Regenerated.
34787         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34788         * config.make.in (link-obsolete-rpc): New substituted variable.
34789         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34790         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34791         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34792         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34793         so that libc.a contains the symbols.
34794         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34795         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34796         * sunrpc/auth_none.c: Likewise.
34797         * sunrpc/auth_unix.c: Likewise.
34798         * sunrpc/authdes_prot.c: Likewise.
34799         * sunrpc/authuxprot.c: Likewise.
34800         * sunrpc/clnt_gen.c: Likewise.
34801         * sunrpc/clnt_perr.c: Likewise.
34802         * sunrpc/clnt_raw.c: Likewise.
34803         * sunrpc/clnt_simp.c: Likewise.
34804         * sunrpc/clnt_tcp.c: Likewise.
34805         * sunrpc/clnt_udp.c: Likewise.
34806         * sunrpc/clnt_unix.c: Likewise.
34807         * sunrpc/des_crypt.c: Likewise.
34808         * sunrpc/des_soft.c: Likewise.
34809         * sunrpc/get_myaddr.c: Likewise.
34810         * sunrpc/key_call.c: Likewise.
34811         * sunrpc/key_prot.c: Likewise.
34812         * sunrpc/netname.c: Likewise.
34813         * sunrpc/pm_getmaps.c: Likewise.
34814         * sunrpc/pm_getport.c: Likewise.
34815         * sunrpc/pmap_clnt.c: Likewise.
34816         * sunrpc/pmap_prot.c: Likewise.
34817         * sunrpc/pmap_prot2.c: Likewise.
34818         * sunrpc/pmap_rmt.c: Likewise.
34819         * sunrpc/publickey.c: Likewise.
34820         * sunrpc/rpc_cmsg.c: Likewise.
34821         * sunrpc/rpc_common.c: Likewise.
34822         * sunrpc/rpc_dtable.c: Likewise.
34823         * sunrpc/rpc_prot.c: Likewise.
34824         * sunrpc/rpc_thread.c: Likewise.
34825         * sunrpc/rtime.c: Likewise.
34826         * sunrpc/svc.c: Likewise.
34827         * sunrpc/svc_auth.c: Likewise.
34828         * sunrpc/svc_raw.c: Likewise.
34829         * sunrpc/svc_run.c: Likewise.
34830         * sunrpc/svc_tcp.c: Likewise.
34831         * sunrpc/svc_udp.c: Likewise.
34832         * sunrpc/svc_unix.c: Likewise.
34833         * sunrpc/svcauth_des.c: Likewise.
34834         * sunrpc/xcrypt.c: Likewise.
34835         * sunrpc/xdr.c: Likewise.
34836         * sunrpc/xdr_array.c: Likewise.
34837         * sunrpc/xdr_float.c: Likewise.
34838         * sunrpc/xdr_intXX_t.c: Likewise.
34839         * sunrpc/xdr_mem.c: Likewise.
34840         * sunrpc/xdr_rec.c: Likewise.
34841         * sunrpc/xdr_ref.c: Likewise.
34842         * sunrpc/xdr_sizeof.c: Likewise.
34843         * sunrpc/xdr_stdio.c: Likewise.
34845 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34847         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34848         change.  Update copyright years.
34850 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34852         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34854 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34855             Joseph Myers  <joseph@codesourcery.com>
34856             Paul Pluzhnikov  <ppluzhnikov@google.com>
34858         [BZ #14012]
34859         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34860         requiring rpcgen.
34861         [cross-compiling] (extra-libs): Likewise.
34862         [cross-compiling] (extra-libs-others): Likewise.
34863         [cross-compiling] (librpcsvc-routines): Likewise.
34864         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34865         [cross-compiling] (omit-deps): Likewise.
34866         (sunrpc-CPPFLAGS): New variable.
34867         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34868         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34869         (cross-rpcgen-objs): New variable.
34870         (extra-objs): Append $(cross-rpcgen-objs).
34871         ($(cross-rpcgen-objs)): New rule.
34872         ($(objpfx)cross-rpcgen): Likewise.
34873         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34874         comment.
34875         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34876         ($(objpfx)x%.stmp): Likewise.
34877         * sunrpc/proto.h [IS_IN_build] (_): Define.
34878         [IS_IN_build] (_libc_intl_domainname): Likewise.
34880 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34882         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34883         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34884         and R_X86_64_TPOFF64.
34886 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34888         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34889         sysdeps/unix/sysv/syscalls.list.
34890         (stime): Likewise.
34891         (utime): Likewise.
34892         * sysdeps/unix/sysv/syscalls.list: Remove file.
34894 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34896         [BZ #3440]
34897         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34898         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34899         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34900         (__LC_IDENTIFICATION): Make these macros useful in #if
34901         expressions, as required by C99.
34903 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34905         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34906         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34907         after this.
34909 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34911         * stdlib/longlong.h: Updated from GCC.
34913 2012-05-09  Andreas Jaeger  <aj@suse.de>
34915         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34916         default is first entry.
34917         (run_mode): Set type.
34918         (main): Remove informal message about syslog.
34919         (options): Fix typo.
34921         [BZ #14053]
34922         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34923         to asm.
34924         (lrint): Likewise.
34925         (llrintf): Likewise.
34926         (llrint): Likewise.
34927         (rint): Likewise.
34928         (rintf): Likewise.
34929         (nearbyint): Likewise.
34930         (nearbyintf): Likewise.
34932 2012-05-09  Andreas Jaeger  <aj@suse.de>
34933             Pedro Alves  <palves@redhat.com>
34935         * nscd/nscd.c (run_mode): Use enum.
34936         (main): Cleanup coding style issue.
34938 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34939             Andreas Jaeger  <aj@suse.de>
34941         * nscd/nscd.c (go_background): Replaced with...
34942         (run_mode): ... this.
34943         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34944         (options): Add -F --foreground.
34945         (main): Implement it.
34946         (parse_opt): Parse it.
34948 2012-05-09  Andreas Jaeger  <aj@suse.de>
34950         [BZ #14083]
34951         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34952         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34953         -Wconversion warning.
34954         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34955         Likewise.
34957 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34959         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34960         == 0.
34961         (LC_ALL): Use macro-int-constant.
34962         (LC_COLLATE): Likewise.
34963         (LC_CTYPE): Likewise.
34964         (LC_MESSAGES): Likewise.
34965         (LC_MONETARY): Likewise.
34966         (LC_NUMERIC): Likewise.
34967         (LC_TIME): Likewise.
34968         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34969         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34970         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34971         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34972         Specify type.
34973         [C99-based standards] (float_t): Expect type.
34974         [C99-based standards] (double_t): Expect type.
34975         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34976         type.
34977         [C99-based standards] (HUGE_VALL): Likewise.
34978         [C99-based standards] (INFINITY): Likewise.
34979         [C99-based standards] (NAN): Likewise.
34980         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34981         [C99-based standards] (FP_NAN): Likewise.
34982         [C99-based standards] (FP_NORMAL): Likewise.
34983         [C99-based standards] (FP_SUBNORMAL): Likewise.
34984         [C99-based standards] (FP_ZERO): Likewise.
34985         [C99-based standards] (FP_FAST_FMA): Use
34986         optional-macro-int-constant.  Specify type.  Require == 1.
34987         [C99-based standards] (FP_FAST_FMAF): Likewise.
34988         [C99-based standards] (FP_FAST_FMAL): Likewise.
34989         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34990         [C99-based standards] (FP_ILOGBNAN): Likewise.
34991         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34992         Specify type.
34993         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34994         [C99-based standards] (math_errhandling): Specify type.
34995         [ISO99 || ISO11] (signgam): Do not allow.
34996         [non-C99-based standards] (copysignf): Do not allow.
34997         [non-C99-based standards] (exp2f): Likewise.
34998         [non-C99-based standards] (log2f): Likewise.
34999         [non-C99-based standards] (modff): Allow.
35000         [non-C99-based standards] (erff): Do not allow.
35001         [non-C99-based standards] (erfcf): Likewise.
35002         [non-C99-based standards] (gammaf): Likewise.
35003         [non-C99-based standards] (hypotf): Likewise.
35004         [non-C99-based standards] (j0f): Likewise.
35005         [non-C99-based standards] (j1f): Likewise.
35006         [non-C99-based standards] (jnf): Likewise.
35007         [non-C99-based standards] (lgammaf): Likewise.
35008         [non-C99-based standards] (tgammaf): Likewise.
35009         [non-C99-based standards] (y0f): Likewise.
35010         [non-C99-based standards] (y1f): Likewise.
35011         [non-C99-based standards] (ynf): Likewise.
35012         [non-C99-based standards] (isnanf): Likewise.
35013         [non-C99-based standards] (acoshf): Likewise.
35014         [non-C99-based standards] (asinhf): Likewise.
35015         [non-C99-based standards] (atanhf): Likewise.
35016         [non-C99-based standards] (cbrtf): Likewise.
35017         [non-C99-based standards] (expm1f): Likewise.
35018         [non-C99-based standards] (ilogbf): Likewise.
35019         [non-C99-based standards] (log1pf): Likewise.
35020         [non-C99-based standards] (logbf): Likewise.
35021         [non-C99-based standards] (nextafterf): Likewise.
35022         [non-C99-based standards] (remainderf): Likewise.
35023         [non-C99-based standards] (rintf): Likewise.
35024         [non-C99-based standards] (scalbf): Likewise.
35025         [non-C99-based standards] (copysignl): Likewise.
35026         [non-C99-based standards] (exp2l): Likewise.
35027         [non-C99-based standards] (log2l): Likewise.
35028         [non-C99-based standards] (modfl): Allow.
35029         [non-C99-based standards] (erfl): Do not allow.
35030         [non-C99-based standards] (erfcl): Likewise.
35031         [non-C99-based standards] (gammal): Likewise.
35032         [non-C99-based standards] (hypotl): Likewise.
35033         [non-C99-based standards] (j0l): Likewise.
35034         [non-C99-based standards] (j1l): Likewise.
35035         [non-C99-based standards] (jnl): Likewise.
35036         [non-C99-based standards] (lgammal): Likewise.
35037         [non-C99-based standards] (tgammal): Likewise.
35038         [non-C99-based standards] (y0l): Likewise.
35039         [non-C99-based standards] (y1l): Likewise.
35040         [non-C99-based standards] (ynl): Likewise.
35041         [non-C99-based standards] (isnanl): Likewise.
35042         [non-C99-based standards] (acoshl): Likewise.
35043         [non-C99-based standards] (asinhl): Likewise.
35044         [non-C99-based standards] (atanhl): Likewise.
35045         [non-C99-based standards] (cbrtl): Likewise.
35046         [non-C99-based standards] (expm1l): Likewise.
35047         [non-C99-based standards] (ilogbl): Likewise.
35048         [non-C99-based standards] (log1pl): Likewise.
35049         [non-C99-based standards] (logbl): Likewise.
35050         [non-C99-based standards] (nextafterl): Likewise.
35051         [non-C99-based standards] (remainderl): Likewise.
35052         [non-C99-based standards] (rintl): Likewise.
35053         [non-C99-based standards] (scalbl): Likewise.
35054         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35055         [non-C99-based standards] (FP_*): Do not allow.
35056         [C99-based standards] (FP_*): Change to
35057         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35058         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35059         allow.
35060         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35061         (SIG_ERR): Likewise.
35062         [X/Open-based standards] (SIG_HOLD): Likewise.
35063         (SIG_IGN): Likewise.
35064         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35065         positive value.
35066         (SIGFPE): Likewise.
35067         (SIGILL): Likewise.
35068         (SIGINT): Likewise.
35069         (SIGSEGV): Likewise.
35070         (SIGTER): Likewise.
35071         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35072         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35073         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35074         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35075         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35076         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35077         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35078         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35079         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35080         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35081         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35082         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35083         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35084         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35085         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35086         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35087         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35088         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35089         [X/Open-based standards] (SIGTRAP): Likewise.
35090         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35091         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35092         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35093         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35094         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35095         allow.
35097 2012-05-08  Ian Wienand  <ianw@vmware.com>
35099         [BZ #14080]
35100         * time/tzset.c (__tzset_parse_tz): Update default rules for
35101         daylight time changes in the Energy Policy Act of 2005.
35103 2012-05-09  Andreas Jaeger  <aj@suse.de>
35105         [BZ #13983]
35106         * elf/ldconfig.c (parse_conf): Change string to make clear that
35107         ldconfig only issued a warning if ld.so.conf does not exist.
35109 2012-05-08  David S. Miller  <davem@davemloft.net>
35111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35112         movxtod instead of popping the value on the stack.
35114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35116 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35118         * config.h.in: Add HAVE_ARM_PCS_VFP.
35120 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35122         [BZ #13979]
35123         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35124         checking but the checks are disabled for any reason.
35126 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35128         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35129         and ELF64_R_TYPE with ELFW(R_TYPE).
35131 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35133         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35134         (ulimit): Likewise.
35136         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35137         (settimeofday): Likewise.
35139 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35141         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35142         a struct th_u2 inside the union, and move tu_block/tu_code into
35143         a new th_u3 union of tu_block/tu_code inside of that.  Move
35144         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35145         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35146         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35147         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35148         (th_stuff): Change to th_u1.tu_stuff.
35149         (th_data): Define.
35150         (th_msg): Change to th_u1.th_u2.tu_data.
35152 2012-05-07  David S. Miller  <davem@davemloft.net>
35154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35156         [BZ #14074]
35157         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35158         (SETUP_PIC_REG): Use it.
35159         (SETUP_PIC_REG_LEAF): Use it.
35161 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35163         [BZ #13885]
35164         [BZ #13923]
35165         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35166         USE_AS_EXPM1L.
35167         (EXPL_FINITE): Likewise.
35168         (FLDLOG): Likewise.
35169         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35170         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35171         e_expl.S.
35172         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35173         USE_AS_EXPM1L.
35174         (EXPL_FINITE): Likewise.
35175         (FLDLOG): Likewise.
35176         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35177         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35178         e_expl.S.
35179         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35180         test of -max_value argument for long double.
35181         * sysdeps/i386/fpu/libm-test-ulps: Update.
35182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35184 2012-05-06  David S. Miller  <davem@davemloft.net>
35186         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35187         quad soft-float symbols whose references which are compiler
35188         generated.
35189         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35191 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35193         [BZ #13884]
35194         [BZ #13914]
35195         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35196         USE_AS_EXP10L.
35197         (EXPL_FINITE): Likewise.
35198         (FLDLOG): Likewise.
35199         (c0): Likewise.
35200         (c1): Likewise.
35201         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35202         Adjust comments for base varying.
35203         (__expl_finite): Change alias to EXPL_FINITE.
35204         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35205         e_expl.S.
35206         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35207         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35208         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35209         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35210         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35211         USE_AS_EXP10L.
35212         (EXPL_FINITE): Likewise.
35213         (FLDLOG): Likewise.
35214         (c0): Likewise.
35215         (c1): Likewise.
35216         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35217         Adjust comments for base varying.
35218         (__expl_finite): Change alias to EXPL_FINITE.
35219         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35220         tests for bugs.
35221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35223         [BZ #14064]
35224         * math/libm-test.inc (check_float_internal): Correct ulp
35225         calculation for subnormal expected results.
35227 2012-05-06  Andreas Jaeger  <aj@suse.de>
35229         * Makeconfig (+math-flags): New, set to -frounding-math.
35230         (+cflags): Add +math-flags so that all of glibc gets compiled with
35231         it.
35233         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35235 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35237         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35238         Disable one test.
35240         [BZ #13787]
35241         [BZ #13922]
35242         [BZ #14036]
35243         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35244         (__ieee754_expl): Allow for and saturate large arguments.
35245         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35246         (u_threshold): Likewise.
35247         (__exp): Call __ieee754_exp before checking for overflow and
35248         underflow.
35249         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35250         (u_threshold): Likewise.
35251         (__expf): Call __ieee754_expf before checking for overflow and
35252         underflow.
35253         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35254         (u_threshold): Likewise.
35255         (__expl): Call __ieee754_expl before checking for overflow and
35256         underflow.
35257         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35258         (__ieee754_expl): Allow for and saturate large arguments.
35259         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35260         missing overflow exception on overflow.
35261         (expm1_test): Do not allow missing overflow exception on overflow.
35263         * sysdeps/i386/fpu/e_expl.c: Move to ...
35264         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35265         rather than using inline asm.
35266         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35267         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35268         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35270         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35271         (nice): Likewise.
35272         (poll): Likewise.
35273         (signal): Likewise.
35274         (time): Likewise.
35275         (times): Likewise.
35277 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35279         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35280         sysdeps/unix/common/syscalls.list.
35281         (fchmod): Likewise.
35282         (fchown): Likewise.
35283         (ftruncate): Likewise.
35284         (getrusage): Likewise.
35285         (gettimeofday): Likewise.
35286         (setpgid): Likewise.
35287         (setregid): Likewise.
35288         (setreuid): Likewise.
35289         (sigaction): Likewise.
35290         (truncate): Likewise.
35291         (vhangup): Likewise.
35292         * sysdeps/unix/common/syscalls.list: Remove file.
35293         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35294         * sysdeps/unix/sysv/linux/Implies: Likewise.
35296 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35298         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35300         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35301         Moved to ...
35302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35303         Here.
35304         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35305         to ...
35306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35307         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35308         to ...
35309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35310         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35311         to ...
35312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35313         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35314         to ...
35315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35316         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35317         to ...
35318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35319         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35320         to ...
35321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35322         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35323         to ...
35324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35325         Here.
35326         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35327         to ...
35328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35329         Here.
35330         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35331         to ...
35332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35333         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35334         Moved to ...
35335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35336         Here.
35337         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35338         to ...
35339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35341 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35343         * sysdeps/unix/common/bits/dirent.h: Remove file.
35344         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35346         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35347         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35348         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35349         * sysdeps/unix/bsd/isatty.c: Likewise.
35350         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35351         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35352         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35354 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35356         [BZ #13563]
35357         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35358         long double comparison inaccuracies.
35359         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35362 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35364         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35365         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35367 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35369         [BZ #14049]
35370         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35371         nonzero digits before rounding a hex value.
35372         * stdlib/tst-strtod.c (tests): Add another test.
35374 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35376         * sysdeps/s390/fpu/libm-test-ulps: Update.
35378 2012-05-03  Andreas Jaeger  <aj@suse.de>
35380         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35381         does not get optimized out.
35382         (malloc_opt_barrier): New.
35384 2012-05-03  Andreas Jaeger  <aj@suse.de>
35385             Roland McGrath  <roland@hack.frob.com>
35387         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35388         intermediate file deletion.
35389         (generated): Add .symlist files.
35391 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35393         [BZ #13775]
35394         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35395         Redirect under this condition.
35396         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35397         [__USE_GNU] (__dprintf_chk): Not under this condition.
35398         [__USE_GNU] (__vdprintf_chk): Likewise.
35399         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35400         under this condition.
35401         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35402         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35403         [__USE_XOPEN2K8] (vdprintf): Likewise.
35404         [__USE_GNU] (__dprintf_chk): Not under this condition.
35405         [__USE_GNU] (__vdprintf_chk): Likewise.
35406         [__USE_GNU] (dprintf): Likewise.
35407         [__USE_GNU] (vdprintf): Likewise.
35409 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35411         * elf/Makefile (common-generated): Set this instead of generated for
35412         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35413         $(all-built-dso)-derived lists.
35415 2012-05-03  Andreas Jaeger  <aj@suse.de>
35417         * sysdeps/i386/fpu/libm-test-ulps: Update.
35419         * FAQ: Removed.
35420         * FAQ.in: Likewise.
35421         * scripts/gen-FAQ.pl: Likewise.
35422         * manual/install.texi (Installation): Point to online location of
35423         FAQ.
35424         * Makefile (files-for-dist): Remove FAQ.
35425         (FAQ): Remove.
35427 2012-05-02  Allan McRae  <allan@archlinux.org>
35429         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35430         (LDFLAGS-reldepmod5.so): Likewise.
35431         (LDFLAGS-reldep6mod1.so): Likewise.
35432         (LDFLAGS-reldep6mod4.so): Likewise.
35433         (LDFLAGS-reldep8mod3.so): Likewise.
35434         (LDFLAGS-unload4mod1.so): Likewise.
35435         (LDFLAGS-unload4mod2.so): Likewise.
35436         (LDFLAGS-tst-initorder): Likewise.
35437         (LDFLAGS-tst-initordera2.so): Likewise.
35438         (LDFLAGS-tst-initordera3.so): Likewise.
35439         (LDFLAGS-tst-initordera4.so): Likewise.
35440         (LDFLAGS-tst-initorderb2.so): Likewise.
35441         (LDFLAGS-noload): Likewise.
35442         (LDFLAGS-next): Likewise.
35443         (LDFLAGS-order2mod1.so): Likewise.
35444         (LDFLAGS-order2mod2.so): Likewise.
35445         (LDFLAGS-tst-initorder2): Likewise.
35446         (LDFLAGS-tst-initorder2a.so): Likewise.
35447         (LDFLAGS-tst-initorder2b.so): Likewise.
35448         (LDFLAGS-tst-initorder2c.so): Likewise.
35449         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35451 2012-05-02  David S. Miller  <davem@davemloft.net>
35453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35455 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35457         [BZ #14055]
35458         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35460 2012-05-02  Andreas Jaeger  <aj@suse.de>
35462         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35463         since we manipulate rounding mode.
35464         (CPPFLAGS-test-idouble.c): Likewise.
35465         (CPPFLAGS-test-ifloat.c): Likewise.
35466         (CFLAGS-test-ldouble.c): Likewise.
35467         (CFLAGS-test-double.c): Likewise.
35468         (CFLAGS-test-float.c): Likewise.
35469         (CFLAGS-test-misc.c): Likewise.
35470         (CFLAGS-test-test-fenv.c): Likewise.
35472 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35474         [BZ #2550]
35475         [BZ #2570]
35476         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35477         comparisons to determine direction to adjust input.
35479 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35481         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35482         output to the target.
35484         * scripts/localplt.awk: New file.
35485         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35486         (check-localplt-CFLAGS): Variable removed.
35487         ($(all-built-dso:=.jmprel)): New static pattern rule.
35488         (generated): Add those targets.
35489         (localplt-built-dso): New variable.
35490         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35492         * elf/check-localplt.c: File removed.
35494         * scripts/check-execstack.awk: New file.
35495         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35496         (check-execstack-CFLAGS): Variable removed.
35497         ($(objpfx)check-execstack.h): Target removed.
35498         ($(objpfx)execstack-default): New target.
35499         (generated): Add that instead of check-execstack.h.
35500         ($(all-built-dso:=.phdr)): New static pattern rule.
35501         (generated): Add those targets.
35502         * elf/check-execstack.c: File removed.
35504         * scripts/check-textrel.awk: New file.
35505         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35506         (check-textrel-CFLAGS): Variable removed.
35507         (all-built-dso): Use := to define.o
35508         ($(all-built-dso:=.dyn)): New static pattern rule.
35509         (generated): Add those targets.
35510         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35511         * config.make.in (READELF): New substituted variable.
35512         * elf/check-textrel.c: File removed.
35514 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35516         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35517         allow.
35518         * conform/data/ctype.h-data [C99-based standards] (isblank):
35519         Expect function.
35520         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35521         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35522         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35523         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35524         Specify type.  Require positive value.
35525         (EILSEQ): Likewise.
35526         (ERANGE): Likewise.
35527         [ISO || POSIX] (EILSEQ): Do not expect.
35528         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35529         Specify type.  Require positive value.
35530         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35531         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35532         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35533         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35534         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35535         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35536         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35537         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35538         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35539         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35540         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35541         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35542         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35543         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35544         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35545         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35546         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35547         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35548         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35549         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35550         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35551         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35552         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35553         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35554         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35555         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35556         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35557         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35558         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35559         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35560         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35561         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35562         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35563         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35564         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35565         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35566         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35567         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35568         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35569         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35570         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35571         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35572         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35573         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35574         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35575         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35576         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35577         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35578         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35579         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35580         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35581         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35582         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35583         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35584         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35585         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35586         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35587         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35588         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35589         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35590         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35591         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35592         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35593         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35594         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35595         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35596         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35597         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35598         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35599         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35600         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35601         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35602         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35603         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35604         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35605         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35606         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35607         Require >= 2.
35608         (FLT_ROUNDS): Expect as macro, not constant.
35609         (FLT_MANT_DIG): Use macro-int-constant.
35610         (DBL_MANT_DIG): Likewise.
35611         (LDBL_MANT_DIG): Likewise.
35612         (FLT_DIG): Likewise.
35613         (DBL_DIG): Likewise.
35614         (LDBL_DIG): Likewise.
35615         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35616         (DBL_MIN_EXP): Likewise.
35617         (LDBL_MIN_EXP): Likewise.
35618         (FLT_MAX_EXP): Use macro-int-constant.
35619         (DBL_MAX_EXP): Likewise.
35620         (LDBL_MAX_EXP): Likewise.
35621         (FLT_MAX_10_EXP): Likewise.
35622         (DBL_MAX_10_EXP): Likewise.
35623         (LDBL_MAX_10_EXP): Likewise.
35624         (FLT_MAX): Use macro-constant.
35625         (DBL_MAX): Likewise.
35626         (LDBL_MAX): Likewise.
35627         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35628         (DBL_EPSILON): Likewise.
35629         (LDBL_EPSILON): Likewise.
35630         (FLT_MIN): Likewise.
35631         (DBL_MIN): Likewise.
35632         (LDBL_MIN): Likewise.
35633         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35634         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35635         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35636         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35637         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35638         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35639         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35640         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35641         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35642         [ISO11] (FLT_TRUE_MIN): Likewise.
35643         [ISO11] (LDBL_TRUE_MIN): Likewise.
35644         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35645         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35646         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35647         (SCHAR_MAX): Likewise.
35648         (UCHAR_MAX): Likewise.
35649         (CHAR_MIN): Likewise.
35650         (CHAR_MAX): Likewise.
35651         (MB_LEN_MAX): Use macro-int-constant.
35652         (SHRT_MIN): Use macro-int-constant.  Specify type.
35653         (SHRT_MAX): Likewise.
35654         (USHRT_MAX): Likewise.
35655         (INT_MAX): Likewise.
35656         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35657         bound negative.
35658         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35659         bound with "U".
35660         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35661         bound with "L".
35662         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35663         bound negative.  Suffix upper bound with "L".
35664         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35665         bound with "UL".
35666         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35667         Specify type.
35668         [C99-based standards] (LLONG_MAX): Likewise.
35669         [C99-based standards] (ULLONG_MAX): Likewise.
35670         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35671         == 0.
35672         [ISO11] (max_align_t): Require type.
35673         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35675         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35676         from $CFLAGS, without defining away __attribute__ calls.
35677         (checknamespace): Use $CFLAGS_namespace.
35679         * conform/conformtest.pl (@keywords): Only include C99 keywords
35680         for standards based on C99 or C11.
35682         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35683         Disable tests.
35684         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35685         UNIX98]: Likewise.
35687         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35688         usability of symbols in #if.
35690         * conform/conformtest.pl: If macro or constant types start
35691         "promoted:", expect the symbol to be of the following type
35692         promoted by the integer promotions.
35694         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35695         in one place.  Also handle "macro-constant".
35697         * conform/conformtest.pl: Only accept expected macro values with
35698         "==".  Parse all "macro" lines in one place.
35699         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35701         * conform/conformtest.pl: Handle braced types on "constant" lines
35702         instead of handling "typed-constant".
35703         * conform/data/signal.h-data: Use "constant" instead of
35704         "typed-constant".
35706         * conform/conformtest.pl: Handle "optional-" at start of lines in
35707         one place rather than duplicating several cases.  Handle each
35708         format of "macro" line with initial "optional-".
35710         * conform/conformtest.pl: Only accept expected constant or
35711         optional-constant values with "==".  Parse all "constant" lines in
35712         one place.  Parse all "optional-constant" lines in one place.
35713         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35714         * conform/data/fmtmsg.h-data: Likewise.
35715         * conform/data/netinet/in.h-data: Likewise.
35716         * conform/data/tar.h-data: Likewise.
35717         * conform/data/limits.h-data: Use "==" form on "constant" and
35718         "optional-constant" lines.
35720         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35721         Use -std=c99 for XOPEN2K.
35722         (@knownproblems): Remove.
35723         (newtoken): Don't check %isknown.
35725         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35726         Do not expect macro.
35727         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35728         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35729         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35730         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35731         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35732         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35733         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35734         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35735         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35736         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35737         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35738         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35739         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35740         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35741         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35742         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35743         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35744         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35745         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35746         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35747         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35748         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35749         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35750         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35751         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35752         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35753         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35754         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35755         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35756         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35757         [XPG3] (acosh): Likewise.
35758         [XPG3] (asinh): Likewise.
35759         [XPG3] (atanh): Likewise.
35760         [XPG3] (cbrt): Likewise.
35761         [XPG3] (expm1): Likewise.
35762         [XPG3] (ilogb): Likewise.
35763         [XPG3] (log1p): Likewise.
35764         [XPG3] (logb): Likewise.
35765         [XPG3] (nextafter): Likewise.
35766         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35767         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35768         [XPG3] (remainder): Likewise.
35769         [XPG3] (rint): Likewise.
35770         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35771         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35772         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35773         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35774         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35775         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35776         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35777         [UNIX98 || XOPEN2K] (scalb): Expect.
35778         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35779         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35780         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35781         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35782         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35783         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35784         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35785         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35786         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35787         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35788         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35789         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35790         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35791         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35792         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35793         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35794         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35795         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35796         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35797         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35798         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35799         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35800         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35801         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35802         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35803         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35804         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35805         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35806         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35807         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35808         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35809         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35810         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35811         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35812         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35813         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35814         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35815         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35816         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35817         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35818         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35819         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35820         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35821         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35822         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35823         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35824         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35825         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35826         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35827         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35828         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35829         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35830         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35831         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35832         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35833         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35834         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35835         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35836         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35837         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35838         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35839         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35840         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35841         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35842         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35843         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35844         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35845         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35846         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35847         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35848         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35849         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35850         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35851         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35852         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35853         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35854         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35855         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35856         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35857         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35858         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35859         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35860         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35861         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35862         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35863         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35864         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35865         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35866         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35867         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35868         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35869         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35870         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35871         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35872         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35873         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35874         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35875         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35876         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35877         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35878         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35879         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35880         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35881         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35882         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35883         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35884         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35885         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35886         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35887         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35888         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35889         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35890         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35891         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35892         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35893         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35894         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35895         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35896         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35897         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35898         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35899         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35900         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35901         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35902         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35903         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35904         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35905         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35906         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35907         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35908         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35909         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35910         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35911         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35912         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35913         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35914         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35916         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35917         _XOPEN_SOURCE_EXTENDED for XPG4.
35919         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35921         * Makeconfig (localtime): Remove variable.
35922         (inst_localtime-file): Likewise.
35924 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35927         Update.
35928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35929         Update.
35930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35931         Update.
35932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35933         Update.
35934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35935         Update.
35936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35937         Update.
35938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35939         Update.
35940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35941         Update.
35942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35943         Update.
35945 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35947         [BZ #2550]
35948         [BZ #2570]
35949         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35950         comparisons to determine direction to adjust input.
35951         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35952         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35953         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35954         Likewise.
35955         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35956         Likewise.
35957         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35958         Likewise.
35959         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35960         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35961         Likewise.
35962         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35963         Likewise.
35964         * math/libm-test.inc (nexttoward_test): Add more tests.
35966 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35968         [BZ #14040]
35969         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35970         in version GLIBC_2.1, not GLIBC_2.0.
35971         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35972         Likewise.
35974 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35976         [BZ #13942]
35977         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35978         (1 - x) * (1 + x).
35979         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35980         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35981         * math/libm-test.inc (acos_test): Add more tests.
35982         (asin_test): Likewise.
35983         * sysdeps/i386/fpu/libm-test-ulps: Update.
35984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35986         [BZ #14034]
35987         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35988         of square root.
35989         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35990         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35991         * math/libm-test.inc (acos_test_tonearest): New function.
35992         (acos_test_towardzero): Likewise.
35993         (acos_test_downward): Likewise.
35994         (acos_test_upward): Likewise.
35995         (asin_test_tonearest): Likewise.
35996         (asin_test_towardzero): Likewise.
35997         (asin_test_downward): Likewise.
35998         (asin_test_upward): Likewise.
35999         (main): Call the new functions.
36000         * sysdeps/i386/fpu/libm-test-ulps: Update.
36001         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36003         [BZ #13884]
36004         [BZ #13924]
36005         * math/e_exp10.c: Include <float.h>.
36006         (__ieee754_exp10): Handle underflow here rather than multiplying
36007         large negative argument by M_LN10.
36008         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36009         of __ieee754_expf.
36010         * math/e_exp10l.c: Include <float.h>.
36011         (__ieee754_exp10l): Handle underflow here rather than multiplying
36012         large negative argument by M_LN10l.
36013         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36014         spurious overflow exception on underflow.
36016 2012-04-29  Marek Polacek  <polacek@redhat.com>
36018         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36019         (__fortify_function): New macro.
36020         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36021         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36022         __extern_always_inline.
36023         * libio/bits/stdio2.h: Likewise.
36024         * libio/bits/stdio.h: Likewise.
36025         * string/string.h: Likewise.
36026         * string/bits/string3.h: Likewise.
36027         * include/stdio.h: Likewise.
36028         * stdlib/bits/stdlib.h: Likewise.
36029         * stdlib/stdlib.h: Likewise.
36030         * rt/bits/mqueue2.h: Likewise.
36031         * rt/mqueue.h: Likewise.
36032         * posix/bits/unistd.h: Likewise.
36033         * posix/unistd.h: Likewise.
36034         * io/bits/poll2.h: Likewise.
36035         * io/bits/fcntl2.h: Likewise.
36036         * io/fcntl.h: Likewise.
36037         * io/sys/poll.h: Likewise.
36038         * misc/bits/syslog.h: Likewise.
36039         * misc/bits/syslog-ldbl.h: Likewise.
36040         * misc/sys/syslog.h: Likewise.
36041         * socket/bits/socket2.h: Likewise.
36042         * socket/sys/socket.h: Likewise.
36043         * debug/tst-chk1.c: Likewise.
36044         * wcsmbs/bits/wchar2.h: Likewise.
36045         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36046         * wcsmbs/wchar.h: Likewise.
36048 2012-04-29  Andreas Jaeger  <aj@suse.de>
36050         * Makerules (tests): Remove enable-check-abi protection.
36051         (check-abi-warn): Remove.
36052         (check-abi-%): Remove check-abi-warn usage.
36054         * configure.in: Remove check-abi configure option.
36055         * configure: Regenerated.
36056         * config.make.in (enable-check-abi): Remove.
36058 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36060         [BZ #14033]
36061         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36062         double functions to double *_finite functions.
36064         [BZ #13941]
36065         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36066         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36067         LDBL_MIN_EXP.
36068         * stdio-common/Makefile (tests): Add tst-sprintf3.
36069         * stdio-common/tst-sprintf3.c: New file.
36071         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36072         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36074 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36076         * conform/conformtest.pl: Remove duplicate typed-constant
36077         handling.
36079 2012-04-28  David S. Miller  <davem@davemloft.net>
36081         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36082         (check-abi-%): Remove AWK script prerequisite and explicit
36083         abilist directory.
36084         (check-abi): Rewrite to just diff the symlist with the abilist.
36085         (config-tls, config-abi-config): Delete, no longer used.
36086         (update-abi-%): Remove AWK script and explicit abilist directory.
36087         (update-abi): Rewrite to simply compare and conditionally copy the
36088         symlist and the sysdep abilist file.  Remove update-abi-config
36089         checks.
36090         * abilist/ld.abilist: Remove.
36091         * abilist/libBrokenLocale.abilist: Remove.
36092         * abilist/libanl.abilist: Remove.
36093         * abilist/libcrypt.abilist: Remove.
36094         * abilist/libdl.abilist: Remove.
36095         * abilist/librt.abilist: Remove.
36096         * abilist/libthread_db.abilist: Remove.
36097         * abilist/libutil.abilist: Remove.
36098         * scripts/extract-abilist.awk: Remove.
36099         * scripts/merge-abilist.awk: Remove.
36100         * sysdeps/generic/libcidn.abilist: New file.
36101         * sysdeps/generic/libnss_compat.abilist: New file.
36102         * sysdeps/generic/libnss_db.abilist: New file.
36103         * sysdeps/generic/libnss_dns.abilist: New file.
36104         * sysdeps/generic/libnss_files.abilist: New file.
36105         * sysdeps/generic/libnss_hesiod.abilist: New file.
36106         * sysdeps/generic/libnss_nis.abilist: New file.
36107         * sysdeps/generic/libnss_nisplus.abilist: New file.
36108         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36109         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36110         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36111         file.
36112         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36113         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36114         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36115         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36116         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36117         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36118         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36119         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36120         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36121         file.
36122         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36123         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36124         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36125         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36126         file.
36127         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36128         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36129         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36130         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36131         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36132         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36133         file.
36134         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36135         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36136         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36137         file.
36138         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36139         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36140         New file.
36141         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36142         New file.
36143         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36144         New file.
36145         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36146         New file.
36147         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36148         New file.
36149         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36150         New file.
36151         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36152         New file.
36153         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36154         New file.
36155         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36156         New file.
36157         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36158         New file.
36159         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36160         New file.
36161         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36162         New file.
36163         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36164         New file.
36165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36166         file.
36167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36168         New file.
36169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36170         New file.
36171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36172         file.
36173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36174         New file.
36175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36176         New file.
36177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36178         file.
36179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36180         New file.
36181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36182         New file.
36183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36184         New file.
36185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36186         New file.
36187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36188         New file.
36189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36190         New file.
36191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36193         file.
36194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36195         New file.
36196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36197         file.
36198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36199         file.
36200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36201         file.
36202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36203         file.
36204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36205         file.
36206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36207         New file.
36208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36209         file.
36210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36211         file.
36212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36213         New file.
36214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36215         file.
36216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36218         file.
36219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36220         New file.
36221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36222         file.
36223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36224         file.
36225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36226         file.
36227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36228         file.
36229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36230         file.
36231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36232         New file.
36233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36234         file.
36235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36236         file.
36237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36238         New file.
36239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36240         file.
36241         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36242         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36243         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36244         file.
36245         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36246         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36247         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36248         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36249         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36250         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36251         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36252         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36253         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36254         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36257         file.
36258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36259         New file.
36260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36261         file.
36262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36263         file.
36264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36265         file.
36266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36267         file.
36268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36269         file.
36270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36271         New file.
36272         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36273         New file.
36274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36275         file.
36276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36277         New file.
36278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36279         file.
36280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36282         file.
36283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36284         New file.
36285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36286         file.
36287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36288         file.
36289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36290         file.
36291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36292         file.
36293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36294         file.
36295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36296         New file.
36297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36298         New file.
36299         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36300         file.
36301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36302         New file.
36303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36304         file.
36306 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36308         * conform/conformtest.pl: Fix typo in handling typed-constant from
36309         allow-header.
36311 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36313         * README: Cut down references to pre-2.6 Linux kernels and
36314         Linuxthreads.  Update lists of configurations in libc and ports
36315         and sort alphabetically.  Say "or newer" with Linux kernel version
36316         requirements.
36318         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36320 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36322         [BZ #887]
36323         * math/libm-test.inc (logb_test_downward): New test to expose
36324         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36325         rounding mode.
36327 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36329         [BZ #14027]
36330         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36331         to be done.
36332         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36333         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36335 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36337         * sysdeps/unix/i386/brk.S: Remove file.
36338         * sysdeps/unix/i386/dl-brk.S: Likewise.
36339         * sysdeps/unix/i386/pipe.S: Likewise.
36340         * sysdeps/unix/i386/sigreturn.S: Likewise.
36341         * sysdeps/unix/i386/syscall.S: Likewise.
36342         * sysdeps/unix/i386/vfork.S: Likewise.
36343         * sysdeps/unix/i386/wait.S: Likewise.
36345         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36346         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36348         * configure.in (arm*-none*): Do not allow without
36349         --enable-hacker-mode.
36350         (netbsd*): Remove case setting base_os.
36351         (386bsd*): Likewise.
36352         (freebsd*): Likewise.
36353         (bsdi*): Likewise.
36354         (osf*): Likewise.
36355         (sunos*): Likewise.
36356         (ultrix*): Likewise.
36357         (newsos*): Likewise.
36358         (dynix*): Likewise.
36359         (*bsd*): Likewise.
36360         (sysv*): Likewise.
36361         (isc*): Likewise.
36362         (esix*): Likewise.
36363         (sco*): Likewise.
36364         (minix*): Likewise.
36365         (irix4*): Likewise.
36366         (irix6*): Likewise.
36367         (solaris[2-9]*): Likewise.
36368         (none): Likewise.
36369         * configure: Regenerated.
36371 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36373         [BZ #11521]
36374         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36375         overflow or cancellation in calculating denominator.
36376         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36377         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36378         down expression to avoid unexpected rounding in newer GCCs.
36379         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36381 2012-04-26  David S. Miller  <davem@davemloft.net>
36383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36384         long-double compat symbols.
36385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36399 2012-04-25  David S. Miller  <davem@davemloft.net>
36401         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36402         HWCAP_* values only after the memory barriers have been defined.
36403         (atomic_full_barrier): Define.
36404         (atomic_read_barrier): Define.
36405         (atomic_write_barrier): Define.
36407 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36409         * shlib-versions: Add libgcc_s version information.
36410         * sysdeps/generic/libgcc_s.h: Remove.
36411         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36412         libgcc_s.h.
36413         * sysdeps/gnu/unwind-resume.c: Likewise.
36414         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36416 2012-04-25  David S. Miller  <davem@davemloft.net>
36418         * sysdeps/unix/sparc/brk.S: Delete.
36419         * sysdeps/unix/sparc/dl-brk.S: Delete.
36420         * sysdeps/unix/sparc/pipe.S: Delete.
36421         * sysdeps/unix/sparc/sysdep.S: Delete.
36422         * sysdeps/unix/sparc/sysdep.h: Delete.
36423         * sysdeps/unix/sparc/vfork.S: Delete.
36424         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36425         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36426         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36427         (ret_ERRVAL, r0, r1, MOVE): Define.
36428         (JUMPTARGET): Remove.
36429         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36430         sysdeps/unix/sparc/sysdep.h
36431         (ENTRY, END): Remove.
36432         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36434 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36436         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36437         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36438         -DIS_IN_build.
36440         * timezone/README: Update upstream location and email address for
36441         tzcode and tzdata.
36442         * timezone/zdump.c: Update from tzcode 2012b.
36443         * timezone/zic.c: Likewise.
36445         * configure.in (libc_cv_as_needed): Remove test.
36446         * configure: Regenerated.
36447         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36448         conditional definition.
36449         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36450         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36451         * config.make.in (have-as-needed): Remove variable.
36453 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36454             Paul Pluzhnikov  <ppluzhnikov@google.com>
36456         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36457         strings correctly.
36459 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36461         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36462         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36463         * sysdeps/sh/strlen.S: Likewise.
36465 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36467         * sysdeps/unix/fork.S: Remove file.
36468         * sysdeps/unix/i386/fork.S: Likewise.
36469         * sysdeps/unix/sparc/fork.S: Likewise.
36471         * sysdeps/unix/system.c: Remove file.
36472         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36474         * sysdeps/unix/getegid.S: Remove file.
36475         * sysdeps/unix/geteuid.S: Likewise.
36477 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36479         * scripts/check-localplt.awk: New file.
36480         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36481         of diff.
36482         * scripts/data/localplt-generic.data: Add a comment.
36484         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36485         NODE when __dir_mkfile failed.
36486         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36487         Reported by Ludovic Courtès <ludo@gnu.org>.
36489 2012-04-24  Andreas Jaeger  <aj@suse.de>
36491         * Makerules (common-clean): Also remove gen-as-const-headers
36492         files.
36494 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36496         * Makerules (native-compile): Do not change working directory for
36497         build.  Use $(OUTPUT_OPTION) in command.
36498         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36500 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36502         [BZ #13886]
36503         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36504         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36505         * math/libm-test.inc (floor_test): Add more tests.
36506         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36508 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36510         * sysdeps/unix/getdents.c: Remove file.
36511         * sysdeps/unix/sysv/getdents.c: Likewise.
36512         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36514         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36515         sysdeps/unix/mman/syscalls.list.
36516         (mmap): Likewise.
36517         (mprotect): Likewise.
36518         (msync): Likewise.
36519         (munmap): Likewise.
36520         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36521         * sysdeps/unix/mman/syscalls.list: Remove.
36522         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36524         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36525         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36526         * configure: Regenerated.
36527         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36528         $(libgcc_s_suffix).
36529         * config.make.in (libgcc_s_suffix): Remove variable.
36531 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36533         * sysdeps/unix/sysv/gethostname.c: Move to ...
36534         * sysdeps/posix/gethostname.c: ... here.
36536         * sysdeps/unix/execve.S: Remove file.
36538         * sysdeps/unix/_exit.S: Remove file.
36540 2012-04-23  Andreas Jaeger  <aj@suse.de>
36542         [BZ #13739]
36543         * manual/Makefile: Remove make dist support, there's no
36544         need for a stand-alone documentation tar ball.
36545         (TEXI2DVI): Define always, it's not in Makeconfig.
36546         (dist): Removed.
36547         (tar-it): Removed.
36548         (edition): Removed.
36549         (glibc-doc-$(edition).tar): Removed
36550         (%.Z): Removed.
36551         (%.gz): Removed.
36552         (%.uu): Removed.
36553         (ETAGS): Remove, it's in Makeconfig.
36554         (move-if-change): Remove, it's in Makeconfig.
36556 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36558         [BZ #13970]
36559         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36560         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36561         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36562         (strtod_l, strtof_l, strtold_l): Remove __wur.
36563         It is not necessarily an error to ignore strtol's return value.
36564         One can reliably look at the stored endptr to decide whether
36565         the number had valid syntax.
36567 2012-04-21  Andreas Jaeger  <aj@suse.de>
36569         [BZ #13739]
36570         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36572 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36574         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36575         * sysdeps/unix/sysv/Versions: Remove file.
36577 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36579         [BZ #13927]
36580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36582 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36584         [BZ #7064]
36585         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36586         version from __vm86.
36588 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36590         * sysdeps/unix/common/lxstat.c: Remove file.
36591         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36593         * sysdeps/unix/sysv/Makefile: Remove file.
36595         * sysdeps/unix/sysv/direct.h: Remove file.
36597         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36598         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36599         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36600         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36601         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36602         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36603         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36605         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36607         * sysdeps/unix/xmknod.c: Remove file.
36608         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36610         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36612         * sysdeps/unix/sysv/i386/time.S: Remove file.
36614         * sysdeps/unix/fxstat.c: Remove file.
36615         * sysdeps/unix/xstat.c: Likewise.
36616         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36618         * sysdeps/unix/sysv/sigaction.c: Remove file.
36620         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36621         (sysdep_headers): Remove variable.
36622         [termio.h not in sysdep_headers] (generated): Likewise.
36623         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36624         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36625         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36626         * sysdeps/unix/sysv/tcflow.c: Likewise.
36627         * sysdeps/unix/sysv/tcflush.c: Likewise.
36628         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36629         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36630         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36631         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36632         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36634         * sysdeps/unix/siglist.c: Remove file.
36636         * sysdeps/unix/getppid.S: Remove file.
36638         * sysdeps/unix/mkdir.c: Remove file.
36639         * sysdeps/unix/rmdir.c: Likewise.
36641 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36643         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36644         ERR_MAX value.
36645         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36646         errlist-compat value.
36648 2012-04-18  David S. Miller  <davem@davemloft.net>
36650         * sysdeps/generic/memcopy.h (reg_char): Delete.
36651         * debug/strcat_chk.c: Use char, not reg_char.
36652         * debug/strcpy_chk.c: Likewise.
36653         * debug/strncat_chk.c: Likewise.
36654         * debug/strncpy_chk.c: Likewise.
36655         * string/memchr.c: Likewise.
36656         * string/memrchr.c: Likewise.
36657         * string/rawmemchr.c: Likewise.
36658         * string/strcat.c: Likewise.
36659         * string/strchr.c: Likewise.
36660         * string/strchrnul.c: Likewise.
36661         * string/strcmp.c: Likewise.
36662         * string/strcpy.c: Likewise.
36663         * string/strncat.c: Likewise.
36664         * string/strncmp.c: Likewise.
36665         * string/strncpy.c: Likewise.
36667 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36669         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36670         __builtin_memcopy is called when src and dest ranges are known to not
36671         overlap.
36673 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36675         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36676         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36677         fwd_align_merge macro call.
36678         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36679         bwd_align_merge macro call.
36680         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36682 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36684         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36685         bwd_align_merge macros.
36686         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36687         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36688         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36690 2012-04-18  David S. Miller  <davem@davemloft.net>
36692         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36694 2012-04-18  Andreas Jaeger  <aj@suse.de>
36696         [BZ# 6794]
36697         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36698         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36699         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36701         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36702         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36703         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36705         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36706         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36707         Adjust for changed ldbl-128 files.
36709         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36710         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36711         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36713 2012-04-17  David S. Miller  <davem@davemloft.net>
36715         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36717 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36719         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36720         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36721         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36722         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36723         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36724         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36726 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36728         [BZ #6794]
36729         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36730         * math/libm-test.inc: Add ilogb errno and exception tests.
36731         * math/w_ilogb.c: New file: ilogb wrapper.
36732         * math/w_ilogbf.c: New file: ilogbf wrapper.
36733         * math/w_ilogbl.c: New file: ilogbl wrapper.
36734         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36735         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36736         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36737         exception being thrown with 0.0 as argument.
36738         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36739         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36740         exception being thrown with 0.0 as argument.
36741         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36742         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36743         exception being thrown with 0.0 as argument.
36744         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36745         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36746         exception being thrown with 0.0 as argument.
36747         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36748         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36749         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36750         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36751         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36752         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36753         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36754         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36755         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36757 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36759         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36760         with altivec.
36762 2012-04-16  Marek Polacek  <polacek@redhat.com>
36764         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36766 2012-04-16  Marek Polacek  <polacek@redhat.com>
36768         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36769         operands of fdivp instruction.
36771 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36773         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36774         * elf/tst-auditmod3b.c: Likewise.
36775         * elf/tst-auditmod4b.c: Likewise.
36776         * elf/tst-auditmod5b.c: Likewise.
36777         * elf/tst-auditmod6b.c: Likewise.
36778         * elf/tst-auditmod6c.c: Likewise.
36779         * elf/tst-auditmod7b.c: Likewise.
36780         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36781         * sysdeps/x86_64/preconfigure.in: Likewise.
36782         * sysdeps/x86_64/preconfigure: Regenerated.
36784 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36786         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36787         __ILP32__.
36789 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36791         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36792         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36794 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36796         [BZ #13973]
36797         * locale/iso-639.def: Fix gl language name. Spotted by
36798         Yaron Shahrabani.
36800 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36802         [BZ #2074]
36803         * libio/libio.h (__io_write_fn): Update comment.
36805 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36807         [BZ #2074]
36808         * stdio.texi (Hook Functions): The user provided writer function
36809         is not allowed to return -1.
36811 2012-04-11  David S. Miller  <davem@davemloft.net>
36813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36815 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36817         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36818         Add a leading slash to rtkaio.
36820 2012-04-11  Jim Meyering  <meyering@redhat.com>
36822         [BZ #11959]
36823         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36824         It is not necessarily an error to ignore fwrite's return
36825         value.  One can reliably use ferror to test for errors after
36826         the fact.
36828 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36830         * bits/types.h (__snseconds_t): New type.
36831         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36833         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36834         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36835         (__SNSECONDS_T_TYPE): Likewise.
36836         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36837         (__SNSECONDS_T_TYPE): Likewise.
36838         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36839         (__SNSECONDS_T_TYPE): Likewise.
36841 2012-04-10  Andreas Jaeger  <aj@suse.de>
36843         [BZ #2636]
36844         * manual/time.texi (Processor Time): Return type of times is
36845         elapsed real time since an arbitrary point in the past.
36846         (CPU Time): Move CLK_TCK from here...
36847         (Processor Time): ...to here.  Correct description.
36848         * manual/conf.texi (Constants for Sysconf): Correct description of
36849         _SC_CLK_TCK.
36851 2012-04-10  David S. Miller  <davem@davemloft.net>
36853         [BZ #13967]
36854         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36855         where the is a gap between DT_REL(A) and DT_JMPREL.
36857 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36859         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36860         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36861         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36863 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36865         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36866         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36867         (dl_main): Handle --inhibit-cache.
36868         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36869         _dl_inhibit_cache.
36870         * elf/dl-load.c (_dl_map_object): Use it.
36871         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36873 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36875         [BZ #13872]
36876         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36877         (__ieee754_powl): Saturate large exponents rather than testing for
36878         overflow of y*log2(x).
36879         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36880         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36881         exceptions.
36883         [BZ #11521]
36884         * math/s_ctan.c: Include <float.h>.
36885         (__ctan): Avoid internal overflow or cancellation in calculating
36886         denominator.
36887         * math/s_ctanf.c: Likewise.
36888         * math/s_ctanl.c: Likewise.
36889         * math/s_ctanh.c: Likewise.
36890         * math/s_ctanhf.c: Likewise.
36891         * math/s_ctanhl.c: Likewise.
36892         * math/libm-test.inc (ctan_test): Add more tests.
36893         (ctanh_test): Likewise.
36894         * sysdeps/i386/fpu/libm-test-ulps: Update.
36895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36897 2012-04-09  Andreas Jaeger  <aj@suse.de>
36899         [BZ #6894]
36900         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36901         is an optional BSD extension.
36903         [BZ #10254]
36904         * manual/stdio.texi (Opening Streams): Document additional fopen
36905         parameters.
36907 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36909         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36910         %eax without telling the compiler.
36912 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36914         [BZ # 13963]
36915         * manual/install.texi: Use sourceware.org.
36917 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36919         [BZ #13873]
36920         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36921         (__ieee754_pow): Generate overflow and underflow using huge*huge
36922         and tiny*tiny rather than just returning constant infinity or zero
36923         for large exponents.
36924         * math/libm-test.inc (pow_test): Require overflow exceptions for
36925         applicable cases of large exponents.
36927         [BZ #706]
36928         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36929         (__ieee754_pow): Use iterative multiplication algorithm only for
36930         integer exponents with absolute value below 1024.  Check for odd
36931         integer exponents when using algorithm for real exponents.
36932         * math/libm-test.inc (pow_test): Add more tests.
36933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36935 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36937         [BZ #13705]
36938         * math/libm-test.inc (exp_test): Do not allow overflow exception
36939         on underflow test.
36941 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36943         [BZ #13705]
36944         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36945         instead of __kernel_standard_f.
36947 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36949         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36950         * sysdeps/x86_64/memset_chk.S: Likewise.
36952 2012-04-08  Andreas Jaeger  <aj@suse.de>
36954         [BZ #10153]
36955         * manual/startup.texi (Environment Access): Describe return value
36956         for putenv and setenv.
36958         [BZ #6895]
36959         * manual/filesys.texi (Directory Entries): Add description for
36960         DT_LNK.
36962         [BZ #6890]
36963         * manual/filesys.texi (Directory Entries): Clarify that it's file
36964         system not operating system in the description of DT_UNKNOWN.
36966         [BZ #6578]
36967         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36969 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36971         [BZ #6649]
36972         * manual/llio.texi (Opening and Closing Files): Add cross
36973         reference to explain mode argument.
36975 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36977         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36978         * sysdeps/x86_64/memset_chk.S: Likewise.
36980 2012-04-07  David S. Miller  <davem@davemloft.net>
36982         * elf/elf.h (R_SPARC_WDISP10): Define.
36983         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36984         R_SPARC_SIZE32.
36985         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36986         R_SPARC_SIZE64 and R_SPARC_H34.
36988 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36990         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36991         conditions and remove no longer applicable assertion.
36993 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36995         * bits/byteswap.h: Include <features.h>.
36996         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36997         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36999 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37001         * bits/byteswap.h (__bswap_16): Removed.
37002         Include <bits/byteswap-16.h> to get __bswap_16.
37003         * sysdeps/i386/bits/byteswap.h: Likewise.
37004         * sysdeps/s390/bits/byteswap.h: Likewise.
37005         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37006         * bits/byteswap-16.h: New file.
37007         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37008         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37009         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37010         * string/Makefile (headers): Add bits/byteswap-16.h.
37012 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37014         [BZ #13895]
37015         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37016         extra indirection.
37017         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37018         * nss/tst-nss-static.c: New.
37020 2012-04-06  Robert Millan  <rmh@gnu.org>
37022         [BZ #6486]
37023         * manual/llio.texi (File Position Primitive): lseek
37024         refers to WHENCE when it really means OFFSET.
37026 2012-04-06  Andreas Jaeger  <aj@suse.de>
37028         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37029         strncmp declarations.
37031         * abilist/libc.abilist: Add __poll and __ppoll.
37033 2012-04-05  David S. Miller  <davem@davemloft.net>
37035         * scripts/check-local-headers.sh: Accept a host triplet in the
37036         path matched by the exclude regexp.
37038         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37039         definition.
37040         * sysdeps/powerpc/powerpc32/dl-machine.h
37041         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37042         * sysdeps/s390/s390-32/dl-machine.h
37043         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37044         * sysdeps/sparc/sparc32/dl-machine.h
37045         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37046         * sysdeps/sparc/sparc64/dl-machine.h
37047         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37049         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37050         lazy binding.
37051         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37052         undefined symbol errors.
37054         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37055         DT_NEEDED entries.
37057 2012-04-05  Michael Matz  <matz@suse.de>
37059         [BZ #13592]
37060         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37062 2012-04-05  Andreas Jaeger  <aj@suse.de>
37064         [BZ #13908]
37065         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37066         comment.
37068 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37070         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37071         which ROUND is no valid rounding mode.
37073 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37075         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37076         read again.
37077         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37079 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37081         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37082         an exception using FPU order intentionally.
37084 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37086         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37087         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37088         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37089         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37091 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37093         [BZ #12340]
37094         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37095         EINVAL when BUFLEN is too smal.
37097 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37099         [BZ #13553]
37100         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37101         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37103 2012-04-03  Andreas Jaeger  <aj@suse.de>
37105         [BZ #13938]
37106         * manual/setjmp.texi (System V contexts): Fix sentence.
37108         [BZ #13926]
37109         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37110         New macro for this case.
37111         [!__GNUC__] (__bswap_64): New inline function for this case.
37112         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37113         * bits/byteswap.h: Likewise.
37114         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37115         ull, guard with __GLIBC_HAVE_LONG_LONG.
37117         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37118         __GLIBC_HAVE_LONG_LONG.
37120         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37121         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37123 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37125         [BZ #13691]
37126         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37127         inptr and inend, rather than using last_ch.
37129 2012-04-02  David S. Miller  <davem@davemloft.net>
37131         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37132         * stdio-common/printf-parse.h (read_int): Change return type to
37133         'int', return -1 on INT_MAX overflow.
37134         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37135         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37136         overflows INT_MAX.  Check for overflow of in-format-string precision
37137         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37138         SIZE_MAX not INT_MAX for integer overflow test.
37139         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37140         skip the construct in the format string but do not record anything.
37141         * stdio-common/bug22.c: Adjust to test both width/prevision
37142         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37143         explicitly for proper errno values.
37145 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37147         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37148         CHAR_MAX.
37149         * string/test-strcmp.c [! WIDE]: Likewise.
37150         * time/tst-mktime2.c: Likewise for INT_MAX.
37151         * string/test-string.h: #include <sys/param.h> for MIN.
37153         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37154         * sysdeps/i386/init-first.c (init): Likewise.
37155         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37156         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37157         * sysdeps/sh/init-first.c (init): Likewise.
37159 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37161         * po/ru.po: Update from translation team.
37162         * po/vi.po: Likewise.
37164 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37166         * resolv/nss_dns/dns-host.c: Merge copyright years.
37168 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37170         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37171         Optimize memcpy with prefetch if
37172         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37173         src, dst pointers have unequal 16 byte alignments.
37175 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37177         [BZ #13928]
37178         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37179         from a CNAME entry and return the minimum ttl for the query.
37180         (gaih_getanswer_slice): Likewise.
37182 2012-03-30  Jeff Law  <law@redhat.com>
37184         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37185         due to long keys.
37186         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37187         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37189         * resolv/nss_dns/dns-host.c: Update copyright year.
37191 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37193         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37194         requests to save a system call.  Fix check that all bytes are sent.
37196         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37197         comments for sendmmsg.
37199 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37201         [BZ #13691]
37202         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37203         with only 1 character between 0x0041 and 0x01b0.
37204         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37205         * wcsmbs/tst-mbsnrtowcs.c: New file.
37207 2012-03-29  David S. Miller  <davem@davemloft.net>
37209         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37210         small copies by hand.
37212 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37214         [BZ #13761]
37215         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37216         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37217         group memberships.
37219 2012-03-28  David S. Miller  <davem@davemloft.net>
37221         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37222         that branches into memcpy.
37223         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37224         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37225         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37226         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37227         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37228         bits.
37229         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37230         implementation too.
37231         * sysdeps/sparc/mempcpy.S: New file.
37233         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37234         the IFUNC routine in the libc case.
37235         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37237         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37238         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37239         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37240         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37241         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37242         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37243         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37244         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37246         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37247         loop to 256 bytes instead of 64 bytes and fix test signedness.
37249         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37250         * sysdeps/sparc/sparc32/Makefile: rather than here...
37251         * sysdeps/sparc/sparc64/Makefile: and here.
37253 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37255         * malloc/mallocbug.c: Avoid warnings about unused variables.
37257 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37259         [BZ #13760]
37260         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37261         in the right place. Discard and retry query if response is
37262         larger than input buffer size.
37264 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37266         [BZ #369]
37267         [BZ #2678]
37268         [BZ #3866]
37269         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37270         x for large integer exponent.
37271         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37272         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37273         sign of result as needed afterwards.
37274         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37275         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37276         result for underflowing pow the same as for overflow.
37277         (__kernel_standard_l): Handle powl overflow and underflow here
37278         rather than calling __kernel_standard.
37279         * math/libm-test.inc (pow_test): Add more tests.
37281         [BZ #3868]
37282         [BZ #13879]
37283         [BZ #13910]
37284         [BZ #13911]
37285         [BZ #13912]
37286         [BZ #13913]
37287         [BZ #13915]
37288         [BZ #13916]
37289         [BZ #13917]
37290         [BZ #13918]
37291         [BZ #13919]
37292         [BZ #13920]
37293         [BZ #13921]
37294         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37295         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37296         (__kernel_standard_l): New function.
37297         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37298         __kernel_standard.
37299         * math/w_acosl.c (__acosl): Likewise.
37300         * math/w_asinl.c (__asinl): Likewise.
37301         * math/w_atan2l.c (__atan2l): Likewise.
37302         * math/w_atanhl.c (__atanhl): Likewise.
37303         * math/w_coshl.c (__coshl): Likewise.
37304         * math/w_exp10l.c (__exp10l): Likewise.
37305         * math/w_exp2l.c (__exp2l): Likewise.
37306         * math/w_fmodl.c (__fmodl): Likewise.
37307         * math/w_hypotl.c (__hypotl): Likewise.
37308         * math/w_j0l.c (__j0l, __y0l): Likewise.
37309         * math/w_j1l.c (__j1l, __y1l): Likewise.
37310         * math/w_jnl.c (__jnl, __ynl): Likewise.
37311         * math/w_lgammal.c (__lgammal): Likewise.
37312         * math/w_log10l.c (__log10l): Likewise.
37313         * math/w_log2l.c (__log2l): Likewise.
37314         * math/w_logl.c (__logl): Likewise.
37315         * math/w_powl.c (__powl): Likewise.
37316         * math/w_remainderl.c (__remainderl): Likewise.
37317         * math/w_scalbl.c (sysv_scalbl): Likewise.
37318         * math/w_sinhl.c (__sinhl): Likewise.
37319         * math/w_sqrtl.c (__sqrtl): Likewise.
37320         * math/w_tgammal.c (__tgammal): Likewise.
37321         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37322         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37323         * math/libm-test.inc (acos_test): Add more tests.
37324         (acosh_test): Likewise.
37325         (asin_test): Likewise.
37326         (atanh_test): Likewise.
37327         (exp_test): Likewise.
37328         (exp10_test): Likewise.
37329         (exp2_test): Likewise.
37330         (expm1_test): Likewise.
37331         (lgamma_test): Likewise.
37332         (log_test): Likewise.
37333         (log10_test): Likewise.
37334         (log1p_test): Likewise.
37335         (log2_test): Likewise.
37336         (pow_test): Do not allow some spurious overflow exceptions.
37337         (sqrt_test): Add more tests.
37338         (tgamma_test): Likewise.
37339         (y0_test): Likewise.
37340         (y1_test): Likewise.
37341         (yn_test): Likewise.
37343 2012-03-27  Anton Blanchard  <anton@samba.org>
37345         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37346         MAP_HUGETLB.
37347         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37348         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37349         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37351 2012-03-27  David S. Miller  <davem@davemloft.net>
37353         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37355         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37356         have-as-vis3 check.
37358 2012-03-27  Andreas Jaeger  <aj@suse.de>
37360         * sysdeps/x86_64/elf/configure.in: Moved to ...
37361         * sysdeps/x86_64/configure.in: ... here.
37362         * sysdeps/x86_64/elf/start.S: Moved to ...
37363         * sysdeps/x86_64/start.S: ... here.
37364         * sysdeps/x86_64/elf/configure: Delete.
37366         * sysdeps/x86_64/configure.in: Merge contents from
37367         sysdeps/i386/configure.in (without i686 check).
37369         * sysdeps/i386/elf/Versions: Merge into ...
37370         * sysdeps/i386/Versions: ... this.
37371         * sysdeps/i386/elf/Versions: Delete file.
37372         * sysdeps/i386/elf/start.S: Moved to ...
37373         * sysdeps/i386/start.S: ...here.
37374         * sysdeps/i386/elf/configure.in: Merge into...
37375         * sysdeps/i386/configure.in: ...here.
37376         * sysdeps/i386/elf/configure.in: Delete file.
37377         * sysdeps/i386/elf/configure: Delete file.
37379         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37380         * debug/backtracesyms.c: ... here.
37381         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37382         * debug/backtracesymsfd.c: ... here.
37383         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37384         * sysdeps/generic/ifunc-sel.h: ... here.
37386         * sysdeps/unix/i386/start.c: Delete file.
37387         * sysdeps/unix/sparc/start.c: Delete file.
37388         * sysdeps/unix/start.c: Delete file.
37390         * sysdeps/sh/elf/configure.in: Moved to ...
37391         * sysdeps/sh/configure.in: ... here.
37392         * sysdeps/sh/elf/start.S: Moved to ...
37393         * sysdeps/sh/start.S: ... here.
37394         * sysdeps/sh/elf/configure: Delete file.
37396         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37397         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37398         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37399         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37400         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37401         * sysdeps/powerpc/powerpc64/start.S: here.
37402         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37403         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37404         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37405         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37406         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37408         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37409         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37410         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37411         * sysdeps/powerpc/powerpc32/start.S: ... here.
37412         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37413         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37414         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37416         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37417         * sysdeps/powerpc/ifunc-sel.h: ... here.
37418         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37419         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37421         * sysdeps/sparc/elf/configure.in: Moved to ...
37422         * sysdeps/sparc/configure.in: ... here.
37423         * sysdeps/sparc/elf/configure: Delete file.
37424         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37425         * sysdeps/sparc/sparc32/start.S: ... here.
37426         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37427         * sysdeps/sparc/sparc64/start.S: ... here.
37428         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37429         * sysdeps/sparc/sparc32/Makefile: ... this.
37430         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37431         * sysdeps/sparc/sparc64/Makefile: ... this.
37433         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37434         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37435         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37436         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37437         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37438         * sysdeps/s390/s390-32/setjmp.S: ... here.
37439         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37440         * sysdeps/s390/s390-32/configure.in: ... here.
37441         * sysdeps/s390/s390-32/elf/configure: Delete file.
37442         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37443         * sysdeps/s390/s390-32/start.S: ... here.
37445         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37446         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37447         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37448         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37449         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37450         * sysdeps/s390/s390-64/setjmp.S: ... here.
37451         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37452         * sysdeps/s390/s390-64/configure.in: ... here
37453         * sysdeps/s390/s390-64/elf/configure: Delete file.
37454         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37455         * sysdeps/s390/s390-64/start.S: ... here.
37456         * sysdeps/s390/s390-64/elf/configure: Delete.
37458         * configure.in: Remove support for elf directories in sysdeps.
37460         * configure: Regenerated.
37461         * sysdeps/i386/configure: Regenerated.
37462         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37463         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37464         * sysdeps/s390/s390-32/configure: Regenerated.
37465         * sysdeps/s390/s390-64/configure: Regenerated.
37466         * sysdeps/sh/configure: Regenerated.
37467         * sysdeps/sparc/configure: Regenerated.
37468         * sysdeps/x86_64/configure: Regenerated.
37470 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37474         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37475         denormal result into account.
37477 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37479         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37480         Reported by Allan McRae <allan@archlinux.org>.
37482 2012-03-23  Jeff Law  <law@redhat.com>
37484         * nss/getnssent.c (__nss_getent): Fix typo.
37486 2012-03-23  David S. Miller  <davem@davemloft.net>
37488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37490 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37492         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37493         to pad to uint64_t for each field.
37494         (dl_tls_index): Replace unsigned long with uint64_t.
37496 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37497         Paul Pluzhnikov  <ppluzhnikov@google.com>
37499         [BZ #6528]
37500         * grp/Makefile (otherlibs): Don't set it.
37501         * inet/Makefile (otherlibs): Likewise.
37502         * login/Makefile (otherlibs): Likewise.
37503         * nscd/Makefile (otherlibs): Likewise.
37504         * posix/Makefile (otherlibs): Likewise.
37505         * pwd/Makefile (otherlibs): Likewise.
37506         * rt/Makefile (otherlibs): Likewise.
37507         * sunrpc/Makefile (otherlibs): Likewise.
37508         * nss/Makefile (otherlibs): Likewise.
37509         Add libnss_files to routines and static-only-routines.
37510         ($(objpfx)getent): Remove rule.
37511         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37512         static-only-routines.
37514 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37516         [BZ #13892]
37517         * math/s_cexp.c: Include <float.h>.
37518         (__cexp): Handle exp result overflowing not necessarily
37519         overflowing both real and imaginary parts of result.
37520         * math/s_cexpf.c: Likewise.
37521         * math/s_cexpl.c: Likewise.
37522         * math/libm-test.inc (cexp_test): Add more tests.
37523         * sysdeps/i386/fpu/libm-test-ulps: Update.
37524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37526 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37528         * include/link.h (ELFW): New macro.
37529         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37530         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37532 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37534         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37535         with uint64_t.
37537 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37539         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37540         declaration.
37541         (struct La_x32_retval): Likewise.
37543 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37545         * sysdeps/x86_64/preconfigure.in: New file.
37546         * sysdeps/x86_64/preconfigure: New generated file.
37548 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37550         [BZ #13824]
37551         * math/e_exp2l.c: Include <float.h>.
37552         (__ieee754_exp2l): Handle overflow and underflow cases
37553         separately.  Only pass fractional part of argument to
37554         __ieee754_expl.
37555         * math/libm-test.inc (exp2_test): Add more tests.
37557         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37558         negating x to take absolute value.
37559         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37560         Likewise.
37561         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37562         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37563         Likewise.
37564         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37565         computing low part if x was negated.
37566         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37568 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37570         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37571         la_x32_gnu_pltexit.
37572         (pltexit): Cast int_retval to ptrdiff_t.
37573         * elf/tst-auditmod3b.c: Likewise.
37574         * elf/tst-auditmod4b.c: Likewise.
37575         * elf/tst-auditmod5b.c: Likewise.
37576         * elf/tst-auditmod6b.c: Likewise.
37577         * elf/tst-auditmod6c.c: Likewise.
37578         * elf/tst-auditmod7b.c: Likewise.
37580         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37581         and x32_gnu_pltexit.
37583         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37584         __ELF_NATIVE_CLASS.
37585         (La_x32_regs): New macro.
37586         (La_x32_retval): Likewise.
37587         (la_x32_gnu_pltenter): New function prototype.
37588         (la_x32_gnu_pltexit): Likewise.
37590 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37592         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37593         exponent.
37595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37597         * configure.in (libc_cv_cc_nofma): Check for option to disable
37598         generation of FMA instructions.
37599         * configure: Regenerate.
37600         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37601         * sysdeps/ieee754/dbl-64/Makefile: New file.
37602         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37603         Remove brandred-fma4.
37604         (CFLAGS-brandred-fma4.c): Remove.
37605         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37606         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37607         define.
37608         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37609         define.
37611 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37613         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37614         LLONG_MAX != LONG_MAX.
37615         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37616         (_fitoa_word): Likewise.
37617         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37618         LLONG_MAX != LONG_MAX.
37619         * stdio-common/_itowa.h: Include <_itoa.h>.
37620         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37621         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37622         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37623         only if not defined.
37624         (_ITOA_WORD_TYPE): Likewise.
37625         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37626         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37628 2012-03-21  David S. Miller  <davem@davemloft.net>
37630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37632 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37634         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37635         of x86_64 when setting libc_cv_slibdir, libdir and
37636         libc_cv_localedir.
37637         * sysdeps/unix/sysv/linux/configure: Regenerated.
37639 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37641         * manual/lang.texi (Old Varargs): Remove section.
37642         (How Variadic): Update menu.
37643         (va_start): Do not mention varargs.h.
37645 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37646             Joseph Myers  <joseph@codesourcery.com>
37648         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37649         link test.
37650         * configure: Regenerated.
37652 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37654         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37655         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37656         conformtest.pl
37658 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37660         * NOTES: Remove.
37661         * Makefile (files-for-dist): Remove NOTES.
37662         (NOTES): Remove rule.
37663         * README: Don't refer to NOTES.
37664         * manual/creature.texi: Don't include macros.texi.
37665         * manual/intro.texi (creature.texi): Remove comment referring to
37666         NOTES.
37668         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37669         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37670         * configure: Regenerated.
37671         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37672         LIBC_TRY_CC_OPTION.
37673         (libc_cv_as_i686): Likewise.
37674         (libc_cv_cc_avx): Likewise.
37675         (libc_cv_cc_sse2avx): Likewise.
37676         (libc_cv_cc_fma4): Likewise.
37677         (libc_cv_cc_novzeroupper): Likewise.
37678         * sysdeps/i386/configure: Regenerated.
37680         [BZ #13883]
37681         * sysdeps/i386/fpu/s_cexp.S: Remove.
37682         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37683         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37684         * math/libm-test.inc (cexp_test): Add more tests.
37685         * sysdeps/i386/fpu/libm-test-ulps: Update.
37686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37688 2012-03-21  Allan McRae  <allan@archlinux.org>
37690         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37692 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37694         [BZ #13871]
37695         * math/w_exp2.c: Do not include <float.h>.
37696         (o_threshold, u_threshold): Remove.
37697         (__exp2): Calculate result before checking finiteness and calling
37698         __kernel_standard.
37699         * math/w_exp2f.c: Likewise.
37700         * math/w_exp2l.c: Likewise.
37701         * math/libm-test.inc (exp2_test): Require overflow exception for
37702         1e6 input.
37704         [BZ #3866]
37705         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37706         range of signed 64-bit integers before using fistpll.  Remove
37707         checks for whether integers fit in mantissa bits.
37708         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37709         the range of signed 32-bit integers before using fistpl.  Remove
37710         checks for whether integers fit in mantissa bits.
37711         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37712         (__ieee754_powl): Test for y outside the range of signed 64-bit
37713         integers before using fistpll.  Reduce 64-bit values to 63-bit
37714         ones as needed.
37715         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37716         divide-by-zero is raised for zero to large negative powers.
37717         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37718         (__ieee754_powl): Test for y outside the range of signed 64-bit
37719         integers before using fistpll.  Reduce 64-bit values to 63-bit
37720         ones as needed.
37721         * math/libm-test.inc (pow_test): Add more tests.
37723 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37725         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37726         <stdio-common/_itoa.h>.
37727         * debug/segfault.c: Likewise.
37728         * elf/dl-cache.c: Likewise.
37729         * elf/dl-minimal.c: Likewise.
37730         * elf/dl-misc.c: Likewise.
37731         * elf/dl-sysdep.c: Likewise.
37732         * elf/dl-version.c: Likewise.
37733         * elf/rtld.c: Likewise.
37734         * hurd/hurdsock.c: Likewise.
37735         * hurd/lookup-retry.c: Likewise.
37736         * malloc/malloc.c: Likewise.
37737         * malloc/mtrace.c: Likewise.
37738         * nscd/nscd_getgr_r.c: Likewise.
37739         * nscd/nscd_getpw_r.c: Likewise.
37740         * nscd/nscd_getserv_r.c: Likewise.
37741         * posix/getopt_init.c: Likewise.
37742         * posix/wordexp.c: Likewise.
37743         * stdio-common/_itoa.c: Likewise.
37744         * stdio-common/printf_fphex.c: Likewise.
37745         * stdio-common/vfprintf.c: Likewise.
37746         * string/_strerror.c: Likewise.
37747         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37748         * sysdeps/i386/i686/hp-timing.h: Likewise.
37749         * sysdeps/mach/_strerror.c: Likewise.
37750         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37751         * sysdeps/mach/hurd/sethostid.c: Likewise.
37752         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37753         * sysdeps/mach/xpg-strerror.c: Likewise.
37754         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37755         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37756         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37757         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37758         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37759         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37760         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37761         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37762         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37763         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37764         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37765         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37766         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37767         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37768         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37769         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37770         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37771         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37772         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37773         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37774         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37776         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37778         * stdio-common/_itoa.h: Moved to ...
37779         * sysdeps/generic/_itoa.h: Here.
37781         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37783         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37784         instead of "_itoa.h" and "_itowa.h".
37785         * stdio-common/vfprintf.: Likewise.
37787 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37789         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37790         <bits/wordsize.h>.
37791         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37792         (__signbit): Likwise.
37793         (llrintf): Likwise.
37794         (llrint): Likwise.
37796 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37798         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37799         __WORDSIZE != 64.
37801 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37803         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37804         OVERFLOW_EXCEPTION_OK.
37805         * math/libm-test.inc ("Philosophy"): Update comment about
37806         exception testing.
37807         (OVERFLOW_EXCEPTION): Define.
37808         (OVERFLOW_EXCEPTION_OK): Likewise.
37809         (INVALID_EXCEPTION_OK): Renumber.
37810         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37811         (IGNORE_ZERO_INF_SIGN): Likewise.
37812         (test_exceptions): Handle FE_OVERFLOW.
37813         (exp10_test): Expect overflow exceptions.
37814         (exp2_test): Likewise.
37815         (expm1_test): Likewise.
37816         (nextafter_test): Likewise.
37817         (pow_test): Likewise.
37818         (scalbn_test): Likewise.
37819         (scalbln_test): Likewise.
37821 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37823         * sysdeps/x86_64/bits/atomic.h
37824         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37825         64bit integer.
37826         (atomic_exchange_acq): Likewise.
37827         (__arch_exchange_and_add_body): Likewise.
37828         (__arch_add_body): Likewise.
37829         (atomic_add_negative): Likewise.
37830         (atomic_add_zero): Likewise.
37832 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37834         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37835         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37837 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37839         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37840         Check __x86_64__ instead of __WORDSIZE.
37842 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37844         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37846 2012-03-19  David S. Miller  <davem@davemloft.net>
37848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37850         * sysdeps/sparc/fpu/fenv_private.h: New file.
37851         * sysdeps/sparc/fpu/math_private.h: Use it.
37852         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37853         Remove.
37854         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37855         (libc_feholdexcept_setroundl): Remove.
37856         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37857         Remove.
37858         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37859         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37861 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37863         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37864         int64_t instead of long int.
37865         (INSERT_WORDS64): Likwise.
37867 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37869         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37870         _Unwind_GetCFA return to _Unwind_Ptr first.
37872 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37874         [BZ #13629]
37875         * math/s_clog.c: Include <float.h>.
37876         (__clog): Scale large or subnormal inputs.
37877         * math/s_clogf.c: Likewise.
37878         * math/s_clogl.c: Likewise.
37879         * math/s_clog10.c: Include <float.h>.
37880         (M_LOG10_2): Define.
37881         (__clog10): Scale large or subnormal inputs.
37882         * math/s_clog10f.c: Likewise.
37883         * math/s_clog10l.c: Likewise.
37884         * math/libm-test.inc (clog_test): Add more tests.
37885         (clog10_test): Likewise.
37886         * sysdeps/i386/fpu/libm-test-ulps: Update.
37887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37889         [BZ #11451]
37890         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37891         x and y.
37892         * math/libm-test.inc (atan2_test): Add another test.
37894         * Makerules (common-objdir-compile): Remove.
37895         * sysdeps/unix/Makefile (config-generated): Do not add
37896         $(unix-generated) to variable.
37897         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37898         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37899         Remove rule.
37900         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37901         Likewise.
37902         [generic bits/local_lim.h] (before-compile): Do not append to
37903         variable.
37904         [generic bits/local_lim.h] (common-generated): Likewise.
37905         [generic sys/param.h] (before-compile): Do not append to variable.
37906         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37907         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37908         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37909         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37910         include.
37911         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37912         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37913         [generic sys/param.h] ($(addprefix
37914         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37915         [generic sys/param.h] (common-generated): Do not append to
37916         variable.
37917         [generic sys/param.h] (sysdep_headers): Likewise.
37918         [generic bits/errno.h] (before-compile): Do not append to
37919         variable.
37920         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37921         rule.
37922         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37923         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37924         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37925         [generic bits/errno.h] (common-generated): Do not append to
37926         variable.
37927         [generic bits/ioctls.h] (before-compile): Do not append to
37928         variable.
37929         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37930         rule.
37931         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37932         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37933         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37934         rule.
37935         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37936         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37937         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37938         [generic bits/ioctls.h] (common-generated): Do not append to
37939         variable.
37940         [generic sys/syscall.h] (syscall.h): Remove variable.
37941         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37942         rule.
37943         [generic sys/syscall.h] (before-compile): Do not append to
37944         variable.
37945         [generic sys/syscall.h] (common-generated): Likewise.
37946         * sysdeps/unix/errnos-tmpl.c: Remove file.
37947         * sysdeps/unix/errnos.awk: Likewise.
37948         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37949         * sysdeps/unix/ioctls.awk: Likewise.
37950         * sysdeps/unix/mk-local_lim.c: Likewise.
37951         * sysdeps/unix/snarf-ioctls: Likewise.
37953 2012-03-19  Richard Henderson  <rth@twiddle.net>
37955         * sysdeps/i386/fpu/fenv_private.h: New file.
37956         * sysdeps/i386/fpu/math_private.h: Use it.
37957         (math_opt_barrier, math_force_eval): Remove.
37958         (libc_feholdexcept_setround_53bit): Remove.
37959         (libc_feupdateenv_53bit): Remove.
37960         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37961         (math_opt_barrier, math_force_eval): Remove.
37962         (libc_feholdexcept): Remove.
37963         (libc_feholdexcept_setround): Remove.
37964         (libc_fetestexcept, libc_fesetenv): Remove.
37965         (libc_feupdateenv_test): Remove.
37966         (libc_feupdateenv, libc_feholdsetround): Remove.
37967         (libc_feresetround): Remove.
37969         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37970         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37972         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37973         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37974         (libc_feupdateenv_testl): New.
37975         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37976         (libc_feupdateenv_testf): New.
37977         (libc_feupdateenv): Use libc_feupdateenv_test.
37978         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37979         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37981         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37982         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37983         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37984         (libc_feresetround_noex): New.
37985         (libc_feresetround_noexf): New.
37986         (libc_feresetround_noexl): New.
37987         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37988         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37989         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37990         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37991         SET_RESTORE_ROUND.
37992         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37993         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37994         (__cos): Likewise.
37995         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37996         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37997         SET_RESTORE_ROUND_NOEX.
37998         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37999         SET_RESTORE_ROUND_NOEXF.
38000         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38001         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38002         (libc_feholdsetroundf): New.
38003         (libc_feresetround, libc_feresetroundf): New.
38005         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38006         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38007         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38009         * sysdeps/generic/math_private.h: Include <fenv.h>.
38010         (default_libc_feholdexcept): New.
38011         (default_libc_feholdexcept_setround): New.
38012         (default_libc_fesetenv, default_libc_feupdateenv): New.
38013         (libc_feholdexcept): Only define if undefined.
38014         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38015         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38016         (libc_feholdexcept_setroundl): Likewise.
38017         (libc_feholdexcept_setround_53bit): Likewise.
38018         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38019         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38020         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38021         (libc_feupdateenv_53bit): Likewise.
38022         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38023         (libc_feholdexcept): Convert from macro to inline function.
38024         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38025         (libc_fesetenv, libc_feupdateenv): Likewise.
38027         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38028         not previously defined.
38029         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38030         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38031         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38032         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38033         * sysdeps/ieee754/flt-32/math_private.h: New file.
38034         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38035         math_private.h below SET_FLOAT_WORD.
38036         (__isnan, __isinf_ns, __finite): Remove.
38037         (__isnanf, __isinf_nsf, __finitef): Remove.
38039 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38043 2012-03-17  David S. Miller  <davem@davemloft.net>
38045         [BZ #6471]
38046         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38047         for 2.16.
38049 2012-03-16  David S. Miller  <davem@davemloft.net>
38051         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38052         warnings.
38054         [BZ #6471]
38055         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38056         properly.
38057         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38058         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38059         sysdep_routines when subdir is sysvipc.
38060         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38061         __getshmlba helper.
38063         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38065 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38067         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38068         [__LP64__].
38070 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38072         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38073         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38074         (__lround): Renamed to ...
38075         (__llround): This.  Replace long int with long long int.
38076         Define lround functions as aliases of llround functions.
38077         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38079 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38081         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38082         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38083         adresses to uintptr_t.  Replace "long int" and "unsigned long
38084         int" with "greg_t" on va_arg.
38086 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38088         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38089         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38091         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38092         Move e_machine check before EI_CLASS check.  Handle x32
38093         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38094         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38095         SKIP_EM_IA_64 and include
38096         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38098         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38099         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38100         (add_system_dir): New macro.
38102         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38103         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38105 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38107         [BZ #2551]
38108         [BZ #2552]
38109         [BZ #2553]
38110         [BZ #2554]
38111         [BZ #2562]
38112         [BZ #2563]
38113         [BZ #2565]
38114         [BZ #2566]
38115         [BZ #2576]
38116         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38117         (y0): Likewise.
38118         * math/w_j0f.c (j0f): Likewise.
38119         (y0f): Likewise.
38120         * math/w_j0l.c (__j0l): Likewise.
38121         (__y0l): Likewise.
38122         * math/w_j1.c (j1): Likewise.
38123         (y1): Likewise.
38124         * math/w_j1f.c (j1f): Likewise.
38125         (y1f): Likewise.
38126         * math/w_j1l.c (__j1l): Likewise.
38127         (__y1l): Likewise.
38128         * math/w_jn.c (jn): Likewise.
38129         (yn): Likewise.
38130         * math/w_jnf.c (jnf): Likewise.
38131         (ynf): Likewise.
38132         * math/w_jnl.c (__jnl): Likewise.
38133         (__ynl): Likewise.
38134         * math/libm-test.inc (j0_test): Add more tests.
38135         (j1_test): Likewise.
38136         (jn_test): Likewise.  Add trailing semicolon to existing test.
38137         (y0_test): Likewise.
38138         (y1_test): Likewise.
38139         * sysdeps/i386/fpu/libm-test-ulps: Update.
38140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38142         [BZ #13851]
38143         [BZ #13854]
38144         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38145         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38146         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38147         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38148         (__tanl): Set errno for infinite argument.
38149         * sysdeps/i386/fpu/mptan.c: Remove.
38150         * sysdeps/i386/fpu/s_tan.S: Likewise.
38151         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38152         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38153         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38154         * math/libm-test.inc (tan_test): Add more tests and enable more
38155         tests for double and long double.
38156         * sysdeps/i386/fpu/libm-test-ulps: Update.
38157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38159 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38161         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38162         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38164 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38166         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38167         * configure.in: Use it for both main tree and add-ons.
38168         * configure: Regenerated.
38170 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38172         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38174 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38176         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38177         in comment.
38179         [BZ #13851]
38180         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38181         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38182         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38183         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38184         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38185         infinite argument.
38186         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38187         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38188         != 0 for prec == 2.
38189         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38190         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38191         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38192         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38193         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38194         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38195         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38196         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38197         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38198         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38199         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38200         * math/libm-test.inc (cos_test): Add more tests and enable more
38201         tests for long double.
38202         (sin_test): Likewise.
38203         (sincos_test): Likewise.
38204         * sysdeps/i386/fpu/libm-test-ulps: Update.
38205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38207 2012-03-16  David S. Miller  <davem@davemloft.net>
38209         * sysdeps/sparc/fpu/math_private.h: New file.
38211 2012-03-15  David S. Miller  <davem@davemloft.net>
38213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38214         file.
38215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38217         file.
38218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38219         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38220         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38221         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38222         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38223         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38224         sysdep routines.
38225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38227         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38228         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38230         * sysdeps/sparc/sparc-ifunc.h: New file.
38231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38232         sparc-ifunc.h
38233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38235         Likewise.
38236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38237         Likewise.
38238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38242         Likewise.
38243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38248         Likewise.
38249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38250         Likewise.
38251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38257         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38258         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38261         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38262         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38263         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38264         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38265         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38266         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38267         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38268         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38269         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38270         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38271         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38272         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38273         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38274         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38276 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38278         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38279         scaling.
38280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38282 2012-03-15  Andreas Jaeger  <aj@suse.de>
38284         [BZ #13852]
38285         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38286         ieee754/flt-32 implementation for sin, cos and sincos.
38287         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38288         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38289         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38290         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38291         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38292         ieee754/flt-32 implementation for tan.
38294         * math/libm-test.inc (cos_test): Enable some large input tests for
38295         float as well
38296         (sin_test): Likewise.
38297         (sincos_test): Likewise.
38298         (tan_test): Add tests for large input.
38300         * sysdeps/i386/fpu/libm-test-ulps: Update.
38302 2012-03-15  Andreas Jaeger  <aj@suse.de>
38304         [BZ #13658]
38305         * math/libm-test.inc (cos_test): Add more test cases.
38306         (sin_test): Likewise.
38307         (sincos_test): Likewise.
38309 2012-03-15  Andreas Jaeger  <aj@suse.de>
38311         [BZ #13837]
38312         * math/libm-test.inc (cos_test): Add a test case for large input
38313         value.
38314         (sin_test): Likewise.
38315         (sincos_test): Likewise.
38317 2012-03-15  Andreas Jaeger  <aj@suse.de>
38318             Joseph Myers  <joseph@codesourcery.com>
38320         [BZ #13658]
38321         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38322         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38323         * sysdeps/i386/fpu/branred.c: Likewise.
38324         * sysdeps/i386/fpu/dosincos.c: Likewise.
38325         * sysdeps/i386/fpu/mpa.c: Likewise.
38326         * sysdeps/i386/fpu/s_cos.S: Likewise.
38327         * sysdeps/i386/fpu/s_sin.S: Likewise.
38328         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38329         * sysdeps/i386/fpu/sincos32.c: Likewise.
38331         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38332         Define.
38333         (libc_feupdateenv_53bit): Define.
38334         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38335         Define.
38336         (libc_feupdateenv_53bit): Define.
38338         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38339         53 bit (without extend i386 double precision).
38341         * math/libm-test.inc (sincos_test): Add tests for large input.
38342         (sin): Likewise.
38343         (cos): Likewise.
38345         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38347 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38351 2012-03-15  David S. Miller  <davem@davemloft.net>
38353         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38354         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38355         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38356         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38361         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38362         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38363         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38364         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38365         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38366         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38367         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38369         file.
38370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38372         file.
38373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38375         file.
38376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38378         file.
38379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38380         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38381         fmin/fmax sysdep routines.
38382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38384 2012-03-14  David S. Miller  <davem@davemloft.net>
38386         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38387         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38388         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38389         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38390         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38391         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38392         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38393         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38394         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38395         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38396         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38397         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38398         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38399         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38400         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38401         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38402         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38403         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38404         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38405         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38406         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38407         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38408         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38409         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38410         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38411         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38412         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38413         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38414         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38415         routines.
38416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38417         file.
38418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38420         file.
38421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38423         file.
38424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38426         file.
38427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38429         file.
38430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38432         file.
38433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38434         file.
38435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38436         file.
38437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38438         file.
38439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38440         New file.
38441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38442         file.
38443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38444         file.
38445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38447         file.
38448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38450         file.
38451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38453         file.
38454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38456         VIS3 routines.
38458         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38459         New file.
38461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38463         * sysdeps/sparc/configure.in: New file.
38464         * sysdeps/sparc/configure: Generate.
38465         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38466         * configure: Regenerate.
38467         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38468         * config.make.in (have-as-vis3): New.
38469         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38470         available use -Av9d instead of -Av9a.
38471         * sysdeps/sparc/sparc64/Makefile: Likewise.
38472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38474         New file.
38475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38476         file.
38477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38478         New file.
38479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38480         file.
38481         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38482         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38483         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38484         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38485         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38487         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38488         fzeros/fnegs to load 0x80000000 into a float register instead of
38489         using the stack.
38490         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38492 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38494         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38495         bits/syscall.h.
38496         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38497         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38498         ($(inst_includedir)/bits/syscall.h): Remove rule.
38499         ($(objpfx)bits/syscall.d): Include instead of
38500         $(objpfx)syscall-list.d.
38501         (generated): Change syscall-list.h and syscall-list.d to
38502         bits/syscall.h and bits/syscall.d.
38504 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38506         [BZ #13846]
38507         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38509 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38511         [BZ #13841]
38512         * math/s_csqrt.c: Include <float.h>.
38513         (__csqrt): Scale large or subnormal inputs.
38514         * math/s_csqrtf.c: Likewise.
38515         * math/s_csqrtl.c: Likewise.
38516         * math/libm-test.inc (csqrt_test): Add more tests.
38517         * sysdeps/i386/fpu/libm-test-ulps: Update.
38518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38520         [BZ #13840]
38521         * math/libm-test.inc (hypot_test): Add more tests.
38523 2012-03-13  David S. Miller  <davem@davemloft.net>
38525         [BZ #13840]
38526         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38527         double-precision for the calculation instead of scaling.
38529 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38531         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38532         manipulate bits before adding and subtracting TWO52[sx].
38533         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38534         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38535         Likewise.
38536         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38538 2012-03-13  David S. Miller  <davem@davemloft.net>
38540         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38541         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38542         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38543         rtld-global-offsets.h
38544         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38546         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38547         large parameters.
38549         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38551         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38552         'err' in the ifdef scope in which it is actually used.
38554         * nss/nss_db/db-init.c: Include string.h
38556 2012-03-12  David S. Miller  <davem@davemloft.net>
38558         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38559         masking out of the most significant byte of random value used.
38560         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38561         Fix coding style in previous change.
38563         * sysdeps/unix/sysv/linux/kernel-features.h
38564         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38565         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38566         expression.
38567         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38568         later.
38570 2012-03-11  David S. Miller  <davem@davemloft.net>
38572         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38573         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38574         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38575         for 'resultvar' otherwise things get truncated on 64-bit.
38577         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38578         Fix masking out of the most significant byte of random value used.
38580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38582 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38586 2012-03-09  David S. Miller  <davem@davemloft.net>
38588         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38589         variables with appropriate CPP guards.
38590         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38591         from the frame pointer, not the stack pointer.  Correct layout
38592         comments.  Fix test on resulting framesize and the management of
38593         the outregs buffer for pltexit.  Preserve floating point return
38594         values across _dl_call_pltexit call.
38595         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38596         framesize and the management of the outregs buffer for pltexit.
38597         Preserve floating point return values across _dl_call_pltexit
38598         call.
38599         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38600         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38601         (la_sparc64_gnu_pltexit): New functions.
38602         (print_exit): Fix format string for return register value.
38604 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38606         * sunrpc/Makefile (others): Add rpcgen.
38607         ($(objpfx)rpcgen): Remove special build rule and dependency on
38608         libc.
38609         * sunrpc/rpcgen.c: New file.
38611 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38613         [BZ #13673]
38614         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38615         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38616         * sysdeps/i386/crti.S: Likewise.
38617         * sysdeps/i386/crtn.S: Likewise.
38618         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38619         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38620         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38621         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38622         * sysdeps/sh/crti.S: Likewise.
38623         * sysdeps/sh/crtn.S: Likewise.
38624         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38626         [BZ #13673]
38627         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38628         with URL.
38629         * locale/programs/locfile-kw.gperf: Likewise.
38630         * locale/programs/charmap-kw.h: Regenerated.
38631         * locale/programs/locfile-kw.h: Likewise.
38633         [BZ #13673]
38634         * intl/plural.y: Replace FSF snail mail address with URL.
38635         * intl/plural.c: Regenerated.
38637 2012-03-09  Richard Henderson  <rth@twiddle.net>
38639         * include/math_private.h: Remove file.
38640         * math/math_private.h: Move file ...
38641         * sysdeps/generic/math_private.h: ... here.
38643         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38644         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38645         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38647         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38648         and <math_private.h>.
38649         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38650         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38651         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38652         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38653         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38654         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38655         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38656         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38657         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38658         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38659         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38660         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38661         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38662         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38663         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38664         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38665         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38666         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38667         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38668         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38669         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38670         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38671         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38672         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38673         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38674         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38675         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38676         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38677         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38678         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38679         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38680         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38681         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38682         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38683         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38684         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38685         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38686         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38687         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38688         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38689         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38690         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38691         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38692         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38693         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38694         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38695         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38696         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38697         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38698         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38699         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38700         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38701         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38702         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38703         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38704         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38705         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38706         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38707         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38708         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38709         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38710         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38711         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38712         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38713         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38714         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38715         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38716         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38717         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38718         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38719         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38720         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38721         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38722         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38723         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38724         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38725         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38726         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38727         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38728         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38729         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38730         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38731         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38732         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38733         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38734         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38735         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38736         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38737         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38738         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38739         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38740         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38741         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38742         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38743         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38744         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38745         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38746         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38747         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38748         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38749         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38750         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38751         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38752         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38753         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38754         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38755         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38756         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38757         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38758         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38759         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38760         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38761         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38762         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38763         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38764         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38765         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38766         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38767         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38768         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38769         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38770         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38771         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38772         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38773         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38774         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38775         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38776         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38777         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38778         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38779         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38780         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38781         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38782         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38783         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38784         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38785         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38786         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38787         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38788         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38789         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38790         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38791         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38792         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38793         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38794         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38795         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38796         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38797         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38798         * sysdeps/ieee754/k_standard.c: Likewise.
38799         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38800         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38801         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38802         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38803         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38804         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38805         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38806         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38807         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38808         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38809         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38810         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38811         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38812         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38813         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38814         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38815         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38816         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38817         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38818         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38819         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38820         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38821         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38822         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38823         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38824         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38825         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38826         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38827         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38828         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38829         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38830         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38831         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38832         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38833         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38834         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38835         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38836         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38837         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38838         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38839         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38840         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38841         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38842         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38843         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38844         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38845         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38846         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38847         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38848         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38849         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38850         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38851         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38852         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38853         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38854         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38855         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38856         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38857         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38858         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38859         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38860         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38861         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38862         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38863         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38864         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38865         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38866         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38867         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38868         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38869         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38870         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38871         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38872         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38873         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38874         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38875         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38876         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38877         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38878         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38879         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38880         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38881         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38882         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38883         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38884         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38885         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38886         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38887         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38888         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38889         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38890         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38891         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38892         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38893         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38894         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38895         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38896         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38897         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38898         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38899         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38900         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38901         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38902         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38903         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38904         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38905         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38906         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38907         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38908         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38909         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38910         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38911         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38912         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38913         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38914         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38915         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38916         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38917         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38918         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38919         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38920         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38921         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38922         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38923         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38924         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38925         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38926         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38927         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38928         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38929         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38930         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38931         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38932         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38933         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38934         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38935         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38936         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38937         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38938         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38939         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38940         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38941         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38942         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38943         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38944         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38945         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38946         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38947         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38948         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38949         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38950         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38951         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38952         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38953         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38954         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38955         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38956         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38957         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38958         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38959         * sysdeps/ieee754/s_lib_version.c: Likewise.
38960         * sysdeps/ieee754/s_matherr.c: Likewise.
38961         * sysdeps/ieee754/s_signgam.c: Likewise.
38962         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38963         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38964         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38965         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38966         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38967         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38968         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38969         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38970         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38971         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38972         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38973         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38974         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38975         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38976         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38977         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38978         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38979         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38980         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38981         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38982         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38984 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38986         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38987         * sunrpc/rpc_main.c: Likewise.
38988         * sunrpc/rpc_svcout.c: Likewise.
38990 2012-03-09  David S. Miller  <davem@davemloft.net>
38992         * include/math_private.h: New file.
38994 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38996         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38997         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38998         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38999         from <bits/socket_type.h>.
39000         (enum __socket_type): Don't define here.
39001         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39002         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39003         bits/socket_type.h.
39005         [BZ #13566]
39006         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39007         checking __USE_GNU.
39009         * Makerules ($(inst_includedir)/%.h): New rule.
39010         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39011         (install-others): Remove variable setting.
39012         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39014 2012-03-08  Richard Henderson  <rth@twiddle.net>
39016         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39017         from macro to inline function; merge with the
39018         !__LIBC_INTERNAL_MATH_INLINES version.
39019         (__ieee754_sqrtf): Likewise.
39021         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39022         to inline function.
39023         (__rintf, __floor, __floorf): Likewise.
39025         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39026         macro to inline function.
39027         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39029         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39030         not <math/math_private.h>.
39032 2012-03-08  David S. Miller  <davem@davemloft.net>
39034         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39035         copyright year.
39036         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39038 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39040         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39041         normalization.
39042         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39043         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39045 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39047         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39048         be defined individually, they must be defined as a block.  Define
39049         S for printing a string instead of hidint the different by using a
39050         macro for adding the 'l'.
39051         * stdio-common/tst-fphex-wide.c: Adjust.
39053 2012-03-07  Marek Polacek  <polacek@redhat.com>
39055         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39057 2012-03-08  Marek Polacek  <polacek@redhat.com>
39059         [BZ #13806]
39060         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39061         * stdio-common/tst-fphex.c: Define a few macros to make the
39062         test reusable.  Use them.
39063         * stdio-common/tst-fphex-wide.c: New file.
39065 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39067         [BZ #6911]
39068         * manual/macros.texi (gnusystems): New macro.
39069         (nongnusystems): Likewise.
39070         (gnulinuxhurdsystems): Likewise.
39071         (gnuhurdsystems): Likewise..
39072         (gnulinuxsystems): Likewise.
39073         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39074         variants of the GNU system, not "GNU system".
39075         * manual/conf.texi: Likewise.
39076         * manual/errno.texi: Likewise.  Update example of errno macro
39077         expansion.
39078         * manual/filesys.texi: Likewise.
39079         (getumask): Document as specific to GNU/Hurd.
39080         * manual/install.texi: Likewise.  Reword some references to
39081         GNU/Linux.
39082         * manual/intro.texi: Likewise.
39083         * manual/io.texi: Likewise.
39084         (File Name Portability): Detail which constraints are inapplicable
39085         to all GNU systems and which are only inapplicable to GNU/Hurd.
39086         * manual/job.texi: Likewise.
39087         * manual/llio.texi: Likewise.
39088         (O_NOCTTY): Document as present on GNU/Linux.
39089         * manual/maint.texi: Likewise.
39090         * manual/memory.texi: Likewise.
39091         * manual/pattern.texi: Likewise.
39092         * manual/pipe.texi: Likewise.
39093         * manual/process.texi: Likewise.
39094         * manual/resource.texi: Likewise.
39095         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39096         child on GNU/Hurd.
39097         * manual/setjmp.texi: Likewise.
39098         * manual/signal.texi: Likewise.
39099         * manual/startup.texi: Likewise.
39100         * manual/stdio.texi: Likewise.
39101         * manual/terminal.texi: Likewise.
39102         (ONLCR): Document as POSIX.
39103         (OXTABS): Document availability on GNU/Linux as XTABS.
39104         (ONOEOT): Document availability separately from other bits.
39105         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39106         * manual/time.texi: Likewise.
39107         * manual/users.texi: Likewise.
39108         * INSTALL: Regenerated.
39109         * sysdeps/gnu/errlist.c: Regenerated.
39111         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39112         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39113         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39114         puts.
39115         * configure: Regenerated.
39117 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39119         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39120         default includes instead of AC_HEADER_CHECK.
39121         * sysdeps/i386/configure: Regenerated.
39123         [BZ #10716]
39124         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39125         * math/s_cacoshf.c (__cacoshf): Likewise.
39126         * math/s_cacoshl.c (__cacoshl): Likewise.
39127         * math/s_casinh.c (__casinh): Set signs of result from argument.
39128         * math/s_casinhf.c (__casinhf): Likewise.
39129         * math/s_casinhl.c (__casinhl): Likewise.
39130         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39131         (casinh_test): Add more tests.
39132         * sysdeps/i386/fpu/libm-test-ulps: Update.
39133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39135 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39137         * po/zh_TW.po: Update from translation team.
39139         * login/Makefile (distribute): Remove variable.
39140         * catgets/Makefile: Likewise.
39141         * mach/Makefile: Likewise.
39142         * malloc/Makefile: Likewise.
39143         * misc/Makefile: Likewise.
39144         * iconv/Makefile: Likewise.
39145         * nscd/Makefile: Likewise.
39146         * hurd/Makefile: Likewise.
39147         * manual/Makefile: Likewise.
39148         * locale/Makefile: Likewise.
39149         * intl/Makefile: Likewise.
39150         * conform/Makefile: Likewise.
39151         * nss/Makefile: Likewise.
39152         * time/Makefile: Likewise.
39153         * soft-fp/Makefile: Likewise.
39154         * dirent/Makefile: Likewise.
39155         * gmon/Makefile: Likewise.
39156         * po/Makefile: Likewise.
39157         * rt/Makefile: Likewise.
39158         * socket/Makefile: Likewise.
39159         * math/Makefile: Likewise.
39160         * signal/Makefile: Likewise.
39161         * debug/Makefile: Likewise.
39162         * elf/Makefile: Likewise.
39163         * timezone/Makefile: Likewise.
39164         * stdlib/Makefile: Likewise.
39165         * iconvdata/Makefile: Likewise.
39166         * sunrpc/Makefile: Likewise.
39167         * io/Makefile: Likewise.
39168         * argp/Makefile: Likewise.
39169         * inet/Makefile: Likewise.
39170         * hesiod/Makefile: Likewise.
39171         * grp/Makefile: Likewise.
39172         * csu/Makefile: Likewise.
39173         * wctype/Makefile: Likewise.
39174         * crypt/Makefile: Likewise.
39175         * libio/Makefile: Likewise.
39176         * string/Makefile: Likewise.
39177         * nis/Makefile: Likewise.
39178         * resolv/Makefile: Likewise.
39179         * stdio-common/Makefile: Likewise.
39180         * wcsmbs/Makefile: Likewise.
39181         * dlfcn/Makefile: Likewise.
39182         * posix/Makefile: Likewise.
39184         [BZ #6959]
39185         * timezone/Makefile: Don't install timezone files, just the programs
39186         and scripts.
39188 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39190         * nss/databases.def: Add missing gshadow entry.
39192         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39194 2012-03-06  Marek Polacek  <polacek@redhat.com>
39196         [BZ #13726]
39197         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39198         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39199         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39200         * stdio-common/tst-long-dbl-fphex.c: New file.
39202 2012-03-06  David S. Miller  <davem@davemloft.net>
39204         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39205         (set_obp_int): New function.
39206         (get_obp_int): New function.
39207         (__get_clockfreq_via_dev_openprom): Likewise.
39208         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39209         Avoid unused variable warnings on 'val' and use builtin_expect.
39210         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39211         __builtin_expect.
39212         (INLINE_CLONE_SYSCALL): Likewise.
39214 2012-03-05  David S. Miller  <davem@davemloft.net>
39216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39218 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39222         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39223         only for |x| >= 40.
39224         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39226 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39228         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39229         Replace gettimeofday with __vdso_gettimeofday.
39231         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39232         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39233         __vdso_clock_gettime and __vdso_getcpu.
39235         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39236         time with __vdso_time.
39238 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39240         * manual/lang.texi (size_t): Note types to which size_t may be
39241         equivalent with the GNU C Library, but do not describe when
39242         differences between them are significant.
39244 2012-03-05  Andreas Jaeger  <aj@suse.de>
39246         * sysdeps/i386/fpu/libm-test-ulps: Update.
39248 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39250         [BZ #3976]
39251         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39252         (__ieee754_pow): Save and restore rounding mode and use
39253         round-to-nearest for main computations.
39254         * math/libm-test.inc (pow_test_tonearest): New function.
39255         (pow_test_towardzero): Likewise.
39256         (pow_test_downward): Likewise.
39257         (pow_test_upward): Likewise.
39258         (main): Call the new functions.
39259         * sysdeps/i386/fpu/libm-test-ulps: Update.
39260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39262         [BZ #3976]
39263         * math/libm-test.inc (cosh_test_tonearest): New function.
39264         (cosh_test_towardzero): Likewise.
39265         (cosh_test_downward): Likewise.
39266         (cosh_test_upward): Likewise.
39267         (sinh_test_tonearest): Likewise.
39268         (sinh_test_towardzero): Likewise.
39269         (sinh_test_downward): Likewise.
39270         (sinh_test_upward): Likewise.
39271         (main): Call the new functions.
39272         * sysdeps/i386/fpu/libm-test-ulps: Update.
39273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39275 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39277         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39278         default stack guard is set in last bytes.
39279         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39281 2012-03-05  Kees Cook  <keescook@chromium.org>
39283         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39285         [BZ #13656]
39286         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39287         possibly allocate from heap instead of stack.
39288         * stdio-common/bug-vfprintf-nargs.c: New file.
39289         * stdio-common/Makefile (tests): Add nargs overflow test.
39291 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39295 2012-03-03  Marek Polacek  <polacek@redhat.com>
39297         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39298         * math/math_private.h: Likewise.
39299         * stdlib/tst-strtod.c: Likewise.
39300         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39301         * sysdeps/x86_64/bits/atomic.h: Likewise.
39303 2012-03-02  David S. Miller  <davem@davemloft.net>
39305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39309         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39310         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39311         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39312         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39314 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39316         [BZ #13792]
39317         * manual/examples/README: New file, says the example source files
39318         can be used under GPL>=2.
39319         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39320         line containing just "*/".
39321         * manual/examples/add.c: Add copyright header (GPL>=2).
39322         * manual/examples/argp-ex1.c: Likewise.
39323         * manual/examples/argp-ex2.c: Likewise.
39324         * manual/examples/argp-ex3.c: Likewise.
39325         * manual/examples/argp-ex4.c: Likewise.
39326         * manual/examples/atexit.c: Likewise.
39327         * manual/examples/db.c: Likewise.
39328         * manual/examples/dir.c: Likewise.
39329         * manual/examples/dir2.c: Likewise.
39330         * manual/examples/execinfo.c: Likewise.
39331         * manual/examples/filecli.c: Likewise.
39332         * manual/examples/filesrv.c: Likewise.
39333         * manual/examples/fmtmsgexpl.c: Likewise.
39334         * manual/examples/genpass.c: Likewise.
39335         * manual/examples/inetcli.c: Likewise.
39336         * manual/examples/inetsrv.c: Likewise.
39337         * manual/examples/isockad.c: Likewise.
39338         * manual/examples/longopt.c: Likewise.
39339         * manual/examples/memopen.c: Likewise.
39340         * manual/examples/memstrm.c: Likewise.
39341         * manual/examples/mkfsock.c: Likewise.
39342         * manual/examples/mkisock.c: Likewise.
39343         * manual/examples/mygetpass.c: Likewise.
39344         * manual/examples/pipe.c: Likewise.
39345         * manual/examples/popen.c: Likewise.
39346         * manual/examples/rprintf.c: Likewise.
39347         * manual/examples/search.c: Likewise.
39348         * manual/examples/select.c: Likewise.
39349         * manual/examples/setjmp.c: Likewise.
39350         * manual/examples/sigh1.c: Likewise.
39351         * manual/examples/sigusr.c: Likewise.
39352         * manual/examples/stpcpy.c: Likewise.
39353         * manual/examples/strdupa.c: Likewise.
39354         * manual/examples/strftim.c: Likewise.
39355         * manual/examples/strncat.c: Likewise.
39356         * manual/examples/subopt.c: Likewise.
39357         * manual/examples/swapcontext.c: Likewise.
39358         * manual/examples/termios.c: Likewise.
39359         * manual/examples/testopt.c: Likewise.
39360         * manual/examples/testpass.c: Likewise.
39361         * manual/examples/timeval_subtract.c: Likewise.
39363         [BZ #13792]
39364         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39365         function to ...
39366         * manual/timeval_subtract.c.texi: ... here, new file.
39368 2012-03-02  David S. Miller  <davem@davemloft.net>
39370         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39372 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39374         [BZ #3976]
39375         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39376         (__sin): Save and restore rounding mode and use round-to-nearest
39377         for all computations.
39378         (__cos): Save and restore rounding mode and use round-to-nearest
39379         for all computations.
39380         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39381         <fenv.h>.
39382         (tan): Save and restore rounding mode and use round-to-nearest for
39383         all computations.
39384         * math/libm-test.inc (cos_test_tonearest): New function.
39385         (cos_test_towardzero): Likewise.
39386         (cos_test_downward): Likewise.
39387         (cos_test_upward): Likewise.
39388         (sin_test_tonearest): Likewise.
39389         (sin_test_towardzero): Likewise.
39390         (sin_test_downward): Likewise.
39391         (sin_test_upward): Likewise.
39392         (tan_test_tonearest): Likewise.
39393         (tan_test_towardzero): Likewise.
39394         (tan_test_downward): Likewise.
39395         (tan_test_upward): Likewise.
39396         (main): Call the new functions.
39397         * sysdeps/i386/fpu/libm-test-ulps: Update.
39398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39400         [BZ #10135]
39401         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39402         small n, then large n, before computing and testing k+n.
39403         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39404         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39405         Likewise.
39406         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39407         Likewise.
39408         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39409         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39410         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39411         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39412         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39413         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39414         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39415         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39416         * math/libm-test.inc (scalbn_test): Add more tests.
39417         (scalbln_test): Likewise.
39419         * manual/filesys.texi (mode_t): Describe constraints on size and
39420         signedness, not exact equivalence to a particular type.
39421         (ino_t): Likewise.
39422         (ino64_t): Likewise.
39423         (dev_t): Likewise.
39424         (nlink_t): Likewise.
39425         (blkcnt_t): Likewise.
39426         (blkcnt64_t): Likewise.
39427         * manual/llio.texi (off_t): Likewise.
39429         [BZ #3976]
39430         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39431         (__ieee754_exp): Save and restore rounding mode and use
39432         round-to-nearest for all computations.
39433         * math/libm-test.inc (exp_test_tonearest): New function.
39434         (exp_test_towardzero): Likewise.
39435         (exp_test_downward): Likewise.
39436         (exp_test_upward): Likewise.
39437         (main): Call the new functions.
39438         * sysdeps/i386/fpu/libm-test-ulps: Update.
39439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39441 2012-03-01  Chris Demetriou  <cgd@google.com>
39443         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39444         have predictable order.
39446 2012-03-01  David S. Miller  <davem@davemloft.net>
39448         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39450         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39451         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39452         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39453         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39455         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39456         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39457         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39459         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39460         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39461         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39462         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39463         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39467         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39468         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39469         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39471         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39472         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39473         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39474         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39475         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39476         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39477         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39478         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39479         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39480         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39481         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39482         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39483         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39484         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39485         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39486         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39487         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39488         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39489         * sysdeps/sparc/elf/configure: Regenerated.
39491 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39493         * configure.in (AS, LD): Require binutils 2.20 or later.
39494         * configure: Regenerated.
39495         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39496         as required minimum version.
39497         * INSTALL: Regenerated.
39499         [BZ #2541]
39500         [BZ #4108]
39501         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39502         before squaring exponent.
39503         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39504         bottom long double and 27 bits of top long double before squaring
39505         exponent.
39506         * math/libm-test.inc (erfc_test): Add more tests.
39507         * sysdeps/i386/fpu/libm-test-ulps: Update.
39508         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39511 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39513         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39514         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39515         containing bit-fields.
39516         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39517         * soft-fp/single.h (_FP_UNION_S): Likewise.
39518         * soft-fp/double.h (_FP_UNION_D): Likewise.
39520 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39522         [BZ #13786]
39523         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39524         not include ../strcmp.S.
39525         [USE_AS_STRNCASECMP_L]: Likewise.
39526         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39527         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39528         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39529         (__strncasecmp_l_ia32): Define as alias to
39530         __strncasecmp_l_nonascii.
39532         [BZ #5794]
39533         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39534         * sysdeps/i386/fpu/libm-test-ulps: Update.
39535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39537         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39540 2012-02-29  Jeff Law  <law@redhat.com>
39542         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39543         out of bounds read.
39545 2012-02-29  Marek Polacek  <polacek@redhat.com>
39547         [BZ #13706]
39548         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39549         * elf/Makefile: Add rules to run tst-unused-dep.out.
39551 2012-02-28  David S. Miller  <davem@davemloft.net>
39553         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39554         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39555         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39556         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39557         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39558         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39560 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39562         * math/libm-test.inc (llround_test): Move one test from
39563         lround_test.  Use TEST_f_L in moved test.
39564         (lround_test): Move misplaced test to llround_test.  Add testcase
39565         from bug 2561.
39567 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39569         * sysdeps/x86_64/fpu/e_expf.S: New file.
39570         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39572 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39574         [BZ #13637]
39575         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39576         of remain_len that may cause incomplete multi-byte character and
39577         false match.
39578         * posix/bug-regex33.c: New file.
39579         * posix/Makefile (tests): Add bug-regex33.
39581 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39583         * manual/macros.texi: New file.
39584         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39585         * manual/libc.texinfo: Include macros.texi.
39586         * manual/creatute.texi: Likewise.
39587         * manual/install.texi: Likewise.
39588         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39589         @glibcadj{} in references to the GNU C Library.
39590         * manual/charset.texi: Likewise.
39591         * manual/conf.texi: Likewise.
39592         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39593         when not using those macros.
39594         * manual/creature.texi: Likewise.
39595         * manual/crypt.texi: Likewise.
39596         * manual/errno.texi: Likewise.
39597         * manual/filesys.texi: Likewise.
39598         * manual/header.texi: Likewise.
39599         * manual/install.texi: Likewise.
39600         * manual/intro.texi: Likewise.
39601         * manual/io.texi: Likewise.
39602         * manual/job.texi: Likewise.
39603         * manual/lang.texi: Likewise.
39604         * manual/libc.texiinfo: Likewise.
39605         * manual/llio.texi: Likewise.
39606         * manual/locale.texi: Likewise.
39607         * manual/maint.texi: Likewise.
39608         * manual/math.texi: Likewise.
39609         * manual/memory.texi: Likewise.
39610         * manual/message.texi: Likewise.
39611         * manual/nss.texi: Likewise.
39612         * manual/pattern.texi: Likewise.
39613         * manual/process.texi: Likewise.
39614         * manual/resource.texi: Likewise.
39615         * manual/search.texi: Likewise.
39616         * manual/setjmp.texi: Likewise.
39617         * manual/signal.texi: Likewise.
39618         * manual/socket.texi: Likewise.
39619         * manual/startup.texi: Likewise.
39620         * manual/stdio.texi: Likewise.
39621         * manual/string.texi: Likewise.
39622         * manual/sysinfo.texi: Likewise.
39623         * manual/syslog.texi: Likewise.
39624         * manual/terminal.texi: Likewise.
39625         * manual/time.texi: Likewise.
39626         * manual/users.texi: Likewise.
39627         * INSTALL: Regenerated.
39628         * NOTES: Regenerated.
39629         * sysdeps/gnu/errlist.c: Regenerated.
39631 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39633         * include/dirent.h: Include <dirstream.h> before
39634         <dirent/dirent.h>.
39636 2012-02-28  David S. Miller  <davem@davemloft.net>
39638         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39639         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39640         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39641         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39643 2012-02-27  David S. Miller  <davem@davemloft.net>
39645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39647         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39648         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39651         frame pointer instead of stack pointer relative arg slot.
39652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39653         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39654         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39656 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39658         [BZ #3992]
39659         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39661 2012-02-27  David S. Miller  <davem@davemloft.net>
39663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39667         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39668         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39669         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39670         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39672 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39674         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39675         later.  Allow versions 5-9.
39676         * configure: Regenerated.
39677         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39678         required minimum version and 4.6 as recommended version.  Do not
39679         mention bugs in GCC 2.7 and 2.8.
39680         * INSTALL: Regenerated.
39682 2012-02-27  David S. Miller  <davem@davemloft.net>
39684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39688         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39689         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39690         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39691         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39693         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39694         manipulate bits before adding and subtracting TWO112[sx].
39695         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39697 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39699         [BZ #13775]
39700         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39701         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39702         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39703         being in POSIX, because they are in 1003.1-2008.
39705         * rt/tst-aio.c: Include <fcntl.h>.
39706         * rt/tst-aio7.c: Likewise.
39707         * rt/tst-aio64.c: Likewise.
39709         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39711 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39713         * manual/install.texi (--with-headers): Describe headers as
39714         interface headers, not private headers.
39715         (Specific advice for GNU/Linux systems): Describe use of headers
39716         from "make headers_install", not private headers from older
39717         kernels.
39718         * INSTALL: Regenerated.
39719         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39720         Change to 2.6.19.
39721         * sysdeps/unix/sysv/linux/configure: Regenerated.
39723         * manual/llio.texi (fclean): Remove documentation.
39725         * manual/Makefile (libc-texi-generated): New variable.  Include
39726         version.texi.
39727         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39728         $(libc-texi-generated), not duplicated list of files.
39729         (version.texi, stamp-version): New rules.
39730         (realclean): Remove $(libc-texi-generated), not individual files
39731         from that list.  Do not remove dir-add.texinfo.
39732         * manual/libc.texinfo: Comment out uses of edition numbers and
39733         references to printed manual.  Remove last-updated dates.
39734         (EDITION): Comment out.
39735         (ISBN): Likewise.
39736         (VERSION, UPDATED): Remove.
39737         (version.texi): Include.
39739 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39741         * sysdeps/posix/spawni.c: Include <signal.h>.
39742         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39743         * sysdeps/pthread/aio_fsync.c: Likewise.
39745 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39747         * conform/Makefile (tests): Run only when not cross-compiling and
39748         when fast-check is not defined.
39750         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39751         * conform/data/limits.h-data: Fixes for POSIX2008.
39752         * conform/run-conformtest.sh: Run all tests.
39753         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39754         headers.
39755         * include/bits/dlfcn.h: Likewise.
39756         * include/langinfo.h: Likewise.
39757         * include/monetary.h: Likewise.
39758         * include/sys/poll.h: Likewise.
39760         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39761         for __USE_GNU.
39762         * posix/spawn.h: Define __need_sigset_t.
39763         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39764         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39765         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39766         to get sigevent_t only.
39767         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39768         only for __USE_GNU.
39769         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39770         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39771         process_vm_writev only for __USE_GNU.
39772         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39774         * conform/Makefile: For now ignore errors from run-conformtest.
39775         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39776         POSIX to avoid namespace pollution.  Don't prepend headers.
39777         * conform/data/aio.h-data: Fixes for POSIX testing.
39778         * conform/data/fcntl.h-data: Likewise.
39779         * conform/data/glob.h-data: Likewise.
39780         * conform/data/grp.h-data: Likewise.
39781         * conform/data/pthread.h-data: Likewise.
39782         * conform/data/pwd.h-data: Likewise.
39783         * conform/data/signal.h-data: Likewise.
39784         * conform/data/spawn.h-data: Likewise.
39785         * conform/data/stdio.h-data: Likewise.
39786         * conform/data/stdlib.h-data: Likewise.
39787         * conform/data/stropts.h-data: Likewise.
39788         * conform/data/sys/mman.h-data: Likewise.
39789         * conform/data/sys/stat.h-data: Likewise.
39790         * conform/data/sys/types.h-data: Likewise.
39791         * conform/data/sys/wait.h-data: Likewise.
39792         * conform/data/time.h-data: Likewise.
39793         * conform/data/unistd.h-data: Likewise.
39794         * conform/data/utime.h-data: Likewise.
39796         * io/sys/stat.h: fchmod was always in POSIX.
39797         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39798         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39799         * rt/aio.h: Define __need_timespec before including <time.h>.
39800         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39801         struct.  Add forward declaration of pthread_attr_t and use it in
39802         sigevent.
39803         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39804         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39805         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39806         always remove CLK_TCK definition.
39808 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39810         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39812 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39814         * conform/run-conformtest.sh: New file.
39815         * conform/Makefile: Run run-conformtest for tests.
39816         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39817         support.
39819         * conform/data/uchar.h-data: New file.
39820         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39821         * conform/data/arpa/inet.h-data: Likewise.
39822         * conform/data/assert.h-data: Likewise.
39823         * conform/data/complex.h-data: Likewise.
39824         * conform/data/cpio.h-data: Likewise.
39825         * conform/data/ctype.h-data: Likewise.
39826         * conform/data/dirent.h-data: Likewise.
39827         * conform/data/dlfcn.h-data: Likewise.
39828         * conform/data/errno.h-data: Likewise.
39829         * conform/data/fcntl.h-data: Likewise.
39830         * conform/data/float.h-data: Likewise.
39831         * conform/data/fmtmsg.h-data: Likewise.
39832         * conform/data/fnmatch.h-data: Likewise.
39833         * conform/data/ftw.h-data: Likewise.
39834         * conform/data/glob.h-data: Likewise.
39835         * conform/data/grp.h-data: Likewise.
39836         * conform/data/iconv.h-data: Likewise.
39837         * conform/data/inttypes.h-data: Likewise.
39838         * conform/data/langinfo.h-data: Likewise.
39839         * conform/data/libgen.h-data: Likewise.
39840         * conform/data/limits.h-data: Likewise.
39841         * conform/data/locale.h-data: Likewise.
39842         * conform/data/math.h-data: Likewise.
39843         * conform/data/monetary.h-data: Likewise.
39844         * conform/data/mqueue.h-data: Likewise.
39845         * conform/data/ndbm.h-data: Likewise.
39846         * conform/data/net/if.h-data: Likewise.
39847         * conform/data/netdb.h-data: Likewise.
39848         * conform/data/netinet/in.h-data: Likewise.
39849         * conform/data/nl_types.h-data: Likewise.
39850         * conform/data/poll.h-data: Likewise.
39851         * conform/data/pthread.h-data: Likewise.
39852         * conform/data/pwd.h-data: Likewise.
39853         * conform/data/regex.h-data: Likewise.
39854         * conform/data/sched.h-data: Likewise.
39855         * conform/data/search.h-data: Likewise.
39856         * conform/data/semaphore.h-data: Likewise.
39857         * conform/data/setjmp.h-data: Likewise.
39858         * conform/data/signal.h-data: Likewise.
39859         * conform/data/spawn.h-data: Likewise.
39860         * conform/data/stdarg.h-data: Likewise.
39861         * conform/data/stdio.h-data: Likewise.
39862         * conform/data/stdlib.h-data: Likewise.
39863         * conform/data/string.h-data: Likewise.
39864         * conform/data/strings.h-data: Likewise.
39865         * conform/data/stropts.h-data: Likewise.
39866         * conform/data/sys/ipc.h-data: Likewise.
39867         * conform/data/sys/mman.h-data: Likewise.
39868         * conform/data/sys/msg.h-data: Likewise.
39869         * conform/data/sys/resource.h-data: Likewise.
39870         * conform/data/sys/select.h-data: Likewise.
39871         * conform/data/sys/sem.h-data: Likewise.
39872         * conform/data/sys/shm.h-data: Likewise.
39873         * conform/data/sys/socket.h-data: Likewise.
39874         * conform/data/sys/stat.h-data: Likewise.
39875         * conform/data/sys/statvfs.h-data: Likewise.
39876         * conform/data/sys/time.h-data: Likewise.
39877         * conform/data/sys/timeb.h-data: Likewise.
39878         * conform/data/sys/times.h-data: Likewise.
39879         * conform/data/sys/types.h-data: Likewise.
39880         * conform/data/sys/uio.h-data: Likewise.
39881         * conform/data/sys/un.h-data: Likewise.
39882         * conform/data/sys/utsname.h-data: Likewise.
39883         * conform/data/sys/wait.h-data: Likewise.
39884         * conform/data/syslog.h-data: Likewise.
39885         * conform/data/tar.h-data: Likewise.
39886         * conform/data/termios.h-data: Likewise.
39887         * conform/data/utime.h-data: Likewise.
39888         * conform/data/utmpx.h-data: Likewise.
39889         * conform/data/varargs.h-data: Likewise.
39890         * conform/data/wchar.h-data: Likewise.
39891         * conform/data/wctype.h-data: Likewise.
39892         * conform/data/wordexp.h-data: Likewise.
39894         * include/stropts.h: New file.
39895         * include/uchar.h: New file.
39896         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39897         * include/assert.h: Likewise.
39898         * include/ctype.h: Likewise.
39899         * include/dirent.h: Likewise.
39900         * include/dlfcn.h: Likewise.
39901         * include/fcntl.h: Likewise.
39902         * include/fnmatch.h: Likewise.
39903         * include/glob.h: Likewise.
39904         * include/grp.h: Likewise.
39905         * include/libio.h: Likewise.
39906         * include/locale.h: Likewise.
39907         * include/math.h: Likewise.
39908         * include/net/if.h: Likewise.
39909         * include/netdb.h: Likewise.
39910         * include/netinet/in.h: Likewise.
39911         * include/pthread.h: Likewise.
39912         * include/pwd.h: Likewise.
39913         * include/regex.h: Likewise.
39914         * include/sched.h: Likewise.
39915         * include/search.h: Likewise.
39916         * include/setjmp.h: Likewise.
39917         * include/signal.h: Likewise.
39918         * include/stdio.h: Likewise.
39919         * include/stdlib.h: Likewise.
39920         * include/string.h: Likewise.
39921         * include/sys/cdefs.h: Likewise.
39922         * include/sys/mman.h: Likewise.
39923         * include/sys/msg.h: Likewise.
39924         * include/sys/resource.h: Likewise.
39925         * include/sys/select.h: Likewise.
39926         * include/sys/socket.h: Likewise.
39927         * include/sys/stat.h: Likewise.
39928         * include/sys/statvfs.h: Likewise.
39929         * include/sys/time.h: Likewise.
39930         * include/sys/times.h: Likewise.
39931         * include/sys/uio.h: Likewise.
39932         * include/sys/utsname.h: Likewise.
39933         * include/sys/wait.h: Likewise.
39934         * include/termios.h: Likewise.
39935         * include/time.h: Likewise.
39936         * include/ulimit.h: Likewise.
39937         * include/unistd.h: Likewise.
39938         * include/utime.h: Likewise.
39939         * include/wchar.h: Likewise.
39940         * include/wctype.h: Likewise.
39941         * include/wordexp.h: Likewise.
39943         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39945         * time/time.h: TIME_UTC must be a macro.
39946         Make timespec_get available for ISO C11 only as well.
39948 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39950         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39951         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39953 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39955         * configure.in: Use -o not -a in test for unsupported multi-arch.
39957 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39959         * manual/texinfo.tex: Update to version 2012-01-19.16.
39961 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39963         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39965 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39967         [BZ #13738]
39968         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39969         * manual/fdl-1.3.texi: New file.
39970         * manual/fdl-1.1.texi: File removed.
39972         [BZ #13738]
39973         * manual/libc.texinfo (FDL_VERSION): New @set.
39974         Use it for mention of FDL in cover text.
39975         (Documentation License): Use it in @include file name.
39977 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39978             Roland McGrath  <roland@hack.frob.com>
39980         [BZ #5461]
39981         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39982         (not LONG_LONG_MAX and LONG_LONG_MIN.
39983         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39984         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39985         name.
39986         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39988 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39990         [BZ #2547]
39991         [BZ #11365]
39992         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39993         manipulate bits before adding and subtracting TWO23[sx].
39994         * math/libm-test.inc (nearbyint_test): Add more tests.
39996 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39998         [BZ #2548]
39999         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40000         bits before adding and subtracting TWO23[sx].
40001         * math/libm-test.inc (rint_test): Add more tests.
40002         (rint_test_tonearest): Likewise.
40003         (rint_test_towardzero): Likewise.
40004         (rint_test_downward): Likewise.
40005         (rint_test_upward: Likewise.
40007 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40009         [BZ #10110]
40010         * include/stdc-predef.h: New file.  Extracted from features.h.
40011         * include/features.h: Include stdc-predef.h.
40012         * Makefile (headers): Add stdc-predef.h.
40013         * CONFORMANCE (Compiler limitations): Update.
40015 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40017         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40019 2012-02-21  David S. Miller  <davem@davemloft.net>
40021         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40022         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40024 2012-02-20  David S. Miller  <davem@davemloft.net>
40026         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40027         using a normal save/restore sequence, rather than allocating a
40028         dummy stack frame just to store a frame pointer and restore.
40029         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40031 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40033         * manual/install.texi: Fix stray word in line-wrapped comment.
40035 2012-02-20  David S. Miller  <davem@davemloft.net>
40037         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40038         both binutils and gcc support GOTDATA.
40040         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40041         "rd %pc" in the PIC register setup sequences.
40043         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40044         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40045         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40046         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40047         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40048         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40049         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40050         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40051         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40052         (SYSCALL_ERROR_HANDLER): Likewise.
40053         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40054         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40055         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40056         (SYSCALL_ERROR_HANDLER): Likewise.
40058         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40059         (HAVE_GCC_GOTDATA): New.
40060         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40061         relocation support in both binutils and gcc.
40062         * sysdeps/sparc/elf/configure: Regenerate.
40064         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40065         * sysdeps/sparc/sparc32/elf/configure: Delete.
40066         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40067         * sysdeps/sparc/sparc64/elf/configure: Delete.
40068         * sysdeps/sparc/elf/configure.in: New file.
40069         * sysdeps/sparc/elf/configure: Generate.
40071         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40072         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40073         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40074         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40075         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40077 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40079         * manual/install.texi: Do not mention specific glibc version
40080         numbers.
40081         * manual/libc.texinfo (VERSION, UPDATED): Update.
40082         (@copying): Use @copyright{} and range of years.
40084 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40086         [BZ #13695]
40087         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40088         [crti.S not in sysdirs] (generated): Do not append.
40089         [crti.S not in sysdirs] (omit-deps): Likewise.
40090         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40091         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40092         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40093         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40094         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40095         Likewise.
40096         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40097         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40098         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40099         * csu/defs.awk: Remove file.
40100         * sysdeps/generic/initfini.c: Likewise.
40101         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40102         variable.
40103         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40104         Likewise.
40106 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40108         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40109         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40110         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40111         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40112         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40113         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40114         <bits/epoll.h>.
40115         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40116         (__EPOLL_PACKED): Define to empty if not defined by
40117         <bits/epoll.h>.
40118         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40119         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40120         bits/epoll.h.
40122 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40124         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40125         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40126         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40127         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40128         <bits/timerfd.h>.
40129         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40130         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40131         bits/timerfd.h.
40133 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40135         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40136         in C locale.
40137         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40138         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40139         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40142 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40144         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40145         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40147 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40149         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40150         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40151         defined.
40152         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40153         Likewise.
40154         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40155         entry for 2.16.
40157 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40159         * math/w_acos.c: Use non-signaling floating-point comparisons.
40160         * math/w_acosf.c: Likewise.
40161         * math/w_acosh.c: Likewise.
40162         * math/w_acoshf.c: Likewise.
40163         * math/w_acoshl.c: Likewise.
40164         * math/w_acosl.c: Likewise.
40165         * math/w_asin.c: Likewise.
40166         * math/w_asinf.c: Likewise.
40167         * math/w_asinl.c: Likewise.
40168         * math/w_atanh.c: Likewise.
40169         * math/w_atanhf.c: Likewise.
40170         * math/w_atanhl.c: Likewise.
40171         * math/w_exp2.c: Likewise.
40172         * math/w_exp2f.c: Likewise.
40173         * math/w_exp2l.c: Likewise.
40174         * math/w_j0.c: Likewise.
40175         * math/w_j0f.c: Likewise.
40176         * math/w_j0l.c: Likewise.
40177         * math/w_j1.c: Likewise.
40178         * math/w_j1f.c: Likewise.
40179         * math/w_j1l.c: Likewise.
40180         * math/w_jn.c: Likewise.
40181         * math/w_jnf.c: Likewise.
40182         * math/w_log.c: Likewise.
40183         * math/w_log10.c: Likewise.
40184         * math/w_log10f.c: Likewise.
40185         * math/w_log10l.c: Likewise.
40186         * math/w_log2.c: Likewise.
40187         * math/w_log2f.c: Likewise.
40188         * math/w_log2l.c: Likewise.
40189         * math/w_logf.c: Likewise.
40190         * math/w_logl.c: Likewise.
40191         * math/w_sqrt.c: Likewise.
40192         * math/w_sqrtf.c: Likewise.
40193         * math/w_sqrtl.c: Likewise.
40194         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40195         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40196         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40197         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40198         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40200 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40202         [BZ #9739]
40203         * manual/string.texi (strnlen): Use correct parameter name in
40204         equivalent expression.
40206 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40208         [BZ #11174]
40209         * manual/users.texi (seteuid): Consistently use neweuid for
40210         argument name.
40212 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40214         [BZ #13704]
40215         * manual/nss.texi (Services in the NSS configuration): Correct
40216         list of services in example configuration file.
40218 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40220         [BZ #11322]
40221         * manual/arith.texi: Remove statements about negative zero
40222         behaving identically to zero.
40224 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40226         [BZ #5993]
40227         * manual/install.texi: Do not document upgrading from libc5.
40229 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40231         [BZ #4596]
40232         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40234 2012-02-18  David S. Miller  <davem@davemloft.net>
40236         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40237         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40238         %o7 across the call.
40239         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40240         instead.
40241         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40242         SETUP_PIC_REG_LEAF.
40243         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40244         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40245         * sysdeps/sparc/crtn.S: Likewise.
40247 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40249         * aout/Makefile: Remove.
40251 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40253         [BZ #13058]
40254         * manual/examples/argp-ex1.c (main): Format definition in GNU
40255         style.
40256         * manual/examples/argp-ex2.c (main): Likewise.
40257         * manual/examples/argp-ex3.c (main): Likewise.
40258         * manual/examples/argp-ex4.c (main): Likewise.
40259         * manual/examples/longopt.c (main): Use new-style prototype
40260         definition.
40261         * manual/examples/strncat.c (main): Specify return type and use
40262         (void) for arguments.
40263         * manual/examples/subopt.c (main): Use char **argv argument.
40265 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40267         [BZ #5077]
40268         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40269         rounding modes.
40271 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40273         [BZ #6907]
40274         * manual/string.texi (strchr): Change when strchrnul is
40275         recommended.
40277 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40279         [BZ #174]
40280         * manual/locale.texi (setlocale): Document LOCPATH.
40282 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40284         [BZ #10210]
40285         * manual/process.texi (execle): Move @dots{} before last argument.
40287 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40289         [BZ #12047]
40290         * manual/charset.texi (Generic Charset Conversion): Fix typo
40291         (LC_TYPE -> LC_CTYPE).
40293 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40295         [BZ #5805]
40296         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40297         (scalbnf): Likewise.
40298         (scalbnl): Likewise.
40299         (scalbln): Likewise.
40300         (scalblnf): Likewise.
40301         (scalblnl): Likewise.
40302         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40303         (vwarnx): Likewise.
40304         (verr): Likewise.
40305         (verrx): Likewise.
40306         * manual/filesys.texi (telldir): Use braces around return type.
40307         * manual/llio.texi (mmap): Add space after comma.
40308         (mmap64): Likewise.
40309         * manual/math.texi (jn): Use @var{} on parameter names.
40310         (jnf): Likewise.
40311         (jnl): Likewise.
40312         (yn): Likewise.
40313         (ynf): Likewise.
40314         (ynl): Likewise.
40315         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40316         line.
40317         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40318         "...".
40319         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40320         (sched_get_priority_max): Likewise.
40321         * manual/signal.texi (sigvec): Add space after comma.
40322         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40323         names.
40324         (if_indextoname): Likewise.
40325         (if_freenameindex): Likewise.
40326         (sendto): Use ',' instead of '.' in prototype.
40327         * manual/startup.texi (syscall): Use @dots{} instead of literal
40328         "...".
40329         * manual/stdio.texi (__fpending): Separate initial words of
40330         paragraph from @deftypefun line.
40331         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40332         "...".
40333         (vsyslog): Use @var{} on parameter names.
40334         * manual/terminal.texi (stty): Use @var{} on parameter names.
40335         * manual/users.texi (getutmp): Use @var{} on parameter names.
40336         (getutmpx): Likewise.
40338 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40340         [BZ #6884]
40341         * manual/stdio.texi (fopen): Fix typos in description of
40342         ",ccs=STRING".
40344 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40346         [BZ #4026]
40347         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40348         get clock_id definition.
40350 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40352         [BZ #4822]
40353         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40354         (madvise): Cast every argument to void on its own.
40356 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40358         [BZ #9902]
40359         * manual/startup.texi (Exit Status): Fix typo.
40361 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40363         [BZ #10140]
40364         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40365         * manual/examples/argp-ex2.c: Likewise.
40366         * manual/examples/argp-ex3.c: Likewise.
40368 2012-02-16  Richard Henderson  <rth@redhat.com>
40370         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40371         * sysdeps/s390/s390-32/initfini.c: Remove.
40372         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40373         * sysdeps/s390/s390-64/initfini.c: Remove.
40375 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40377         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40378         compiler output for sysdeps/generic/initfini.c.
40379         * sysdeps/sh/elf/initfini.c: Remove file.
40381 2012-02-16  David S. Miller  <davem@davemloft.net>
40383         [BZ #11494]
40384         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40386         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40387         * sysdeps/sparc/crti.S: New file.
40388         * sysdeps/sparc/crtn.S: New file.
40389         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40390         * sysdeps/sparc/sparc64/Makefile: Likewise.
40392 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40394         [BZ #3335]
40395         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40397 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40399         [BZ #4822]
40400         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40402         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40403         (write, read, close): Likewise.
40404         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40406 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40408         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40409         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40410         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40411         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40412         <bits/signalfd.h>.
40413         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40415         bits/signalfd.h.
40417 2012-02-14  Marek Polacek  <polacek@redhat.com>
40419         * sysdeps/x86_64/crti.S: New file.
40420         * sysdeps/x86_64/crtn.S: New file.
40421         * sysdeps/x86_64/elf/initfini.c: Remove file.
40423 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40425         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40426         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40427         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40428         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40429         <bits/inotify.h>.
40430         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40431         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40432         bits/inotify.h.
40434 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40436         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40437         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40438         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40439         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40440         <bits/eventfd.h>.
40441         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40442         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40443         bits/eventfd.h.
40445 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40447         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40448         __feraiseexcept instead of feraiseexcept.
40450         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40451         nanosleep invocations.
40452         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40453         strings, and add error checking for a nanosleep invocations.
40455 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40457         Replace FSF snail mail address with URLs, as per GNU coding standards.
40458         Most of the snail mail addresses were wrong anyway, and omitting
40459         them makes the source code easier to maintain.  Almost all of the
40460         changes are to license notices and to locale LC_IDENTIFICATION
40461         addresses, except for this one:
40462         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40463         not its snail mail address.
40465 2012-02-09  Richard Henderson  <rth@twiddle.net>
40467         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40468         of kernel-features.h.
40470         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40472 2012-02-08  Marek Polacek  <polacek@redhat.com>
40474         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40475         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40476         * sysdeps/gnu/_G_config.h: Likewise.
40477         * sysdeps/generic/_G_config.h: Likewise.
40479 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40481         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40482         tests.
40483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40485         * sysdeps/powerpc/powerpc32/crti.S: New file.
40486         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40487         * sysdeps/powerpc/powerpc64/crti.S: New file.
40488         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40490         * Makeconfig (have-initfini): Don't set.
40491         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40492         * configure.in (nopic_initfini): Don't substitute.
40493         * config.h.in (HAVE_INITFINI): Don't #undef.
40494         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40495         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40497 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40499         Support crti.S and crtn.S provided directly by architectures.
40500         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40501         [crti.S in sysdirs] (omit-deps): Likewise.
40502         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40503         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40504         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40505         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40506         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40507         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40508         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40509         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40510         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40511         compiler output for sysdeps/generic/initfini.c.
40512         * sysdeps/i386/elf/Makefile: Remove file.
40513         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40515 2012-02-07  Marek Polacek  <polacek@redhat.com>
40517         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40518         * sysdeps/gnu/_G_config.h: Likewise.
40519         * sysdeps/mach/hurd/_G_config.h: Likewise.
40521 2012-02-07  Marek Polacek  <polacek@redhat.com>
40523         * math/Makefile (tests): Add tst-CMPLX2.
40524         * math/tst-CMPLX2.c: New file.
40526 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40528         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40530         * math/libm-test.inc (jn_test): Add missing L suffix.
40532 2012-02-06  Marek Polacek  <polacek@redhat.com>
40534         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40535         * sysdeps/i386/fpu/e_powf.S: Likewise.
40536         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40537         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40538         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40539         * sysdeps/i386/fpu/e_pow.S: Likewise.
40540         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40541         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40542         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40543         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40544         * sysdeps/i386/fpu/e_log2.S: Likewise.
40545         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40546         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40547         * sysdeps/i386/fpu/e_powl.S: Likewise.
40548         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40549         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40550         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40551         * sysdeps/i386/fpu/e_logl.S: Likewise.
40552         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40553         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40554         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40555         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40556         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40557         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40558         * sysdeps/i386/fpu/e_log.S: Likewise.
40559         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40560         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40561         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40562         * sysdeps/i386/fpu/e_logf.S: Likewise.
40563         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40564         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40565         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40566         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40567         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40568         * sysdeps/i386/fpu/e_log10.S: Likewise.
40569         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40570         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40571         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40572         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40573         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40574         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40575         * sysdeps/i386/asm-syntax.h: Likewise.
40576         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40577         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40578         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40579         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40580         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40581         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40582         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40583         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40584         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40585         * sysdeps/powerpc/sysdep.h: Likewise.
40586         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40587         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40589 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40591         [BZ #411]
40592         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40594 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40596         * sysdeps/i386/sysdep.h: Include <features.h>.
40597         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40598         version.
40600 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40602         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40603         Define.
40604         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40605         LOAD_PIC_REG_STR.
40607 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40609         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40610         (SETUP_PIC_REG): Use GET_PC_THUNK.
40611         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40612         macro.
40614 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40616         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40617         for non-PIC compilation.
40618         (SETUP_PIC_REG): Add .p2align directive.
40619         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40620         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40621         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40622         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40623         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40624         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40625         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40626         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40627         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40628         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40629         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40630         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40631         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40632         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40633         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40634         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40635         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40636         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40637         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40638         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40639         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40640         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40641         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40642         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40643         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40644         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40645         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40646         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40647         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40648         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40649         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40650         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40651         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40652         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40653         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40654         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40655         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40656         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40657         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40658         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40659         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40661 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40663         * math/tst-CMPLX.c: Include <stdio.h>.
40665 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40667         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40668         float.
40669         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40670         * sysdeps/sparc/bits/mathdef.h: Likewise.
40672 2012-01-31  Marek Polacek  <polacek@redhat.com>
40674         * libio/libio.h: Don't define _PARAMS.
40675         * locale/programs/config.h: Don't define PARAMS.
40676         * stdlib/strtol_l.c: Likewise.
40677         (__strtol_l): Remove PARAMS from the prototype.
40679 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40681         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40682         names.  Just use the correct names.  Remove unnecessary wrapper
40683         functions.
40684         * malloc/arena.c: Likewise.
40685         * malloc/hooks.c: Likewise.
40687         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40688         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40689         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40691 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40693         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40694         into tail calls.
40695         (update_get_addr): New function.
40696         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40697         GET_ADDR_MODULE parameter.
40699 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40701         * crypt/cert.c: Remove __STDC__ conditionals.
40702         * crypt/crypt-entry.c: Likewise.
40703         * crypt/crypt_util.c: Likewise.
40704         * libio/filedoalloc.c: Likewise.
40705         * libio/fileops.c: Likewise.
40706         * libio/genops.c: Likewise.
40707         * libio/iofclose.c: Likewise.
40708         * libio/iofdopen.c: Likewise.
40709         * libio/iofopen.c: Likewise.
40710         * libio/iofopen64.c: Likewise.
40711         * libio/iogetdelim.c: Likewise.
40712         * libio/iopopen.c: Likewise.
40713         * libio/obprintf.c: Likewise.
40714         * libio/oldfileops.c: Likewise.
40715         * libio/oldiofclose.c: Likewise.
40716         * libio/oldiofdopen.c: Likewise.
40717         * libio/oldiofopen.c: Likewise.
40718         * libio/oldiopopen.c: Likewise.
40719         * libio/wfiledoalloc.c: Likewise.
40720         * libio/wgenops.c: Likewise.
40721         * locale/programs/xmalloc.c: Likewise.
40722         * misc/syslog.c: Likewise.
40723         * stdio-common/xbug.c: Likewise.
40724         * string/memchr.c: Likewise.
40725         * string/memcmp.c: Likewise.
40726         * string/memrchr.c: Likewise.
40727         * string/rawmemchr.c: Likewise.
40728         * sysdeps/posix/getcwd.c: Likewise.
40729         * time/strftime_l.c: Likewise.
40731 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40733         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40734         * config.make.in (config-cflags-sse2avx): Define.
40735         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40736         Fix typo.
40738 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40740         * scripts/config.guess: Update from upstream config git repository.
40741         * scripts/config.sub: Likewise.
40743 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40745         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40746         (EM_NUM): Update.
40747         (R_TILEPRO_*, R_TILEGX_*): New macros.
40749         * scripts/firstversions.awk: Fix bug in version range handling.
40751         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40753         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40755         * include/sys/epoll.h: New file.
40756         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40757         libc_hidden_def.
40759 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40761         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40762         Avoid unnecessary __WORDSIZE == 64 test.
40763         (fmaxf): Use VEX format if possible.
40764         (fmax): Likewise.
40765         (fminf): Likewise.
40766         (fmin): Likewise.
40768         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40769         * math/math_private.h: Remove libc_fegetround* and
40770         libc_fesetround*.
40771         * sysdeps/i386/configure.in: Check for -msse2avx.
40772         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40773         also if SSE2AVX is defined.
40774         Remove libc_fegetround* and libc_fesetround*.
40775         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40776         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40777         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40778         of HAS_YMM_USABLE.
40779         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40780         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40781         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40782         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40783         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40785         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40787 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40789         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40790         size is not set.
40791         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40793 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40795         [BZ #13618]
40796         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40797         relocation.
40798         * Makeconfig (libm): Define.
40799         * elf/Makefile: Add rules to build and run tst-relsort1.
40800         * elf/tst-relsort1.c: New file.
40801         * elf/tst-relsort1mod1.c: New file.
40802         * elf/tst-relsort1mod2.c: New file.
40804 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40806         * math/s_ldexp.c: Remove __STDC__ conditionals.
40807         * math/s_ldexpf.c: Likewise.
40808         * math/s_ldexpl.c: Likewise.
40809         * math/s_nextafter.c: Likewise.
40810         * math/s_nexttowardf.c: Likewise.
40811         * math/s_significand.c: Likewise.
40812         * math/s_significandf.c: Likewise.
40813         * math/s_significandl.c: Likewise.
40814         * math/w_jnl.c: Likewise.
40815         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40816         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40817         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40818         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40819         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40820         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40821         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40822         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40823         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40824         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40825         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40826         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40827         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40828         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40829         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40830         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40831         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40832         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40833         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40834         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40835         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40836         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40837         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40838         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40839         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40840         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40841         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40842         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40843         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40844         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40845         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40846         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40847         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40848         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40849         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40850         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40851         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40852         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40853         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40854         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40855         * sysdeps/ieee754/k_standard.c: Likewise.
40856         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40857         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40858         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40859         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40860         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40861         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40862         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40863         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40864         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40865         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40866         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40867         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40868         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40869         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40870         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40871         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40872         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40873         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40874         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40875         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40876         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40877         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40878         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40879         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40880         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40881         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40882         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40883         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40884         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40885         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40886         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40887         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40888         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40889         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40890         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40891         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40892         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40893         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40894         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40895         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40896         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40897         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40898         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40899         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40900         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40901         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40902         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40903         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40904         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40905         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40906         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40907         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40908         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40909         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40910         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40911         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40912         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40913         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40914         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40915         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40916         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40917         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40918         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40919         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40920         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40921         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40922         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40923         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40924         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40925         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40926         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40927         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40928         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40929         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40930         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40931         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40932         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40933         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40934         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40935         * sysdeps/ieee754/s_matherr.c: Likewise.
40936         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40937         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40938         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40939         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40941 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40943         * crypt/md5.h: Remove __STDC__ conditionals.
40944         * libio/libioP.h: Likewise.
40945         * locale/programs/config.h: Likewise.
40946         * sysdeps/generic/sysdep.h: Likewise.
40947         * sysdeps/i386/asm-syntax.h: Likewise.
40948         * sysdeps/s390/asm-syntax.h: Likewise.
40949         * sysdeps/unix/sysdep.h: Likewise.
40950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40953 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40955         * libio/libio.h: Remove __STDC__ conditionals.
40956         * malloc/obstack.h: Likewise.
40957         * math/complex.h: Likewise.
40958         * math/math.h: Likewise.
40959         * sysdeps/generic/_G_config.h: Likewise.
40960         * sysdeps/gnu/_G_config.h: Likewise.
40961         * sysdeps/mach/hurd/_G_config.h: Likewise.
40962         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40963         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40964         * sysdeps/sparc/bits/mathdef.h: Likewise.
40966 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40968         [BZ #13583]
40969         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40970         Clean up HAS_* macros.
40971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40972         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40973         possible.
40974         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40975         HAS_AVX.
40976         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40977         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40978         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40979         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40980         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40982 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40984         * elf/tst-unique3.cc (gets): Remove declaration.
40985         * elf/tst-unique3lib.cc (gets): Likewise.
40986         * elf/tst-unique3lib2.cc (gets): Likewise.
40987         * elf/tst-unique4.cc (gets): Likewise.
40989 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40991         * include/stdio.h: Add C++ protection.  Add gets declarations and
40992         definitions.
40993         * debug/tst-chk1.c: Don't declare gets here.
40994         * stdio-common/tst-gets.c: Likewise.
40996 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40998         * posix/glob: Remove directory.
41000 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41002         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41004 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41006         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41007         of the non-standard EPFNOSUPPORT.
41009 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41011         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41012         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41013         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41015 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41017         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41019 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41021         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41022         transient errors.
41023         * nscd/grpcache.c (cache_addgr): Likewise.
41024         * nscd/hstcache.c (cache_addhst): Likewise.
41025         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41026         * nscd/pwdcache.c (cache_addpw): Likewise.
41027         * nscd/servicescache.c (cache_addserv): Likewise.
41029 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41031         * malloc/malloc.c: Various cleanups.
41032         * malloc/hooks.c: Likewise.
41034         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41035         * stdlib/bug-fmtmsg1.c: New file.
41037         * stdlib/fmtmsg.c (init): Add missing unlock.
41038         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41040 2012-01-12  Marek Polacek  <polacek@redhat.com>
41042         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41043         and _GNU_SOURCE.
41045 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41047         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41048         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41049         macro to ensure uniqueness of label name.
41050         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41051         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41053 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41055         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41057         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41058         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41059         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41060         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41062 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41064         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41066         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41067         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41068         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41070         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41072         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41073         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41074         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41075         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41077         * math/bits/math-finite.h: Add ldexp support.
41079 2012-01-10  Marek Polacek  <polacek@redhat.com>
41081         * locale/programs/localedef.h (show_archive_content): Add noreturn
41082         attribute.
41084 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41086         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41088 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41090         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41092         * io/Makefile (headers): Add bits/poll2.h.
41094 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41097         typo #include statement.
41099 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41101         * include/sys/cdefs.h: Define __attribute_alloc_size.
41102         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41103         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41104         * elf/pldd.c: Likewise.
41105         * iconv/iconv_charmap.c: Likewise.
41106         * iconv/iconvconfig.c: Likewise.
41107         * iconv/strtab.c: Likewise.
41108         * locale/programs/locale.c: Likewise.
41109         * locale/programs/localedef.h: Likewise.
41110         * locale/programs/simple-hash.c: Likewise.
41111         * nscd/nscd.h: Likewise.
41112         * nss/makedb.c: Likewise.
41113         * sysdeps/generic/ldconfig.h: Likewise.
41114         * locale/programs/localedef.c: Remove xmalloc prototype.
41115         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41117 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41119         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41120         appropriate.
41122 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41124         * math/Makefile (tests): Add tst-CMPLX.
41125         * math/tst-CMPLX.c: New file.
41127         * math/complex.h (CMPLXL): Fix typo.
41129         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41130         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41131         GLIBC_2.16.
41132         * debug/tst-chk1.c: Add poll and ppoll tests.
41133         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41134         * include/sys/poll.h: Add hidden proto for ppoll.
41135         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41136         * sysdeps/mach/hurd/ppoll.c: Likewise.
41137         * io/ppoll.c: Likewise.
41138         * debug/poll_chk.c: New file.
41139         * debug/ppoll_chk.c: New file.
41140         * include/bits/poll2.h: New file.
41141         * io/bits/poll2.h: New file.
41143         [BZ #1350]
41144         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41146         * configure.in: static is always set to yes.  Remove.
41147         * config.make.in: Don't set build-static.
41148         * Makeconfig: Remove use of build-static.
41149         * dlfcn/Makefile: Likewise.
41150         * elf/Makefile: Likewise.
41151         * math/Makefile: Likewise.
41152         * misc/Makefile: Likewise.
41153         * nptl/Makefile: Likewise.
41154         * sysdeps/mach/hurd/Makefile: Likewise.
41156         * configure.in: PWD_P is not used anymore.
41157         * config.make.in: Remove PWD_P entry.
41159         * configure.in: Remove last remnants of RANLIB.
41160         No need to check for signed size_t anymore.
41161         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41162         and IA-64.
41163         Remove __builtin_expect test because we require at least gcc 3.4.
41164         * aclocal.m4: Likewise.
41166         * wcsmbs/mbrtoc16.c: Implement using towc function.
41167         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41168         * wcsmbs/wcsmbsload.c: Likewise.
41169         * iconv/gconv_simple.c: Likewise.
41170         * iconv/gconv_int.h: Likewise.
41171         * iconv/gconv_builtin.h: Likewise.
41172         * iconv/iconv_prog.c: Remove CHAR16 handling.
41174         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41176         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41178         * configure.in: Remove --with-elf and --enable-bounded options.
41179         Dont set base_machine for ia64.  More non-ELF conditions removed.
41180         Remove testing and setting of leading underscore information.
41181         * config.make.in (build-bounded): Set to no.
41182         * config.h.in: Remove NO_UNDERSCORES entry.
41183         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41184         them.
41185         * csu/start.c: Remove !NO_UNDERSCORE code.
41186         * locale/localeinfo.h: Likewise.
41187         * sysdeps/generic/machine-gmon.h: Likewise.
41188         * sysdeps/generic/sysdep.h: Likewise.
41189         * sysdeps/i386/sysdep.h: Likewise.
41190         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41191         * sysdeps/mach/sysdep.h: Likewise.
41192         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41193         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41194         * sysdeps/sh/sysdep.h: Likewise.
41195         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41196         * sysdeps/unix/i386/sysdep.S: Likewise.
41197         * sysdeps/unix/sparc/start.c: Likewise.
41198         * sysdeps/unix/sparc/sysdep.S: Likewise.
41199         * sysdeps/unix/sparc/sysdep.h: Likewise.
41200         * sysdeps/unix/start.c: Likewise.
41201         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41202         * sysdeps/x86_64/sysdep.h: Likewise.
41204 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41206         [BZ #13553]
41207         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41208         for non-gcc.
41209         * argp/argp-fmtstream.h: Use const instead __const.
41210         * argp/argp.h: Likewise.
41211         * assert/assert.h: Likewise.
41212         * bits/fenv.h: Likewise.
41213         * bits/sched.h: Likewise.
41214         * bits/sigset.h: Likewise.
41215         * bits/sigthread.h: Likewise.
41216         * catgets/nl_types.h: Likewise.
41217         * conform/data/pthread.h-data: Likewise.
41218         * crypt/crypt-private.h: Likewise.
41219         * crypt/crypt.h: Likewise.
41220         * crypt/crypt_util.c: Likewise.
41221         * ctype/ctype.h: Likewise.
41222         * debug/execinfo.h: Likewise.
41223         * debug/mbsnrtowcs_chk.c: Likewise.
41224         * debug/mbsrtowcs_chk.c: Likewise.
41225         * debug/wcsnrtombs_chk.c: Likewise.
41226         * debug/wcsrtombs_chk.c: Likewise.
41227         * debug/wcstombs_chk.c: Likewise.
41228         * dirent/dirent.h: Likewise.
41229         * dlfcn/dlfcn.h: Likewise.
41230         * elf/neededtest4.c: Likewise.
41231         * grp/grp.h: Likewise.
41232         * gshadow/gshadow.h: Likewise.
41233         * iconv/gconv.h: Likewise.
41234         * iconv/gconv_int.h: Likewise.
41235         * iconv/gconv_simple.c: Likewise.
41236         * iconv/iconv.h: Likewise.
41237         * iconv/loop.c: Likewise.
41238         * iconv/skeleton.c: Likewise.
41239         * include/aio.h: Likewise.
41240         * include/aliases.h: Likewise.
41241         * include/argz.h: Likewise.
41242         * include/arpa/inet.h: Likewise.
41243         * include/assert.h: Likewise.
41244         * include/dirent.h: Likewise.
41245         * include/dlfcn.h: Likewise.
41246         * include/execinfo.h: Likewise.
41247         * include/fcntl.h: Likewise.
41248         * include/fenv.h: Likewise.
41249         * include/glob.h: Likewise.
41250         * include/grp.h: Likewise.
41251         * include/libintl.h: Likewise.
41252         * include/mntent.h: Likewise.
41253         * include/netdb.h: Likewise.
41254         * include/pwd.h: Likewise.
41255         * include/rpc/netdb.h: Likewise.
41256         * include/sched.h: Likewise.
41257         * include/search.h: Likewise.
41258         * include/shadow.h: Likewise.
41259         * include/signal.h: Likewise.
41260         * include/stdio.h: Likewise.
41261         * include/stdlib.h: Likewise.
41262         * include/string.h: Likewise.
41263         * include/sys/socket.h: Likewise.
41264         * include/sys/stat.h: Likewise.
41265         * include/sys/statfs.h: Likewise.
41266         * include/sys/statvfs.h: Likewise.
41267         * include/sys/syslog.h: Likewise.
41268         * include/sys/time.h: Likewise.
41269         * include/sys/uio.h: Likewise.
41270         * include/time.h: Likewise.
41271         * include/unistd.h: Likewise.
41272         * include/utmp.h: Likewise.
41273         * include/wchar.h: Likewise.
41274         * include/wctype.h: Likewise.
41275         * inet/aliases.h: Likewise.
41276         * inet/arpa/inet.h: Likewise.
41277         * inet/netinet/ether.h: Likewise.
41278         * inet/netinet/in.h: Likewise.
41279         * intl/libintl.h: Likewise.
41280         * io/bits/fcntl2.h: Likewise.
41281         * io/fcntl.h: Likewise.
41282         * io/ftw.h: Likewise.
41283         * io/sys/poll.h: Likewise.
41284         * io/sys/stat.h: Likewise.
41285         * io/sys/statfs.h: Likewise.
41286         * io/sys/statvfs.h: Likewise.
41287         * io/utime.h: Likewise.
41288         * libio/bits/stdio.h: Likewise.
41289         * libio/bits/stdio2.h: Likewise.
41290         * libio/libio.h: Likewise.
41291         * libio/libioP.h: Likewise.
41292         * libio/stdio.h: Likewise.
41293         * locale/lc-ctype.c: Likewise.
41294         * locale/locale.h: Likewise.
41295         * login/utmp.h: Likewise.
41296         * malloc/arena.c: Likewise.
41297         * malloc/malloc.c: Likewise.
41298         * malloc/malloc.h: Likewise.
41299         * malloc/mcheck.c: Likewise.
41300         * malloc/mtrace.c: Likewise.
41301         * math/bits/mathcalls.h: Likewise.
41302         * math/fenv.h: Likewise.
41303         * math/math_private.h: Likewise.
41304         * misc/bits/error.h: Likewise.
41305         * misc/bits/syslog.h: Likewise.
41306         * misc/err.h: Likewise.
41307         * misc/error.h: Likewise.
41308         * misc/fstab.h: Likewise.
41309         * misc/mntent.h: Likewise.
41310         * misc/regexp.h: Likewise.
41311         * misc/search.h: Likewise.
41312         * misc/sgtty.h: Likewise.
41313         * misc/sys/mman.h: Likewise.
41314         * misc/sys/syslog.h: Likewise.
41315         * misc/sys/uio.h: Likewise.
41316         * misc/sys/xattr.h: Likewise.
41317         * misc/ttyent.h: Likewise.
41318         * nis/rpcsvc/ypclnt.h: Likewise.
41319         * nss/nss.h: Likewise.
41320         * posix/bits/unistd.h: Likewise.
41321         * posix/fnmatch.h: Likewise.
41322         * posix/glob.h: Likewise.
41323         * posix/sched.h: Likewise.
41324         * posix/spawn.h: Likewise.
41325         * posix/sys/wait.h: Likewise.
41326         * posix/unistd.h: Likewise.
41327         * posix/wordexp.h: Likewise.
41328         * pwd/pwd.h: Likewise.
41329         * resolv/netdb.h: Likewise.
41330         * resource/sys/resource.h: Likewise.
41331         * rt/aio.h: Likewise.
41332         * rt/bits/mqueue2.h: Likewise.
41333         * rt/mqueue.h: Likewise.
41334         * shadow/shadow.h: Likewise.
41335         * signal/signal.h: Likewise.
41336         * socket/send.c: Likewise.
41337         * socket/sendto.c: Likewise.
41338         * socket/sys/socket.h: Likewise.
41339         * stdio-common/printf.h: Likewise.
41340         * stdlib/bits/stdlib.h: Likewise.
41341         * stdlib/fmtmsg.h: Likewise.
41342         * stdlib/monetary.h: Likewise.
41343         * stdlib/stdlib.h: Likewise.
41344         * stdlib/ucontext.h: Likewise.
41345         * streams/stropts.h: Likewise.
41346         * string/argz.h: Likewise.
41347         * string/bits/string2.h: Likewise.
41348         * string/string.h: Likewise.
41349         * string/strings.h: Likewise.
41350         * sunrpc/rpc/auth.h: Likewise.
41351         * sunrpc/rpc/auth_des.h: Likewise.
41352         * sunrpc/rpc/clnt.h: Likewise.
41353         * sunrpc/rpc/netdb.h: Likewise.
41354         * sunrpc/rpc/pmap_clnt.h: Likewise.
41355         * sunrpc/rpc/xdr.h: Likewise.
41356         * sysdeps/generic/inttypes.h: Likewise.
41357         * sysdeps/generic/net/if.h: Likewise.
41358         * sysdeps/generic/sys/swap.h: Likewise.
41359         * sysdeps/gnu/net/if.h: Likewise.
41360         * sysdeps/gnu/utmpx.h: Likewise.
41361         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41362         * sysdeps/i386/i486/bits/string.h: Likewise.
41363         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41364         * sysdeps/s390/bits/string.h: Likewise.
41365         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41366         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41367         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41368         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41369         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41370         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41371         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41372         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41373         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41374         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41375         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41376         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41377         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41378         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41379         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41380         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41381         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41382         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41383         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41384         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41385         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41386         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41387         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41388         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41389         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41390         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41391         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41392         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41393         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41394         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41395         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41396         * sysvipc/sys/ipc.h: Likewise.
41397         * sysvipc/sys/msg.h: Likewise.
41398         * sysvipc/sys/sem.h: Likewise.
41399         * sysvipc/sys/shm.h: Likewise.
41400         * termios/termios.h: Likewise.
41401         * time/sys/time.h: Likewise.
41402         * time/time.h: Likewise.
41403         * wcsmbs/bits/wchar2.h: Likewise.
41404         * wcsmbs/uchar.h: Likewise.
41405         * wcsmbs/wchar.h: Likewise.
41406         * wctype/wctype.h: Likewise.
41408         [BZ #13551]
41409         * Makeconfig: Remove all but ELF support including AIX support.
41410         * Makerules: Likewise.
41411         * config.h.in: Likewise.
41412         * config.make.in: Likewise.
41413         * configure: Likewise.
41414         * configure.in: Likewise.
41415         * csu/Makefile: Likewise.
41416         * csu/version.c: Likewise.
41417         * debug/Makefile: Likewise.
41418         * dlfcn/Makefile: Likewise.
41419         * elf/Makefile: Likewise.
41420         * extra-lib.mk: Likewise.
41421         * iconv/Makefile: Likewise.
41422         * include/libc-symbols.h: Likewise.
41423         * include/shlib-compat.h: Likewise.
41424         * resolv/Makefile: Likewise.
41425         * resolv/res_libc.c: Likewise.
41426         * rt/Makefile: Likewise.
41427         * sysdeps/i386/asm-syntax.h: Likewise.
41428         * sysdeps/i386/sysdep.h: Likewise.
41429         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41430         * sysdeps/mach/sysdep.h: Likewise.
41431         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41432         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41433         * sysdeps/s390/asm-syntax.h: Likewise.
41434         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41435         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41436         * sysdeps/sh/sysdep.h: Likewise.
41437         * sysdeps/unix/sparc/sysdep.h: Likewise.
41438         * sysdeps/wordsize-32/divdi3.c: Likewise.
41439         * sysdeps/x86_64/sysdep.h: Likewise.
41441         * argp/Versions: Remove _argp_unlock_xxx.
41443         [BZ #13559]
41444         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41445         * abilist/libBrokenLocale.abilist: Likewise.
41446         * abilist/libanl.abilist: Likewise.
41447         * abilist/libc.abilist: Likewise.
41448         * abilist/libcrypt.abilist: Likewise.
41449         * abilist/libdl.abilist: Likewise.
41450         * abilist/libm.abilist: Likewise.
41451         * abilist/libnsl.abilist: Likewise.
41452         * abilist/libpthread.abilist: Likewise.
41453         * abilist/libresolv.abilist: Likewise.
41454         * abilist/librt.abilist: Likewise.
41455         * abilist/libthread_db.abilist: Likewise.
41456         * abilist/libutil.abilist: Likewise.
41457         * abilist/libnss_db.abilist: New file.
41459         * scripts/abilist.awk: Add support for indirect functions.
41461         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41463         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41465         * shlib-versions: Remove entries for ports architectures.
41467         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41468         files in ports.
41469         * elf/stackguard-macros.h: Remove support for IA-64.
41470         * elf/tst-auditmod1.c: Likewise.
41471         * sysdeps/generic/ldsodefs.h: Likewise.
41473         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41474         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41475         configure files.
41477         [BZ #13552]
41478         * configure.in: Remove --enable-omitfp support.
41479         * FAQ.in: Adjust.
41480         * config.make.in: Likewise.
41481         * Makeconfig: Likewise.
41482         * manual/install.texi: Likewise.
41484         In case anyone cares, the IA-64 architecture could move to ports.
41485         * sysdeps/ia64/*: Removed.
41486         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41487         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41489         [BZ #13555]
41490         * configure.in: Remove entries for unsupported architectures.
41492         [BZ #13533]
41493         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41494         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41495         routines.
41496         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41497         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41498         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41499         fall back to using wcrtomb.
41500         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41501         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41502         renaming.
41503         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41504         * wcsmbs/tst-c16c32-1.c: New file.
41506         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41507         local variable.
41509         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41511         * elf/tst-unique3.cc: Add explicit declaration of gets.
41512         * elf/tst-unique3lib.cc: Likewise.
41513         * elf/tst-unique3lib2.cc: Likewise.
41514         * elf/tst-unique4.cc: Likewise.
41516         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41518 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41520         [BZ #13566]
41521         * assert/assert.h (static_assert): Don't define for C++.
41522         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41523         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41525 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41527         * iconv/loop.c (single loop): Fix assertion in storing of
41528         remaining bytes.
41530         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41532 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41534         * posix/getconf.c: Update copyright year.
41535         * nss/getent.c: Likewise.
41536         * nss/makedb.c: Likewise.
41537         * iconv/iconvconfig.c: Likewise.
41538         * iconv/iconv_prog.c: Likewise.
41539         * elf/ldconfig.c: Likewise.
41540         * elf/pldd.c: Likewise.
41541         * elf/sotruss.ksh: Likewise.
41542         * catgets/gencat.c: Likewise.
41543         * csu/version.c: Likewise.
41544         * elf/ldd.bash.in: Likewise.
41545         * elf/sprof.c (print_version): Likewise.
41546         * locale/programs/locale.c: Likewise.
41547         * locale/programs/localedef.c: Likewise.
41548         * login/programs/pt_chown.c: Likewise.
41549         * nscd/nscd.c (print_version): Likewise.
41550         * debug/xtrace.sh: Likewise.
41551         * malloc/memusage.sh: Likewise.
41552         * malloc/mtrace.pl: Likewise.
41553         * debug/catchsegv.sh: Likewise.
41555 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41557         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41558         pure attribute.
41560 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41562         [BZ #13533]
41563         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41564         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41565         transformations.
41566         * iconv/gconv_int.h: Likewise.
41567         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41568         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41569         from libc for GLIBC_2.16.
41570         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41571         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41572         * wcsmbs/uchar.h: Really define mbstate_t.
41573         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41574         * wcsmbs/c16rtomb.c: New file.
41575         * wcsmbs/mbrtoc16.c: New file.
41576         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41577         for C/POSIX locale.
41578         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41579         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41581         * wcsmbs/wchar.h: Add missing __restrict.
41583 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41585         [BZ #13532]
41586         * time/Makefile (routines): Add timespec_get.
41587         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41588         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41589         timespec for ISO C11.
41590         * time/timespec_get.c: New file.
41591         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41592         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41594         [BZ #13531]
41595         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41596         * stdlib/stdlib.h: Declare aligned_alloc.
41597         * Versions.def: Add GLIBC_2.16 for libc.
41598         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41600         [BZ 13527]
41601         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41602         ISO C11.
41604         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41605         code.
41607         [BZ #13528]
41608         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41610         [BZ #13529]
41611         * assert/assert.h (static_assert): Define.
41613         * version.h: Update for 2.16 development version.
41615         [BZ #13526]
41616         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41617         _ISOC11_SOURCE.
41619         * version.h (RELEASE): Bump for 2.15 release.
41620         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41622         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41623         Patch by Marek Polacek <mpolacek@redhat.com>.
41625         * bits/byteswap.h: Protect long long constants with __extension__.
41626         * sysdeps/i386/bits/byteswap.h: Likewise.
41627         * sysdeps/ia64/bits/byteswap.h: Likewise.
41628         * sysdeps/s390/bits/byteswap.h: Likewise.
41629         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41631 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41633         [BZ #13540]
41634         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41635         destination buffer.
41636         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41638 2011-12-23  Marek Polacek  <polacek@redhat.com>
41640         * elf/dl-addr.c (determine_info): Add inline keyword.
41641         * elf/tst-auditmod4b.c (check_avx): Likewise.
41642         * elf/tst-auditmod6b.c (check_avx): Likewise.
41643         * elf/tst-auditmod6c.c (check_avx): Likewise.
41644         * elf/tst-auditmod7b.c (check_avx): Likewise.
41646 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41648         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41649         !__SSE_MATH__.
41651 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41653         [BZ #13540]
41654         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41655         processing for last bytes.
41657 2011-08-06  Bruno Haible  <bruno@clisp.org>
41659         [BZ #13061]
41660         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41661         U+0385, not to U+1FEE.
41663         [BZ #13062]
41664         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41665         entry for U+00A5 U+0301.
41667 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41669         [BZ #13166]
41670         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41671         buffer for the output is too small.
41673         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41674         optimization.
41676         [BZ #13185]
41677         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41678         SSE flags if possible.
41680 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41682         [BZ #13540]
41683         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41684         processing for last bytes.
41686 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41688         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41689         (syscall-list-default-options, syscall-list-default-condition)
41690         (syscall-list-includes): Define.
41691         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41692         list of ABIs and options and #if conditions for each ABI.  Do not
41693         handle common syscalls between ABIs specially.
41694         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41695         Remove.
41696         (syscall-list-variants, syscall-list-32bit-options)
41697         (syscall-list-32bit-condition, syscall-list-64bit-options)
41698         (syscall-list-64bit-condition): Define.
41699         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41700         (syscall-list-variants, syscall-list-32bit-options)
41701         (syscall-list-32bit-condition, syscall-list-64bit-options)
41702         (syscall-list-64bit-condition): Define.
41703         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41704         Remove.
41705         (syscall-list-variants, syscall-list-32bit-options)
41706         (syscall-list-32bit-condition, syscall-list-64bit-options)
41707         (syscall-list-64bit-condition): Define.
41708         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41709         Remove.
41710         (syscall-list-variants, syscall-list-32bit-options)
41711         (syscall-list-32bit-condition, syscall-list-64bit-options)
41712         (syscall-list-64bit-condition): Define.
41714 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41716         * locale/iso-639.def: Add brx entry.
41718         [BZ #13328]
41719         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41720         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41722         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41723         __feraiseexcept_renamed.
41725 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41727         [BZ #13538]
41728         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41729         EPOLLET with unsigned values.
41730         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41731         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41733         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41734         to large cancellation.
41735         * math/s_cacoshf.c: Likewise.
41736         * math/s_cacoshl.c: Likewise.
41738 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41740         [BZ #13305]
41741         [BZ #12786]
41742         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41743         * math/s_cacoshf.c: Likewise.
41744         * math/s_cacoshl.c: Likewise.
41746 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41748         [BZ #13439]
41749         * iconv/gconv.h: Define __GCONV_SWAP.
41750         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41751         * iconvdata/utf-16.c: Likewise.
41752         * iconvdata/utf-32.c: Likewise.
41754 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41756         [BZ #13524]
41757         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41758         numerator after shifting it by one limb.
41760 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41762         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41763         under [__USE_EXTERN_INLINES].
41765 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41767         [BZ #13446]
41768         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41770 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41772         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41773         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41774         optimized code.
41775         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41776         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41777         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41778         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41779         for strncasecmp/strncasecmp_l compilation.
41780         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41781         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41783 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41785         [BZ #13484]
41786         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41787         of __asm__.
41789 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41791         [BZ #13506]
41792         * time/tzfile.c (__tzfile_read): Check values from file header.
41794 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41796         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41797         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41798         * powerpc/powerpc32/dl-start.S: Likewise.
41799         * powerpc/powerpc32/elf/start.S: Likewise.
41800         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41801         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41802         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41803         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41804         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41805         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41806         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41807         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41808         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41809         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41810         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41811         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41812         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41813         * powerpc/powerpc32/memset.S: Likewise.
41814         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41815         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41816         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41817         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41818         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41819         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41820         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41821         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41822         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41823         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41824         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41825         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41826         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41828 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41830         * math/libm-test.inc: Added more nearbyint tests.
41831         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41832         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41833         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41834         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41836 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41838         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41839         FD_CLOEXEC.
41841 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41843         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41844         Add wcscpy-ssse3 wcscpy-c.
41845         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41846         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41847         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41848         * sysdeps/x86_64/wcschr.S: New file.
41849         * sysdeps/x86_64/wcsrchr.S: New file.
41850         * string/test-strcmp.c: Remove checking of wcscmp function for
41851         wrong alignments.
41852         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41853         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41854         wcsrchr-sse2 wcsrchr-c.
41855         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41856         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41857         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41858         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41859         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41860         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41861         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41862         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41863         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41864         * wcsmbc/wcschr.c (WCSCHR): New macro.
41866 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41868         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41869         * wcsmbs/test-wcsrchr.c: New file.
41870         * string/test-strrchr.c: Add wcsrchr support.
41871         (WIDE): New macro.
41872         * wcsmbs/test-wcscpy.c: New file.
41873         * string/test-strcpy.c: Add wcscpy support.
41874         (WIDE): New macro.
41876 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41878         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41879         the inner loop.
41881 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41883         [BZ #13472]
41884         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41886 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41888         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41889         Minor optimizations.
41891         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41892         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41893         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41895 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41897         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41898         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41899         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41900         for gcc to avoid warnings.
41901         * inet/Makefile (tests): Add tst-checks.
41902         * inet/tst-checks.c: New file.
41904         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41905         warning.
41907         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41908         __wmemcmp_sse2.
41910         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41911         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41913         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41915 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41917         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41918         problem.
41920         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41922 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41924         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41925         conditional on GCC version.
41926         (__arch_compare_and_exchange_val_8_acq)
41927         (__arch_compare_and_exchange_val_16_acq)
41928         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41929         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41930         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41932 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41934         * sysdeps/sh/backtrace.c: New file.
41936 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41938         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41939         parenthesis.
41941 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41943         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41944         falling back to utime.
41946 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41948         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41949         expectations for float.
41951 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41953         * locale/weight.h (findidx): Add parameter len.
41954         * locale/weightwc.h (findidx): Likewise.
41955         * posix/fnmatch_loop.c (FCT): Adjust caller.
41956         * posix/regcomp.c (build_equiv_class): Likewise.
41957         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41958         * posix/regexec.c (check_node_accept_bytes): Likewise.
41959         * string/strcoll_l.c (STRCOLL): Likewise.
41960         * string/strxfrm_l.c (STRXFRM): Likewise.
41962 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41964         * Makefile.in: Remove CVSOPT handling.
41965         * configure.in: Remove use of AC_REVISION.
41966         * iconvdata/Makefile (distribute): No need to filter out CVS.
41967         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41968         handling.
41970 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41972         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41973         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41974         [USE_AS_STRNCASECMP_L]: Likewise.
41975         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41976         NO_TLS_DIRECT_SEG_REFS.
41977         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41978         Fix argument offsets for non-PIC.
41979         [USE_AS_STRNCASECMP_L]: Likewise.
41980         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41981         NO_TLS_DIRECT_SEG_REFS.
41983 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41985         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41986         O_CLOEXEC.
41987         * locale/loadlocale.c (_nl_load_locale): Likewise.
41989 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41991         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41992         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41993         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41994         (SYSCALL_GETTIME): Set errno on error.
41996         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41997         count references to noai6ai_cached.
41999 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42001         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42003         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42004         FD_CLOEXEC for /proc/self/maps.
42006         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42007         FD_CLOEXEC for /proc/meminfo.
42009         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42010         gai.conf.
42012         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42013         FD_CLOEXEC for given file.
42015         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42017         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42018         FD_CLOEXEC for /etc/hosts.
42019         (_gethtent): Likewise.
42021         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42023         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42024         cancellation and set FD_CLOEXEC for /etc/netgroup.
42026         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42027         reading /etc/publickey.
42029         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42030         allow cancellation when reading /etc/group.
42032         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42033         cancellation.
42034         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42036         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42037         when using data file.
42039         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42041         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42042         (write_nis_obj): Use "c" and "e" in fopen.
42044         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42046         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42048         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42050         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42052         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42053         locale.alias.
42055         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42057         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42059         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42061         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42062         file parsing and set FD_CLOEXEC.
42064 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42066         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42068 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42070         * malloc/arena.c (arena_get2): Don't call reused_arena when
42071         _int_new_arena failed.
42073 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42075         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42076         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42077         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42078         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42079         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42080         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42081         to compile strcasecmp and strncasecmp.
42082         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42083         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42085         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42087 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42089         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42090         locale-defines.sym to gen-as-const-headers.
42091         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42092         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42093         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42094         to compile strcasecmp and strncasecmp.
42095         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42096         strcasecmp_l and strncasecmp_l.
42097         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42098         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42099         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42100         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42101         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42102         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42103         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42104         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42105         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42106         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42107         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42109 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42111         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42112         result of SYSDEP_GETTIME_CPU to retval.
42113         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42114         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42116         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42117         variable.
42119         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42120         mantissa words.
42121         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42123         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42124         from unused variable.
42126         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42127         DWARF definitions.
42128         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42129         for assembling.
42131         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42132         over namespaces.
42134         * sunrpc/rpc_prot.c (rejected): Fix case value.
42136         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42137         unsigned long long int to avoid warnings in shift.
42139         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42140         of use of trans.
42141         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42142         variable tmp.
42144         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42145         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42146         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42148         * nis/nis_table.c (nis_list): Use variable of correct type for
42149         result of __follow_path call.
42151 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42153         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42154         of math functions ceil, trunc, floor, round, and sqrt, when
42155         avaliable on the platform.
42156         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42157         name clash.
42158         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42159         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42160         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42162 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42164         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42165         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42167 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42169         * include/unistd.h: Fix __readlink return type.
42170         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42172 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42174         * stdlib/ucontext.h: Undo last change for makecontext.
42176 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42178         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42180         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42181         * setjmp/setjmp.h: Mark functions as non-leaf.
42182         * setjmp/bits/setjmp2.h: Likewise.
42183         * stdlib/ucontext.h: Likewise.
42185 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42187         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42188         (reused_arena): Don't check arena limit.
42189         (arena_get2): Atomically check arena limit.
42191 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42193         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42194         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42196         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42197         instructions.
42199 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42201         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42202         handler when locking.
42204         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42205         Fix size of allocated buffer.
42207 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42209         [BZ #10103]
42210         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42211         declarations for long double functions.
42212         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42214         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42216 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42218         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42219         installed.
42221         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42222         is disabled.
42224 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42226         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42228 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42230         * include/alloca.h (stackinfo_alloca_round): Define.
42231         (extend_alloca): Use it.
42232         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42233         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42234         here.
42236         * scripts/check-local-headers.sh: Ignore libaudit.h.
42238         * nscd/Makefile (extra-objs): Make recursively expanded.
42240 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42242         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42243         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42245         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42246         * posix/tst-rfc3484-2.c: Likewise.
42247         * posix/tst-rfc3484-3.c: Likewise.
42249         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42250         process_vm_writev.
42251         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42252         process_vm_writev.
42253         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42254         process_vm_writev from libc using GLIBC_2.15 version.
42256         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42258 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42260         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42261         stack usage.
42263 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42265         [BZ #13367]
42266         * nss/getent.c (initgroups_keys): Show error message in case no group
42267         names are given.
42269         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42270         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42271         __bump_nl_timestamp.
42272         * nscd/connections (nscd_init): When host database is served open
42273         netlink socket and request notification about configuration changes.
42274         (main_loop_poll): Track netlink file descriptor and bump timestamp
42275         in case data becomes available.
42276         (main_loop_epoll): Likewise.
42277         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42278         (database_pers_head): Add extra_data fileds.
42279         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42280         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42281         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42282         Adjust caller.
42283         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42284         in6ai data, call __free_in6ai.
42285         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42286         Add -DHAVE_NETLINK.
42287         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42288         interface information.  Reuse previous data if netlink timestamp
42289         is not changed.
42290         (__bump_nl_timestamp): New function.
42291         (__free_in6ai): New function.
42293 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42295         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42296         close_not_cancel_no_status here.
42297         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42299 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42301         [BZ #13276]
42302         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42303         return value.
42305         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42306         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42307         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42309 2011-07-03  Andreas Jaeger  <aj@suse.de>
42311         [BZ #10709]
42312         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42313         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42314         * math/libm-test.inc (sin_test): Add test case.
42316 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42318         [BZ #13337]
42319         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42320         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42322         * elf/chroot_canon.c (chroot_canon): Cleanups.
42324         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42326         [BZ #13335]
42327         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42328         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42330         * string/test-strchr.c: Make usable for strchrnul testing.
42331         * string/test-strchrnul.c: New file.
42332         * string/Makefile (strop-tests): Add strchrnul.
42334         * po/it.po: Update from translation team.
42335         * po/es.po: Likewise.
42337 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42339         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42340         the three constants needed as parameters.  Drop the others.
42341         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42342         __m128i_strloadu_tolower.
42343         Create and initialize variable zero and use it in all the places
42344         where _mm_setzero_si128 was used.
42346         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42347         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42348         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42349         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42350         anymore.
42351         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42352         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42353         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42354         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42355         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42356         __mpranred, __mptan.
42357         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42358         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42359         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42360         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42361         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42362         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42363         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42364         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42365         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42367 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42369         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42370         redefine if SHARED.
42371         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42373         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42374         wide char related routines to wcsmbs subdir.
42376 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42378         [BZ #13344]
42379         * misc/sys/cdefs.h (__THROWNL): Define.
42380         * posix/unistd.h: Use __THREADNL instead of __THREAD
42381         for memory synchronization functions.
42383 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42385         [BZ #13349]
42386         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42387         doesn't exist.
42388         * manual/stdio.texi (Obstack Streams): Node removed.
42390 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42392         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42393         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42394         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42396         * math/math_private.h (math_force_eval): Allow non-addressable
42397         arguments.
42398         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42400 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42402         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42403         file is not needed.
42405         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42406         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42407         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42408         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42409         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42410         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42411         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42412         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42413         Add AVX variants.
42414         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42415         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42416         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42417         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42418         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42419         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42420         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42421         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42422         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42423         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42424         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42425         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42426         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42427         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42428         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42429         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42430         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42431         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42432         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42434         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42435         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42437         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42438         place.  Use VEX encoding when compiling for AVX.
42440 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42442         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42443         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42445         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42447 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42449         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42450         useless if() expression.
42451         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42452         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42453         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42454         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42455         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42456         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42457         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42458         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42459         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42460         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42461         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42462         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42463         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42464         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42465         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42466         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42467         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42468         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42469         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42471         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42473 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42475         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42476         condition.
42477         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42479 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42481         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42482         .text section.  Avoid duplicate constants.
42483         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42484         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42485         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42486         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42487         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42488         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42489         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42490         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42491         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42492         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42493         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42494         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42495         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42496         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42497         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42498         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42499         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42500         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42501         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42502         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42503         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42504         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42505         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42506         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42507         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42508         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42509         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42510         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42511         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42512         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42513         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42514         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42515         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42516         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42517         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42518         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42519         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42520         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42521         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42522         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42523         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42524         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42525         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42526         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42527         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42529 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42531         * sysdeps/x86_64/dla.h: Move to ...
42532         * sysdeps/x86_64/fpu/dla.h: ...here.
42533         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42534         situations.  Use __builtin_fma only for gcc 4.6 and up.
42536         * config.make.in: Add have-mfma4 entry.
42537         * configure.in: Substitute libc_cv_cc_fma4.
42538         * math/Makefile (dbl-only-routines): Add sincostab.
42539         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42540         Use __sincostab not sincos.
42541         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42542         name is a macro.
42543         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42544         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42545         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42546         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42547         using __copysign.
42548         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42549         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42550         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42551         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42552         and __inv.
42553         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42554         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42555         __copysign.
42556         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42557         define aliases when function name is a macro.
42558         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42559         sysdeps/ieee754/dbl-64/sincos.tbl.
42560         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42561         fma4-enabled routines.
42562         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42563         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42564         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42565         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42566         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42567         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42568         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42569         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42570         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42571         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42572         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42573         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42574         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42575         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42576         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42577         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42578         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42579         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42580         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42581         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42582         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42583         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42584         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42585         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42586         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42587         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42588         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42589         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42590         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42591         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42593         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42594         rename.
42595         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42596         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42597         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42598         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42599         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42600         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42601         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42602         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42604 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42606         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42608 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42610         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42612         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42613         prediction.
42614         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42616         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42617         Remove unused variable magic_bits.
42618         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42620         * string/strnlen.c: Define and use STRNLEN macro.
42621         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42622         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42623         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42624         * wcsmbs/wcslen.c: Define and use WCSLEN.
42625         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42626         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42627         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42628         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42629         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42630         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42631         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42633 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42636         strnlen-sse2-no-bsf.
42637         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42638         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42639         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42640         Add strnlen support.
42641         (USE_AS_STRNLEN): New macro.
42642         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42643         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42644         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42645         * sysdeps/x86_64/wcslen.S: New file.
42647 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42649         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42650         XMM-moves are used for copying on small sizes.
42652 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42654         * wcsmbs/Makefile (strop-tests): Add wcschr.
42655         * wcsmbs/test-wcschr.c: New file.
42656         * string/test-strchr.c: Update.
42657         Add wcschr support.
42658         (WIDE): New macro.
42660 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42662         * wcsmbs/Makefile (strop-tests): Add wcslen.
42663         * wcsmbs/test-wcslen.c: New file.
42664         * string/test-strlen.c: Update.
42665         Add wcslen support.
42666         (WIDE): New macro.
42668 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42670         * po/it.po: Update from translation team.
42672 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42674         * sysdeps/x86_64/wcscmp.S: Update.
42675         Fix wrong comparison semantics.
42676         wcscmp shall use signed comparison not unsigned.
42677         Don't use substraction to avoid overflow bug.
42678         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42679         * wcsmbc/wcscmp.c: Likewise.
42680         * string/test-strcmp.c: Likewise.
42681         Add new tests to check cases with negative values.
42683 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42685         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42686         * sysdeps/x86_64/dla.h: ...here.  New file.
42687         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42688         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42689         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42690         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42691         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42692         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42693         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42694         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42695         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42697 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42699         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42700         __ynl_finite aliases.
42702 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42706         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42707         define DLA_FMA.
42708         [DLA_FMA] (EMULV): Use DLA_FMA.
42709         [DLA_FMA] (MUL12): Use EMULV.
42710         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42711         that are not needed.
42712         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42713         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42714         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42715         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42716         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42717         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42718         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42720 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42722         * math/s_nan.c: Undef __nan.
42723         * math/s_nanf.c: Undef __nanf.
42724         * math/s_nanl.c: Undef __nanl.
42725         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42726         "math_private.h".
42728 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42730         * math/s_catan.c: Add branch predictions.
42731         * math/s_catanf.c: Likewise.
42732         * math/s_catanh.c: Likewise.
42733         * math/s_catanhf.c: Likewise.
42734         * math/s_catanhl.c: Likewise.
42735         * math/s_catanl.c: Likewise.
42736         * math/s_cexp.c: Likewise.
42737         * math/s_cexpf.c: Likewise.
42738         * math/s_cexpl.c: Likewise.
42739         * math/s_clog.c: Likewise.
42740         * math/s_clog10.c: Likewise.
42741         * math/s_clog10f.c: Likewise.
42742         * math/s_clog10l.c: Likewise.
42743         * math/s_clogf.c: Likewise.
42744         * math/s_clogl.c: Likewise.
42745         * math/s_csqrt.c: Likewise.
42746         * math/s_csqrtf.c: Likewise.
42747         * math/s_csqrtl.c: Likewise.
42748         * math/s_ctanf.c: Likewise.
42749         * math/s_ctanh.c: Likewise.
42750         * math/s_ctanhf.c: Likewise.
42751         * math/s_ctanhl.c: Likewise.
42752         * math/s_ctanl.c: Likewise.
42754         * math/math_private.h: Define __nan, __nanf, __nanl.
42755         * math/s_cacosh.c: Include <math_private.h>.
42756         * math/s_cacoshl.c: Likewise.
42757         * math/s_casinh.c: Likewise.
42758         * math/s_casinhf.c: Likewise.
42759         * math/s_casinhl.c: Likewise.
42760         * math/s_ccos.c: Rely entire on ccosh.
42761         * math/s_ccosf.c: Rely entire on ccoshf.
42762         * math/s_ccosl.c: Rely entirely on ccoshl.
42763         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42764         Remove tests for FE_INVALID.
42765         * math/s_ccoshf.c: Likewise.
42766         * math/s_ccoshl.c: Likewise.
42767         * math/s_csin.c: Likewise.
42768         * math/s_csinf.c: Likewise.
42769         * math/s_csinh.c Likewise.
42770         * math/s_csinhf.c: Likewise.
42771         * math/s_csinhl.c: Likewise.
42772         * math/s_csinl.c: Likewise.
42773         * math/s_ctan.c: Likewise.
42774         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42775         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42776         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42778 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42781         compilation problems.
42783         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42784         __builtin_expect.
42786 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42788         * sysdeps/i386/configure.in: Test for -mfma4 option.
42789         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42790         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42791         COMMON_CPUID_INDEX_80000001.
42792         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42793         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42794         use it if FMA3 is not supported.
42795         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42797         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42798         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42800 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42802         [BZ #12892]
42803         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42804         it would create a cycle with a link time dependency.
42806 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42808         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42809         instruction.
42810         * string/Makefile (strop-tests): Add rawmemchr.
42811         * string/test-rawmemchr.c: New file.
42813         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42814         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42815         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42816         when compiling str{,n}casecmp and when AVX is available.  Hook up
42817         new optimized code in initializers.
42819 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42821         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42822         __feraiseexcept instead of feraiseexcept.
42824 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42826         * math/math_private.h: Define defaults for libc_fetestexcept and
42827         libc_feupdateenv.
42828         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42829         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42830         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42831         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42832         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42833         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42834         libc_fetestexcept and libc_feupdateenv.
42836         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42837         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42838         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42839         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42840         libc_feholdexcept_setround.
42842         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42843         Add s_nearbyint-c and s_nearbyintf-c.
42844         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42845         nearbyintf inlines.
42846         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42847         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42848         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42849         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42851         * math/math_private.h: Define defaults for libc_fegetround,
42852         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42853         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42854         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42855         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42856         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42857         standard functions.
42858         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42859         Remove comments and hacks for old compiler versions.
42860         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42861         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42862         libc_feholdexceptl.
42864 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42866         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42867         (__feraiseexcept_renamed): Add __NTH.
42868         (feraiseexcept): Add __NTH.  Rename local variables to fix
42869         namespace violations.
42871 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42873         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42875         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42877         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42878         recently added interfaces.
42879         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42881         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42882         about macro parameter expansion.
42884         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42885         __NO_MATH_INLINES is defined.  Cleanups.
42887         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42888         and __floorf is target has SSE4.1.
42889         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42890         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42891         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42892         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42894         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42895         name.
42896         (floorf): Likewise.
42898         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42900 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42902         * misc/sys/cdefs.h: Fix last change.
42904         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42905         database lookup.
42907 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42909         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42911         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42912         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42913         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42914         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42915         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42916         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42917         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42918         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42919         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42920         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42921         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42922         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42923         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42924         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42925         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42926         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42927         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42928         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42929         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42930         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42931         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42932         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42934         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42935         ceil, ceilf, floor, floorf.
42937         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42938         Perform IRELATIVE relocations last.
42940         * elf/do-rel.h: Add another parameter nrelative, replacing the
42941         local variable with the same name.  Change name of the function
42942         to end in Rel or Rela (uppercase).
42943         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42944         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42945         elf_dynamic_do_##reloc function.
42947 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42949         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42950         is sufficient, at least on modern CPUs.
42952         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42954         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42955         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42957         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42958         __expl_finite.
42959         * math/bits/math-finite.h: Add entries for exp.
42960         * math/e_expl.c: Add __*_finite alias.
42961         * sysdeps/i386/fpu/e_exp.S: Likewise.
42962         * sysdeps/i386/fpu/e_expf.S: Likewise.
42963         * sysdeps/i386/fpu/e_expl.c: Likewise.
42964         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42965         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42966         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42967         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42968         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42969         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42970         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42972         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42973         is sufficient, at least on modern CPUs.
42975         * ctype/ctype-info.c (__ctype_init): Define.
42976         * include/ctype.h (__ctype_init): Declare.
42977         (__ctype_b_loc): The variable is always initialized.
42978         (__ctype_toupper_loc): Likewise.
42979         (__ctype_tolower_loc): Likewise.
42980         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42981         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42983 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42985         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42987         * configure.in: Also look in $cxxmachine/include for C++ system
42988         headers.
42990 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42992         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42993         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42994         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42995         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42996         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42997         (USE_AS_WMEMCMP): New macro.
42998         Fixing indents.
42999         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43000         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43001         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43002         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43003         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43004         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43005         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43006         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43007         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43008         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43009         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43010         (USE_AS_WMEMCMP): New macro.
43011         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43012         * sysdeps/string/test-memcmp.c: Update.
43013         Fix simple_wmemcmp.
43014         Add new tests.
43015         * wcsmbs/wmemcmp.c: Update.
43016         (WMEMCMP): New macro.
43017         Fix overflow bug.
43019 2011-10-12  Andreas Jaeger  <aj@suse.de>
43021         [BZ #13268]
43022         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43024 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43026         * libio/iofwide.c (do_length): Avoid warning.
43028         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43030 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43032         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43034         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43035         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43036         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43037         * sysdeps/i386/i686/fpu/e_log.S: New file.
43038         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43039         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43041         * ctype/ctype.h: Add support for inlined isXXX functions when
43042         compiling C++ code.
43044 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43046         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43048         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43050 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43052         [BZ #13291]
43053         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43055 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43057         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43058         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43059         feraiseexcept.
43061         * sysdeps/x86_64/memrchr.S: Check for zero size.
43063         * string/stratcliff.c: Add memrchr tests.
43065 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43067         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43068         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43069         rawmemchr-sse2 rawmemchr-sse2-bsf.
43070         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43071         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43072         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43073         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43074         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43075         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43076         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43077         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43078         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43079         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43080         * string/memrchr.c (MEMRCHR): New macro.
43082 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43084         Add integration with gcc's -ffinite-math-only and optimize wrapper
43085         functions in libm.
43086         * Versions.def: Define GLIBC_2.15 version for libm.
43087         * math/Makefile (headers): Add bits/math-finite.h.
43088         * math/bits/math-finite.h: New file.
43089         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43090         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43091         * math/e_acoshl.c: Add __*_finite alias.
43092         * math/e_acosl.c: Likewise.
43093         * math/e_asinl.c: Likewise.
43094         * math/e_atan2l.c: Likewise.
43095         * math/e_atanhl.c: Likewise.
43096         * math/e_coshl.c: Likewise.
43097         * math/e_exp10.c: Likewise.
43098         * math/e_exp10f.c: Likewise.
43099         * math/e_exp10l.c: Likewise.
43100         * math/e_exp2l.c: Likewise.
43101         * math/e_fmodl.c: Likewise.
43102         * math/e_gammal_r.c: Likewise.
43103         * math/e_hypotl.c: Likewise.
43104         * math/e_j0l.c: Likewise.
43105         * math/e_j1l.c: Likewise.
43106         * math/e_jnl.c: Likewise.
43107         * math/e_lgammal_r.c: Likewise.
43108         * math/e_log10l.c: Likewise.
43109         * math/e_log2l.c: Likewise.
43110         * math/e_logl.c: Likewise.
43111         * math/e_powl.c: Likewise.
43112         * math/e_sinhl.c: Likewise.
43113         * math/e_sqrtl.c: Likewise.
43114         * math/e_scalb.c: Completely rewritten and optimized.
43115         * math/e_scalbf.c: Likewise.
43116         * math/e_scalbl.c: Likewise.
43117         * math/w_acos.c: Likewise.
43118         * math/w_acosf.c: Likewise.
43119         * math/w_acosl.c: Likewise.
43120         * math/w_acosh.c: Likewise.
43121         * math/w_acoshf.c: Likewise.
43122         * math/w_acoshl.c: Likewise.
43123         * math/w_asin.c: Likewise.
43124         * math/w_asinf.c: Likewise.
43125         * math/w_asinl.c: Likewise.
43126         * math/w_atan2.c: Likewise.
43127         * math/w_atan2f.c: Likewise.
43128         * math/w_atan2l.c: Likewise.
43129         * math/w_atanh.c: Likewise.
43130         * math/w_atanhf.c: Likewise.
43131         * math/w_atanhl.c: Likewise.
43132         * math/w_exp10.c: Likewise.
43133         * math/w_exp10f.c: Likewise.
43134         * math/w_exp10l.c: Likewise.
43135         * math/w_fmod.c: Likewise.
43136         * math/w_fmodf.c: Likewise.
43137         * math/w_fmodl.c: Likewise.
43138         * math/w_j0.c: Likewise.
43139         * math/w_j0f.c: Likewise.
43140         * math/w_j0l.c: Likewise.
43141         * math/w_j1.c: Likewise.
43142         * math/w_j1f.c: Likewise.
43143         * math/w_j1l.c: Likewise.
43144         * math/w_jn.c: Likewise.
43145         * math/w_jnf.c: Likewise.
43146         * math/w_log.c: Likewise.
43147         * math/w_logf.c: Likewise.
43148         * math/w_logl.c: Likewise.
43149         * math/w_log10.c: Likewise.
43150         * math/w_log10f.c: Likewise.
43151         * math/w_log10l.c: Likewise.
43152         * math/w_log2.c: Likewise.
43153         * math/w_log2f.c: Likewise.
43154         * math/w_log2l.c: Likewise.
43155         * math/w_pow.c: Likewise.
43156         * math/w_powf.c: Likewise.
43157         * math/w_powl.c: Likewise.
43158         * math/w_remainder.c: Likewise.
43159         * math/w_remainderf.c: Likewise.
43160         * math/w_remainderl.c: Likewise.
43161         * math/w_scalb.c: Likewise.
43162         * math/w_scalbf.c: Likewise.
43163         * math/w_scalbl.c: Likewise.
43164         * math/w_sqrt.c: Likewise.
43165         * math/w_sqrtf.c: Likewise.
43166         * math/w_sqrtl.c: Likewise.
43167         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43168         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43169         used.
43170         * math/math_private.h: Declare __kernel_standard_f.
43171         * math/w_cosh.c: Remove cruft and optimize a bit.
43172         * math/w_coshf.c: Likewise.
43173         * math/w_coshl.c: Likewise.
43174         * math/w_exp2.c: Likewise.
43175         * math/w_exp2f.c: Likewise.
43176         * math/w_exp2l.c: Likewise.
43177         * math/w_hypot.c: Likewise.
43178         * math/w_hypotf.c: Likewise.
43179         * math/w_hypotl.c: Likewise.
43180         * math/w_lgamma.c: Likewise.
43181         * math/w_lgamma_r.c: Likewise.
43182         * math/w_lgammaf.c: Likewise.
43183         * math/w_lgammaf_r.c: Likewise.
43184         * math/w_lgammal.c: Likewise.
43185         * math/w_lgammal_r.c: Likewise.
43186         * math/w_sinh.c: Likewise.
43187         * math/w_sinhf.c: Likewise.
43188         * math/w_sinhl.c: Likewise.
43189         * math/w_tgamma.c: Likewise.
43190         * math/w_tgammaf.c: Likewise.
43191         * math/w_tgammal.c: Likewise.
43192         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43193         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43194         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43195         Minor optimizations.  Pretty printing.  Remove cruft.
43196         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43197         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43198         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43199         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43200         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43201         * sysdeps/i386/fpu/e_asin.S: Likewise.
43202         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43203         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43204         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43205         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43206         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43207         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43208         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43209         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43210         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43211         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43212         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43213         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43214         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43215         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43216         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43217         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43218         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43219         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43220         * sysdeps/i386/fpu/e_log.S: Likewise.
43221         * sysdeps/i386/fpu/e_log10.S: Likewise.
43222         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43223         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43224         * sysdeps/i386/fpu/e_log2.S: Likewise.
43225         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43226         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43227         * sysdeps/i386/fpu/e_logf.S: Likewise.
43228         * sysdeps/i386/fpu/e_logl.S: Likewise.
43229         * sysdeps/i386/fpu/e_pow.S: Likewise.
43230         * sysdeps/i386/fpu/e_powf.S: Likewise.
43231         * sysdeps/i386/fpu/e_powl.S: Likewise.
43232         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43233         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43234         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43235         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43236         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43237         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43238         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43239         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43240         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43241         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43242         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43243         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43244         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43245         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43246         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43247         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43248         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43249         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43250         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43251         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43252         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43253         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43254         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43255         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43256         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43257         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43258         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43259         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43260         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43261         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43262         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43263         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43264         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43265         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43266         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43267         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43268         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43269         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43270         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43271         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43272         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43273         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43274         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43275         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43276         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43277         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43278         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43279         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43280         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43281         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43282         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43283         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43284         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43285         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43286         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43287         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43288         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43289         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43290         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43291         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43292         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43293         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43294         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43295         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43296         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43297         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43298         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43299         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43300         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43301         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43302         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43303         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43304         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43305         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43306         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43307         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43308         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43309         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43310         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43311         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43312         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43313         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43314         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43315         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43316         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43317         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43318         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43319         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43320         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43321         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43322         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43323         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43324         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43325         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43326         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43327         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43328         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43329         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43330         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43331         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43332         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43333         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43334         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43335         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43336         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43337         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43338         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43339         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43340         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43341         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43342         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43343         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43344         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43345         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43346         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43347         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43348         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43349         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43350         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43351         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43352         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43353         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43354         (__isnanf): Likewise.
43355         (__isinf_ns): Likewise.
43356         (__isinf_nsf): Likewise.
43357         (__finite): Likewise.
43358         (__finitef): Likewise.
43359         (__ieee754_sqrt): Define as macro.
43360         (__ieee754_sqrtf): Define as macro.
43361         (__ieee754_sqrtl): Define as macro.
43362         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43363         inlined copy.
43364         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43365         __FINITE_MATH_ONLY__ consistent.
43366         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43368 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43370         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43371         of rawmemchr.
43373         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43375 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43377         * po/ja.po: Update from translation team.
43379 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43381         * locale/programs/locarchive.c (prepare_address_space): New function.
43382         (create_archive, enlarge_archive, open_archive): Use it.
43384         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43385         inside [SHARED], where it is used.
43387         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43389         * nss/getent.c (netgroup_keys): Remove unused variable.
43390         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43392 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43394         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43395         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43396         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43397         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43398         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43399         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43400         * math/Makefile (libm-calls): Add s_isinf_ns.
43401         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43402         * math/multc3.c: Likewise.
43403         * math/s_casin.c: Likewise.
43404         * math/s_casinf.c: Likewise.
43405         * math/s_casinl.c: Likewise.
43406         * math/s_ccos.c: Likewise.
43407         * math/s_ccosf.c: Likewise.
43408         * math/s_ccosl.c: Likewise.
43409         * math/s_ctan.c: Likewise.
43410         * math/s_ctanf.c: Likewise.
43411         * math/s_ctanh.c: Likewise.
43412         * math/s_ctanhf.c: Likewise.
43413         * math/s_ctanhl.c: Likewise.
43414         * math/s_ctanl.c: Likewise.
43415         * math/w_fmod.c: Likewise.
43416         * math/w_fmodf.c: Likewise.
43417         * math/w_fmodl.c: Likewise.
43418         * math/w_remainder.c: Likewise.
43419         * math/w_remainderf.c: Likewise.
43420         * math/w_remainderl.c: Likewise.
43421         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43422         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43423         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43424         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43425         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43426         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43427         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43428         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43430         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43431         of the number.
43432         * stdio-common/printf_fphex.c: Likewise.
43433         * stdio-common/printf_size.c: Likewise.
43435         * math/e_exp10.c: Include math_private.h using <...> not "...".
43436         * math/e_exp10f.c: Likewise.
43437         * math/e_exp10l.c: Likewise.
43438         * math/e_exp2l.c: Likewise.
43439         * math/e_j0l.c: Likewise.
43440         * math/e_j1l.c: Likewise.
43441         * math/e_jnl.c: Likewise.
43442         * math/e_lgammal_r.c: Likewise.
43443         * math/e_rem_pio2l.c: Likewise.
43444         * math/e_scalb.c: Likewise.
43445         * math/e_scalbf.c: Likewise.
43446         * math/e_scalbl.c: Likewise.
43447         * math/k_cosl.c: Likewise.
43448         * math/k_sinl.c: Likewise.
43449         * math/k_tanl.c: Likewise.
43450         * math/s_cacoshf.c: Likewise.
43451         * math/s_catan.c: Likewise.
43452         * math/s_catanf.c: Likewise.
43453         * math/s_catanh.c: Likewise.
43454         * math/s_catanhf.c: Likewise.
43455         * math/s_catanhl.c: Likewise.
43456         * math/s_catanl.c: Likewise.
43457         * math/s_ccosh.c: Likewise.
43458         * math/s_ccoshf.c: Likewise.
43459         * math/s_ccoshl.c: Likewise.
43460         * math/s_cexp.c: Likewise.
43461         * math/s_cexpf.c: Likewise.
43462         * math/s_cexpl.c: Likewise.
43463         * math/s_clog.c: Likewise.
43464         * math/s_clog10.c: Likewise.
43465         * math/s_clog10f.c: Likewise.
43466         * math/s_clog10l.c: Likewise.
43467         * math/s_clogf.c: Likewise.
43468         * math/s_clogl.c: Likewise.
43469         * math/s_csin.c: Likewise.
43470         * math/s_csinf.c: Likewise.
43471         * math/s_csinh.c: Likewise.
43472         * math/s_csinhf.c: Likewise.
43473         * math/s_csinhl.c: Likewise.
43474         * math/s_csinl.c: Likewise.
43475         * math/s_csqrt.c: Likewise.
43476         * math/s_csqrtf.c: Likewise.
43477         * math/s_csqrtl.c: Likewise.
43478         * math/s_ctan.c: Likewise.
43479         * math/s_ctanf.c: Likewise.
43480         * math/s_ctanh.c: Likewise.
43481         * math/s_ctanhf.c: Likewise.
43482         * math/s_ctanhl.c: Likewise.
43483         * math/s_ctanl.c: Likewise.
43484         * math/s_ldexp.c: Likewise.
43485         * math/s_ldexpf.c: Likewise.
43486         * math/s_ldexpl.c: Likewise.
43487         * math/s_significand.c: Likewise.
43488         * math/s_significandf.c: Likewise.
43489         * math/s_significandl.c: Likewise.
43490         * math/w_acos.c: Likewise.
43491         * math/w_acosf.c: Likewise.
43492         * math/w_acosh.c: Likewise.
43493         * math/w_acoshf.c: Likewise.
43494         * math/w_acoshl.c: Likewise.
43495         * math/w_acosl.c: Likewise.
43496         * math/w_asin.c: Likewise.
43497         * math/w_asinf.c: Likewise.
43498         * math/w_asinl.c: Likewise.
43499         * math/w_atan2.c: Likewise.
43500         * math/w_atan2f.c: Likewise.
43501         * math/w_atan2l.c: Likewise.
43502         * math/w_atanh.c: Likewise.
43503         * math/w_atanhf.c: Likewise.
43504         * math/w_atanhl.c: Likewise.
43505         * math/w_cosh.c: Likewise.
43506         * math/w_coshf.c: Likewise.
43507         * math/w_coshl.c: Likewise.
43508         * math/w_dremf.c: Likewise.
43509         * math/w_exp10.c: Likewise.
43510         * math/w_exp10f.c: Likewise.
43511         * math/w_exp10l.c: Likewise.
43512         * math/w_exp2.c: Likewise.
43513         * math/w_exp2f.c: Likewise.
43514         * math/w_fmod.c: Likewise.
43515         * math/w_fmodf.c: Likewise.
43516         * math/w_fmodl.c: Likewise.
43517         * math/w_hypot.c: Likewise.
43518         * math/w_hypotf.c: Likewise.
43519         * math/w_hypotl.c: Likewise.
43520         * math/w_j0.c: Likewise.
43521         * math/w_j0f.c: Likewise.
43522         * math/w_j0l.c: Likewise.
43523         * math/w_j1.c: Likewise.
43524         * math/w_j1f.c: Likewise.
43525         * math/w_j1l.c: Likewise.
43526         * math/w_jn.c: Likewise.
43527         * math/w_jnf.c: Likewise.
43528         * math/w_jnl.c: Likewise.
43529         * math/w_lgamma.c: Likewise.
43530         * math/w_lgamma_r.c: Likewise.
43531         * math/w_lgammaf.c: Likewise.
43532         * math/w_lgammaf_r.c: Likewise.
43533         * math/w_lgammal.c: Likewise.
43534         * math/w_lgammal_r.c: Likewise.
43535         * math/w_log.c: Likewise.
43536         * math/w_log10.c: Likewise.
43537         * math/w_log10f.c: Likewise.
43538         * math/w_log10l.c: Likewise.
43539         * math/w_log2.c: Likewise.
43540         * math/w_log2f.c: Likewise.
43541         * math/w_log2l.c: Likewise.
43542         * math/w_logf.c: Likewise.
43543         * math/w_logl.c: Likewise.
43544         * math/w_pow.c: Likewise.
43545         * math/w_powf.c: Likewise.
43546         * math/w_powl.c: Likewise.
43547         * math/w_remainder.c: Likewise.
43548         * math/w_remainderf.c: Likewise.
43549         * math/w_remainderl.c: Likewise.
43550         * math/w_scalb.c: Likewise.
43551         * math/w_scalbf.c: Likewise.
43552         * math/w_scalbl.c: Likewise.
43553         * math/w_sinh.c: Likewise.
43554         * math/w_sinhf.c: Likewise.
43555         * math/w_sinhl.c: Likewise.
43556         * math/w_sqrt.c: Likewise.
43557         * math/w_sqrtf.c: Likewise.
43558         * math/w_sqrtl.c: Likewise.
43559         * math/w_tgamma.c: Likewise.
43560         * math/w_tgammaf.c: Likewise.
43561         * math/w_tgammal.c: Likewise.
43563         * po/ja.po: Update from translation team.
43565 2011-09-29  Andreas Jaeger  <aj@suse.de>
43567         [BZ #13179]
43568         * sunrpc/netname.c (netname2host): Fix logic.
43570         [BZ #6779]
43571         [BZ #6783]
43572         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43573         correctly.
43574         * math/w_remainder.c (__remainder): Likewise.
43575         * math/w_remainderf.c (__remainderf): Likewise.
43576         * math/libm-test.inc (remainder_test): Add test cases.
43578 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43580         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43581         sdiv_qrnnd.
43583 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43585         * string/test-memcmp.c: Avoid unncessary #defines.
43586         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43588 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43590         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43591         Use new sse2 version for core i3 - i7 as it's faster
43592         than sse42 version.
43593         (bit_Prefer_PMINUB_for_stringop): New.
43594         * sysdeps/x86_64/rawmemchr.S: Update.
43595         Replace with faster SSE2 version.
43596         * sysdeps/x86_64/memrchr.S: New file.
43597         * sysdeps/x86_64/memchr.S: Update.
43598         Replace with faster SSE2 version.
43600 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43602         * elf/dl-load.c (lose): Add cast to avoid warning.
43604 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43606         * po/ca.po: Update from translation team.
43608         * inet/getnetgrent_r.c: Hook up nscd.
43609         * nscd/Makefile (routines): Add nscd_netgroup.
43610         (nscd-modules): Add netgroupcache.
43611         (CFLAGS-netgroupcache.c): Define.
43612         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43613         (cache_search): Add const to second parameter.
43614         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43615         INNETGR.
43616         (dbs): Add netgrdb entry.
43617         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43618         (verify_persistent_db): Handle netgrdb.
43619         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43620         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43621         GETFDNETGR.
43622         (netgroup_response_header): Define.
43623         (innetgroup_response_header): Define.
43624         (datahead): Add netgroup_response_header and innetgroup_response_header
43625         elements.
43626         * nscd/nscd.conf: Add entries for netgroup cache.
43627         * nscd/nscd.h (dbtype): Add netgrdb.
43628         (_PATH_NSCD_NETGROUP_DB): Define.
43629         (netgroup_iov_disabled): Declare.
43630         (xmalloc, xcalloc, xrealloc): Move declarations here.
43631         (cache_search): Adjust prototype.
43632         Add netgroup-related prototypes.
43633         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43634         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43635         (__nscd_innetgr): Declare.
43636         * nscd/selinux.c (perms): Use access_vector_t as element type and
43637         add netgroup-related initializers.
43638         * nscd/netgroupcache.c: New file.
43639         * nscd/nscd_netgroup.c: New file.
43640         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43641         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43642         For four parameters use innetgr.
43643         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43644         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43645         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43646         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43648         * nscd/connections.c (register_traced_file): Don't register file
43649         for disabled databases.
43651 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43653         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43655         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43656         from tree and freeing node.
43658 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43660         * nss/nsswitch.c (__nss_database_lookup): Handle
43661         nss_parse_service_list out of memory case.
43663 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43665         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43666         out of memory case.
43668 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43670         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43671         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43672         pass it down.
43673         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43674         elf_machine_rela, elf_machine_lazy_rel.
43675         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43676         (ELF_DYNAMIC_DO_REL): Likewise.
43677         (ELF_DYNAMIC_DO_RELA): Likewise.
43678         (ELF_DYNAMIC_RELOCATE): Likewise.
43679         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43680         to ELF_DYNAMIC_DO_REL.
43681         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43682         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43683         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43684         elf_machine_rela.
43685         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43686         skip_ifunc, don't call ifunc function if non-zero.
43687         (elf_machine_rela): Likewise.
43688         (elf_machine_lazy_rel): Likewise.
43689         (elf_machine_lazy_rela): Likewise.
43690         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43691         (elf_machine_lazy_rel): Likewise.
43692         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43693         Likewise.
43694         (elf_machine_lazy_rel): Likewise.
43695         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43696         Likewise.
43697         (elf_machine_lazy_rel): Likewise.
43698         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43699         (elf_machine_lazy_rel): Likewise.
43700         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43701         (elf_machine_lazy_rel): Likewise.
43702         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43703         (elf_machine_lazy_rel): Likewise.
43704         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43705         (elf_machine_lazy_rel): Likewise.
43706         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43707         (elf_machine_lazy_rel): Likewise.
43708         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43709         (elf_machine_lazy_rel): Likewise.
43711 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43713         * nss/nss_files/files-init.c (_nss_files_init): Use static
43714         initialization for all the *_traced_file variables.
43716 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43718         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43720 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43722         [BZ #13226]
43723         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43725 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43727         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43728         Reread the line before reparsing it.
43730 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43732         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43734 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43735             Maxim Kuvyrkov  <maxim@codesourcery.com>
43736             Joseph Myers  <joseph@codesourcery.com>
43738         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43739         if needed for __stack_chk_guard.
43741 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43743         * sysdeps/posix/spawni.c (script_execute): Always define it.
43744         It will be optimized away if unused.
43745         (maybe_script_execute): New function.
43746         (__spawni): Call it.
43748         * Makerules: Don't include tls.make.
43749         (config-tls): Always set to thread.
43750         * tls.make.c: File removed.
43752 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43754         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43755         * config.make.in (CPPFLAGS-config): New substituted variable.
43757 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43759         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43761         [BZ #13192]
43762         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43763         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43765 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43767         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43768         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43769         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43770         (CALL_FAIL): Likewise.
43771         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43772         (CALL_FAIL): Macro removed.
43773         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43775 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43777         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43778         for __FINITE_MATH_ONLY__ == 1.
43780 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43782         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43783         __ieee754_sqrt instead of sqrt.
43784         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43785         __ieee754_sqrtf instead of sqrtf.
43786         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43787         __floorf instead of floorf.
43788         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43789         __floorf, __truncf instead of floorf, truncf.
43791 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43793         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43795         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43796         __extern_always_inline.
43797         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43798         32-bit.
43800 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43802         * elf/rtld.c (dl_main): Also relocate in dependency order when
43803         doing symbol dependency testing.
43805 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43807         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43808         Always define `refsym'.
43810 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43812         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43813         (__FD_ELT): Renamed from __FDELT.
43814         * misc/bits/select2.h (__FD_ELT): Likewise.
43815         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43816         __FD_MASK instead of __FDELT, __FDMASK.
43817         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43818         Likewise.
43819         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43820         Likewise.
43822         * elf/Makefile (gen-ldd): Fix pattern.
43824         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43825         (init_tls): Likewise.
43827 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43829         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43831 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43833         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43834         `struct cmsghdr *' instead of `void *'.
43835         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43836         Likewise.
43838 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43840         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43841         if non-absolute.
43842         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43843         ldd_rewrite_script.
43845 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43847         * configure.in: Remove --with-tls option.
43848         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43849         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43850         out in case it is missing.
43851         * sysdeps/ia64/elf/configure.in: Likewise.
43852         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43853         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43854         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43855         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43856         * sysdeps/sh/elf/configure.in: Likewise.
43857         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43858         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43859         * sysdeps/x86_64/elf/configure.in: Likewise.
43860         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43861         * sysdeps/mach/hurd/tls.h: Likewise.
43863         [BZ #13067]
43864         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43866         [BZ #13090]
43867         * configure.in: Fix use of AC_INIT.
43869         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43871 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43873         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43874         __set_errno.
43875         * malloc/hooks.c: Likewise.
43877         [BZ #11929]
43878         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43879         variables statically.
43880         (narenas): Initialize.
43881         (list_lock): Initialize.
43882         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43883         initializtion of main_arena and list_lock.  Small cleanups.
43884         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43885         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43886         Add initializers to main_arena and mp_.
43887         (malloc_state): Remove pagesize member.  Change all users to use
43888         GLRO(dl_pagesize).
43890         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43891         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43892         is always initialized.
43894         * malloc/malloc.c: Removed unused configurations and dead code.
43895         * malloc/arena.c: Likewise.
43896         * malloc/hooks.c: Likewise.
43897         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43899         * include/tls.h: Removed.  USE___THREAD must always be defined.
43900         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43901         * elf/dl-libc.c: Likewise.
43902         * elf/dl-tsd.c: Likewise.
43903         * include/errno.h: Likewise.
43904         * include/netdb.h: Likewise.
43905         * include/resolv.h: Likewise.
43906         * inet/herrno-loc.c: Likewise.
43907         * inet/herrno.c: Likewise.
43908         * malloc/arena.c: Likewise.
43909         * malloc/hooks.c: Likewise.
43910         * malloc/malloc.c: Likewise.
43911         * resolv/res-state.c: Likewise.
43912         * resolv/res_libc.c: Likewise.
43913         * sysdeps/i386/dl-machine.h: Likewise.
43914         * sysdeps/ia64/dl-machine.h: Likewise.
43915         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43916         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43917         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43918         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43919         * sysdeps/sh/dl-machine.h: Likewise.
43920         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43921         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43922         * sysdeps/unix/i386/sysdep.S: Likewise.
43923         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43924         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43925         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43926         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43927         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43928         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43929         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43930         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43931         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43932         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43933         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43934         * sysdeps/x86_64/dl-machine.h: Likewise.
43935         * tls.make.c: Likewise.
43937         * configure.in: Remove --with-__thread option.  Make tests for
43938         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43939         tls_model attribute fail if no support is available.  Remove
43940         USE_IN_LIBIO.
43941         * Makeconfig: Adjust for dropped configure option.  All features are
43942         now mandatory.
43943         * Makerules: Likewise.
43944         * Versions.def: Likewise.
43945         * argp/argp-fmtstream.c: Likewise.
43946         * argp/argp-fmtstream.h: Likewise.
43947         * argp/argp-help.c: Likewise.
43948         * assert/assert.c: Likewise.
43949         * config.h.in: Likewise.
43950         * config.make.in: Likewise.
43951         * configure: Likewise.
43952         * configure.in: Likewise.
43953         * csu/Versions: Likewise.
43954         * csu/init.c: Likewise.
43955         * elf/tst-audit2.c: Likewise.
43956         * elf/tst-tls10.c: Likewise.
43957         * elf/tst-tls10.h: Likewise.
43958         * elf/tst-tls11.c: Likewise.
43959         * elf/tst-tls12.c: Likewise.
43960         * elf/tst-tls14.c: Likewise.
43961         * elf/tst-tlsmod11.c: Likewise.
43962         * elf/tst-tlsmod12.c: Likewise.
43963         * elf/tst-tlsmod13.c: Likewise.
43964         * elf/tst-tlsmod13a.c: Likewise.
43965         * elf/tst-tlsmod14a.c: Likewise.
43966         * elf/tst-tlsmod15b.c: Likewise.
43967         * elf/tst-tlsmod16a.c: Likewise.
43968         * elf/tst-tlsmod16b.c: Likewise.
43969         * elf/tst-tlsmod7.c: Likewise.
43970         * elf/tst-tlsmod8.c: Likewise.
43971         * elf/tst-tlsmod9.c: Likewise.
43972         * gmon/gmon.c: Likewise.
43973         * grp/fgetgrent_r.c: Likewise.
43974         * grp/putgrent.c: Likewise.
43975         * hurd/fopenport.c: Likewise.
43976         * include/libc-symbols.h: Likewise.
43977         * include/tls.h: Likewise.
43978         * intl/gettextP.h: Likewise.
43979         * intl/loadinfo.h: Likewise.
43980         * locale/global-locale.c: Likewise.
43981         * locale/localeinfo.h: Likewise.
43982         * mach/devstream.c: Likewise.
43983         * malloc/arena.c: Likewise.
43984         * malloc/set-freeres.c: Likewise.
43985         * misc/err.c: Likewise.
43986         * misc/getttyent.c: Likewise.
43987         * misc/mntent_r.c: Likewise.
43988         * posix/getopt.c: Likewise.
43989         * posix/wordexp.c: Likewise.
43990         * pwd/fgetpwent_r.c: Likewise.
43991         * resolv/Versions: Likewise.
43992         * resolv/res_hconf.c: Likewise.
43993         * shadow/fgetspent_r.c: Likewise.
43994         * shadow/putspent.c: Likewise.
43995         * stdio-common/printf_fphex.c: Likewise.
43996         * stdio-common/tmpfile.c: Likewise.
43997         * stdlib/abort.c: Likewise.
43998         * stdlib/fmtmsg.c: Likewise.
43999         * sunrpc/auth_unix.c: Likewise.
44000         * sunrpc/clnt_perr.c: Likewise.
44001         * sunrpc/clnt_tcp.c: Likewise.
44002         * sunrpc/clnt_udp.c: Likewise.
44003         * sunrpc/clnt_unix.c: Likewise.
44004         * sunrpc/openchild.c: Likewise.
44005         * sunrpc/svc_simple.c: Likewise.
44006         * sunrpc/svc_tcp.c: Likewise.
44007         * sunrpc/svc_udp.c: Likewise.
44008         * sunrpc/svc_unix.c: Likewise.
44009         * sunrpc/xdr.c: Likewise.
44010         * sunrpc/xdr_array.c: Likewise.
44011         * sunrpc/xdr_rec.c: Likewise.
44012         * sunrpc/xdr_ref.c: Likewise.
44013         * sunrpc/xdr_stdio.c: Likewise.
44015 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44017         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44019 2011-07-03  Andreas Jaeger  <aj@suse.de>
44021         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44022         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44023         regenerate with gen-libm-tests.pl.
44025 2010-05-12  Petr Baudis  <pasky@suse.cz>
44027         [BZ #11589]
44028         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44029         around j0() zero points by switching to j1().
44030         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44031         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44032         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44033         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44035 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44037         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44038         instead of 0.
44039         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44040         instead of 0.
44041         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44042         Patch in part by Pavel Roskin <proski@gnu.org>.
44044         [BZ #13138]
44045         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44046         realloc.
44047         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44048         Free memory block if necessary.
44050         [BZ #12847]
44051         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44052         be NULL.  Don't lock in this case.
44054 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44056         * elf/elf.h (ELFOSABI_GNU): New macro.
44057         (ELFOSABI_LINUX): Define to that.
44059 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44061         * string/strncat.c (strncat): Undef the symbol in case it has been
44062         defined in bits/string.h.
44064 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44066         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44068         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44069         link map.
44071 2011-08-17  Andreas Jaeger  <aj@suse.de>
44073         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44075 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44076             Ian Lance Taylor  <iant@google.com>
44078         * math/libm-test.inc (lround_test): New testcase.
44079         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44081 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44083         * Makefile: Remove support for automatic cvs check-ins.
44084         * Makerules: Likewise.
44085         * config.make.in: Likewise.
44086         * configure.in: Likewise.
44087         * intl/Makefile: Likewise.
44088         * locale/Makefile: Likewise.
44089         * po/Makefile: Likewise.
44090         * posix/Makefile: Likewise.
44091         * sysdeps/gnu/Makefile: Likewise.
44092         * sysdeps/mach/hurd/Makefile: Likewise.
44093         * sysdeps/sparc/sparc32/Makefile: Likewise.
44095         [BZ #13118]
44096         * posix/Makefile (bug-regex32-ENV): Define.
44097         Patch by John Stanley <jpsinthemix@verizon.net>.
44099         * misc/Makefile (headers): Add bits/select2.h.
44100         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44101         * misc/bits/select2.h: New file.
44102         * include/bits/select2.h: New file.
44103         * debug/Makefile (routines): Add fdelt_chk.
44104         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44105         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44106         FD_ISSET.
44107         * debug/fdelt_chk.c: New file.
44109         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44110         * wcsmbs/test-wmemcmp.c: Likewise.
44111         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44112         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44114 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44116         * string/Makefile (strop-tests): Add memcmp.
44117         * string/test-wmemcmp.c: New file.
44118         * string/test-memcmp.c: Add wmemcmp support.
44120 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44122         [BZ #13153]
44123         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44124         2011-07-19 change.
44126         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44127         garbage value in a __mach_port_mod_refs call in the cases of the
44128         task-self and thread-self ports.
44130 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44132         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44134 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44136         * elf/dl-load.c (lose): Check for non-null L.
44138 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44140         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44142         * elf/dl-libc.c (dlerror_run): Pass back error code from
44143         dl_catch_error.
44145         [BZ #13123]
44146         * elf/dl-load.c (lose): Free l_origin if it is valid.
44148         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44149         names.
44150         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44151         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44152         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44153         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44154         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44155         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44157 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44159         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44160         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44161         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44162         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44163         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44164         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44165         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44166         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44167         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44168         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44170 2011-08-15  Alan Modra  <amodra@gmail.com>
44172         [BZ #13092]
44173         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44174         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44175         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44176         ppc_mcount to static-only-routines.
44177         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44178         __mcount_internal.
44179         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44180         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44182 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44184         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44185         for finite and infinity parameters.
44187 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44189         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44190         and add nop instructions for throughput optimization.
44191         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44193 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44195         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44196         aligned copy for power7 with vector-scalar instructions.
44197         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44199 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44201         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44202         AVX check.
44204 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44206         [BZ #13144]
44207         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44208         last change.
44210 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44212         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44213         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44214         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44215         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44216         clock_gettime.
44218 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44220         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44221         Forgot to demangle the pointer.
44223         * sysdeps/i386/sysdep.h: Define atom_text_section.
44224         * sysdeps/x86_64/sysdep.h: Likewise.
44225         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44226         section with atom_text_section.
44227         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44228         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44229         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44230         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44231         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44233         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44234         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44235         already be defined.  Change to take two parameters and don't assign
44236         result to variable.  Adjust all users.
44237         Define INTERNAL_GETTIME if not already defined.
44238         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44239         call.
44240         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44241         HAVE_CLOCK_GETTIME_VSYSCALL.
44242         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44244         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44245         gettimeofday vsyscall, just use time.
44247 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44249         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44250         <errno.h>.
44252 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44254         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44255         syscall on x86-64.
44256         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44257         syscall.
44258         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44259         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44260         syscall if possible.
44262 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44264         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44265         e_ident.  Don't pass to find_mapsXX.
44266         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44268 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44271         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44272         * sysdeps/x86_64/multiarch/strchr.S: Update.
44273         Check bit_slow_BSF bit.
44274         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44275         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44276         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44278 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44280         [BZ #13134]
44281         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44282         before glibc 2.15.
44283         (tryshell): Define.
44284         (__spawni): Change last parameter to be flag.  Test
44285         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44286         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44287         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44288         * posix/spawni.c: Likewise.
44289         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44290         * posix/spawnp.c: Likewise.  Change normal version to use
44291         SPAWN_XFLAGS_USE_PATH.
44292         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44293         SPAWN_XFLAGS_TRY_SHELL.
44295         [BZ #13150]
44296         * posix/glob.h: Remove gcc 1.x support.
44298         [BZ #13068]
44299         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44301 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44303         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44304         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44305         strrchr-sse2-bsf
44306         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44307         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44308         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44309         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44310         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44311         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44313 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44315         * sysdeps/x86_64/wcscmp.S: New file.
44317         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44318         wcscmp-c wcscmp-sse2
44319         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44320         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44321         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44322         * wcsmbs/wcscmp.c: Allow renaming.
44324 2011-09-05  David S. Miller  <davem@davemloft.net>
44326         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44327         stack slot, rather than the struct return pointer slot.
44328         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44329         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44331         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44333 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44335         * po/ja.po: Update from translation team.
44337         [BZ #13144]
44338         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44339         kernel in 64-bit binaries.
44341 2011-09-01  David S. Miller  <davem@davemloft.net>
44343         * elf/elf.h (HWCAP_SPARC_*): Move to..
44344         * sysdeps/sparc/sysdep.h: this new file and add new values.
44345         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44346         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44347         _DL_HWCAP_COUNT to 24.
44348         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44349         entries.
44350         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44351         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44352         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44353         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44354         instead of magic constants.
44355         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44357 2011-08-31  David S. Miller  <davem@davemloft.net>
44359         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44360         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44361         Reimplement to do errno handling inline.
44362         (SYSCALL_ERROR_HANDLER): New macro.
44363         (__SYSCALL_STRING): Do not do errno handling in asm.
44364         (__CLONE_SYSCALL_STRING): Delete.
44365         (__INTERNAL_SYSCALL_STRING): Delete.
44366         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44367         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44368         (PSEUDO): Reimplement to do errno handling inline.
44369         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44370         (SYSCALL_ERROR_HANDLER): New macro.
44371         (__SYSCALL_STRING): Do not do errno handling in asm.
44372         (__CLONE_SYSCALL_STRING): Delete.
44373         (__INTERNAL_SYSCALL_STRING): Delete.
44374         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44375         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44376         i386.
44377         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44378         (inline_syscall*): Add 'err' argument.
44379         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44380         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44381         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44382         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44384         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44385         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44387 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44389         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44391 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44393         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44394         directive.
44396 2011-08-24  David S. Miller  <davem@davemloft.net>
44398         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44400 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44402         * elf/Makefile: Add rules to build and run unload8 test.
44403         * elf/unload8.c: New file.
44404         * elf/unload8mod1.c: New file.
44405         * elf/unload8mod1x.c: New file.
44406         * elf/unload8mod2.c: New file.
44407         * elf/unload8mod3.c: New file.
44409         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44410         it wasn't used.
44412 2011-08-23  David S. Miller  <davem@davemloft.net>
44414         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44415         subtract stack bias.
44416         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44417         %sp not %fp in calculations.
44418         (_JMPBUF_UNWINDS_ADJ): Likewise.
44420         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44421         (aio_suspend): Call it to force an exception region around the
44422         AIO_MISC_WAIT() invocation.
44424 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44426         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44427         backslash.
44429 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44431         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44432         protection macro.
44433         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44434         and <dl-machine.h>.
44435         (Elf64_FuncDesc): Remove.
44437 2011-08-22  David S. Miller  <davem@davemloft.net>
44439         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44440         sigaltstack check, add missing cfi directives.
44441         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44442         missing cfi directives, and sigaltstack handling.
44444 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44446         [BZ #11724]
44447         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44448         object is seen twice.
44449         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44451         * elf/Makefile (distribute): Add tst-initorder2.c.
44452         (tests): Add tst-initorder2.
44453         (modules-names): Add tst-initorder2a tst-initorder2b
44454         tst-initorder2c tst-initorder2d.  Add rules to build them.
44455         ($(objpfx)tst-initorder2.out): New rule.
44456         * elf/tst-initorder2.c: New file.
44457         * elf/tst-initorder2.exp: New file.
44459 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44461         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44463         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44464         dependencies back to end of function.
44466         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44467         $(elfobjdir)/ld.so.
44469 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44471         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44472         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44473         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44474         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44475         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44476         of __vdso_gettimeofday.
44477         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44478         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44479         attribute_hidden.
44480         (_libc_vdso_platform_setup): Remove initialization of
44481         __vdso_gettimeofday and __vdso_time.
44483 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44485         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44486         and fgetc_unlocked.
44487         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44488         getc_unlocked.
44490         * elf/dl-open.c (add_to_global): Report additions to the global scope
44491         for LD_DEBUG=scopes.
44492         (dl_open_worker): Also print scope of newly loaded dependencies.
44493         (_dl_show_scope): Indicate if there is no scope.
44495         [BZ #13114]
44496         * stdio-common/Makefile (tests): Add bug24.
44497         * stdio-common/bug24.c: New file.
44499 2011-08-19  Andreas Jaeger  <aj@suse.de>
44501         [BZ #13114]
44502         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44503         non-existant file when using close-on-exec mode.
44505 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44507         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44508         the very first instruction.
44510         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44511         the CFI state in the end.
44512         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44513         inclusion of dl-trampoline.h.
44514         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44516 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44518         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44519         expectations for long double.
44521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44522         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44524 2011-08-14  David S. Miller  <davem@davemloft.net>
44526         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44527         artificual limit depends upon the system page size.
44529 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44531         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44532         * resolv/Makefile: Define CFLAGS-libresolv.
44534 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44536         * nss/makedb.c (compute_tables): Make variables used in nested
44537         function static.
44539 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44541         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44542         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44543         if buffer was too small.
44545         * elf/pldd.c (main): Attach to all threads in the process.
44546         Rewrite /proc handling to use *at functions.
44548 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44550         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44551         specifies first scope to show.
44552         (dl_open_worker): Update callers.  Move printing scope of new
44553         object to before the relocation.
44554         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44555         * sysdeps/generic/ldsodefs.h: Update declaration.
44557         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44558         string for the scope number.
44560 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44562         * nscd/servicescache.c (cache_addserv): Make sure written is always
44563         initialized.
44565 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44567         * sysdeps/i386/i486/bits/atomic.h
44568         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44569         statement expression, so as to suppress "set but not used" warning.
44570         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44572         * string/strncat.c (STRNCAT): Use prototype definition.
44574         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44575         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44576         -Iprograms here.
44577         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44578         (localedef-modules): Add localedef.
44579         (locale-modules): Add locale.
44581         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44582         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44583         to avoid a warning.
44585 2011-08-14  David S. Miller  <davem@davemloft.net>
44587         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44588         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44590 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44592         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44593         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44594         * elf/rtld.c (dl_main): Set l_name of vDSO.
44595         Call _dl_show_scope when DL_DEBUG_SCOPES.
44596         (process_dl_debug): Recognize scopes flag and also set it for all.
44597         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44598         Declare _dl_show_scope.
44600         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44601         (do_dlopen): Pass caller_dlopen to dl_open.
44602         (__libc_dlopen_mode): Initialize caller_dlopen.
44604         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44605         of libc.  Make tolower call locale-independent.  Optimize a bit by
44606         using isdigit instead of isalnum.
44607         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44609 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44611         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44612         was a dependency or dynamically loaded.
44614 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44616         * intl/l10nflist.c: Allow architecture-specific pop function.
44617         * sysdeps/x86_64/l10nflist.c: New file.
44619         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44620         classification.
44622 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44624         * include/dirent.h: Add libc_hidden_proto for scandirat and
44625         scandirat64.  Don't declare __scandirat64.
44626         * dirent/scandirat.c: Add libc_hidden_def.
44627         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44628         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44630 2011-08-10  David S. Miller  <davem@davemloft.net>
44632         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44633         enum.
44634         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44635         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44636         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44638 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44640         * Versions.def [libc]: Add GLIBC_2.15.
44641         * dirent/Makefile (routines): Add scandirat and scandirat64.
44642         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44643         GLIBC_2.15.
44644         * dirent/dirent.h: Declare scandirat and scandirat64.
44645         * dirent/scandirat.c: New file.
44646         * dirent/scandirat64.c: New file.
44647         * sysdeps/wordsize-64/scandirat.c: New file.
44648         * sysdeps/wordsize-64/scandirat64.c: New file.
44649         * dirent/opendir.c: Define opendirat.
44650         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44651         using scandirat.
44652         * dirent/scandir64.c: Adjust for scandir.c change.
44653         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44654         __scandirat64, and __scandir_cancel_handler.
44655         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44656         additional parameter and use openat instead of open (outside of ld.so).
44657         Add new __opendir as wrapper around __opendirat.
44658         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44659         here without requiring old scandirat implementation.
44661 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44663         * dirent/scandir.c (cancel_handler): Renamed to
44664         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44665         defined.  Adjust users.
44666         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44667         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44669 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44671         * string/test-string.h (IMPL): Use __STRING to expand name and then
44672         stringify it.
44674         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44675         of cleanups.
44677 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44679         * string/Makefile: Update.
44680         (strop-tests): Append strncat.
44681         * string/test-wcscmp.c: New file.
44682         New comprehensive test for wcscmp.
44683         * string/test-strcmp.c: Update.
44684         (WIDE): New define.
44686 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44688         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44689         line.
44691 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44693         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44694         encoding to ACE if AI_IDN.
44696 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44698         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44699         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44701 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44703         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44704         Fix overflow bug in strncat.
44705         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44707         * string/test-strncat.c: Update.
44708         Add new tests for checking overflow bugs.
44710 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44712         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44713         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44714         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44715         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44716         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44717         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44718         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44719         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44720         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44722         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44723         (USE_AS_STRCAT): Define.
44724         Add strcat and strncat support.
44725         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44727 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44729         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44730         __n bigger than INT_MAX+1.
44731         (__strncmp_g): Likewise.
44733 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44735         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44736         * libio/stido.h: Likewise.
44738         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44739         (AF_NFC): Define.
44740         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44741         (AF_NFC): Define.
44743         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44744         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44745         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44746         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44747         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44749         [BZ #13021]
44750         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44751         installed.
44753         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44754         typo.
44755         (_dl_x86_64_save_sse): Likewise.
44757 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44759         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44760         OSXSAVE.
44761         (_dl_x86_64_save_sse): Likewise.
44763         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44765         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44767 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44769         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44770         change.
44771         (_dl_x86_64_save_sse): Use correct AVX check.
44773 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44775         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44776         bug in strncpy/strncat.
44777         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44779 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44781         * string/tester.c (test_strcat): Add tests for different alignments
44782         of source and destination.
44783         (test_strncat): Likewise.
44785 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44787         [BZ #12852]
44788         * posix/glob.c (glob): Check passed in values before using them in
44789         expressions to avoid some overflows.
44790         (glob_in_dir): Likewise.
44792         [BZ #13007]
44793         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44794         check for AVX enablement so that we don't crash with old kernels and
44795         new hardware.
44796         * elf/tst-audit4.c: Add same checks here.
44797         * elf/tst-audit6.c: Likewise.
44799         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44801 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44803         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44805 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44807         * po/cs.po: Update from translation team.
44808         * po/bg.po: Likewise.
44810 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44812         * misc/sys/cdefs.h: Add support for const attribute.
44813         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44814         to gnu_dev_{major,minor,makedev} functions.
44816 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44818         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44820 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44822         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44823         strlen results.
44825 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44827         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44828         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44829         register in order to avoid conflicts with the soft frame pointer
44830         being held in r11 when necessary.
44831         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44832         (INTERNAL_VSYSCALL_NCS): Likewise.
44834 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44836         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44837         * elf/dl-fini.c (_dl_fini): Adjust caller.
44838         * elf/dl-close.c (_dl_close_worker): Likewise.
44839         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44841 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44843         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44844         "aux_cache->nlibs < 0".
44846         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44847         in the reload-count case.
44849 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44851         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44852         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44853         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44854         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44855         * sysdeps/x86_64/multiarch/strcat.S: New file.
44856         * sysdeps/x86_64/multiarch/strncat.S: New file.
44857         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44858         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44859         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44860         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44861         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44862         (USE_AS_STRCAT): Define.
44863         Add strcat and strncat support.
44864         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44865         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44866         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44867         * string/strncat.c: Update.
44868         (USE_AS_STRNCAT): Define.
44869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44870         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44871         and i7.
44872         * sysdeps/x86_64/multiarch/init-arch.h
44873         (bit_Prefer_PMINUB_for_stringop): New.
44874         (index_Prefer_PMINUB_for_stringop): Likewise.
44875         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44876         bit_Prefer_PMINUB_for_stringop.
44878 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44880         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44881         buffer64.
44882         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44883         of casting of buffer.
44884         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44885         buffer32 and buffer64.
44886         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44887         writes instead of casting of buffer.
44888         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44889         buffer32.
44890         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44891         casting of buffer.
44893 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44895         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44897 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44899         * nscd/nscd.c (termination_handler): Don't do anything for a database
44900         if it has not yet been initialized.
44902 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44904         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44906 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44908         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44910 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44912         * po/nl.po: Update from translation team.
44913         * po/sv.po: Likewise.
44915 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44917         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44918         now disallowed by GCC.
44920         * configure.in (use-default-link): Default to yes if a test -shared
44921         link meets our qualifications.
44922         * configure: Regenerated.
44924         * config.make.in (output-format): New variable.
44925         * configure.in: Check for ld --print-output-format support.
44926         * configure: Regenerated.
44927         * Makerules ($(common-objpfx)format.lds)
44928         [$(output-format) != unknown]: Just use $(output-format),
44929         instead of the linker-script munging.
44931 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44933         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44934         of $(common-objpfx)shlib.lds.
44935         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44937         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44938         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44940         * configure.in (-z relro check): Adjust test code to add a large
44941         writable data section after it.
44942         * configure: Regenerated.
44944 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44946         * configure.in (-z relro check): Fix test code to make the variable
44947         truly const.
44948         * configure: Regenerated.
44950 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44952         * nscd/nscd.h (struct traced_file): Define.
44953         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44954         elements.  Add traced_files.
44955         (inotify_fd): Declare.
44956         (register_traced_file): Declare.
44957         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44958         (inotify_fd): Export.
44959         (resolv_conf_descr): Remove.
44960         (nscd_init): Move inotify descriptor creation to main.
44961         Don't register files for notification here.
44962         (register_traced_file): New function.
44963         (invalidate_cache): Don't use reset_res to determine whether to call
44964         res_init, go through the list of registered files.
44965         (main_loop_poll): The inotify descriptors are now stored in the
44966         structures for the traced files.
44967         (main_loop_epoll): Likewise
44968         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44969         to __nss_disable_nscd.
44970         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44971         for a database anymore.  Check the records for all the registered
44972         files instead.
44973         * nss/Makefile (libnss_files-routines): Add files-init.
44974         (libnss_db-routines): Add db-init.
44975         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44976         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44977         * nss/nss_db/db-init.c: New file.
44978         * nss/nss_files/files-init.c: New file.
44979         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44980         __nss_lookup_function.
44981         (__nss_lookup_function): Call nss_load_library.
44982         (nss_load_all_libraries): New function.
44983         (__nss_disable_nscd): Take parameter with callback function for files
44984         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44985         used for the cached services.
44986         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44987         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44988         options for features to all the files in nscd.
44990         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44992 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44994         * csu/elf-init.c (__libc_csu_init): Comment typo.
44996 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44998         * po/pl.po: Update from translation team.
44999         * po/ja.po: Likewise.
45000         * po/ru.po: Likewise.
45001         * po/ko.po: Likewise.
45002         * po/fr.po: Likewise.
45004 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45006         * configure.in (.ctors/.dtors header and trailer check):
45007         Use an empirical test on a built program.
45008         * configure: Regenerated.
45010         * configure.in (-z relro check): Use an empirical test on a built DSO.
45011         Detect, but do not require, on ia64.
45012         * configure: Regenerated.
45014         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45015         Update tests that use readelf to use $READELF instead.
45016         * configure: Regenerated.
45018 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45020         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45021         if the result is not used.
45023 2011-07-05  Andreas Jaeger  <aj@suse.de>
45025         [BZ#9696]
45026         * stdlib/tst-strtod.c: Add testcase.
45028 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45030         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45031         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45032         The latter has a higher limit.  Take additional parameter to pass to
45033         the new function.
45034         (__pathconf): Pass file to __statfs_link_max.
45035         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45036         __statfs_link_max.
45037         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45038         __statfs_link_max.
45040         [BZ #12868]
45041         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45042         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45043         Handle Lustre.
45044         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45045         (__statfs_filesize_max): Likewise.
45046         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45048 2011-07-05  Andreas Jaeger  <aj@suse.de>
45050         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45052 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45054         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45055         `status' variable.
45056         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45057         Likewise.
45059 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45061         * Makefile (strop-tests): Add strncat.
45062         * string/test-strncat.c: New file.
45064 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45066         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45068 2011-06-21  Andreas Jaeger  <aj@suse.de>
45070         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45071         Copy rule from iconvdata/Makefile.
45073 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45075         [BZ #12922]
45076         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45077         but no long options are defined, just return 'W'.
45079 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45081         [BZ #9696]
45082         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45084 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45086         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45087         netgroups to read.
45088         (innetgr): Likewise.
45090 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45092         * config.make.in (install_root): Default to $(DESTDIR).
45094 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45096         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45098 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45100         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45102         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45103         containing directory rather than embedding absolute directory names.
45105         * scripts/check-local-headers.sh: Rewritten using awk.
45106         Match by word, not by line.  Print error messages for matches.
45107         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45109         * Makerules [shlib-lds-flags empty]:
45110         ($(common-objpfx)libc_pic.opts): New target.
45111         ($(common-objpfx)libc_pic.os.clean): New target.
45112         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45114         * config.make.in (OBJCOPY): New variable.
45115         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45116         * configure: Regenerated.
45118         * config.make.in (use-default-link): New variable.
45119         * configure.in (use_default_link): Grok --with-default-link to set it.
45120         * configure: Regenerated.
45121         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45122         (shlib-lds, shlib-lds-flags): Define to empty.
45124         * Makerules (shlib-lds): New variable.
45125         (shlib-lds-flags): New variable.
45126         (build-shlib, build-moduile, build-module-asneeded): Use it.
45127         ($(common-objpfx)libc.so): Use $(shlib-lds).
45128         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45129         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45131         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45132         DT_FLAGS/DT_FLAGS_1 with zero flags.
45134         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45135         linker script munging.
45137 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45139         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45140         as 128-bit value.
45141         * crypt/sha512.c (sha512_process_block): Perform total addition using
45142         128-bit if possible.
45143         (__sha512_finish_ctx): Likewise.
45144         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45145         as 64-bit value.
45146         * crypt/sha256.c (SWAP64): Define.
45147         (sha256_process_block): Perform total addition using 64-bit if
45148         possible.
45149         (__sha256_finish_ctx): Likewise.
45151 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45153         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45154         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45155         * nscd/hstcache.c (cache_addhst): Likewise.
45156         * nscd/grpcache.c (cache_addgr): Likewise.
45157         * nscd/aicache.c (addhstaiX): Likewise
45158         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45160 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45162         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45163         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45164         * nscd/hstcache.c (cache_addhst): Likewise.
45165         * nscd/grpcache.c (cache_addgr): Likewise.
45166         * nscd/aicache.c (addhstaiX): Likewise
45168 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45170         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45171         domain only when needed.
45173 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45176         is always restored.
45178 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45180         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45181         are re-adding the entry.
45182         * nscd/servicescache.c (cache_addserv): Likewise.
45184 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45186         * sysdeps/generic/dl-irel.h: fix protection against multiple
45187         inclusions.
45188         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45190 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45192         [BZ #12935]
45193         * malloc/memusage.sh: Fix quoting in message.
45194         * debug/xtrace.sh: Likewise.
45196         * configure.in: Remove support for --experimental-malloc option, make
45197         it the default.
45198         * config.make.in: Likewise.
45199         * malloc/Makefile: Likewise.
45201 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45203         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45204         two-byte characters.
45206 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45208         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45209         AC_CACHE_CHECK invocation.
45210         * configure: Regenerated.
45212         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45214 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45216         [BZ #12350]
45217         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45218         bit from old_res_options.
45220         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45222         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45223         value type for setfct.
45225 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45227         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45228         __gettimeofday instead of gettimeofday.
45230 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45232         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45234 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45236         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45238         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45239         info.
45241 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45244         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45245         strcpy-sse2-unaligned strncpy-sse2-unaligned
45246         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45247         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45248         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45249         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45250         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45251         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45252         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45253         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45254         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45255         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45256         (STRCPY): Support SSE2 and SSSE3 versions.
45258 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45260         [BZ #12874]
45261         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45262         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45263         kernels which artificially limit size of requests.
45265 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45267         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45268         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45269         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45270         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45271         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45272         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45273         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45274         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45275         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45276         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45277         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45278         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45279         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45280         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45281         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45282         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45283         Enable unaligned load optimization for Intel Core i3, i5 and i7
45284         processors.
45285         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45286         Define.
45287         (index_Fast_Unaligned_Load): Define.
45288         (HAS_FAST_UNALIGNED_LOAD): Define.
45290 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45292         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45294 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45296         [BZ #12907]
45297         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45298         until it is clear that the information is realy needed.
45299         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45301 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45305 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45307         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45308         /sys/devices/system/cpu/online if it is usable.
45310         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45311         reading the information from the /proc filesystem to once a second.
45313 2011-06-21  Andreas Jaeger  <aj@suse.de>
45315         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45316         NULL after inclusion of kernel headers.
45318 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45320         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45321         calls to internal_setent.
45323         [BZ #12885]
45324         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45325         addresses using gethostbyname4_r ignore IPv4 addresses.
45327         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45328         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45330         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45332 2011-06-20  David S. Miller  <davem@davemloft.net>
45334         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45335         inclusions.
45336         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45338         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45339         (elf_irel): Use it.
45340         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45341         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45342         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45343         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45344         * sysdeps/x86_64/dl-irel.h: Likewise.
45346         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45347         * elf/dl-sym.c: Likewise.
45349 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45351         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45352         need to dereference resplen2.
45354 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45356         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45358 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45360         * Makeconfig: Define vardbdir and inst_vardbdir.
45361         * nss/Makefile: Add rules to install db-Makefile.
45363         * nss/nss_db/db-XXX.c: Cleanup.
45365         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45366         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45367         GLIBC_PRIVATE.
45368         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45369         * nss/makedb.c: Implement -g option to specify that value strings
45370         are generated and should not be added to table iterated over for
45371         get*ent calls.
45372         * nss/nss_db/db-initgroups.c: New file.
45374         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45375         interface.
45377         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45378         (internal_getgrouplist): Adjust to name change.
45379         Update use_initgroups_entry if this is not the first call.
45380         * nss/databases.def: Add initgroups entry.
45382         * nss/makedb.c (compute_tables): Check result of multiple hash table
45383         sizes to minimize maximum chain length.
45385 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45387         * Versions.def: Add entry for libnss_db.
45388         * shlib-versions: Likewise.
45389         * nss/Makefile: Add rules to build libnss_db.
45390         * nss/Versions: Add libnss_db information.  Organize libnss_files
45391         entries better.
45392         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45393         makedb progra.  Some minor improvements to generate smaller files.
45394         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45395         here from...
45396         * nss/makedb.c: ...here.
45397         Improve database format to be smaller and require less memory at
45398         runtime.
45399         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45400         db anymore.
45401         * nss/nss_db/db-netgrp.c: Likewise.
45402         * nss/nss_db/db-open.c: Likewise.
45403         * nss/nss_files/flies-XXX.x: Adjust comments.
45404         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45405         * nss/nss_files/files-grp.c: Likewise.
45406         * nss/nss_files/files-hosts.c: Likewise.
45407         * nss/nss_files/files-network.c: Likewise.
45408         * nss/nss_files/files-proto.c: Likewise.
45409         * nss/nss_files/files-pwd.c: Likewise.
45410         * nss/nss_files/files-rpc.c: Likewise.
45411         * nss/nss_files/files-service.c: Likewise.
45412         * nss/nss_files/files-sgrp.c: Likewise.
45413         * nss/nss_files/files-spwd.c: Likewise.
45414         * nss/nss_db/db-alias.c: Removed.
45415         * nss/nss_db/dummy-db.h: Removed.
45417 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45419         * nss/makedb.c: Rewritten to not use database library.
45420         * nss/Makefile: Update to build new makedb program.
45422 2011-06-14  Andreas Jaeger  <aj@suse.de>
45424         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45425         memset declaration.
45427 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45429         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45430         tmpbuf.
45432 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45434         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45435         * elf/Makefile ($(objpfx)ld.so): Likewise.
45437         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45438         Don't list ld.so twice in dependencies.
45440         * posix/bug-regex31.c: Include <stdlib.h>.
45442         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45444         * nis/nss_compat/compat-spwd.c
45445         (getspent_next_nss_netgr): Remove unused variable.
45446         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45448         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45449         nonmembers" output to use the right array.
45451         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45453         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45455         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45456         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45457         * catgets/gencat.c (read_input_file): Likewise.
45458         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45460         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45461         variable definition inside #if's controlling its use.
45463         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45465         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45467         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45469         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45470         unreachable code.
45472         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45474         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45475         * configure: Regenerated.
45477         * Makerules: Revert last change.
45478         * elf/Makefile: Likewise.
45480 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45482         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45483         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45484         (reloc-link): Likewise.
45486 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45488         * elf/Makefile: Add rules to build pldd.
45489         * elf/pldd.c: New file.
45490         * elf/pldd-xx.c: New file.
45492 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45494         * version.h: Update for 2.15 development version.
45496 2011-06-07  David S. Miller  <davem@davemloft.net>
45498         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45499         ifuncs.
45500         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45501         elf_machine_lazy_rel): Likewise.
45502         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45503         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45504         elf_machine_lazy_rel): Likewise.
45505         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45506         dl_hwcap via passed in argument.
45507         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45508         Likewise.
45510 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45512         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45514 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45516         [BZ #12849]
45517         * manual/fdl-1.1.texi: New file, verbatim from:
45518         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45519         * manual/lgpl-2.1.texi: New file, verbatim from:
45520         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45521         * manual/Makefile (licenses): New variable, list those new file names.
45522         (texis): Use it.
45523         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45525         * manual/fdl.texi: File removed.
45526         * manual/lesser.texi: File removed.
45527         * manual/libc.texinfo (Copying, Documentation License):
45528         Use new @include file names, put @appendix directive before @include.
45530 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45532         [BZ #12841]
45533         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45534         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45535         (mq_open): Add __NTH.
45537 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45539         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45540         Assume Intel Core i3/i5/i7 processor if AVX is available.
45542 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45544         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45545         typo.
45547 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45549         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45550         memory.  Use alloca_account.  Fix memory leak when retrying.
45552 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45554         * version.h (RELEASE): Bump for 2.14 release.
45555         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45557         * config.make.in (RANLIB): Remove entry.
45559 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45561         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45562         (libc.pot): Work around missing support for .ksh extension in xgettext.
45564         [BZ #12684]
45565         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45566         if both request failed.
45567         (send_dg): In case of server errors clear resplen or *resplen2.
45569         [BZ #12454]
45570         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45571         when there are multiple maps.
45572         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45573         (_dl_fini): Remove test here.
45575         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45577 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45579         [BZ #12350]
45580         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45581         bit from old_res_options.
45582         (gaih_inet): Likewise.
45584         [BZ #11099]
45585         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45586         as signed.
45588         * resolv/res_init.c (res_setoptions): Make the code more compact.
45590         [BZ #11558]
45591         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45592         set RES_USEVC.
45594         [BZ #11634]
45595         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45597         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45599         [BZ #11781]
45600         * malloc/malloc.h: Declare malloc hook variables as volatile.
45602         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45603         in last patch.
45605         [BZ #11799]
45606         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45607         raise in the comment.
45608         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45609         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45610         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45612 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45614         [BZ #12811]
45615         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45616         grow the buffers more if it already has to be sufficient.
45617         (build_wcs_upper_buffer): Likewise.
45618         * posix/regexec.c (check_matching): Likewise.
45619         (clean_state_log_if_needed): Likewise.
45620         (extend_buffers): Don't enlarge buffers beyond size of the input
45621         buffer.
45622         Patches mostly by Emil Wojak <emil@wojak.eu>.
45623         * posix/bug-regex32.c: New file.
45624         * posix/Makefile (tests): Add bug-regex32.
45626         * locale/findlocale.c (_nl_find_locale): Return right away if
45627         _nl_explode_name failed.
45628         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45630         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45632         * debug/xtrace.sh: Unify messages.
45633         * malloc/memusage.sh: Likewise.
45635         [BZ #12813]
45636         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45637         time symbol from vDSO.  Substitute with vsyscall if not available.
45638         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45639         __vdso_time.
45641         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45642         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45643         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45644         Add sendmmsg and internal_sendmmsg.
45645         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45646         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45647         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45649         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45650         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45651         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45653 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45655         [BZ #12813]
45656         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45657         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45658         available.
45659         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45660         __vdso_getcpu.
45662         [BZ #12814]
45663         * iconvdata/Makefile (tests): Add bug-iconv9.
45664         * iconvdata/bug-iconv9.c: New file.
45666 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45668         [BZ #12814]
45669         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45671 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45673         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45674         (struct user_regs_struct): Change intcs field back to cs.
45676 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45678         * po/ja.po: Update from translation team.
45680 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45682         [BZ #12795]
45683         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45684         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45686 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45688         * stdlib/longlong.h: Update from GCC.
45690 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45692         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45693         parameter name.
45694         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45695         Add parameter name.
45696         (__sysconf): Pass it down.
45698 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45700         [BZ #12671]
45701         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45702         some situations.
45703         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45704         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45705         add in in __libc_use_alloca calls.  Adjust callers.
45706         (glob): Use malloc in some situations.
45708         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45709         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45710         pltexit.
45712 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45714         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45715         and CLOCK_BOOTTIME_ALARM.
45717         [BZ #12782]
45718         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45719         is returned.
45721         * string/_strerror.c (__strerror_r): Print negative errors as signed
45722         numbers.
45724         [BZ #12777]
45725         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45726         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45727         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45729         * configure.in: Fix typo in redirection and correct removal of test
45730         files in two cases.
45732         [BZ #12788]
45733         * locale/setlocale.c (new_composite_name): Fix test to check for
45734         identical name of all categories.
45736         [BZ #12792]
45737         * libio/filedoalloc.c (local_isatty): New function.
45738         (_IO_file_doallocate): Use local_isatty.
45739         * stdio-common/perror.c (perror): In case a new stream is used
45740         forward the stream error.
45741         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45742         error flag.
45744 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45746         [BZ #11869]
45747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45748         alloca.
45749         * include/alloca.h (extend_alloca_account): Define.
45751         [BZ #11857]
45752         * posix/regex.h: Fix comments with documentation of user-accessible
45753         fields after compilation and describe correct free'ing of pattern
45754         after re_compile_pattern.
45755         Patch by Reuben Thomas <rrt@sc3d.org>.
45757 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45759         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45760         and -mno-altivec to prevent the compiler from using Altivec and/or
45761         VSX instructions when the corresponding registers are not available.
45763 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45765         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45767 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45769         * libio/freopen.c (freopen): Use __dup2, not dup2.
45770         * libio/freopen64.c (freopen64): Likewise.
45772 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45774         [BZ #12775]
45775         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45776         * math/Makefile (tests): Add test-powl.
45777         (CFLAGS-test-powl.c): Define.
45778         * math/test-powl.c: New file.
45780 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45782         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45784 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45786         [BZ #11837]
45787         * iconvdata/gb18030.c: Update to GB18020-2005.
45789 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45791         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45792         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45793         Patch by Aharon Robbins <arnold@skeeve.com>.
45795         [BZ #11892]
45796         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45797         on the stack.
45799         [BZ #11895]
45800         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45801         through underflows.
45803         [BZ #12766]
45804         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45805         point to strings before performing equality test for error_one_per_line
45806         mode.
45808         [BZ #11697]
45809         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45811         [BZ #11820]
45812         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45813         (struct user_fpregs_struct): Avoid __uint*_t types.
45815         [BZ #6420]
45816         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45817         symbol info.  Use it instead of calling _dl_addr locally.
45818         (lock_and_info): New function.
45819         (tr_freehook): Call lock_and_info and pass symbol info as additional
45820         parameter to tr_where.
45821         (tr_mallochook): Likewise.
45822         (tr_reallochook): Likewise.
45823         (tr_memalignhook): Likewise.
45825         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45826         used and couldn't be at all thread-safe.
45828 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45830         * libio/freopen.c (freopen): Don't close old file descriptor
45831         before the new one is opened.  Instead dup the new file descriptor
45832         to the old one after the new stream is created.
45833         * libio/freopen64.c (freopen64): Likewise.
45834         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45835         * libio/fileops.c (_IO_new_file_close_it): Handle new
45836         _IO_FLAGS2_NOCLOSE flag.
45837         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45838         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45839         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45840         _IO_FLAGS2_NOCLOSE flag.
45841         * include/unistd.h: Add hidden_proto for dup3.
45842         Define __have_dup3.
45843         * io/dup3.c: Define hidden symbol.
45844         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45846         [BZ #7101]
45847         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45848         when an incomplete long option is used.
45849         * posix/tst-getopt_long1.c: New file.
45850         * posix/Makefile (tests): Add tst-getopt_long1.
45852         [BZ #10138]
45853         * scripts/config.guess: Update from autoconf-2.68.
45854         * scripts/config.sub: Likewise.
45856         [BZ #10157]
45857         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45858         tests into ...
45859         (has_cpuclock): ...this.  New function.
45860         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45861         macro here based on has_cpuclock code.
45863         [BZ #10149]
45864         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45865         First byte (not low byte) is now always NUL.
45866         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45868         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45869         Use non-cancelable interfaces.
45871         [BZ #9809]
45872         * locale/iso-639.def: Add entry for Sorani.
45874         [BZ #11901]
45875         * include/stdlib.h: Move include protection to the right place.
45876         Define abort_msg_s.  Declare __abort_msg with it.
45877         * stdlib/abort.c (__abort_msg): Adjust type.
45878         * assert/assert.c (__assert_fail_base): New function.  Majority
45879         of code from __assert_fail.  Allocate memory for __abort_msg with
45880         mmap.
45881         (__assert_fail): Now call __assert_fail_base.
45882         * assert/assert-perr.c: Remove bulk of implementation.  Use
45883         __assert_fail_base.
45884         * include/assert.hL Declare __assert_fail_base.
45885         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45886         mmap.
45887         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45889 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45891         [BZ #11952]
45892         [BZ #12453]
45893         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45894         until all modules are registered in the DTV.
45895         * elf/Makefile: Add rules to build and run tst-tls19.
45896         * elf/tst-tls19.c: New file.
45897         * elf/tst-tls19mod1.c: New file.
45898         * elf/tst-tls19mod2.c: New file.
45899         * elf/tst-tls19mod3.c: New file.
45900         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45902         [BZ #12083]
45903         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45904         correctly.
45906         [BZ #12601]
45907         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45908         two-byte sequence errors.
45909         * iconvdata/Makefile (tests): Add bug-iconv8.
45910         * iconvdata/bug-iconv8.c: New file.
45912         [BZ #12626]
45913         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45914         buf2 definition.
45916         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45918         [BZ #12432]
45919         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45920         (dummy_getcfa): New function.
45921         (init): Get _Unwind_GetCFA address, use dummy if not found.
45922         (backtrace_helper): In recursion check, also check whether CFA changes.
45923         (__backtrace): Completely initialize arg.
45925         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45926         storing incomplete byte sequence in state object.  Avoid testing for
45927         guaranteed too small input if we know there is enough data available.
45929 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45931         * Makeconfig (+link-pie): Indent.
45932         * Rules (binaries-pie): Define if $(have-fpie) and
45933         $(build-shared).
45934         (binaries-shared): Also filter out $(binaries-pie).
45935         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45936         * nscd/Makefile (others-pie): Add nscd.
45937         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45938         ($(objpfx)nscd): Remove command override.
45939         * login/Makefile (others-pie): Add pt_chown.
45940         ($(objpfx)pt_chown): Remove command override.
45941         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45942         remove command overrides.
45944 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45946         * libio/tst_putwc.c: Fix error messages.
45948         [BZ #12724]
45949         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45950         currently writing and seek to current position when not.
45951         * libio/Makefile (tests): Add bug-fclose1.
45952         * libio/bug-fclose1.c: New file.
45954 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45956         [BZ #12511]
45957         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45958         don't set DF_1_NODELETE here.
45959         (do_lookup_x): When entering new entry test for copy relocation
45960         and if necessary set DF_1_NODELETE flag.
45961         * elf/tst-unique4.cc: New file.
45962         * elf/tst-unique4.h: New file.
45963         * elf/tst-unique4lib.cc: New file.
45964         * elf/Makefile: Add rules to build and run tst-unique4.
45965         Patch by Piotr Bury <pbury@goahead.com>.
45967 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45969         [BZ #12052]
45970         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45972         [BZ #12625]
45973         * misc/mntent_r.c (addmntent): Flush the stream after the output
45975         [BZ #12393]
45976         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45977         (is_trusted_path_normalize): Skip initial colon.  Append slash
45978         to empty buffer.  Duplicate is_trusted_path code but allow
45979         constructed patch to be prefix.
45980         (is_dst): Allow $ORIGIN followed by /.
45981         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45982         Correct testing of result of is_trusted_path_normalize
45983         (decompose_rpath): Fix warning.
45985 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45987         [BZ #11257]
45988         * grp/initgroups.c (internal_getgrouplist): When we found the service
45989         list through the initgroups entry in nsswitch.conf do not always
45990         continue on a successful lookup.  Don't always use the
45991         __nss_group_database value if it is set.
45992         * nss/nsswitch.conf (initgroups): Change action for successful db
45993         lookup to continue for compatibility.
45995 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45997         [BZ #11532]
45998         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45999         and CP774 modules.
46000         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46001         and CP774 modules.
46002         * iconvdata/tst-tables.sh: Likewise.
46003         * iconvdata/cp770.c: New file.
46004         * iconvdata/cp771.c: New file.
46005         * iconvdata/cp772.c: New file.
46006         * iconvdata/cp773.c: New file.
46007         * iconvdata/cp774.c: New file.
46008         * iconvdata/testdata/CP770: New file.
46009         * iconvdata/testdata/CP770..UTF8: New file.
46010         * iconvdata/testdata/CP771: New file.
46011         * iconvdata/testdata/CP771..UTF8: New file.
46012         * iconvdata/testdata/CP772: New file.
46013         * iconvdata/testdata/CP772..UTF8: New file.
46014         * iconvdata/testdata/CP773: New file.
46015         * iconvdata/testdata/CP773..UTF8: New file.
46016         * iconvdata/testdata/CP774: New file.
46017         * iconvdata/testdata/CP774..UTF8: New file.
46019         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46020         END CHARMAP line.
46021         * iconvdata/gen-8bit-gap.sh: Likewise.
46022         * iconvdata/gen-8bit.sh: Likewise.
46024         * locale/iso-639.def: Add ary entry.
46026         [BZ #11258]
46027         * locale/C-translit.h.in: Add U20A1 transliteration.
46029         [BZ #12178]
46030         * locale/iso-639.def: Add wae entry.
46031         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46033         [BZ #12545]
46034         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46035         for n.
46037         [BZ #12711]
46038         * locale/C-translit.h.in: Add entry for U20B9.
46039         Patch by pravin.d.s@gmail.com.
46041 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46043         [BZ #12713]
46044         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46045         ENAMETOOLONG use generic getcwd.
46046         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46047         in rtld.  Use *stat64.
46048         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46049         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46050         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46051         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46052         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46053         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46054         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46055         __fstatat64 macros.
46056         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46057         * dirent/rewinddir.c: Add libc_hidden_def.
46058         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46059         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46061         * include/dirent.h (__alloc_dir): Add flags parameter.
46062         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46063         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46064         __alloc_dir.
46065         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46066         from fdopendir if O_CLOEXEC is already set.
46068 2011-03-15  Alan Modra  <amodra@gmail.com>
46070         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46071         l_tls_firstbyte_offset non-zero.  Save padding offset in
46072         l_tls_firstbyte_offset for later use.
46073         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46074         freeing static tls block.
46076 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46078         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46079         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46080         being defined by the kernel headers.
46082 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46084         [BZ #12734]
46085         * resolv/resolv.h: Define RES_NOTLDQUERY.
46086         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46087         no-tld-query and set RES_NOTLDQUERY.
46088         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46089         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46090         modern BIND to search name as TLD unless forbidden.
46092 2011-05-07  Petr Baudis  <pasky@suse.cz>
46093             Ulrich Drepper  <drepper@gmail.com>
46095         [BZ #12393]
46096         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46097         (is_trusted_path): ...to here.
46098         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46099         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46100         using is_trusted_path_normalize() in setuid scripts.
46102 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46104         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46105         __BEGIN/__END_DECLS.
46107 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46109         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46110         NSS_STATUS_NOTFOUND if no record was found.
46112 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46114         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46115         (headers-not-in-tirpc): Remove rpc/netdb.h
46116         * resolv/netdb.h: Revert last change.
46118 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46120         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46121         circular dependency between libgcc.a and libc.a.
46123 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46125         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46126         * nis/Makefile: Don't install rpcsvc/*.
46127         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46128         instead of <rpc/types.h>.
46129         (MAXHOSTNAMELEN): Define.
46131 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46133         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46135 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46137         [BZ #12714]
46138         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46139         gethostbyname4_r when IPv6 results are possible.
46141 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46143         [BZ #12723]
46144         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46145         _PC_PIPE_BUF handling.
46147 2011-04-30  Bruno Haible  <bruno@clisp.org>
46149         [BZ #12717]
46150         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46151         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46152         to 'int'.
46153         * inet/getnameinfo.c (getnameinfo): Likewise.
46155 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46157         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46158         to groups setting in database lookup.
46159         * nss/nsswitch.conf: Add initgroups entry.
46161 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46163         [BZ #12685]
46164         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46165         mode string.
46166         Patch by Eric Blake <eblake@redhat.com>.
46168 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46170         * sunrpc/Makefile (need-export-routines): Add svc_run.
46171         (routines): Remove svc_run.
46172         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46173         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46174         * sunrpc/svc_run.c (svc_run): Likewise.
46175         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46177 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46179         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46180         problem in reallocation in last patch.
46182 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46184         * sunrpc/Makefile: Move inclusion of Rules.
46186 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46188         * nss/nss_files/files-initgroups.c: New file.
46189         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46190         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46191         _nss_files_initgroups_dyn.
46193 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46195         * elf/elf.h (R_ARM_IRELATIVE): Define.
46197 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46199         * po/ru.po: Update from translation team.
46201 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46203         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46204         dependencies.
46206 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46208         [BZ #12653]
46209         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46210         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46211         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46212         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46213         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46215 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46217         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46218         differing bytes.
46219         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46220         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46221         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46223 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46225         [BZ #12420]
46226         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46227         storing it.
46228         * stdlib/bug-getcontext.c: New file.
46229         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46231 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46233         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46234         instructions into .machine "z9-109".
46235         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46236         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46238 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46240         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46241         between environment variables and auxiliary vector.
46243 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46245         * Makefile: Add rules to build linkobj/libc.so.
46246         * include/libc-symbols.h: Define libc_hidden_nolink.
46247         * include/rpc/auth.h: Mark functions which are to be hidden.
46248         * include/rpc/auth_des.h: Likewise.
46249         * include/rpc/auth_unix.h: Likewise.
46250         * include/rpc/clnt.h: Likewise.
46251         * include/rpc/des_crypt.h: Likewise.
46252         * include/rpc/key_prot.h: Likewise.
46253         * include/rpc/pmap_clnt.h: Likewise.
46254         * include/rpc/pmap_prot.h: Likewise.
46255         * include/rpc/pmap_rmt.h: Likewise.
46256         * include/rpc/rpc_msg.h: Likewise.
46257         * include/rpc/svc.h: Likewise.
46258         * include/rpc/svc_auth.h: Likewise.
46259         * include/rpc/xdr.h: Likewise.
46260         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46261         * nss/Makefile: Likewise.
46262         * sunrpc/Makefile: Don't install headers.  Build library with normal
46263         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46264         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46265         for the compat linking library.  Remove use of INTDEF/INTUSE.
46266         * sunrpc/auth_none.c: Likewise.
46267         * sunrpc/auth_unix.c: Likewise.
46268         * sunrpc/authdes_prot.c: Likewise.
46269         * sunrpc/authuxprot.c: Likewise.
46270         * sunrpc/clnt_gen.c: Likewise.
46271         * sunrpc/clnt_perr.c: Likewise.
46272         * sunrpc/clnt_raw.c: Likewise.
46273         * sunrpc/clnt_simp.c: Likewise.
46274         * sunrpc/clnt_tcp.c: Likewise.
46275         * sunrpc/clnt_udp.c: Likewise.
46276         * sunrpc/clnt_unix.c: Likewise.
46277         * sunrpc/des_crypt.c: Likewise.
46278         * sunrpc/des_soft.c: Likewise.
46279         * sunrpc/get_myaddr.c: Likewise.
46280         * sunrpc/key_call.c: Likewise.
46281         * sunrpc/key_prot.c: Likewise.
46282         * sunrpc/netname.c: Likewise.
46283         * sunrpc/pm_getmaps.c: Likewise.
46284         * sunrpc/pm_getport.c: Likewise.
46285         * sunrpc/pmap_clnt.c: Likewise.
46286         * sunrpc/pmap_prot.c: Likewise.
46287         * sunrpc/pmap_prot2.c: Likewise.
46288         * sunrpc/pmap_rmt.c: Likewise.
46289         * sunrpc/publickey.c: Likewise.
46290         * sunrpc/rpc_cmsg.c: Likewise.
46291         * sunrpc/rpc_common.c: Likewise.
46292         * sunrpc/rpc_dtable.c: Likewise.
46293         * sunrpc/rpc_prot.c: Likewise.
46294         * sunrpc/rpc_thread.c: Likewise.
46295         * sunrpc/rtime.c: Likewise.
46296         * sunrpc/svc.c: Likewise.
46297         * sunrpc/svc_auth.c: Likewise.
46298         * sunrpc/svc_authux.c: Likewise.
46299         * sunrpc/svc_raw.c: Likewise.
46300         * sunrpc/svc_run.c: Likewise.
46301         * sunrpc/svc_simple.c: Likewise.
46302         * sunrpc/svc_tcp.c: Likewise.
46303         * sunrpc/svc_udp.c: Likewise.
46304         * sunrpc/svc_unix.c: Likewise.
46305         * sunrpc/svcauth_des.c: Likewise.
46306         * sunrpc/xcrypt.c: Likewise.
46307         * sunrpc/xdr.c: Likewise.
46308         * sunrpc/xdr_array.c: Likewise.
46309         * sunrpc/xdr_float.c: Likewise.
46310         * sunrpc/xdr_intXX_t.c: Likewise.
46311         * sunrpc/xdr_mem.c: Likewise.
46312         * sunrpc/xdr_rec.c: Likewise.
46313         * sunrpc/xdr_ref.c: Likewise.
46314         * sunrpc/xdr_sizeof.c: Likewise.
46315         * sunrpc/xdr_stdio.c: Likewise.
46317 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46319         [BZ #12650]
46320         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46321         * sysdeps/ia64/dl-tls.h: Likewise.
46322         * sysdeps/powerpc/dl-tls.h: Likewise.
46323         * sysdeps/s390/dl-tls.h: Likewise.
46324         * sysdeps/sh/dl-tls.h: Likewise.
46325         * sysdeps/sparc/dl-tls.h: Likewise.
46326         * sysdeps/x86_64/dl-tls.h: Likewise.
46327         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46329 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46331         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46332         rpath element also skip the following colon.
46333         (expand_dynamic_string_token): Add is_path parameter and pass
46334         down to DL_DST_REQUIRED and _dl_dst_substitute.
46335         (decompose_rpath): Call expand_dynamic_string_token with
46336         non-zero is_path.  Ignore empty rpaths.
46337         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46338         with zero is_path.
46340 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46343         Make cancelable.
46345 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46347         [BZ #12655]
46348         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46349         Patch by Filipe David Manana <fdmanana@apache.org>.
46351 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46353         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46354         Maintain aligned stack.
46355         (CHECK_RSP): Remove unused macro.
46357 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46359         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46360         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46362 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46364         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46366         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46368 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46370         [BZ #12518]
46371         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46372         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46373         * sysdeps/x86_64/memmove.c: New file.
46374         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46375         (memcpy): Renamed to ...
46376         (__new_memcpy): This.
46377         (memcpy): Provide GLIBC_2_14 memcpy.
46378         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46379         (memcpy): Provide GLIBC_2_2_5 memcpy.
46381 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46383         [BZ #12631]
46384         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46386 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46388         * misc/syncfs.c: New file.
46389         * misc/Makefile (routines): Add syncfs.
46390         * posix/unistd.h: Declare syncfs.
46391         * sysdeps/unix/syscalls.list: Add syncfs.
46393 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46395         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46396         open_by_handle_at.
46397         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46398         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46399         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46400         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46401         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46402         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46403         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46405 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46407         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46408         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46409         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46410         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46411         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46412         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46413         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46415         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46416         sync_file_range.c with -fexceptions.
46417         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46418         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46419         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46420         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46421         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46422         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46423         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46424         sync_file_range as cancellation point
46425         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46426         now a wrapper around __call_sync_file_range with cancellation handling.
46427         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46428         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46429         function name to __call_sync_file_range.
46430         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46431         Add call_sync_file_range.
46433 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46435         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46436         bits/timex.h.
46438 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46440         * iconv/iconv.h: Fix typo in comment.
46441         * io/fcntl.h: Likewise.
46442         * libio/stdio.h: Likewise.
46443         * posix/spawn.h: Likewise.
46444         * posix/unistd.h: Likewise.
46445         * stdlib/stdlib.h: Likewise.
46446         * time/time.h: Likewise.
46447         * wcsmbs/wchar.h: Likewise.
46449         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46450         open_by_handle): Add.
46451         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46452         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46453         Augment a few comments.
46454         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46455         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46456         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46457         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46458         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46459         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46460         open_by_handle.
46462         * io/fcntl.h (AT_EMPTY_PATH): Define.
46464 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46466         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46467         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46468         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46469         to...
46470         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46471         * Versions.def: Add GLIBC_2.14.
46472         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46473         Export.
46475 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46477         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46478         round counter.
46479         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46481 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46483         [BZ #12597]
46484         * string/test-strncmp.c (do_page_test): New function.
46485         (check2): Likewise.
46486         (test_main): Call check2.
46487         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46489 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46491         [BZ #12587]
46492         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46493         Handle cache information in CPU leaf 4.
46494         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46496 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46498         [BZ #12583]
46499         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46500         character representation.
46501         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46503 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46505         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46506         END(__isnan) to END(__isnanf) to match function entry point/label
46507         EALIGN(__isnanf,...).
46509 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46511         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46513 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46515         [BZ #12510]
46516         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46517         copy from the symbol referenced in the relocation to initialize the
46518         used variable.
46519         Patch by Piotr Bury <pbury@goahead.com>.
46520         * elf/Makefile: Add rules to build and tst-unique3.
46521         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46522         * elf/tst-unique3.cc: New file.
46523         * elf/tst-unique3.h: New file.
46524         * elf/tst-unique3lib.cc: New file.
46525         * elf/tst-unique3lib2.cc: New file.
46527         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46529 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46531         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46532         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46533         to _start.
46535 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46537         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46538         to-be-loaded object along a path to loader is ld.so.
46540 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46541             Ulrich Drepper  <drepper@gmail.com>
46543         * sysdeps/x86_64/memset.S: After aligning destination, code
46544         branches to different locations depending on the value of
46545         misalignment, when multiarch is enabled. Fix this.
46547 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46549         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46550         Set _x86_64_preferred_memory_instruction for AMD processsors.
46551         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46552         Set bit_Prefer_SSE_for_memop for AMD processors.
46554 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46556         * libio/fmemopen.c (fmemopen): Optimize a bit.
46558 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46560         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46562 2011-03-03  Roland McGrath  <roland@redhat.com>
46564         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46566 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46568         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46569         __bzero_ultra1 instead of __memset_ultra1.
46571 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46572             Ulrich Drepper  <drepper@gmail.com>
46574         [BZ #12509]
46575         * include/link.h (struct link_map): Add l_orig_initfini.
46576         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46577         returning unsuccessfully.
46578         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46579         close of a file loaded at startup, restore the original l_initfini
46580         list.
46581         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46582         list, store the pointer.
46583         * elf/Makefile ($(objpfx)noload-mem): New rule.
46584         (noload-ENV): Define.
46585         (tests): Add $(objpfx)noload-mem.
46586         * elf/noload.c: Include <memcheck.h>.
46587         (main): Call mtrace.  Close all opened handles.
46589 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46591         [BZ #12454]
46592         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46593         dependencies are missing.
46595 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46597         Fix __if_freereq crash: Unlike the generic version which uses free,
46598         Hurd needs munmap.
46599         * sysdeps/mach/hurd/ifreq.h: New file.
46601 2011-01-27  Petr Baudis  <pasky@suse.cz>
46602             Ulrich Drepper  <drepper@gmail.com>
46604         [BZ 12445]#
46605         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46606         to extend_alloca().
46607         * stdio-common/bug23.c: New file.
46608         * stdio-common/Makefile (tests): Add bug23.
46610 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46611             Ulrich Drepper  <drepper@gmail.com>
46613         [BZ #12489]
46614         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46615         before performing relro protection.  At old place add assertion
46616         to make sure nothing changed.
46618 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46619             Glauber de Oliveira Costa  <glommer@gmail.com>
46621         * elf/elf.h: Add new ARM TLS relocs.
46623 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46626         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46627         cast from r3.
46628         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46629         'tests' variable.
46630         * sysdeps/wordsize-64/tst-writev.c: New file.
46632 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46634         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46635         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46636         insns in _dl_start to prevent a TOC reference before relocs are
46637         resolved.
46639 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46641         [BZ #12469]
46642         * Makeconfig: Remove RANLIB definition.
46643         * Makerules: Don't use RANLIB.
46644         * aclocal.m4: Remove ranlib test.
46645         * configure.in: No need to check for ranlib.
46646         * elf/rtld-Rules: Don't use RANLIB.
46648 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46650         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46651         protection macro.
46652         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46653         inclusion protection macro.
46655         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46656         SIGRTMIN and SIGRTMAX and print information in that case only when
46657         SIGRTMIN is defined.
46659 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46661         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46662         arginfo fn returning -1.
46664         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46665         and thousands string is zero terminated.
46667 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46669         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46670         sysdeps/unix/sysv/linux/bits/socket.h.
46672 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46674         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46675         (__CPU_COUNT): Remove old macros.
46676         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46677         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46678         (__CPU_ALLOC, __CPU_FREE): Add macros.
46679         (__sched_cpualloc, __sched_cpufree): Add declarations.
46681 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46683         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46684         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46685         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46686         (readdhstai): Return value of addhstaiX call.
46687         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46688         (addgrbyX): Return value returned by cache_addgr.
46689         (readdgrbyname): Return value returned by addgrbyX.
46690         (readdgrbygid): Likewise.
46691         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46692         (addpwbyX): Return value returned by cache_addpw.
46693         (readdpwbyname): Return value returned by addhstbyX.
46694         (readdpwbyuid): Likewise.
46695         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46696         (addservbyX): Return value returned by cache_addserv.
46697         (readdservbyname): Return value returned by addservbyX:
46698         (readdservbyport): Likewise.
46699         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46700         (addhstbyX): Return value returned by cache_addhst.
46701         (readdhstbyname): Return value returned by addhstbyX.
46702         (readdhstbyaddr): Likewise.
46703         (readdhstbynamev6): Likewise.
46704         (readdhstbyaddrv6): Likewise.
46705         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46706         (readdinitgroups): Return value returned by addinitgroupsX.
46707         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46708         (prune_cache): Keep track of timeout value of re-added entries.
46709         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46710         * nscd/nscd.h: Adjust prototypes of readd* functions.
46712 2011-02-04  Roland McGrath  <roland@redhat.com>
46714         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46715         (nis_stats): Likewise.
46716         * nis/nis_modify.c (nis_modify): Likewise.
46717         * nis/nis_remove.c (nis_remove): Likewise.
46718         * nis/nis_add.c (nis_add): Likewise.
46720         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46722         * posix/fnmatch_loop.c: Add some consts.
46724         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46726 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46728         [BZ #12460]
46729         * config.make.in (config-cflags-novzeroupper): Define.
46730         * configure.in: Substitute libc_cv_cc_novzeroupper.
46731         * elf/Makefile (AVX-CFLAGS): Define.
46732         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46733         (CFLAGS-tst-auditmod4a.c): Likewise.
46734         (CFLAGS-tst-auditmod4b.c): Likewise.
46735         (CFLAGS-tst-auditmod6b.c): Likewise.
46736         (CFLAGS-tst-auditmod6c.c): Likewise.
46737         (CFLAGS-tst-auditmod7b.c): Likewise.
46738         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46740 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46742         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46743         function to the callback.
46744         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46746 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46748         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46749         of errno.
46751 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46753         [BZ #11724]
46754         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46755         of constructors.
46756         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46757         of destructors.
46758         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46760         [BZ #11724]
46761         * elf/Makefile: Add rules to build and run new test.
46762         * elf/tst-initorder.c: New file.
46763         * elf/tst-initorder.exp: New file.
46764         * elf/tst-initordera1.c: New file.
46765         * elf/tst-initordera2.c: New file.
46766         * elf/tst-initordera3.c: New file.
46767         * elf/tst-initordera4.c: New file.
46768         * elf/tst-initorderb1.c: New file.
46769         * elf/tst-initorderb2.c: New file.
46770         * elf/tst-order-a1.c: New file.
46771         * elf/tst-order-a2.c: New file.
46772         * elf/tst-order-a3.c: New file.
46773         * elf/tst-order-a4.c: New file.
46774         * elf/tst-order-b1.c: New file.
46775         * elf/tst-order-b2.c: New file.
46776         * elf/tst-order-main.c: New file.
46777         New test case by George Gensure <werkt0@gmail.com>.
46779 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46781         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46782         decoding ACE if AI_CANONIDN.
46784 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46786         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46788 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46790         * version.h (RELEASE): Bump for 2.13 release.
46791         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46793         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46795         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46796         MADV_NOHUGEPAGE.
46797         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46798         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46799         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46800         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46801         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46802         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46804         * posix/getconf.c: Update copyright year.
46805         * catgets/gencat.c: Likewise.
46806         * csu/version.c: Likewise.
46807         * debug/catchsegv.sh: Likewise.
46808         * debug/xtrace.sh: Likewise.
46809         * elf/ldconfig.c: Likewise.
46810         * elf/ldd.bash.in: Likewise.
46811         * elf/sprof.c (print_version): Likewise.
46812         * iconv/iconv_prog.c: Likewise.
46813         * iconv/iconvconfig.c: Likewise.
46814         * locale/programs/locale.c: Likewise.
46815         * locale/programs/localedef.c: Likewise.
46816         * malloc/memusage.sh: Likewise.
46817         * malloc/mtrace.pl: Likewise.
46818         * nscd/nscd.c (print_version): Likewise.
46819         * nss/getent.c: Likewise.
46821         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46822         PF_CAIF, and PF_ALG.
46823         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46825 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46827         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46828         (modules-names): Use them.
46829         (ifunc-test-modules, ifunc-pie-tests): Define.
46830         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46831         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46832         (test-extras): Likewise.
46833         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46834         $(compile-command.c).
46835         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46836         (all-built-dso): Define.
46837         (check-textrel.out, check-execstack.out): Depend on it.
46839         * configure.in: Don't override --enable-multi-arch.
46841 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46843         [BZ #6812]
46844         * nscd/hstcache.c (tryagain): Define.
46845         (cache_addhst): Return tryagain not notfound for temporary errors.
46846         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46847         failed.
46849 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46851         [BZ #10563]
46852         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46853         to make the syscall.
46854         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46856         [BZ #12378]
46857         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46858         and fall back to matching as normal character if the string ends before
46859         the matching ']' is found.  This is what POSIX requires.
46860         * posix/testfnm.c: Adjust test result.
46861         * posix/globtest.sh: Adjust test result.  Add new test.
46862         * posix/tst-fnmatch.input: Likewise.
46863         * posix/tst-fnmatch2.c: Add new test.
46865 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46867         * elf/Makefile (check-execstack): Revert last change.  Depend on
46868         check-execstack.h.
46869         (check-execstack.h): New target.
46870         (generated): Add check-execstack.h.
46871         * elf/check-execstack.c: Include "check-execstack.h".
46872         (main): Revert last change.
46873         (handle_file): Return zero if GNU_STACK is absent and
46874         DEFAULT_STACK_PERMS doesn't include PF_X.
46876 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46878         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46879         in child fails because the descriptor is already closed.
46880         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46881         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46882         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46884         [BZ #12397]
46885         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46886         syscall.
46888         [BZ #10484]
46889         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46890         temporary buffer used to handle multi lookups locally.
46891         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46893 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46895         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46896         loader is ld.so.
46898 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46900         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46901         alignment for SSE2.
46903 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46905         [BZ #12394]
46906         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46907         characters.  When rounding increased number of integer digits recompute
46908         number of groups.
46909         * stdio-common/tst-grouping.c: New file.
46910         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46912 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46914         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46915         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46917         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46918         void.
46919         * bits/select.h: Likewise.
46921 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46923         * po/ja.po: Update from translation team.
46925 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46927         [BZ #11155]
46928         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46929         implementation just like for lxstat, fxstatat, et al.
46931 2010-12-27  Jim Meyering  <meyering@redhat.com>
46933         [BZ #12348]
46934         * posix/regexec.c (build_trtable): Return failure indication upon
46935         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46937 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46939         [BZ #12201]
46940         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46941         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46942         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46943         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46945         [BZ #12207]
46946         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46948         [BZ #12204]
46949         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46950         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46952 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46954         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46955         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46956         script has SORT_BY_INIT_PRIORITY.
46957         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46958         NO_CTORS_DTORS_SECTIONS is defined.
46959         * elf/soinit.c: Likewise.
46960         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46961         NO_CTORS_DTORS_SECTIONS is defined.
46962         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46963         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46964         * sysdeps/sh/init-first.c: Likewise.
46965         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46967 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46969         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46970         always use the slow path.
46972 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46974         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46975         similar rule which adds the sysdep directories to the header search in
46976         order to pick up the correct platform stackinfo.h.
46977         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46978         perform test if it is, otherwise return successfully without testing.
46979         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46980         DEFAULT_STACK_PERMS define in stackinfo.h.
46981         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46982         defined in stackinfo.h.
46983         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46984         DEFAULT_STACK_PERMS defined in stackinfo.h.
46985         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46986         * sysdeps/ia64/stackinfo.h: Likewise.
46987         * sysdeps/s390/stackinfo.h: Likewise.
46988         * sysdeps/sh/stackinfo.h: Likewise.
46989         * sysdeps/sparc/stackinfo.h: Likewise.
46990         * sysdeps/x86_64/stackinfo.h: Likewise.
46991         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46992         PF_X for powerpc64.  Retain PF_X for powerpc32.
46994 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46996         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46997         accurately.
46998         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46999         GETDENTS_64BIT_ALIGNED.
47001 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47003         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47005 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47007         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47008         _GNU_SOURCE.
47010         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47011         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47012         Remove __restrict.
47013         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47014         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47016 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47018         [BZ #11655]
47019         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47020         are initialized.
47022 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47024         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47026 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47028         * po/it.po: Update from translation team.
47030 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47032         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47033         unused codes.
47035 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47037         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47039 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47041         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47042         specially.
47043         (gaih_getanswer_slice): Likewise.
47045 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47047         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47049 2010-05-31  Petr Baudis  <pasky@suse.cz>
47051         [BZ #11149]
47052         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47053         silently even in the chroot mode.
47055 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47057         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47058         last patch a bit.  Pretty printing
47060 2010-05-31  Petr Baudis <pasky@suse.cz>
47062         [BZ #10085]
47063         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47064         initialization of skip_initgroups_dyn.
47066 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47068         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47069         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47071 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47073         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47075 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47077         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47078         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47079         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47080         ($(objpfx)tst-fnmatch-mem): New rule.
47081         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47082         * posix/tst-fnmatch.c (main): Call mtrace.
47084 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47087         Support Intel processor model 6 and model 0x2c.
47089 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47091         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47092           signed comparison.
47094 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47096         [BZ #12205]
47097         * string/test-strncasecmp.c (check_result): New function.
47098         (do_one_test): Use it.
47099         (check1): New function.
47100         (test_main): Use it.
47101         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47102         Support strcasecmp and strncasecmp.
47104 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47106         [BZ #12194]
47107         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47108         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47110 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47112         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47113         IFUNC support.
47114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47115         memset-x86-64.
47116         * sysdeps/x86_64/multiarch/bzero.S: New file.
47117         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47118         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47119         * sysdeps/x86_64/multiarch/memset.S: New file.
47120         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47122         Set bit_Prefer_SSE_for_memop for Intel processors.
47123         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47124         Define.
47125         (index_Prefer_SSE_for_memop): Define.
47126         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47128 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47130         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47131         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47133 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47135         [BZ #12191]
47136         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47137         (__x86_64_raw_data_cache_size_half): Likewise.
47138         (__x86_64_raw_shared_cache_size): Likewise.
47139         (__x86_64_raw_shared_cache_size_half): Likewise.
47141         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47142         (__x86_64_raw_data_cache_size_half): Likewise.
47143         (__x86_64_raw_shared_cache_size): Likewise.
47144         (__x86_64_raw_shared_cache_size_half): Likewise.
47145         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47146         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47147         and __x86_64_raw_shared_cache_size_half.  Round
47148         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47149         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47150         to multiple of 256 bytes.
47152 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47154         [BZ #12167]
47155         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47156         of inacessible symlinks.  Verify result of symlink before returning it.
47157         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47158         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47160 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47162         * math/math.h (isinf): Fix typo in comment.
47164 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47166         * po/da.po: Update from translation team.
47168 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47170         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47171         is added to the list.
47173 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47174             Ulrich Drepper  <drepper@gmail.com>
47176         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47177         the global list here.  Move code to...
47178         (_dl_add_to_namespace_list): ...here.  New function.
47179         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47180         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47181         * elf/dl-load.c (lose): Don't remove the element from the list.
47182         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47183         (_dl_map_object): Likewise.
47185 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47187         [BZ #12159]
47188         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47189         into all bytes of SSE register.
47190         Patch by Richard Li <richardpku@gmail.com>.
47192 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47194         [BZ #12140]
47195         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47196         perturbing.
47198 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47200         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47201         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47202         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47203         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47205         submachine.
47206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47208 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47210         * include/dlfcn.h (__RTLD_SECURE): Define.
47211         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47212         mode & __RTLD_SECURE instead.
47213         (open_path): Rename preloaded parameter to secure.
47214         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47215         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47216         * elf/dl-deps.c (openaux): Likewise.
47217         * elf/rtld.c (struct map_args): Remove is_preloaded.
47218         (map_doit): Don't use it.
47219         (dl_main): Likewise.
47220         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47221         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47223 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47225         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47226         (sysd-rules-targets): Remove duplicates.
47227         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47228         rtld-%.$o dependency.
47230 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47232         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47233         _dl_map_object do it.
47235 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47237         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47238         fast fma builtins, define the macros in the C99 standard.
47239         (FP_FAST_FMAF): Likewise.
47240         (FP_FAST_FMAL): Likewise.
47241         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47243         * bits/mathdef.h: Update copyright year.
47244         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47246 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47248         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47249         builtins, define the macros in the C99 standard.
47250         (FP_FAST_FMAF): Likewise.
47251         (FP_FAST_FMAL): Likewise.
47252         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47253         multiply/add.
47254         (FP_FAST_FMAF): Likewise.
47256 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47258         [BZ #3268]
47259         * math/libm-test.inc (fma_test): Some new testcases.
47260         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47261         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47262         y and infinite z.  Do multiplication by C already in long double.
47263         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47265         y and infinite z.  Do bitwise or of inexact bit into u.d.
47266         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47267         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47268         * sysdeps/i386/fpu/s_fma.S: Removed.
47269         * sysdeps/i386/fpu/s_fmal.S: Removed.
47271 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47273         [BZ #3268]
47274         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47275         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47276         computation is not scheduled after fetestexcept.  Fix value
47277         of minimum denormal long double.
47279 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47281         [BZ #3268]
47282         * math/libm-test.inc (fma_test): Add some more tests.
47283         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47284         correctly.
47286 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47288         * scripts/data/localplt-s390-linux-gnu.data: New file.
47289         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47291 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47293         [BZ #3268]
47294         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47295         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47296         instead of dbl-64.
47297         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47298         inlines.
47299         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47300         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47301         if one of x and y is very large and the other is subnormal.
47302         * sysdeps/s390/fpu/s_fmaf.c: New file.
47303         * sysdeps/s390/fpu/s_fma.c: New file.
47304         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47305         * sysdeps/powerpc/fpu/s_fma.S: New file.
47306         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47307         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47308         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47310 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47312         [BZ #3268]
47313         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47314         fma tests.
47315         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47316         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47317         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47318         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47319         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47320         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47321         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47323 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47325         [BZ #12078]
47326         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47327         * posix/bug-regex31.input: Add test case.
47329 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47331         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47332         * posix/bug-regex31.input: New file.
47334         [BZ #12078]
47335         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47336         (parse_sub_exp): Fix last change, use postorder.
47338         * posix/bug-regex31.c: New file.
47339         * posix/Makefile: Add rules to build and run bug-regex31.
47341         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47343         [BZ #12078]
47344         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47346         [BZ #12108]
47347         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47348         to have entries in sys_siglist.
47350         [BZ #12093]
47351         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47352         be NULL.
47354 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47356         [BZ #3268]
47357         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47358         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47359         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47360         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47361         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47362         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47363         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47364         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47365         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47366         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47367         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47368         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47369         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47370         * math/ftestexcept.c (fetestexcept): Likewise.
47371         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47372         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47373         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47374         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47375         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47376         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47377         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47379 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47381         [BZ #12107]
47382         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47383         newline.
47385 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47387         * string/bug-strstr1.c: New file.
47388         * string/Makefile: Add rules to build and run bug-strstr1.
47390 2010-10-05  Eric Blake  <eblake@redhat.com>
47392         [BZ #12092]
47393         * string/str-two-way.h (two_way_long_needle): Always clear memory
47394         when skipping input due to the shift table.
47396 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47398         [BZ #12005]
47399         * malloc/mcheck.c: Handle large requests.
47401         [BZ #12077]
47402         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47403         for strncmp and strncasecmp.
47404         * string/stratcliff.c: Add tests for strcmp and strncmp.
47405         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47407 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47409         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47410         __set_fpscr.
47412 2010-09-30  Andreas Jaeger  <aj@suse.de>
47414         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47415         (CGROUP_SUPER_MAGIC): Define.
47416         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47417         Handle btrfs and cgroup file systems.
47418         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47419         Likewise.
47421 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47423         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47424         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47426 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47428         [BZ #12067]
47429         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47430         trying to locate the ELF header.
47432 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47434         [BZ #11611]
47435         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47436         Mask out sign-bit copies when constructing f_fsid.
47438 2010-09-24  Petr Baudis <pasky@suse.cz>
47440         * debug/stack_chk_fail_local.c: Add missing licence exception.
47441         * debug/warning-nop.c: Likewise.
47443 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47445         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47446         implementing getdents64 using getdents syscall, set d_type if
47447         __ASSUME_GETDENTS32_D_TYPE.
47449 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47451         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47452         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47454 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47456         [BZ #12037]
47457         * posix/unistd.h: Undo change of feature selection for ftruncate from
47458         2010-01-11.
47460 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47462         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47463         detection.
47465 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47467         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47468         fanotify_mark.
47469         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47471 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47473         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47474         variables after CHECK_SP call.
47475         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47477 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47478             Ulrich Drepper  <drepper@redhat.com>
47480         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47481         re-relocationg ld.so.
47482         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47483         _dl_init_paths call.
47484         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47485         here anymore.
47487 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47489         * resolv/res_init.c (__res_vinit): Count the default server we added.
47491 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47492             Ulrich Drepper  <drepper@redhat.com>
47494         [BZ #11968]
47495         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47496         (____longjmp_chk): Use %ebx for saving value across system call.
47497         Add unwind info.
47499 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47501         * manual/Makefile: Don't mix pattern rules with normal rules.
47503 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47505         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47506         operation.
47507         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47508         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47509         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47510         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47511         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47512         Likewise.
47514 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47516         [BZ #11979]
47517         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47518         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47520 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47522         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47523         * sysdeps/x86_64/addmul_1.S: Likewise.
47524         * sysdeps/x86_64/lshift.S: Likewise.
47525         * sysdeps/x86_64/mul_1.S: Likewise.
47526         * sysdeps/x86_64/rshift.S: Likewise.
47527         * sysdeps/x86_64/sub_n.S: Likewise.
47528         * sysdeps/x86_64/submul_1.S: Likewise.
47530 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47532         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47533         Define __sched_param instead of SCHED_* and sched_param when
47534         <bits/sched.h> is included with __need_schedparam defined.
47535         * bits/sched.h [__need_schedparam]
47536         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47537         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47538         (__defined_schedparam): Define to 1.
47539         (__sched_param): New structure, identical to sched_param.
47540         (__need_schedparam): Undefine.
47542 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47544         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47545         (epoll_create1): Declare.
47547         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47549 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47551         [BZ #7066]
47552         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47553         shifting retval into place.
47555 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47557         * nis/rpcsvc/nis.h: Update copyright notice.
47558         * nis/rpcsvc/nis.x: Likewise.
47559         * nis/rpcsvc/nis_callback.h: Likewise.
47560         * nis/rpcsvc/nis_callback.x: Likewise.
47561         * nis/rpcsvc/nis_object.x: Likewise.
47562         * nis/rpcsvc/nis_tags.h: Likewise.
47563         * nis/rpcsvc/yp.h: Likewise.
47564         * nis/rpcsvc/yp.x: Likewise.
47565         * nis/rpcsvc/ypupd.h: Likewise.
47566         * nis/yp_xdr.c: Likewise.
47567         * nis/ypupdate_xdr.c: Likewise.
47569         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47570         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47571         (pmap_getport): Use __libc_rpc_getport.
47572         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47573         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47574         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47576 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47579         fanotify_mark.
47581 2010-08-27  Roland McGrath  <roland@redhat.com>
47583         * sysdeps/i386/i686/multiarch/Makefile
47584         (CFLAGS-varshift.c): New variable.
47586 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47588         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47589         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47591         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47593         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47595 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47597         * sysdeps/x86_64/strlen.S: Unroll the loop.
47598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47599         strlen-sse2 strlen-sse2-bsf.
47600         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47601         __strlen_no_bsf if bit_Slow_BSF is set.
47602         (__strlen_sse42): Removed.
47603         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47604         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47606 2010-08-25  Roland McGrath  <roland@redhat.com>
47608         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47609         * sysdeps/x86_64/multiarch/varshift.c: New file.
47610         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47611         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47612         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47613         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47615 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47617         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47618         strlen-sse2 strlen-sse2-bsf.
47619         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47620         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47621         (__strlen_sse2): Removed.
47622         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47623         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47624         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47625         bit_Slow_BSF for Atom.
47626         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47627         (index_Slow_BSF): Define.
47628         (HAS_SLOW_BSF): Define.
47630 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47632         [BZ #10851]
47633         * resolv/res_init.c (__res_vinit): When no server address at all
47634         is given default to loopback.
47636 2010-08-24  Roland McGrath  <roland@redhat.com>
47638         * configure.in: Remove config-name.h generation.
47639         * configure: Regenerated.
47640         * config-name.in: File removed.
47641         * scripts/config-uname.sh: New file.
47642         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47643         ($(objdir)config-name.h): New target.
47645         * sunrpc/rpc_parse.h: Avoid nested comment.
47647 2010-08-24  Richard Henderson  <rth@redhat.com>
47648             Ulrich Drepper  <drepper@redhat.com>
47649             H.J. Lu  <hongjiu.lu@intel.com>
47651         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47653         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47654         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47655         _mm_alignr_epi8 with _mm_loadu_si128.
47656         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47657         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47658         (__m128i_shift_right): Removed.
47659         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47660         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47661         * sysdeps/x86_64/multiarch/varshift.h: New file.
47662         * sysdeps/x86_64/multiarch/varshift.S: New file.
47664 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47666         * configure.in: Move assembler checks to before sysdep dir checking.
47668 2010-08-20  Petr Baudis  <pasky@suse.cz>
47670         * LICENSES: Sync the sunrpc license.
47672 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47674         * sunrpc/auth_des.c: Update copyright notice once again.
47675         * sunrpc/auth_none.c: Likewise.
47676         * sunrpc/auth_unix.c: Likewise.
47677         * sunrpc/authdes_prot.c: Likewise.
47678         * sunrpc/authuxprot.c: Likewise.
47679         * sunrpc/bindrsvprt.c: Likewise.
47680         * sunrpc/clnt_gen.c: Likewise.
47681         * sunrpc/clnt_perr.c: Likewise.
47682         * sunrpc/clnt_raw.c: Likewise.
47683         * sunrpc/clnt_simp.c: Likewise.
47684         * sunrpc/clnt_tcp.c: Likewise.
47685         * sunrpc/clnt_udp.c: Likewise.
47686         * sunrpc/clnt_unix.c: Likewise.
47687         * sunrpc/des_crypt.c: Likewise.
47688         * sunrpc/des_soft.c: Likewise.
47689         * sunrpc/get_myaddr.c: Likewise.
47690         * sunrpc/getrpcport.c: Likewise.
47691         * sunrpc/key_call.c: Likewise.
47692         * sunrpc/key_prot.c: Likewise.
47693         * sunrpc/openchild.c: Likewise.
47694         * sunrpc/pm_getmaps.c: Likewise.
47695         * sunrpc/pm_getport.c: Likewise.
47696         * sunrpc/pmap_clnt.c: Likewise.
47697         * sunrpc/pmap_prot.c: Likewise.
47698         * sunrpc/pmap_prot2.c: Likewise.
47699         * sunrpc/pmap_rmt.c: Likewise.
47700         * sunrpc/rpc/auth.h: Likewise.
47701         * sunrpc/rpc/auth_unix.h: Likewise.
47702         * sunrpc/rpc/clnt.h: Likewise.
47703         * sunrpc/rpc/des_crypt.h: Likewise.
47704         * sunrpc/rpc/key_prot.h: Likewise.
47705         * sunrpc/rpc/netdb.h: Likewise.
47706         * sunrpc/rpc/pmap_clnt.h: Likewise.
47707         * sunrpc/rpc/pmap_prot.h: Likewise.
47708         * sunrpc/rpc/pmap_rmt.h: Likewise.
47709         * sunrpc/rpc/rpc.h: Likewise.
47710         * sunrpc/rpc/rpc_des.h: Likewise.
47711         * sunrpc/rpc/rpc_msg.h: Likewise.
47712         * sunrpc/rpc/svc.h: Likewise.
47713         * sunrpc/rpc/svc_auth.h: Likewise.
47714         * sunrpc/rpc/types.h: Likewise.
47715         * sunrpc/rpc/xdr.h: Likewise.
47716         * sunrpc/rpc_clntout.c: Likewise.
47717         * sunrpc/rpc_cmsg.c: Likewise.
47718         * sunrpc/rpc_common.c: Likewise.
47719         * sunrpc/rpc_cout.c: Likewise.
47720         * sunrpc/rpc_dtable.c: Likewise.
47721         * sunrpc/rpc_hout.c: Likewise.
47722         * sunrpc/rpc_main.c: Likewise.
47723         * sunrpc/rpc_parse.c: Likewise.
47724         * sunrpc/rpc_parse.h: Likewise.
47725         * sunrpc/rpc_prot.c: Likewise.
47726         * sunrpc/rpc_sample.c: Likewise.
47727         * sunrpc/rpc_scan.c: Likewise.
47728         * sunrpc/rpc_scan.h: Likewise.
47729         * sunrpc/rpc_svcout.c: Likewise.
47730         * sunrpc/rpc_tblout.c: Likewise.
47731         * sunrpc/rpc_util.c: Likewise.
47732         * sunrpc/rpc_util.h: Likewise.
47733         * sunrpc/rpcinfo.c: Likewise.
47734         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47735         * sunrpc/rpcsvc/key_prot.x: Likewise.
47736         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47737         * sunrpc/rpcsvc/mount.x: Likewise.
47738         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47739         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47740         * sunrpc/rpcsvc/rex.x: Likewise.
47741         * sunrpc/rpcsvc/rstat.x: Likewise.
47742         * sunrpc/rpcsvc/rusers.x: Likewise.
47743         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47744         * sunrpc/rpcsvc/spray.x: Likewise.
47745         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47746         * sunrpc/rtime.c: Likewise.
47747         * sunrpc/svc.c: Likewise.
47748         * sunrpc/svc_auth.c: Likewise.
47749         * sunrpc/svc_authux.c: Likewise.
47750         * sunrpc/svc_raw.c: Likewise.
47751         * sunrpc/svc_run.c: Likewise.
47752         * sunrpc/svc_simple.c: Likewise.
47753         * sunrpc/svc_tcp.c: Likewise.
47754         * sunrpc/svc_udp.c: Likewise.
47755         * sunrpc/svc_unix.c: Likewise.
47756         * sunrpc/svcauth_des.c: Likewise.
47757         * sunrpc/xcrypt.c: Likewise.
47758         * sunrpc/xdr.c: Likewise.
47759         * sunrpc/xdr_array.c: Likewise.
47760         * sunrpc/xdr_float.c: Likewise.
47761         * sunrpc/xdr_mem.c: Likewise.
47762         * sunrpc/xdr_rec.c: Likewise.
47763         * sunrpc/xdr_ref.c: Likewise.
47764         * sunrpc/xdr_sizeof.c: Likewise.
47765         * sunrpc/xdr_stdio.c: Likewise.
47767         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47768         handling.
47770 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47772         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47774 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47776         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47777         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47778         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47779         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47780         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47781         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47782         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47783         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47784         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47785         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47786         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47787         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47788         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47789         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47791 2010-07-26  Anton Blanchard  <anton@samba.org>
47793         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47794         * malloc/arena.c (heap_trim): Likewise.
47796 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47798         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47799         here.  Not...
47800         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47801         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47803 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47805         * sysdeps/i386/elf/Makefile: New file.
47807 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47809         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47810         from fanotify_init.
47811         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47812         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47814 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47816         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47817         of strncasecmp_l.
47818         * sysdeps/multiarch/strcmp.S: Likewise.
47820 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47822         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47823         strncase_l-nonascii.
47824         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47825         Add strncase_l-ssse3.
47826         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47827         * sysdeps/x86_64/strcmp.S: Likewise.
47828         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47829         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47830         * sysdeps/x86_64/strncase.S: New file.
47831         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47832         * sysdeps/x86_64/strncase_l.S: New file.
47833         * string/Makefile (strop-tests): Add strncasecmp.
47834         * string/test-strncasecmp.c: New file.
47836         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47837         warning.
47839         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47840         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47842 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47844         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47846 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47848         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47849         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47850         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47852 2010-05-01  Alan Modra  <amodra@gmail.com>
47854         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47855         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47856         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47857         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47858         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47859         tidying.  Don't tail-call __sigjmp_save for static lib.
47860         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47861         save location.
47862         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47863         (CALL_MCOUNT): Add eh info, and nop after bl.
47864         (TAIL_CALL_SYSCALL_ERROR): New macro.
47865         (PSEUDO_RET): Use it.
47866         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47867         Correct save location of integer regs and cr.
47868         (_dl_profile_resolve): Correct cr save location.  Delete nops
47869         after bl when SHARED.  Reduce cfi size a little by better
47870         placement of cfi directives.
47871         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47872         make a stack frame.  Instead use parm save area as a temp.
47873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47874         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47876         Don't make a stack frame for parent, use parm save area.
47877         Increase child stack frame to 112 bytes.  Don't save unused reg,
47878         and adjust reg usage.  Set up cfi on error recovery and
47879         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47881         (__makecontext): Add dummy nop after jump to exit.
47882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47883         Use correct parm save area and cr save, reduce stack frame.
47884         Correct cfi for possible PSEUDO_RET frame setup.
47885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47886         Branch to local label emitted by PSEUDO_RET rather than
47887         __syscall_error.
47889 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47891         [BZ #11904]
47892         * locale/programs/locale.c (print_assignment): New function.
47893         (show_locale_vars): Use it.
47895 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47897         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47898         field.
47899         (struct statfs64): Likewise.
47900         (_STATFS_F_FLAGS): Define.
47901         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47902         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47903         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47904         (ST_VALID): Define locally.
47905         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47906         __statvfs_getflags, use the provided value.
47907         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47908         __ASSUME_STATFS_F_FLAGS.
47910         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47912         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47913         Add sys/fanotify.h.
47914         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47915         fanotify_mask for GLIBC_2.13.
47916         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47917         fanotify_init and fanotify_mark.
47918         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47919         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47921         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47922         Add prlimit.
47923         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47924         prlimit64 for GLIBC_2.13.
47925         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47926         prlimit64.
47927         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47928         syscall.
47929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47930         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47931         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47932         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47933         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47934         add prlimit alias.
47935         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47937         [BZ #11903]
47938         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47939         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47941         * nss/Makefile: Add rules to build and run tst-nss-test1.
47942         * shlib-versions: Add entry for libnss_test1.
47943         * nss/nss_test1.c: New file.
47944         * nss/tst-nss-test1.c: New file.
47946         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47947         (__nss_configure_lookup): Set appropriate entry in
47948         __nss_configure_lookup to true.
47949         * nss/nsswitch.h: Define enum with indeces of databases in
47950         databases and __nss_database_custom arrays.  Declare
47951         __nss_database_custom.
47952         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47953         to avoid using nscd when custom rules are installed.
47954         * nss/getXXbyYY_r.c: Likewise.
47955         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47957         * nss/nss_files/files-parse.c: Whitespace fixes.
47959 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47961         [BZ #11883]
47962         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47963         * posix/fnmatch_loop.c: Likewise.
47965 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47967         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47968         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47969         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47970         * Versions.def [GLIBC_2.13]: Add.
47972 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47974         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47975         Also fail if tpwd after pwuid call is NULL.
47977 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47979         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47980         when converting to ms.
47982 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47984         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47985         EOPNOTSUPP errors with ENOTTY.
47986         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47987         EOPNOTSUPP errors with ENOTTY.
47989 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47991         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47992         Add strcasecmp_l-ssse3.
47993         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47994         strcasecmp.
47995         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47996         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47997         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47999 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48001         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48003         * string/Makefile (strop-tests): Add strcasecmp.
48004         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48005         strcasecmp_l-nonascii.
48006         (gen-as-const-headers): Add locale-defines.sym.
48007         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48008         * sysdeps/x86_64/strcasecmp.S: New file.
48009         * sysdeps/x86_64/strcasecmp_l.S: New file.
48010         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48011         * sysdeps/x86_64/locale-defines.sym: New file.
48012         * string/test-strcasecmp.c: New file.
48014         * string/test-strcasestr.c: Test both ends of the range of characters.
48015         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48017 2010-07-29  Roland McGrath  <roland@redhat.com>
48019         [BZ #11856]
48020         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48022 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48024         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48025         for ld.so.
48027 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48029         * manual/memory.texi (Malloc Tunable Parameters): Document
48030         M_PERTURB.
48032 2010-07-26  Roland McGrath  <roland@redhat.com>
48034         [BZ #11840]
48035         * configure.in (-fgnu89-inline check): Set and substitute
48036         gnu89_inline, not libc_cv_gnu89_inline.
48037         * configure: Regenerated.
48038         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48040 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48042         * string/test-strnlen.c: New file.
48043         * string/Makefile (strop-tests): Add strnlen.
48044         * string/tester.c (test_strnlen): Add a few more test cases.
48045         * string/tst-strlen.c: Better error reporting.
48047         * sysdeps/x86_64/strnlen.S: New file.
48049 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48051         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48052         lower-latency instructions.
48054 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48056         * string/test-strcasestr.c: New file.
48057         * string/test-strstr.c: New file.
48058         * string/Makefile (strop-tests): Add strstr and strcasestr.
48059         * string/str-two-way.h: Don't undefine MAX.
48060         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48062 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48064         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48065         strcasestr-nonascii.
48066         (CFLAGS-strcasestr-nonascii.c): Define.
48067         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48068         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48069         Remove unused attribute.
48071 2010-07-20  Roland McGrath  <roland@redhat.com>
48073         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48074         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48075         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48076         like LD_HWCAP_MASK can disable hwcaps.
48078 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48080         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48082 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48084         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48085         call in strcasestr.
48086         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48087         __strcasestr_sse42_nonascii.
48088         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48089         strcasestr-nonascii.c.
48090         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48092 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48094         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48095         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48096         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48097         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48099 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48101         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48102         fcntl.
48104 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48106         [BZ #11577]
48107         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48108         dl_signal_cerror.
48110 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48112         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48113         _PC_PIPE_BUF using F_GETPIPE_SZ.
48115 2010-07-05  Roland McGrath  <roland@redhat.com>
48117         * manual/arith.texi (Rounding Functions): Fix rint description
48118         implicit in round description.
48120 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48122         * elf/Makefile: Fix linking for a few tests to make recent linker
48123         happy.
48125 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48127         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48128         $(common-objpfx)libc_nonshared.a.
48130 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48132         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48133         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48134         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48135         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48136         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48137         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48138         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48139         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48154         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48155         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48156         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48157         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48158         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48159         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48160         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48161         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48162         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48163         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48164         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48165         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48181 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48183         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48184         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48185         * string/memmove.c (memmove): Renamed to ...
48186         (MEMMOVE): ...this.  Default to memmove.
48187         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48188         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48189         (END_CHK): Define.
48190         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48191         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48192         mempcpy-ssse3-back memmove-ssse3-back.
48193         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48194         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48195         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48196         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48197         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48198         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48199         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48200         * sysdeps/x86_64/multiarch/memmove.c: New file.
48201         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48202         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48203         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48204         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48205         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48206         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48207         Define.
48208         (index_Fast_Copy_Backward): Define.
48209         (HAS_ARCH_FEATURE): Define.
48210         (HAS_FAST_REP_STRING): Define.
48211         (HAS_FAST_COPY_BACKWARD): Define.
48213 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48215         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48216         Restore proper fallback handling.
48218 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48220         [BZ #11701]
48221         * posix/group_member.c (__group_member): Correct checking loop.
48223         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48224         OOM in getpwuid_r correctly.  Return error number when the caller
48225         should return, otherwise -1.
48226         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48227         call returning > 0 value.
48228         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48230 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48232         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48233         libc_nonshared.a from targets in modules-names.
48235 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48237         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48238         requires it.
48240 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48242         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48243         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48244         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48245         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48247 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48249         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48251 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48253         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48254         and F_GETPIPE_SZ.
48255         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48256         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48257         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48258         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48259         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48260         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48262 2010-06-14  Roland McGrath  <roland@redhat.com>
48264         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48266 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48268         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48269         __REDIRECT followed by __THROW.
48270         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48271         * posix/getopt.h (getopt): Likewise.
48273 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48275         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48276         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48277         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48278         in AT_FLAGS.
48279         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48280         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48282 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48284         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48286 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48288         [BZ #11640]
48289         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48290         Properly check family and model.
48292 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48294         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48296 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48298         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48300 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48302         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48303         symbol reference.
48305 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48307         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48308         symbol reference.
48310 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48312         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48313         and internal_recvmmsg.
48314         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48315         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48316         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48317         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48319         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48320         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48321         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48323 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48325         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48327 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48329         POWER7 optimizations.
48330         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48331         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48333 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48335         * version.h: Update for 2.13 development version.
48337 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48339         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48340         exceptions.  Return 0.
48342 2010-05-07  Roland McGrath  <roland@redhat.com>
48344         * elf/ldconfig.c (main): Add a const.
48346 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48348         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48349         (args_options): Add no-idn option.
48350         (ahosts_keys_int): Add idn_flags to ai_flags.
48351         (parse_option): Handle 'i' option to clear idn_flags.
48353         * malloc/malloc.c (_int_free): Possible race in the most recently
48354         added check.  Only act on the data if no current modification
48355         happened.
48357 See ChangeLog.17 for earlier changes.