Rename soft-fp op-[1248].h variables to avoid risk of shadowing.
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2
3         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4         include macro name.
5         (_FP_UNPACK_RAW_1_P): Likewise.
6         (_FP_PACK_RAW_1): Likewise.
7         (_FP_PACK_RAW_1_P): Likewise.
8         (_FP_MUL_MEAT_1_wide): Likewise.
9         (_FP_MUL_MEAT_DW_1_hard): Likewise.
10         (_FP_MUL_MEAT_1_hard): Likewise.
11         (_FP_DIV_MEAT_1_imm): Likewise.
12         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13         (_FP_DIV_MEAT_1_udiv): Likewise.
14         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15         (_FP_UNPACK_RAW_2): Likewise.
16         (_FP_UNPACK_RAW_2_P): Likewise.
17         (_FP_PACK_RAW_2): Likewise.
18         (_FP_PACK_RAW_2_P): Likewise.
19         (_FP_MUL_MEAT_DW_2_wide): Likewise.
20         (_FP_MUL_MEAT_2_wide): Likewise.
21         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24         (_FP_MUL_MEAT_2_gmp): Likewise.
25         (_FP_DIV_MEAT_2_udiv): Likewise.
26         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27         (_FP_FRAC_SRL_4): Likewise.
28         (_FP_FRAC_SRST_4): Likewise.
29         (_FP_FRAC_SRS_4): Likewise.
30         (_FP_UNPACK_RAW_4): Likewise.
31         (_FP_UNPACK_RAW_4_P): Likewise.
32         (_FP_PACK_RAW_4): Likewise.
33         (_FP_PACK_RAW_4_P): Likewise.
34         (_FP_MUL_MEAT_DW_4_wide): Likewise.
35         (_FP_MUL_MEAT_4_wide): Likewise.
36         (_FP_MUL_MEAT_4_gmp): Likewise.
37         (umul_ppppmnnn): Likewise.
38         (_FP_DIV_MEAT_4_udiv): Likewise.
39         (__FP_FRAC_ADD_4): Likewise.
40         (__FP_FRAC_SUB_3): Likewise.
41         (__FP_FRAC_SUB_4): Likewise.
42         (__FP_FRAC_DEC_3): Likewise.
43         (__FP_FRAC_DEC_4): Likewise.
44         (__FP_FRAC_ADDI_4): Likewise.
45         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
46         (_FP_FRAC_SRL_8): Likewise.
47         (_FP_FRAC_SRS_8): Likewise.
48
49         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
50         include macro name.
51         (FP_UNPACK_RAW_EP): Likewise.
52         (FP_PACK_RAW_E): Likewise.
53         (FP_PACK_RAW_EP): Likewise.
54         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
55         (_FP_ISSIGNAN): Likewise.
56         (_FP_ADD_INTERNAL): Likewise.
57         (_FP_FMA): Likewise.
58         (_FP_CMP): Likewise.
59         (_FP_SQRT): Likewise.
60         (_FP_TO_INT): Likewise.
61         (_FP_FROM_INT): Likewise.
62         (FP_EXTEND): Likewise.
63         (_FP_DIV_MEAT_N_loop): Likewise.
64
65 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
66
67         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
68         throughout.
69
70 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
71
72         [BZ #17097]
73         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
74         result with correct sign in case of exponents that produce
75         overflow except for X very close to 1.
76
77 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
78
79         mktime: merge #if/#ifdef usage from glibc
80         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
81         as that works with both Glibc's and Gnulib's style.
82         See thread starting at Siddhesh Poyarekar's bug report at:
83         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
84
85 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
86
87         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
88         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
89         * sysdeps/tile/tilegx/memmove.c: Remove file.
90
91 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
92
93         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
94         abi-name definition.
95         * scripts/soversions.awk: Do not handle or generate ABI lines.
96         * shlib-versions: Remove ABI entries.
97         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
98         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
99
100 2014-06-27  Roland McGrath  <roland@hack.frob.com>
101
102         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
103         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
104         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
105         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
106         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
107         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
109         Moved ...
110         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
111         ... here.
112         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
113         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
114         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
115         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
116         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
117         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
118         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
119         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
120         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
121         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
122         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
123         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
124         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
125         Moved ...
126         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
127         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
128         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
129         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
130         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
132         Moved ...
133         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
134         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
135         Moved ...
136         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
137         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
138         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
139         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
140         Moved ...
141         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
142         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
143         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
144         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
145         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
146         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
147         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
148         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
149         Moved ...
150         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
151         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
152         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
153         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
154         Moved ...
155         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
156         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
157         Moved ...
158         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
159         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
160         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
161         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
162         Moved ...
163         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
164         ... here.
165         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
166         Identical file removed.
167         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
168         Moved ...
169         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
170         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
171         Identical file removed.
172         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
173         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
174         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
175         Moved ...
176         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
177         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
178         Identical file removed.
179         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
180         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
181         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
182         Identical file removed.
183         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
184         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
185         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
186         Identical file removed.
187         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
188         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
189         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
190         Identical file removed.
191         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
192         Moved ...
193         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
194         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
195         Identical file removed.
196         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
197         Moved ...
198         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
199         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
200         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
201         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
202         Identical file removed.
203         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
204         Moved ...
205         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
206         ... here.
207         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
208         Identical file removed.
209         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
210         Moved ...
211         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
212         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
213         Identical file removed.
214         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
215         Moved ...
216         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
217         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
218         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
219         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
220         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
221         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
222         Moved ...
223         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
224         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
225         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
226
227         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
228         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
229         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
230         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
231         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
232
233 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
234
235         [BZ #17092]
236         * nscd/nscd.c (monitor_child): Return exit status of child
237         instead of return value from wait syscall.
238
239 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
240
241         * configure.ac (libc_commonpagesize): Remove variable.
242         (libc_relro_required): Likewise.
243         (libc_cv_z_relro): Remove configure test.
244         * configure: Regenerated.
245         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
246         variable.
247         (libc_relro_required): Likewise.
248         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
249         (libc_relro_required): Likewise.
250         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
251         (libc_relro_required): Likewise.
252         * sysdeps/arm/preconfigure: Regenerated.
253         * sysdeps/ia64/preconfigure: Remove file.
254         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
255         variable.
256         (libc_relro_required): Likewise.
257
258         [BZ #16561]
259         [BZ #16562]
260         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
261         (__ieee754_yn): Set FE_TONEAREST mode internally and then
262         recompute overflowing results in original rounding mode.
263         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
264         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
265         recompute overflowing results in original rounding mode.
266         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
267         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
268         recompute overflowing results in original rounding mode.
269         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
270         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
271         recompute overflowing results in original rounding mode.
272         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
273         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
274         recompute overflowing results in original rounding mode.
275         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
276         (libc_feholdsetround_ctx): New macro.
277         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
278         * sysdeps/i386/fpu/libm-test-ulps: Update.
279         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
280
281 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
282
283         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
284         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
285         corresponding .cpsetup call.
286
287 2014-06-26  Roland McGrath  <roland@hack.frob.com>
288
289         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
290         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
291         * sysdeps/arm/Makefile [$(subdir) = csu]
292         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
293         (static-only-routines): Add aeabi_read_tp here.
294         (shared-only-routines): Add libc-aeabi_read_tp here.
295         (CFLAGS-libc-start.c): Add -fexceptions here.
296         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
297         (sysdep_routines, static-only-routines, shared-only-routines):
298         Don't add to these here.
299         (CFLAGS-libc-start.c): Likewise.
300
301         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
302         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
303         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
304         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
305         * sysdeps/arm/Makefile [$(subdir) = rt]
306         (librt-sysdep_routines, librt-shared-only-routines):
307         Append rt-aeabi_unwind_cpp_pr1 here.
308         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
309         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
310         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
311         (libpthread-sysdep_routines, libpthread-shared-only-routines):
312         Append nptl-aeabi_unwind_cpp_pr1 here.
313         (tests): Filter out tst-cleanupx4 here.
314         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
315         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
316         Don't do those here.
317
318 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
319
320         * scripts/list-sources.sh: Do not handle ports specially.
321
322 2014-06-26  Roland McGrath  <roland@hack.frob.com>
323
324         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
325         * sysdeps/arm/feupdateenv.c: Likewise.
326
327         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
328
329 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
330
331         * manual/texinfo.tex: Update to version 2014-05-05.10 with
332         trailing whitespace removed.
333         * scripts/config.guess: Update to version 2014-03-23.
334         * scripts/config.sub: Update to version 2014-05-01
335         * scripts/install-sh: Update to version 2013-12-25.23.
336         * scripts/move-if-change: Update from gnulib.
337
338 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
339
340         * debug/memmove_chk.c: Remove pagecopy.h include.
341
342 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
343
344         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
345         identical to gnulib mktime.
346
347 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
348
349         * configure.ac: Do not test for machine being rs6000.  Do not test
350         for powerpc*-*soft.
351         * configure: Regenerated.
352
353         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
354         test.
355         * configure: Regenerated.
356         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
357         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
358         Remove configure test.
359         * sysdeps/arm/configure: Regenerated.
360         * sysdeps/nptl/configure.ac: Do not check
361         libc_cv_asm_cfi_directives.
362         * sysdeps/nptl/configure: Regenerated.
363         * sysdeps/x86_64/nptl/configure.ac: Remove file.
364         * sysdeps/x86_64/nptl/configure: Remove generated file.
365         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
366         unconditional.
367         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
368
369 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
370
371         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
372         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
373         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
374         it is defined.
375
376         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
377         instead of whether it is defined.
378         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
379         * sysdeps/hppa/dl-machine.h: Likewise.
380         * sysdeps/ia64/dl-machine.h: Likewise.
381         * sysdeps/m68k/dl-machine.h: Likewise.
382         * sysdeps/microblaze/dl-machine.h: Likewise.
383         * sysdeps/mips/dl-machine.: Likewise.
384         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
385         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
386         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
387         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
388         * sysdeps/sh/dl-machine.h: Likewise.
389         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
390         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
391         * sysdeps/tile/dl-machine.h: Likewise.
392         * sysdeps/x86_64/dl-machine.h: Likewise.
393
394         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
395         code.
396         (verify_persistent_db): Likewise.
397
398 2014-06-26  Roland McGrath  <roland@hack.frob.com>
399
400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
401         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
403         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
405         Moved ...
406         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
407         ... here.
408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
409         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
411         Identical file removed.
412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
413         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
415         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
417         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
419         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
421         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
423         Moved ...
424         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
426         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
428         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
430         Moved ...
431         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
433         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
435         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
437         Identical file removed.
438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
439         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
441         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
443         Moved ...
444         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
445         ... here.
446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
447         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
449         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
451         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
453         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
455         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
457         Moved ...
458         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
460         Moved ...
461         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
463         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
465         Moved ...
466         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
468         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
469
470         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
471         folded into ...
472         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
473         * sysdeps/unix/sysv/linux/s390/Versions
474         (libpthread: GLIBC_2.19): New version set.
475         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
476         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
477         (librt: GLIBC_2.3.3): New version set.
478         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
479         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
480         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
481         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
482         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
483         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
484         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
485         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
486         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
487         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
488         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
489         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
490         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
491         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
492         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
493         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
494         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
495         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
496         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
497         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
498         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
499         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
500         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
501         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
502         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
503         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
504         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
505         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
506         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
507         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
508         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
509         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
510         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
511         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
513         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
514         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
515         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
516         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
517         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
518         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
519         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
520         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
521         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
522         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
523
524         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
525         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
526         (__libc_vfork): Define the function under this name.
527         [!NOT_IN_libc] (__vfork): Make this an alias.
528         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
529         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
530         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
531         (__libc_vfork): Define the function under this name.
532         [!NOT_IN_libc] (__vfork): Make this an alias.
533         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
534         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
535         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
536         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
537         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
538         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
539
540         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
541         code that was previously under [RESET_PID].
542         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
543         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
544         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
545
546         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
547         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
548         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
549         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
550         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
551         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
552         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
553         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
554         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
555         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
556         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
557         Moved ...
558         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
559         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
560         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
561         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
562         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
563         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
564         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
565         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
566         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
567         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
568         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
569         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
570         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
571         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
572         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
573         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
574         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
575         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
576         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
577         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
578         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
579         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
580         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
581         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
582         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
583         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
584         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
585         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
586         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
587
588 2014-06-25  Roland McGrath  <roland@hack.frob.com>
589
590         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
591         that was previously under [RESET_PID].
592         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
593
594 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
595
596         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
597         not undefine and redefine.
598         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
599         [O_CLOEXEC]: Make code unconditional.
600         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
601         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
602         <kernel-features.h>.
603         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
604         conditional variable definition.
605         (shm_open) [O_CLOEXEC]: Make code unconditional.
606         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
607         code.
608
609         * configure.ac (USE_REGPARMS): Don't define here.
610         * configure: Regenerated.
611         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
612         * sysdeps/i386/configure: Regenerated.
613
614         * nptl/createthread.c: Don't include kernel-features.h.
615         * nptl/pthread_cancel.c: Likewise.
616         * nptl/pthread_condattr_setclock.c: Likewise.
617         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
618         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
619         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
620         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
621         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
622         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
623         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
624         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
625         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
626         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
627         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
628         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
629         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
630         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
631         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
632         * nscd/gai.c: Likewise.
633         * nss/nss_db/db-open.c: Likewise.
634         * sysdeps/generic/ldsodefs.h: Likewise.
635         * sysdeps/sh/nptl/tls.h: Likewise.
636         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
637         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
638         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
639         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
640         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
641         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
642         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
643         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
644         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
645         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
646         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
647         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
648         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
649         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
650         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
651         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
652         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
653         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
654         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
655         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
656         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
657         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
658         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
659         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
660         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
661         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
662         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
663         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
664         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
665         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
666         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
667         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
668         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
669         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
670         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
671         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
672         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
673         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
674         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
675         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
676         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
677         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
678         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
679         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
680         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
681         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
682         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
683         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
684         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
685         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
686         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
687         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
688         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
689         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
690         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
691         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
692         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
693         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
716         * sysdeps/unix/sysv/linux/pread.c: Likewise.
717         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
718         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
719         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
720         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
721         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
722         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
723         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
724         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
725         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
726         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
727         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
728         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
729         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
730         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
731         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
732         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
733         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
734         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
735         * sysdeps/unix/sysv/linux/system.c: Likewise.
736         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
737         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
738         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
739         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
740         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
741         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
742         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
743
744         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
745         * configure: Regenerated.
746         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
747
748         * configure.ac (base_machine): Do not set specially for particular
749         machines here.
750         * configure: Regenerated.
751         * sysdeps/powerpc/preconfigure: Move machine and base_machine
752         settings from configure.ac.
753         * sysdeps/i386/preconfigure: New file.
754         * sysdeps/s390/preconfigure: Likewise.
755         * sysdeps/sh/preconfigure: Likewise.
756         * sysdeps/sparc/preconfigure: Likewise.
757
758 2014-06-25  Roland McGrath  <roland@hack.frob.com>
759
760         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
761         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
762         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
763         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
764         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
765         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
766         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
767         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
768         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
769         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
770         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
771         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
772         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
773         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
774         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
775         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
776         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
777         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
778         * sysdeps/sparc/sparc64/Makefile: ... appended here.
779
780         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
781         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
782         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
783         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
784         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
785         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
786         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
787         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
788         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
789         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
790         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
791         * sysdeps/sparc/sparc32/sem_post.c: ... here.
792         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
793         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
794         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
795         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
796         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
797         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
798         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
799         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
800         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
801         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
802         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
803         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
804         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
805         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
806         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
807         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
808         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
809         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
810         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
811         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
812         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
813         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
814         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
815         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
816         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
817         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
818
819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
820         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
822         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
824         Moved ...
825         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
826         ... here.
827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
828         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
830         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
832         Moved ...
833         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
835         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
837         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
839         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
841         Moved ...
842         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
844         Moved ...
845         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
846         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
847         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
849         Moved ...
850         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
852         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
854         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
856         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
858         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
860         Moved ...
861         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
862         ... here.
863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
864         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
866         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
868         Moved ...
869         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
871         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
873         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
875         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
877         Moved ...
878         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
880         Moved ...
881         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
883         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
885         Moved ...
886         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
888         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
890         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
891
892 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
893
894         * timezone/checktab.awk: Update from tzcode 2014e.
895         * timezone/private.h: Likewise.
896         * timezone/tzfile.h: Likewise.
897         * timezone/zdump.c: Likewise.
898         * timezone/zic.c: Likewise.
899
900         * sysdeps/unix/sysv/linux/kernel-features.h
901         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
902         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
903         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
904         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
905         Remove conditional code.
906
907 2014-06-25  Will Newton  <will.newton@linaro.org>
908
909         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
910         (_dl_arm_cap_flags): Add HWCAP2 values.
911         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
912         (_DL_HWCAP_COUNT): Increase to 37.
913         (_DL_HWCAP_LAST): New define.
914         (_DL_HWCAP2_LAST): New define.
915         (_dl_procinfo): Add support for printing
916         AT_HWCAP2 entries.
917         (_dl_string_hwcap): Use _dl_hwcap_string.
918
919 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
920
921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
922
923 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
924
925         * README: Do not mention ports directory.
926
927         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
928         Remove macro.
929         * sysdeps/unix/sysv/linux/futimes.c: Do not include
930         <kernel-features.h>.
931         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
932         conditional variable definition.
933         (__futimes): Update comment.
934         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
935         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
936
937         [BZ #16560]
938         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
939         arguments close to 0.
940         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
941         Likewise.
942         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
943         Likewise.
944         * math/auto-libm-test-in: Add more tests of exp10.
945         * math/auto-libm-test-out: Regenerated.
946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
947
948         * sysdeps/unix/sysv/linux/kernel-features.h
949         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
950         * sysdeps/unix/sysv/linux/readv.c: Do not include
951         <kernel-features.h>.
952         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
953         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
954         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
955         unconditional.
956         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
957         conditional code.
958         * sysdeps/unix/sysv/linux/writev.c: Do not include
959         <kernel-features.h>.
960         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
961         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
962         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
963         unconditional.
964         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
965         conditional code.
966
967 2014-06-25  Will Newton  <will.newton@linaro.org>
968
969         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
970         comment changes throughout the file.  Remove checks
971         for HAVE_*_H definitions that are not required.
972         (__gen_tempname): Call abort if an unknown kind value is
973         passed.
974
975 2014-06-25  Andreas Schwab  <schwab@suse.de>
976
977         [BZ #17086]
978         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
979         scalbln, scalblnf, scalblnl in libc.
980
981 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
982
983         [BZ #17086]
984         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
985         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
986         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
987
988 2014-06-24  Roland McGrath  <roland@hack.frob.com>
989
990         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
991         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
992         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
993         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
994         Update #include.
995         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
996         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
997         Update #include.
998         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
999         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1000         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1001         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1002         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1003         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1004         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1005         * sysdeps/x86/bits/semaphore.h: ... here.
1006         * sysdeps/x86/nptl/elide.h: Moved ...
1007         * sysdeps/x86/elide.h: ... here.
1008         * sysdeps/x86_64/nptl/Implies: File removed.
1009         * sysdeps/i386/nptl/Implies: File removed.
1010
1011 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1012
1013         [BZ #16539]
1014         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1015         return the argument for normal arguments with exponent below -64.
1016         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1017         Likewise.
1018         * math/auto-libm-test-in: Add another test of expm1.
1019         * math/auto-libm-test-out: Regenerated.
1020
1021         [BZ #16287]
1022         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1023         calling __erfcl for arguments at least 16.
1024         * math/auto-libm-test-in: Add more tests of erf.
1025         * math/auto-libm-test-out: Regenerated.
1026
1027         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1028         individual architectures.
1029         * sysdeps/unix/sysv/linux/configure: Regenerated.
1030         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1031         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1032         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1033         (ldd_rewrite_script): Define variable.
1034         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1036         file.
1037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1038         generated file.
1039         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1040         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1041         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1042         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1043         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1044         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1045         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1046         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1047
1048 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1049
1050         [BZ #17084]
1051         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1052         Rename member __data.d to __data.__elision_data.
1053
1054 2014-06-24  Wilco  <wdijkstr@arm.com>
1055
1056         * NEWS: Add 16918 to fixed bug list.
1057
1058 2014-06-24  Wilco  <wdijkstr@arm.com>
1059
1060         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1061
1062 2014-06-24  Wilco  <wdijkstr@arm.com>
1063
1064         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1065         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1066         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1067         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1068         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1069         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1070         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1071         Use _FPU_MASK_RM.
1072
1073 2014-06-24  Wilco  <wdijkstr@arm.com>
1074
1075         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1076
1077 2014-06-24  Wilco  <wdijkstr@arm.com>
1078
1079         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1080         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1081         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1082         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1083
1084 2014-06-24  Wilco  <wdijkstr@arm.com>
1085
1086         [BZ #16918]
1087         * sysdeps/arm/feupdateenv.c (feupdateenv):
1088         Rewrite to reduce FPSCR accesses and fix return value.
1089
1090 2014-06-24  Wilco  <wdijkstr@arm.com>
1091
1092         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1093         Optimize to avoid unnecessary FPSCR writes.
1094         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1095         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1096         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1097         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1098
1099 2014-06-24  Wilco  <wdijkstr@arm.com>
1100
1101         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1102         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1103         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1104         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1105         Call libc_fetestexcept_vfp.
1106         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1107         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1108         __SOFTFP__ ifdef so that they can be built for softfp.
1109
1110 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1111
1112         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1113         argument type signed char.
1114
1115         * Makerules (check-abi): Dump diff of symlist if the test
1116         fails.
1117
1118 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1119
1120         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1121         using abort.
1122
1123         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1124         Remove unused variable ST.
1125
1126 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1127
1128         [BZ #16354]
1129         [BZ #17061]
1130         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1131         small arguments before calling __expm1.
1132         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1133         small arguments before calling __expm1f.
1134         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1135         small arguments before calling __expm1l.
1136         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1137         Likewise.
1138         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1139         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1140         spurious underflow for some cosh tests.
1141         * math/auto-libm-test-out: Regenerated.
1142         * sysdeps/i386/fpu/libm-test-ulps: Update.
1143
1144         [BZ #17050]
1145         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1146         (__ieee754_y1): Set errno if return value overflows.
1147         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1148         (__ieee754_y1f): Set errno if return value overflows.
1149         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1150         (__ieee754_y1l): Set errno if return value overflows.
1151         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1152         (__ieee754_y1l): Set errno if return value overflows.
1153         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1154         * math/auto-libm-test-out: Regenerated.
1155
1156         * math/gen-auto-libm-tests.c: Document use of
1157         ignore-zero-inf-sign.
1158         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1159         (input_flags): Add ignore-zero-inf-sign.
1160         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1161         * math/gen-libm-test.pl (generate_testfile): Handle
1162         ignore-zero-inf-sign.
1163         * math/auto-libm-test-in: Mark some cpow tests with
1164         ignore-zero-inf-sign and some with xfail-rounding.
1165         * math/auto-libm-test-out: Regenerated.
1166         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1167         * sysdeps/i386/fpu/libm-test-ulps: Update.
1168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1169
1170         [BZ #16315]
1171         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1172         overflowing or underflowing operations take place with sign of
1173         result.
1174         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1175         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1176         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1177         (__ieee754_pow): Recompute overflowing and underflowing results in
1178         original rounding mode.
1179         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1180         (__powl_helper): Allow negative argument X and scale negated value
1181         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1182         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1183         overflowing or underflowing operations take place with sign of
1184         result.
1185         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1186         Include <math.h>.
1187         * math/auto-libm-test-in: Add more tests of pow.
1188         * math/auto-libm-test-out: Regenerated.
1189         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1190         (pow_tonearest_test_data): Remove.
1191         (pow_test_tonearest): Likewise.
1192         (pow_towardzero_test_data): Likewise.
1193         (pow_test_towardzero): Likewise.
1194         (pow_downward_test_data): Likewise.
1195         (pow_test_downward): Likewise.
1196         (pow_upward_test_data): Likewise.
1197         (pow_test_upward): Likewise.
1198         (main): Don't call removed functions.
1199         * sysdeps/i386/fpu/libm-test-ulps: Update.
1200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1201
1202 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1203
1204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1205         Moved ...
1206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1208         Moved ...
1209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1211         Moved ...
1212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1214         Moved ...
1215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1217         File removed.
1218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1219         File removed.
1220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1221         File removed.
1222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1223         File removed.
1224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1225         File removed.
1226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1227         File removed.
1228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1229         File removed.
1230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1231         File removed.
1232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1233         File removed.
1234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1235         File removed.
1236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1237         File removed.
1238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1239         File removed.
1240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1241         Moved ...
1242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1244         Moved ...
1245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1246         ... here.
1247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1248         Moved ...
1249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1251         Moved ...
1252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1254         Moved ...
1255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1257         Moved ...
1258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1260         Moved ...
1261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1263         Moved ...
1264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1266         Moved ...
1267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1270         ... here.
1271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1272         Moved ...
1273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1275         Moved ...
1276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1277         ... here.
1278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1279         Moved ...
1280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1281         ... here.
1282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1283         Moved ...
1284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1285         ... here.
1286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1287         Moved ...
1288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1290         Moved ...
1291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1295         Moved ...
1296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1297         ... here.
1298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1299         Moved ...
1300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1301         ... here.
1302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1303         Moved ...
1304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1306         Moved ...
1307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1309         Moved ...
1310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1312         Moved ...
1313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1315         Moved ...
1316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1317         ... here.
1318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1319         Moved ...
1320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1322         Moved ...
1323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1325         Moved ...
1326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1328         Moved ...
1329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1333         Moved ...
1334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1336         Moved ...
1337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1339         Moved ...
1340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1341         ... here.
1342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1343         Moved ...
1344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1345         ... here.
1346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1347         Moved ...
1348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1349         ... here.
1350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1351         Moved ...
1352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1354         Moved ...
1355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1357         Moved ...
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1360         Moved ...
1361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1362         ... here.
1363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1364         Moved ...
1365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1366         ... here.
1367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1368         Moved ...
1369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1370         ... here.
1371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1372         Moved ...
1373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1375         Moved ...
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1377
1378 2014-06-23  Will Newton  <will.newton@linaro.org>
1379             Wilco  <wdijkstr@arm.com>
1380
1381         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1382         implementation.  Include get-rounding-mode.h.
1383         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1384         [!libc_feholdsetround_noex_ctx]: Define
1385         libc_feholdsetround_noex_ctx.
1386         [!libc_feholdsetround_noexf_ctx]: Define
1387         libc_feholdsetround_noexf_ctx.
1388         [!libc_feholdsetround_noexl_ctx]: Define
1389         libc_feholdsetround_noexl_ctx.
1390         (libc_feholdsetround_ctx): New function.
1391         (libc_feresetround_ctx): New function.
1392         (libc_feholdsetround_noex_ctx): New function.
1393         (libc_feresetround_noex_ctx): New function.
1394
1395 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1396
1397         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1398         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1399         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1400         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1401         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1402         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1403
1404         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1405         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1406         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1407         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1408         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1409         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1410         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1411         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1412         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1413         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1414         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1415         Moved ...
1416         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1417         ... here.
1418         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1419         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1420         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1421         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1422         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1423         Moved ...
1424         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1425         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1426         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1427         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1428         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1429         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1430         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1431         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1432         Moved ...
1433         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1434         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1435         Moved ...
1436         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1437         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1438         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1439         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1440         Moved ...
1441         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1442         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1443         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1444         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1445         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1446         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1447         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1448         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1449         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1450         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1451         Moved ...
1452         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1453         ... here.
1454         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1455         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1456         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1457         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1458         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1459         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1460         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1461         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1462         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1463         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1464         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1465         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1466         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1467         Moved ...
1468         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1469         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1470         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1471         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1472         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1473         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1474         Moved ...
1475         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1476         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1477         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1478         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1479         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1480
1481         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1482         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1483         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1484         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1485         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1486         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1487         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1488         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1489         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1490         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1491         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1492         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1493         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1494         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1495         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1496         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1497         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1498         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1499         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1500         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1501         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1502         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1503         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1504         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1505         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1506         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1507         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1508         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1509
1510 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1511
1512         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1513         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1514         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1515         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1516         (IPV6_PMTUDISC_INTERFACE): Likewise.
1517         (IPV6_PMTUDISC_OMIT): Likewise.
1518
1519 2014-06-23  Andreas Schwab  <schwab@suse.de>
1520
1521         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1522         Remove unused errout label.
1523
1524 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1525
1526         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1527         macro: hardware supports Vector Crypto instructions.
1528
1529 2014-06-23  Will Newton  <will.newton@linaro.org>
1530
1531         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1532         rather than __builtin_expect.
1533
1534         * elf/dl-lookup.c (undefined_msg): Remove variable.
1535         (_dl_lookup_symbol_x): Replace undefined_msg with string
1536         literal.
1537
1538         * elf/dl-lookup.c (do_lookup_unique): New function.
1539         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1540         to a separate function.
1541
1542 2014-06-23  Andreas Schwab  <schwab@suse.de>
1543
1544         [BZ #17079]
1545         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1546         before reading the next line.
1547
1548 2014-06-23  Will Newton  <will.newton@linaro.org>
1549
1550         * test-skeleton.c (signal_handler): Use printf and %m
1551         rather than perror.  Use printf rather than fprintf to
1552         stderr.  Use puts rather than fputs to stderr.
1553         (main): Likewise.
1554
1555 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1556
1557         * nscd/nscd.c (thread_info_t): Remove typedef.
1558         (thread_info): Remove variable.
1559
1560 2014-06-21  Allan McRae  <allan@archlinux.org>
1561
1562         * NEWS: Mention CVE-2014-4043.
1563
1564 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1565
1566         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1567         * nptl/smp.h: ... here.
1568
1569         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1570
1571         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1572         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1573         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1574         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1575
1576         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1577         * nptl/stack-aliasing.h: New file.
1578         * sysdeps/i386/i686/stack-aliasing.h: New file.
1579         * sysdeps/i386/i686/nptl/Makefile: File removed.
1580         * sysdeps/x86_64/stack-aliasing.h: New file.
1581         * sysdeps/x86_64/nptl/Makefile
1582         (CFLAGS-pthread_create.c): Variable removed.
1583
1584         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1585         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1586         old file.
1587         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1588         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1589         old file.
1590
1591 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1592
1593         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1594         (__ASSUME_SIGFRAME_V2): Remove macro.
1595         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1596         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1597         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1598         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1599         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1600         Declare as function.  Remove conditional macro definitions.
1601         (__default_rt_sa_restorer): Likewise.
1602         (__default_sa_restorer_v1): Remove declaration.
1603         (__default_sa_restorer_v2): Likewise.
1604         (__default_rt_sa_restorer_v1): Likewise.
1605         (__default_rt_sa_restorer_v2): Likewise.
1606         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1607         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1608         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1609
1610 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1611
1612         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1613         (libpthread-routines): Add sysdep.
1614         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1615         * sysdeps/unix/sysv/linux/sparc/Versions
1616         (libpthread: GLIBC_2.3.3): New version set.
1617         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1618         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1619         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1620         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1621         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1622         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1623         Moved ...
1624         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1625         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1626         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1627         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1628         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1629         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1630         * sysdeps/sparc/nptl/sem_init.c: ... here.
1631         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1632         * sysdeps/sparc/nptl/sem_post.c: ... here.
1633         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1634         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1635         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1636         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1637         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1638         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1639         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1640         (libpthread-routines): Add cpu_relax.
1641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1642         File removed.
1643         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1644         (librt: GLIBC_2.3.3): New version set.
1645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1646         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1647         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1648         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1651         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1653         Moved ...
1654         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1656         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1658         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1660         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1662         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1664         Moved ...
1665         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1666         Update #include.
1667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1668         Moved ...
1669         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1670         Update #include.
1671         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1672         Moved ...
1673         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1674         Update #include.
1675         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1676         Moved ...
1677         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1678         Update #include.
1679         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1680         Moved ...
1681         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1682         Update #include.
1683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1684         Moved ...
1685         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1686         Update #include.
1687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1688         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1690         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1691         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1692         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1694         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1695         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1696         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1698         Moved ...
1699         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1701         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1703         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1704
1705 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1706
1707         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1708         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1709         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1710         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1711         * nscd/nscd.c: Likewise.
1712         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1713         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1714         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1715         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1716
1717         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1718         <kernel-features.h>.
1719         (init_mq_netlink): Remove conditional have_sock_cloexec
1720         definitions.  Remove code conditional on have_sock_cloexec < 0.
1721         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1722         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1723         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1724         <kernel-features.h>.
1725         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1726         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1727
1728 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1729
1730         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1731         Add tests for memset_chk and memset.
1732
1733         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1734         with AVX2_Usable.
1735
1736 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1737
1738         [BZ #16046]
1739         * elf/tst-dl-iter-static.c: New file.
1740         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1741
1742         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1743         error.
1744
1745 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1746
1747         * sysdeps/unix/sysv/linux/kernel-features.h
1748         (__ASSUME_F_GETOWN_EX): Remove macro.
1749         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1750         <kernel-features.h>.
1751         (miss_F_GETOWN_EX): Remove variable or macro.
1752         (do_fcntl): Do not check miss_F_GETOWN_EX.
1753         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1754
1755         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1756         Remove macro.
1757         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1758         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1759         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1760
1761         * sysdeps/unix/sysv/linux/kernel-features.h
1762         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1763         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1764         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1765         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1766
1767 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1768
1769         [BZ #17075]
1770         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1771         Fix calculation of the symbol's value.
1772         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1773         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1774         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1775         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1776         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1777         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1778         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1779         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1780         (modules-names): Add `tst-armtlsdescmod',
1781         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1782         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1783         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1784         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1785         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1786         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1787         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1788         ($(objpfx)tst-armtlsdescloc): New dependency.
1789         ($(objpfx)tst-armtlsdescextnow): Likewise.
1790         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1791         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1792         TLS scheme support.
1793         * sysdeps/arm/configure: Regenerate.
1794
1795 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1796
1797         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1798         (__atfct_seterrno_2): Likewise.
1799         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1800         <kernel-features.h>.
1801         (__ASSUME_ATFCTS): Do not undefine and redefine.
1802         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1803         (__have_atfcts): Remove conditional definition.
1804         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1805         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1806         unreachable if [__ASSUME_ATFCTS].
1807         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1808         not undefine and redefine.
1809         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1810         <kernel-features.h>.
1811         (faccessat) [__NR_faccessat]: Make code unconditional.
1812         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1813         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1814         <kernel-features.h>.
1815         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1816         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1817         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1818         <kernel-features.h>.
1819         (fchownat) [__NR_fchownat]: Make code unconditional.
1820         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1821         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1822         <kernel-features.h>.
1823         (futimesat) [__NR_futimesat]: Make code unconditional.
1824         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1825         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1826         <kernel-features.h>.
1827         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1828         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1829         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1830         <kernel-features.h>.
1831         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1832         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1833         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1834         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1835         <kernel-features.h>.
1836         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1837         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1838         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1839         <kernel-features.h>.
1840         (linkat) [__NR_linkat]: Make code unconditional.
1841         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1842         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1843         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1844         <kernel-features.h>.
1845         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1846         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1847         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1848         <kernel-features.h>.
1849         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1850         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1851         * sysdeps/unix/sysv/linux/openat.c: Do not include
1852         <kernel-features.h>.
1853         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1854         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1855         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1856         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1857         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1858         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1859         <kernel-features.h>.
1860         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1861         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1862         result of INLINE_SYSCALL directly, not via int variable.
1863         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1864         <kernel-features.h>.
1865         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1866         (renameat) [__NR_renameat]: Make code unconditional.
1867         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1868         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1869         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1870         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1871         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1872         (__ASSUME_ATFCTS): Do not undefine and redefine.
1873         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1874         <kernel-features.h>.
1875         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1876         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1877         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1878         <kernel-features.h>.
1879         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1880         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1881         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1882         (__ASSUME_ATFCTS): Do not undefine and redefine.
1883         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1884         <kernel-features.h>.
1885         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1886         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1887         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1888         <kernel-features.h>.
1889         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1890         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1891
1892 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1893
1894         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1895
1896 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1897
1898         [BZ #17069]
1899         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1900         constructed tree before returning error.
1901         * posix/bug-regexp36.c: Expand test case.
1902
1903 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1904
1905         [BZ #6803]
1906         * math/libm-test.inc (scalbln_test_date):
1907         Add errno expectations.
1908         * math/w_scalblnf.c: New File.
1909         Add wrapper which checks for setting errno to ERANGE.
1910         Add weak_alias for corresponding scalbln function.
1911         * math/w_scalbln.c: Likewise.
1912         * math/w_scalblnl.c: Likewise.
1913         * math/Makefile (libm-calls): Add w_scalbln.
1914         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1915         Remove weak_alias for corresponding scalbln function.
1916         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1917         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1918         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1919         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1920         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1921         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1922         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1923         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1924         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1925         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1926         Remove long_double_symbol for scalblnl function in libm, libc.
1927         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1928         Add wrapper which checks for setting errno to ERANGE.
1929         Add long_double_symbol for scalblnl function in libm, libc.
1930         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1931         Remove long_double_symbol for scalblnl in libm.
1932         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1933         Add wrapper which checks for setting errno to ERANGE.
1934         Add long_double_symbol for scalblnl function in libm.
1935         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1936         Do not use wrapper because of own implementation.
1937
1938 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1939
1940         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1941         3 bytes for __pad1 for x32.
1942         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1943
1944 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1945             H.J. Lu  <hongjiu.lu@intel.com>
1946
1947         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1948         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1949         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1950         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1951         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1952
1953 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1954
1955         [BZ #17069]
1956         * posix/regcomp.c (parse_expression): Deallocate partially
1957         constructed tree before returning error.
1958         * posix/Makefile.c (tests): Add bug-regex36.
1959         (generated): Add bug-regex36.mtrace.
1960         (tests-special): Add $(objpfx)bug-regex36-mem.out
1961         (bug-regex36-ENV): New variable.
1962         ($(objpfx)bug-regex36-mem.out): New rule.
1963         * posix/bug-regex36.c: New file.
1964
1965 2014-06-19  Will Newton  <will.newton@linaro.org>
1966
1967         * malloc/malloc.c (systrim): If extra is zero then return
1968         early.
1969
1970 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1971
1972         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1973
1974 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1975
1976         * sysdeps/aarch64/strchr.S: New file.
1977
1978 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1979
1980         [BZ #17022]
1981         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1982         from arguments -2 or below.
1983         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1984         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1985
1986 2014-06-18  Andreas Schwab  <schwab@suse.de>
1987
1988         [BZ #17062]
1989         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1990         of a bracket expr not to run off the end of the string.
1991         * posix/Makefile (tests): Add tst-fnmatch3.
1992         * posix/tst-fnmatch3.c: New file.
1993
1994 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1995
1996         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1997         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1998         [$(cross-compiling) = no]: Likewise.
1999         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2000         [$(cross-compiling) = no]: Likewise.
2001
2002 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2003
2004         [BZ #17031]
2005         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2006         double, adjusted for any remainder from the high double.
2007         * math/libm-test.inc (nearbyint): Add tests.
2008         (rint): Likewise.
2009
2010 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2011
2012         * nptl/sysdeps/powerpc/Makefile: Moved ...
2013         * sysdeps/powerpc/nptl/Makefile: ... here.
2014         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2015         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2016         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2017         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2018         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2019         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2020         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2021         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2022         * nptl/sysdeps/powerpc/tls.h: Moved ...
2023         * sysdeps/powerpc/nptl/tls.h: ... here.
2024
2025 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2026
2027         [BZ #16681]
2028         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2029         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2030         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2031         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2032         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2033         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2034         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2035         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2036         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2037
2038 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2039
2040         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2041
2042 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2043
2044         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2045         defined operator.
2046
2047         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2048         $TIMEOUTFACTOR.
2049
2050 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2051
2052         [BZ #17058]
2053         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2054         non-executed part of the test.
2055
2056 2014-06-16  Andreas Schwab  <schwab@suse.de>
2057
2058         * string/bits/string2.h (strdup, strndup): Update feature guard.
2059
2060 2014-06-14  David S. Miller  <davem@davemloft.net>
2061
2062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2063
2064 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2065
2066         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2067         that was previously under [RESET_PID].
2068         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2069
2070         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2071         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2072         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2073         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2074         (__libc_vfork): New strong alias.
2075         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2076
2077 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2078
2079         * sysdeps/generic/elide.h: New file.
2080
2081 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2082
2083         * Makefile (installed-headers): Adjust path of pthread.h header.
2084
2085 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2086
2087         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2088         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2089         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2090         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2091
2092         * nptl/sysdeps/s390/Makefile: Moved ...
2093         * sysdeps/s390/nptl/Makefile: ... here.
2094         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2095         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2096         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2097         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2098         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2099         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2100         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2101         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2102         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2103         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2104         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2105         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2106         * nptl/sysdeps/s390/tls.h: Moved ...
2107         * sysdeps/s390/nptl/tls.h: ... here.
2108
2109         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2110         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2111
2112 2014-06-13  David S. Miller  <davem@davemloft.net>
2113
2114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2117         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2121         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2122         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2123         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2124         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2125         Remove RESET_PID cpp guards.
2126         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2127         Remove RESET_PID cpp guards.
2128         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2129
2130 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2131
2132         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2133         __sp to uintptr_t.
2134
2135 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2136
2137         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2138         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2139         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2140         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2141         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2142         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2143         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2144         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2145         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2146         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2147         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2148         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2149         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2150         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2151         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2152         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2153         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2154         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2155         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2156         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2157
2158         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2159         (pthread_rwlock_rdlock): Add elision.
2160         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2161         (pthread_rwlock_wrlock): Add elision.
2162         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2163         (pthread_rwlock_trywrlock): Add elision.
2164         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2165         (pthread_rwlock_tryrdlock): Add elision.
2166         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2167         (pthread_rwlock_tryrdlock): Add elision unlock.
2168         * nptl/sysdeps/pthread/pthread.h:
2169         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2170         (PTHREAD_RWLOCK_INITIALIZER,
2171         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2172         Handle new elision field.
2173         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2174         * sysdeps/arm/nptl/bits/pthreadtypes.h
2175         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2176         * sysdeps/sh/nptl/bits/pthreadtypes.h
2177         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2178         * sysdeps/tile/nptl/bits/pthreadtypes.h
2179         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2180         * sysdeps/a/nptl/bits/pthreadtypes.h
2181         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2182         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2183         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2184         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2185         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2186         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2187         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2188         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2189         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2190         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2191         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2192         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2193         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2194         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2195         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2196         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2197         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2198         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2199         (elision_init): Set try_xbegin to zero when no RTM.
2200         * sysdeps/x86/nptl/bits/pthreadtypes.h
2201         (pthread_rwlock_t): Change __pad1 to __rwelision.
2202         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2203
2204 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2205
2206         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2207         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2208         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2209         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2210
2211 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2212
2213         [BZ #16996]
2214         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2215         that the cached result has been set before returning it.
2216
2217 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2218
2219         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2220         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2221         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2222         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2223         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2224         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2225
2226         * nptl/sysdeps/sparc/Makefile: Moved ...
2227         * sysdeps/sparc/nptl/Makefile: ... here.
2228         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2229         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2230         * nptl/sysdeps/sparc/tls.h: Moved ...
2231         * sysdeps/sparc/nptl/tls.h: ... here.
2232         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2233         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2234         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2235         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2236         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2237         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2238         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2239         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2240         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2241         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2242         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2243         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2244         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2245         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2246         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2247         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2248         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2249         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2250         Update #include.
2251         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2252         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2253         Update #include.
2254         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2255         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2256         Update #include.
2257         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2258         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2259         Update #include.
2260
2261         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2262
2263         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2264         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2265
2266         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2267         (struct list_links): Type removed.
2268         (struct thread_node, struct timer_node): Replace struct list_links
2269         with struct list_head.
2270         (list_unlink_ip): Likewise.
2271         * sysdeps/pthread/timer_routines.c
2272         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2273         (list_append, list_insbefore): Likewise.
2274         (list_init): Function removed.
2275         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2276         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2277         * sysdeps/pthread/Makefile: ... here, new file.
2278
2279         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2280         * sysdeps/nptl/Implies: ... here.
2281         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2282         * nptl/sysdeps/pthread/list.h: Moved ...
2283         * include/list.h: ... here.
2284         * nptl/sysdeps/pthread/createthread.c: Moved ...
2285         * nptl/createthread.c: ... here.
2286         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2287         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2288         * nptl/pt-longjmp.c: ... here.
2289         * nptl/sysdeps/pthread/Makefile: Moved ...
2290         * sysdeps/nptl/Makefile: ... here.
2291         * nptl/sysdeps/pthread/Subdirs: Moved ...
2292         * sysdeps/nptl/Subdirs: ... here.
2293         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2294         * sysdeps/nptl/aio_misc.h: ... here.
2295         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2296         * sysdeps/nptl/bits/libc-lock.h: ... here.
2297         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2298         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2299         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2300         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2301         * nptl/sysdeps/pthread/configure: Moved ...
2302         * sysdeps/nptl/configure: ... here.
2303         * nptl/sysdeps/pthread/configure.ac: Moved ...
2304         * sysdeps/nptl/configure.ac: ... here.
2305         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2306         * sysdeps/nptl/gai_misc.h: ... here.
2307         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2308         * sysdeps/nptl/librt-cancellation.c: ... here.
2309         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2310         * sysdeps/nptl/malloc-machine.h: ... here.
2311         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2312         * sysdeps/nptl/pthread-functions.h: ... here.
2313         * nptl/sysdeps/pthread/pthread.h: Moved ...
2314         * sysdeps/nptl/pthread.h: ... here.
2315         * nptl/sysdeps/pthread/setxid.h: Moved ...
2316         * sysdeps/nptl/setxid.h: ... here.
2317         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2318         * sysdeps/nptl/sigfillset.c: ... here.
2319         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2320         * sysdeps/nptl/tcb-offsets.h: ... here.
2321         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2322         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2323         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2324         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2325         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2326         * sysdeps/pthread/allocalim.h: ... here.
2327         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2328         * sysdeps/pthread/bits/sigthread.h: ... here.
2329         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2330         * sysdeps/pthread/flockfile.c: ... here.
2331         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2332         * sysdeps/pthread/ftrylockfile.c: ... here.
2333         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2334         * sysdeps/pthread/funlockfile.c: ... here.
2335         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2336         * sysdeps/pthread/posix-timer.h: ... here.
2337         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2338         * sysdeps/pthread/timer_create.c: ... here.
2339         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2340         * sysdeps/pthread/timer_delete.c: ... here.
2341         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2342         * sysdeps/pthread/timer_getoverr.c: ... here.
2343         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2344         * sysdeps/pthread/timer_gettime.c: ... here.
2345         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2346         * sysdeps/pthread/timer_routines.c: ... here.
2347         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2348         * sysdeps/pthread/timer_settime.c: ... here.
2349         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2350         * sysdeps/pthread/tst-timer.c: ... here.
2351         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2352         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2353
2354         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2355         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2356
2357         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2358         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2359         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2360         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2361         Update #include target.
2362         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2363         * sysdeps/i386/i686/nptl/Makefile: ... here.
2364         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2365         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2366         Update #include target.
2367         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2368         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2369         * nptl/sysdeps/i386/Makefile: Moved ...
2370         * sysdeps/i386/nptl/Makefile: ... here.
2371         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2372         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2373         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2374         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2375         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2376         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2377         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2378         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2379         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2380         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2381         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2382         * nptl/sysdeps/i386/tls.h: Moved ...
2383         * sysdeps/i386/nptl/tls.h: ... here.
2384
2385         * sysdeps/sh/Makefile [$(subdir) = csu]
2386         (gen-as-const-headers): Add tcb-offsets.sym.
2387         * nptl/sysdeps/sh/Makefile: File removed.
2388         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2389         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2390         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2391         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2392         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2393         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2394         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2395         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2396         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2397         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2398         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2399         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2400         * nptl/sysdeps/sh/tls.h: Moved ...
2401         * sysdeps/sh/nptl/tls.h: ... here.
2402         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2403         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2404         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2405         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2406         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2407         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2408         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2409         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2410         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2411         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2412         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2413         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2414         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2415         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2416         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2417         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2418         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2419         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2420         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2421         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2422         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2423         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2424         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2425         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2426         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2427         Moved ...
2428         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2429         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2430         Moved ...
2431         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2432         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2433         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2434         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2435         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2436         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2437         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2438         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2439         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2440         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2441         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2442         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2443         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2444         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2445         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2446         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2447         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2448         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2449         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2450
2451 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2452
2453         * posix/spawn_faction_addopen.c: Include string.h.
2454
2455 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2456
2457         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2458         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2459         * nptl/sysdeps/x86_64/Makefile: Moved ...
2460         * sysdeps/x86_64/nptl/Makefile: ... here.
2461         * nptl/sysdeps/x86_64/configure: Moved ...
2462         * sysdeps/x86_64/nptl/configure: ... here.
2463         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2464         * sysdeps/x86_64/nptl/configure.ac: ... here.
2465         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2466         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2467         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2468         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2469         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2470         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2471         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2472         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2473         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2474         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2475         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2476         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2477         * nptl/sysdeps/x86_64/tls.h: Moved ...
2478         * sysdeps/x86_64/nptl/tls.h: ... here.
2479         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2480         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2481         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2482         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2483
2484         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2485
2486 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2487
2488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2489
2490 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2491
2492         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2493         type.
2494         [POSIX] (off_t): Likewise.
2495         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2496         [POSIX] (S_ISBLK): Require macro.
2497         [POSIX] (S_ISCHR): Likewise.
2498         [POSIX] (S_ISDIR): Likewise.
2499         [POSIX] (S_ISFIFO): Likewise.
2500         [POSIX] (S_ISREG): Likewise.
2501         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2502         optional-macro.
2503         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2504         type.
2505         [POSIX] (time_t): Likewise.
2506         [POSIX] (timer_t): Likewise.
2507
2508 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2509
2510         [BZ #17048]
2511         * posix/spawn_int.h (struct __spawn_action): Make the path string
2512         non-const to support deallocation.
2513         * posix/spawn_faction_addopen.c
2514         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2515         * posix/spawn_faction_destroy.c
2516         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2517         path in all spawn_do_open actions.
2518         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2519         posix_spawn_file_actions_addopen.
2520
2521 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2522
2523         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2524         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2525         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2526         conditional code always true.
2527         (__libc_vfork): New alias.
2528
2529 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2530
2531         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2532         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2533
2534         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2535
2536         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2537         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2538
2539         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2540         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2541
2542         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2543         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2544
2545 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2546
2547         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2548         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2549         multiarch strcmp for PPC64.
2550         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2551         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2553         multiarch optimizations.
2554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2555         (__libc_ifunc_impl_list): Likewise.
2556
2557 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2558
2559         * benchtests/scripts/validate_benchout.py: New script.
2560         * benchtests/Makefile (bench-func): Call it.
2561         * benchtests/scripts/benchout.schema.json: New file.
2562
2563 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2564
2565         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2566         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2567         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2568         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2569         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2570         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2571         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2572         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2573         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2574         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2575         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2576         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2577         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2578         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2579         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2580         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2582         Moved ...
2583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2584         ... here.
2585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2586         Moved ...
2587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2589         Moved ...
2590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2591         ... here.
2592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2593         Moved ...
2594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2595         ... here.
2596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2597         Moved ...
2598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2600         Moved ...
2601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2602         ... here.
2603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2604         Moved ...
2605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2606         ... here.
2607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2608         Moved ...
2609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2611         Moved ...
2612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2613         ... here.
2614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2615         Moved ...
2616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2617         ... here.
2618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2619         Moved ...
2620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2621         ... here.
2622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2623         Moved ...
2624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2626         Moved ...
2627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2628         ... here.
2629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2630         Moved ...
2631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2632         ... here.
2633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2634         Moved ...
2635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2636         ... here.
2637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2638         Moved ...
2639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2641         Moved ...
2642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2643         ... here.
2644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2645         Moved ...
2646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2647         ... here.
2648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2649         Moved ...
2650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2652         Moved ...
2653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2654         ... here.
2655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2656         Moved ...
2657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2659         Moved ...
2660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2662         Moved ...
2663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2664         ... here.
2665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2666         Moved ...
2667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2668         ... here.
2669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2670         Moved ...
2671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2672         ... here.
2673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2674         Moved ...
2675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2677         Moved ...
2678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2679         ... here.
2680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2681         Moved ...
2682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2683         ... here.
2684         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2685         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2686         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2687         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2688         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2689         Moved ...
2690         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2691         ... here.
2692         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2693         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2694         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2695         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2696         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2697         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2698         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2699         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2700         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2701         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2702         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2703         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2704         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2705         Moved ...
2706         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2707         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2708         Moved ...
2709         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2710         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2711         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2712         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2713         Moved ...
2714         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2715         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2716         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2717         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2718         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2719         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2720         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2721
2722 2014-06-10  Wilco  <wdijkstr@arm.com>
2723
2724         * math/test-fenv-return.c: New file.
2725         * math/Makefile: Add new test test-fenv-return.
2726
2727 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2728
2729         [BZ #17042]
2730         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2731         when x - 1 is zero.
2732         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2733         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2734         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2735         0.0L for an argument of 1.0L.
2736         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2737         Likewise.
2738         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2739         value when x - 1 is zero.
2740         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2741         * sysdeps/i386/fpu/libm-test-ulps: Update.
2742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2743
2744 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2745
2746         [BZ #15119]
2747         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2748
2749 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2750
2751         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2752         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2753
2754 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2755
2756         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2757         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2758
2759         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2760         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2761
2762         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2763         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2764
2765         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2766         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2767
2768         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2769         if not already defined.
2770         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2771         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2772         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2773         (TLS_INIT_TP): Use it.
2774         (TLS_DEFINE_INIT_TP): New macro.
2775         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2776
2777 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2778
2779         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2780         constant.
2781         [POSIX] (IXANY): Likewise.
2782         [POSIX] (OLCUC): Likewise.
2783         [POSIX || POSIX2008] (CBAUD): Do not allow.
2784         [POSIX || POSIX2008] (DEFECHO): Likewise.
2785         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2786         [POSIX || POSIX2008] (ECHOKE): Likewise.
2787         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2788         [POSIX || POSIX2008] (EXTA): Likewise.
2789         [POSIX || POSIX2008] (EXTB): Likewise.
2790         [POSIX || POSIX2008] (FLUSHO): Likewise.
2791         [POSIX || POSIX2008] (LOBLK): Likewise.
2792         [POSIX || POSIX2008] (PENDIN): Likewise.
2793         [POSIX || POSIX2008] (SWTCH): Likewise.
2794         [POSIX || POSIX2008] (VDISCARD): Likewise.
2795         [POSIX || POSIX2008] (VDSUSP): Likewise.
2796         [POSIX || POSIX2008] (VLNEXT): Likewise.
2797         [POSIX || POSIX2008] (VREPRINT): Likewise.
2798         [POSIX || POSIX2008] (VSTATUS): Likewise.
2799         [POSIX || POSIX2008] (VWERASE): Likewise.
2800         (B*): Change to B[0123456789]*.
2801         * conform/data/time.h-data [POSIX || UNIX98]
2802         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2803         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2804         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2805         [POSIX] (tm_*): Do not allow.
2806
2807 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2808
2809         * Makefile (install): Don't set LANGUAGE.
2810         * Makefile.in (install): Likewise.
2811         * assert/Makefile (test-assert-ENV): Remove variable.
2812         (test-assert-perr-ENV): Likewise.
2813         * elf/Makefile (neededtest4-ENV): Likewise.
2814         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2815         [$(cross-compiling) = no]: Don't set LANGUAGE.
2816         * io/ftwtest-sh (LANG): Remove variable.
2817         * libio/Makefile (tst-widetext-ENV): Likewise.
2818         * manual/install.texi (Running make install): Don't refer to
2819         environment settings for make install.
2820         * INSTALL: Regenerated.
2821         * nptl/tst-tls6.sh: Don't set LANG.
2822         * posix/globtest.sh (LANG): Remove variable.
2823         * string/Makefile (tester-ENV): Likewise.
2824         (inl-tester-ENV): Likewise.
2825         (noinl-tester-ENV): Likewise.
2826         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2827         [$(cross-compiling) = no]: Don't set LANGUAGE.
2828         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2829         without explicit environment settings.
2830
2831 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2832
2833         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2834         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2835         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2836         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2837
2838 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2839
2840         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2841         other files in the crypt directory.
2842         * crypt/crypt.c: Remove duplicate includes.
2843         * crypt/crypt-entry.c: Likewise.
2844         * crypt/crypt_util.c: Likewise.
2845
2846 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2847
2848         * Makeconfig (run-program-env): New variable.
2849         (run-program-prefix-before-env): Likewise.
2850         (run-program-prefix-after-env): Likewise.
2851         (run-program-prefix): Define in terms of new variables.
2852         (built-program-cmd-before-env): New variable.
2853         (built-program-cmd-after-env): Likewise.
2854         (built-program-cmd): Define in terms of new variables.
2855         (test-program-prefix-before-env): New variable.
2856         (test-program-prefix-after-env): Likewise.
2857         (test-program-prefix): Define in terms of new variables.
2858         (test-program-cmd-before-env): New variable.
2859         (test-program-cmd-after-env): Likewise.
2860         (test-program-cmd): Define in terms of new variables.
2861         * Rules (make-test-out): Use $(run-program-env).
2862         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2863         (help): Do not mention environment variables.  Mention
2864         --timeoutfactor option.
2865         (timeoutfactor): New variable.
2866         (blacklist_exports): Remove function.
2867         (exports): Remove variable.
2868         (command): Do not include ${exports}.
2869         * manual/install.texi (Configuring and compiling): Do not mention
2870         test wrappers preserving environment variables.  Mention that last
2871         assignment to a variable must take precedence.
2872         * INSTALL: Regenerated.
2873         * benchtests/Makefile (run-bench): Use $(run-program-env).
2874         * catgets/Makefile ($(objpfx)test1.cat): Use
2875         $(built-program-cmd-before-env), $(run-program-env) and
2876         $(built-program-cmd-after-env).
2877         ($(objpfx)test2.cat): Do not specify environment variables
2878         explicitly.
2879         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2880         $(run-program-env) and $(built-program-cmd-after-env).
2881         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2882         $(run-program-env) and $(test-program-cmd-after-env).
2883         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2884         explicitly.
2885         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2886         run_program_env and test_program_cmd_after_env arguments.
2887         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2888         * elf/tst-pathopt.sh: Use run_program_env argument.
2889         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2890         $(test-wrapper-env) and $(run-program-env).
2891         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2892         run_program_env arguments.
2893         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2894         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2895         $(test-program-prefix-before-env), $(run-program-env) and
2896         $(test-program-prefix-after-env).
2897         ($(objpfx)tst-gettext2.out): Likewise.
2898         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2899         run_program_env and test_program_prefix_after_env arguments.
2900         * intl/tst-gettext2.sh: Likewise.
2901         * intl/tst-gettext4.sh: Do not set environment variables
2902         explicitly.
2903         * intl/tst-gettext6.sh: Likewise.
2904         * intl/tst-translit.sh: Likewise.
2905         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2906         $(test-program-prefix-before-env), $(run-program-env) and
2907         $(test-program-prefix-after-env).
2908         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2909         run_program_env and test_program_prefix_after_env arguments.
2910         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2911         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2912         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2913         explicitly with each use of ${test_wrapper_env}.
2914         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2915         $(test-program-prefix-before-env), $(run-program-env) and
2916         $(test-program-prefix-after-env).
2917         * posix/tst-getconf.sh: Do not set environment variables
2918         explicitly.
2919         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2920         run_program_env and test_program_prefix_after_env arguments.
2921         * stdio-common/tst-printf.sh: Do not set environment variables
2922         explicitly.
2923         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2924         $(test-program-prefix-before-env), $(run-program-env) and
2925         $(test-program-prefix-after-env).
2926         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2927         run_program_env and test_program_prefix_after_env arguments.
2928         Split $test calls into $test_pre and $test.
2929         * timezone/Makefile (build-testdata): Use
2930         $(built-program-cmd-before-env), $(run-program-env) and
2931         $(built-program-cmd-after-env).
2932
2933 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2934
2935         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2936         strlen for non SHARED builds.
2937
2938 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2939
2940         * nptl/allocatestack.c (check_list): Inlined function...
2941         (__reclaim_stacks): ... here.
2942
2943 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2944
2945         [BZ #15698]
2946         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2947         memory overrun.
2948
2949 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2950
2951         * Rules (make-test-out): Include
2952         LOCPATH=$(common-objpfx)localedata in default environment.
2953         * debug/Makefile (tst-chk1-ENV): Remove variable.
2954         (tst-chk2-ENV): Likewise.
2955         (tst-chk3-ENV): Likewise.
2956         (tst-chk4-ENV): Likewise.
2957         (tst-chk5-ENV): Likewise.
2958         (tst-chk6-ENV): Likewise.
2959         (tst-lfschk1-ENV): Likewise.
2960         (tst-lfschk2-ENV): Likewise.
2961         (tst-lfschk3-ENV): Likewise.
2962         (tst-lfschk4-ENV): Likewise.
2963         (tst-lfschk5-ENV): Likewise.
2964         (tst-lfschk6-ENV): Likewise.
2965         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2966         (tst-iconv7-ENV): Likewise.
2967         * intl/Makefile (LOCPATH-ENV): Likewise.
2968         (tst-codeset-ENV): Likewise.
2969         (tst-gettext3-ENV): Likewise.
2970         (tst-gettext5-ENV): Likewise.
2971         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2972         (tst-fopenloc-ENV): Likewise.
2973         (tst-fgetws-ENV): Remove variable.
2974         (tst-ungetwc1-ENV): Likewise.
2975         (tst-ungetwc2-ENV): Likewise.
2976         (bug-ungetwc2-ENV): Likewise.
2977         (tst-swscanf-ENV): Likewise.
2978         (bug-ftell-ENV): Likewise.
2979         (tst-fgetwc-ENV): Likewise.
2980         (tst-fseek-ENV): Likewise.
2981         (tst-ftell-partial-wide-ENV): Likewise.
2982         (tst-ftell-active-handler-ENV): Likewise.
2983         (tst-ftell-append-ENV): Likewise.
2984         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2985         (tst-regexloc-ENV): Likewise.
2986         (bug-regex1-ENV): Likewise.
2987         (tst-regex-ENV): Likewise.
2988         (tst-regex2-ENV): Likewise.
2989         (bug-regex5-ENV): Likewise.
2990         (bug-regex6-ENV): Likewise.
2991         (bug-regex17-ENV): Likewise.
2992         (bug-regex18-ENV): Likewise.
2993         (bug-regex19-ENV): Likewise.
2994         (bug-regex20-ENV): Likewise.
2995         (bug-regex22-ENV): Likewise.
2996         (bug-regex23-ENV): Likewise.
2997         (bug-regex25-ENV): Likewise.
2998         (bug-regex26-ENV): Likewise.
2999         (bug-regex30-ENV): Likewise.
3000         (bug-regex32-ENV): Likewise.
3001         (bug-regex33-ENV): Likewise.
3002         (bug-regex34-ENV): Likewise.
3003         (bug-regex35-ENV): Likewise.
3004         (tst-rxspencer-ENV): Likewise.
3005         (tst-rxspencer-no-utf8-ENV): Likewise.
3006         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3007         (tst-sscanf-ENV): Likewise.
3008         (tst-swprintf-ENV): Likewise.
3009         (tst-swscanf-ENV): Likewise.
3010         (test-vfprintf-ENV): Likewise.
3011         (scanf13-ENV): Likewise.
3012         (bug14-ENV): Likewise.
3013         (tst-grouping-ENV): Likewise.
3014         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3015         (tst-strtod3-ENV): Likewise.
3016         (tst-strtod4-ENV): Likewise.
3017         (tst-strtod5-ENV): Likewise.
3018         (testmb2-ENV): Likewise./
3019         * string/Makefile (tst-strxfrm-ENV): Likewise.
3020         (tst-strxfrm2-ENV): Likewise.
3021         (bug-strcoll1-ENV): Likewise.
3022         (test-strcasecmp-ENV): Likewise.
3023         (test-strncasecmp-ENV): Likewise.
3024         * time/Makefile (tst-strptime-ENV): Likewise.
3025         (tst-ftime_l-ENV): Likewise.
3026         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3027         (tst-mbrtowc-ENV): Likewise.
3028         (tst-wcrtomb-ENV): Likewise.
3029         (tst-mbrtowc2-ENV): Likewise.
3030         (tst-c16c32-1-ENV): Likewise.
3031         (tst-mbsnrtowcs-ENV): Likewise.
3032
3033 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3034
3035         * manual/resource.texi (How to get information about the memory
3036         subsystem?): Fix typo.
3037         Reported by Peon de la Parra Ivan <peon@keba.com>
3038
3039 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3040
3041         [BZ #16882]
3042         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3043         (pthread_spin_lock): Branch out of spin loop to proper location.
3044         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3045         (pthread_spin_lock): Likewise.
3046
3047         * nptl/tst-spin4.c: New test.
3048         * nptl/Makefile (tests): Add tst-spin4.
3049
3050 2014-06-03  Andreas Schwab  <schwab@suse.de>
3051
3052         [BZ #15946]
3053         * resolv/res_send.c (send_dg): Reload file descriptor after
3054         calling reopen.
3055
3056 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3057
3058         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3059
3060 2014-06-03  Richard Henderson  <rth@redhat.com>
3061
3062         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3063         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3064         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3065         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3066         in the SAVE_PID block.
3067         (__libc_vfork): New alias.
3068         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3069
3070         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3071         child in registers, not on the stack.  Remove RESET_PID conditionals.
3072         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3073
3074 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3075
3076         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3077
3078 2014-06-03  Wilco  <wdijkstr@arm.com>
3079
3080         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3081         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3082         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3083         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3084         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3085         Likewise.
3086
3087 2014-06-03  Wilco  <wdijkstr@arm.com>
3088
3089         * sysdeps/aarch64/fpu/math_private.h
3090         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3091         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3092         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3093         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3094         Fix declarations.
3095
3096 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3097
3098         * crypt/crypt-private.h: Include ufc-crypt.h.
3099         (__b64_from_24bit): Declare extern.
3100         * crypt/crypt_util.c(__b64_from_24bit): New function.
3101         (b64t): New static const variable.
3102         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3103         (b64t): Remove variable.
3104         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3105         * crypt/sha256-crypt.c: Include crypt-private.h.
3106         (b64t): Remove variable.
3107         (__sha256_crypt_r): Remove b64_from_24bit and replace
3108         with __b64_from_24bit.
3109         * crypt/sha512-crypt.c: Likewise.
3110
3111 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3112
3113         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3114         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3115         Label the code __libc_vfork rather than __vfork.
3116         [!NOT_IN_libc] (vfork): Define as weak alias.
3117         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3118         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3119         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3120
3121 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3122
3123         * malloc/malloc.c (malloc_info): Fix format specifier for
3124         n_mmaps.
3125
3126 2014-06-02  Wilco  <wdijkstr@arm.com>
3127
3128         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3129         FPCR write.
3130
3131 2014-06-02  Wilco  <wdijkstr@arm.com>
3132
3133         [BZ #17009]
3134         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3135         Rewrite to reduce FPCR/FPSR accesses.
3136
3137 2014-06-01  David S. Miller  <davem@davemloft.net>
3138
3139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3140
3141 2014-05-31  David S. Miller  <davem@davemloft.net>
3142
3143         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3144         to occur in round to nearest mode when |x| >= 2.0
3145
3146 2014-05-30  Richard Henderson  <rth@twiddle.net>
3147
3148         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3149         (PSEUDO_RET_NOERRNO): Remove.
3150         (ret): Don't redefine.
3151         (ret_NOERRNO): Define in terms of ret.
3152         (ret_ERRVAL): Likewise.
3153
3154         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3155         use of PSEUDO_RET; perform the error check directly.
3156
3157 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3158
3159         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3160         with __int128_t.
3161
3162 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3163
3164         * malloc/malloc (malloc_info): Fix formatting.
3165
3166 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3167             Roland McGrath  <roland@hack.frob.com>
3168
3169         * malloc/malloc (malloc_info): Also print mmapped statistics.
3170
3171 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3172
3173         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3174         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3175
3176 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3177
3178         * malloc/malloc.c (malloc_info): Inline mi_arena.
3179
3180 2014-05-29  Richard Henderson  <rth@twiddle.net>
3181
3182         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3183         Remove comma before expanding ASM_ARGS_##nr.
3184         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3185         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3186         of ASM_ARGS_##nr.
3187         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3188         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3189         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3190         (ASM_ARGS_1): Add leading comma.
3191
3192         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3193         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3194         to __errno_location.
3195         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3196         Remove the expected plt for __errno_location.
3197
3198         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3199         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3200         call to __read_tp.
3201
3202         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3203         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3204         it and break it down.
3205         (DOCARGS_0, DOCARGS_1): Do nothing.
3206         (DOCARGS_2): Update to store into the new stack frame.
3207         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3208         (UNDOCARGS_1): Update to restore from the new stack frame.
3209         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3210         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3211
3212         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3213         (SINGLE_THREAD_P): New parameter for result regno.
3214         (PSEUDO): Update to match; use cbz instead of beq.
3215
3216         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3217         Use ENTRY to define the _nocancel entry point.  Share the syscall
3218         and syscall error check paths with the cancel path.
3219         (PSEUDO_END): New.
3220
3221         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3222         whitespace; tabs before and after asm mnemonics.
3223
3224 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3225
3226         [BZ #15132]
3227         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3228         Call fstat64 or stat64 internally, depending on arguments passed.
3229         Replace stat buffer argument with file descriptor argument.
3230         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3231         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3232         Pass fd to __internal_statvfs instead of calling fstat64.
3233         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3234         Pass fd to __internal_statvfs64 instead of calling fstat64.
3235         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3236         Pass -1 to __internal_statvfs instead of calling stat64.
3237         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3238         Pass -1 to __internal_statvfs64 instead of calling stat64.
3239
3240 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3241
3242         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3243         that was previously under [RESET_PID].
3244         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3245
3246         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3247         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3248
3249 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3250
3251         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3252
3253         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3254         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3255
3256 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3257
3258         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3259
3260 2014-05-27  Andreas Schwab  <schwab@suse.de>
3261
3262         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3263         TLS_INIT_TP macro.
3264         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3265         * elf/rtld.c (init_tls, dl_main): Likewise.
3266         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3267         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3268         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3269         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3270         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3271         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3272         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3273         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3274         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3275         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3276         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3277         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3278         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3279         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3280         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3281         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3282         * sysdeps/generic/tls.h: Update description.
3283
3284 2014-05-27  Will Newton  <will.newton@linaro.org>
3285
3286         [BZ #16990]
3287         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3288         and restore r2 rather than just restoring.
3289
3290 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3291
3292         [BZ #16724]
3293         * libio/tst-ftell-append.c: New test case.
3294         * libio/Makefile (tests): Add test case.
3295         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3296         append mode.
3297         * libio/wfileops.c (do_ftell_wide): Likewise.
3298
3299 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3300
3301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3302
3303         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3304         ...
3305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3307         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3308         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3309         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3310         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3311         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3312         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3313         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3314         Moved ...
3315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3317         Moved ...
3318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3319         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3320         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3321         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3322         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3323         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3324         ...
3325         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3326         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3327         Moved ...
3328         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3329         here.
3330         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3331         ...
3332         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3333         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3334         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3335
3336         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3337         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3338         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3339         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3340
3341         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3342         merge into ...
3343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3344         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3345         ...
3346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3347         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3348         ...
3349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3350         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3351         Moved ...
3352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3353         here.
3354         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3355         Moved ...
3356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3357         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3358         Moved ...
3359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3360
3361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3362         conditional [RESET_PID].
3363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3364         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3365         removed.
3366         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3367         removed.
3368
3369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3370         <tcb-offsets.h>.
3371         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3372         (__libc_vfork): New strong alias.
3373         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3374         removed.
3375         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3376         Removed.
3377
3378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3379         <tcb-offsets.h>.
3380         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3381         (__libc_vfork): New strong alias.
3382         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3383         removed.
3384         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3385         removed.
3386
3387 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3388
3389         * malloc/malloc.c (mi_arena): New function.
3390         (malloc_info): Remove nested function mi_arena. Call non-nosted
3391         function mi_arena.
3392
3393 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3394
3395         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3396         by insrwi.
3397         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3398         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3399         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3400         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3401         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3402         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3403         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3404
3405 2014-05-26  Andreas Schwab  <schwab@suse.de>
3406
3407         [BZ #16984]
3408         * locale/programs/repertoire.c (repertoire_read): Add slash
3409         between I18NPATH element and file name.
3410         * locale/programs/locfile.c (locfile_read): Likewise.
3411
3412 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3413
3414         * nptl/pthread_mutexattr_settype.c
3415         (__pthread_mutexattr_settype):
3416         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3417
3418 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3419
3420         * nptl/tst-mutex5 (do_test):
3421         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3422
3423 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3424
3425         * benchtests/README: Document 'init' directive.
3426         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3427         BENCH_INIT.
3428         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3429         (parse_file): Recognize 'init' directive.
3430
3431 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3432
3433         [BZ #16796]
3434         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3435         alignment of struct pthread.
3436
3437 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3438
3439         [BZ #16878]
3440         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3441         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3442         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3443         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3444
3445 2014-05-25  Richard Henderson  <rth@twiddle.net>
3446
3447         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3448         (SINGLE_THREAD_P_PIC): Remove.
3449         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3450         (SINGLE_THREAD_P_PIC): Remove.
3451
3452         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3453         branch to syscall error ...
3454         (PSEUDO): ... here.
3455         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3456         from __local_syscall_error to .Lsyscall_error.
3457         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3458         (SYSCALL_ERROR): Update label name.
3459
3460         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3461         Do not use DOARGS/UNDOARGS.
3462         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3463         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3464         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3465         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3466         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3467
3468         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3469         block comment.
3470
3471         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3472         define if !NOT_IN_libc.
3473         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3474         define with non-default symbol versions.
3475
3476 2014-05-23  Richard Henderson  <rth@twiddle.net>
3477
3478         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3479         (vfork, __vfork): Define via compat_symbol.
3480
3481         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3482         [!HAVE_IFUNC] (vfork_compat): Remove.
3483         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3484
3485 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3486
3487         [BZ #16978]
3488         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3489         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3490         variable.
3491
3492 2014-05-23  Richard Henderson  <rth@twiddle.net>
3493
3494         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3495         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3496         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3497         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3498
3499         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3500         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3501         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3502         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3503         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3504         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3505         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3506         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3507         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3508         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3509         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3510         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3511         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3512         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3513         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3514         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3515         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3516         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3517         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3518         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3519         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3520         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3521         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3522         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3523         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3524         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3525         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3526         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3527         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3528         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3529         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3530         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3531         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3532         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3533         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3534         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3535         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3536         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3537         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3538         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3539         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3540         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3541         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3542         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3543         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3544         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3545         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3546         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3547         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3548         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3549         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3550         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3551         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3552         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3553         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3554         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3555
3556         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3557         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3558         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3559         before exiting on error.
3560         (__libc_vfork): New strong alias.
3561         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3562         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3563
3564         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3565         that was previously under [RESET_PID].
3566         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3567
3568         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3569
3570 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3571
3572         [BZ #16977]
3573         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3574         value when x - 1 is zero.
3575         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3576         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3577         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3578         0.0L for an argument of 1.0L.
3579         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3580         Likewise.
3581         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3582         value when x - 1 is zero.
3583         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3584         * sysdeps/i386/fpu/libm-test-ulps: Update.
3585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3586
3587 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3588
3589         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3590         alphasort and versionsort.
3591
3592 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3593
3594         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3595         macro.
3596         [copysignf]: Likewise.
3597
3598 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3599
3600         * crypt/md5-crypt.c: Fix formatting.
3601
3602 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3603
3604         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3605         (b64_from_24bit): New function.
3606
3607 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3608
3609         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3610         libc_hidden_builtin_def to ifunc.
3611         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3612         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3613
3614 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3615
3616         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3617         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3618
3619 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3620
3621         * nscd/Depend (linuxthreads): Remove.
3622         (nptl): Add.
3623         * resolv/Depend (linuxthreads): Remove.
3624         * rt/Depend (linuxthreads): Remove.
3625
3626         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3627         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3628         $(common-objpfx)elf/.
3629         (link-libc-before-gnulib): Likewise.
3630         (elfobjdir): Remove variable.
3631         * Makefile (install): Use $(elf-objpfx) instead of
3632         $(common-objpfx)elf/.
3633         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3634         $(elfobjdir)/.
3635         (link-libc-deps): Likewise.
3636         ($(common-objpfx)libc.so): Likewise.
3637         ($(common-objpfx)linkobj/libc.so): Likewise.
3638         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3639         instead of $(common-objpfx)elf/.
3640         (symbolic-link-list): Likewise.
3641         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3642         [$(cross-compiling) = no]: Likewise.
3643         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3644         $(elfobjdir)/.
3645         (static-gnulib-arch): Likewise.
3646         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3647         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3648         $(common-objpfx)elf/.
3649
3650 2014-05-21  Richard Henderson  <rth@redhat.com>
3651
3652         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3653         (SINGLE_THREAD_P): Use the correct width load.  Fold
3654         into the ldr offset.
3655
3656         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3657         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3658
3659 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3660
3661         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3662         (libgcc_s_resume): Use __attribute_used__.
3663         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3664         Likewise.
3665
3666 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3667
3668         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3669         optimization when used with float constants.
3670
3671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3672
3673 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3674
3675         [BZ #16915]
3676         * locale/nl_langinfo_l.c: Make direct reference to every
3677         _nl_current_CATEGORY symbol.
3678         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3679         (tests-static): Add tst-langinfo-static.
3680         (tests-special): Add tst-langinfo-static.out.
3681         ($(objpfx)tst-langinfo.out): Redirect output.
3682         ($(objpfx)tst-langinfo-static.out): New.
3683         * localedata/tst-langinfo.sh: Send output to stdout.
3684         * localedata/tst-langinfo-static.c: New file.
3685
3686         [BZ #16965]
3687         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3688         when the shift amount is modulo the limb size.
3689
3690 2014-05-20  Richard Henderson  <rth@redhat.com>
3691
3692         [BZ #16967]
3693         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3694         Change type of sa_flags from unsigned int to int.
3695
3696         [BZ #16966]
3697         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3698
3699         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3700
3701 2014-05-20  Will Newton  <will.newton@linaro.org>
3702
3703         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3704         Test the return value of the system call in the nocancel case.
3705
3706 2014-05-20  Will Newton  <will.newton@linaro.org>
3707             Yvan Roux  <yvan.roux@linaro.org>
3708
3709         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3710         #include of asm/ptrace.h.
3711         (PTRACE_GET_THREAD_AREA): Remove #undef.
3712         (PTRACE_GETHBPREGS): Likewise.
3713         (PTRACE_SETHBPREGS): Likewise.
3714         (struct user_regs_struct): New structure.
3715         (struct user_fpsimd_struct): New structure.
3716         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3717         #include of asm/ptrace.h and second #include of sys/user.h.
3718         (PTRACE_GET_THREAD_AREA): Remove #undef.
3719         (PTRACE_GETHBPREGS): Likewise.
3720         (PTRACE_SETHBPREGS): Likewise.
3721         (ELF_NGREG): Use new struct user_regs_struct.
3722         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3723
3724 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3725
3726         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3727         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3728
3729 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3730
3731         [BZ #16958]
3732         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3733         membar to avoid block loads/stores to overlap previous stores.
3734
3735 2014-05-17  Richard Henderson  <rth@redhat.com>
3736
3737         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3738         Create the __##syscall_name##_nocancel entry point.
3739         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3740         Remove; let the sysdep-cancel.h code create it.
3741
3742 2014-05-17  David S. Miller  <davem@davemloft.net>
3743
3744         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3745         Protect with __USE_GNU.
3746         (TIOCSET_TEMPT): Likewise.
3747         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3748         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3749         these are already provided in bits/ioctl-types.h
3750
3751 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3752
3753         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3754         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3755
3756         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3757         Use wait4 regardless of [__NR_waitpid].
3758
3759 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3760
3761         PR libgcc/60166
3762         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3763         (_FP_NANSIGN_Q): Set the quiet bit.
3764
3765 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3766
3767         * benchtests/Makefile
3768         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3769         not $(common-objpfx)math/libm.so.
3770         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3771         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3772         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3773         $(common-objpfx)dlfcn/libdl.so.
3774         ($(objpfx)tst-audit8): Depend on $(libm), not
3775         $(common-objpfx)math/libm.so.
3776         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3777         not $(common-objpfx)dlfcn/libdl.so.
3778         * math/Makefile
3779         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3780         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3781         [$(build-shared) = yes].
3782         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3783         $(common-objpfx)nptl/libpthread.so.
3784         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3785         $(common-objpfx)math/libm.so$(libm.so-version) or
3786         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3787         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3788         $(common-objpfx)dlfcn/libdl.so.
3789         * setjmp/Makefile (link-libm): Remove variable.
3790         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3791         * stdio-common/Makefile (link-libm): Remove variable.
3792         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3793         * stdlib/Makefile (link-libm): Remove variable.
3794         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3795         ($(objpfx)tst-strtod-round): Likewise.
3796         ($(objpfx)tst-tininess): Likewise.
3797         ($(objpfx)tst-strtod-underflow): Likewise.
3798         ($(objpfx)tst-strtod6): Likewise.
3799         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3800         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3801         $(common-objpfx)dlfcn/libdl.so.
3802
3803 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3804
3805         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3806         BSD terminal modes definitions.
3807
3808 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3809
3810         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3811         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3812
3813         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3814         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3815         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3816         Don't do #include_next.
3817         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3818         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3819         Don't do #include_next.
3820         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3821         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3822         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3823         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3824
3825 2014-05-16  Allan McRae  <allan@archlinux.org>
3826
3827         * po/sv.po: Update Swedish translation from translation project.
3828
3829         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3830         in sed expression.
3831
3832 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3833
3834         [BZ #16917]
3835         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3836         errno if the TIOCGPTN ioctl fails with an error different than
3837         EINVAL.
3838         * login/tst-ptsname.c: New file.
3839         * login/Makefile (tests): Add tst-ptsname.
3840
3841         [BZ #16943]
3842         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3843         and prlimit64.
3844
3845 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3846
3847         [BZ #16849]
3848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3849         herrno to return EAI_AGAIN.
3850
3851 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3852
3853         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3854         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3855         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3856         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3857         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3858         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3859         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3860         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3861         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3862         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3863         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3864         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3865         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3866         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3867         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3868         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3869         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3870         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3871         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3872         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3873         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3874         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3875         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3876         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3877         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3878         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3879         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3880         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3881         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3882         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3884         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3885         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3886         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3888         Moved ...
3889         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3891         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3893         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3895         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3897         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3899         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3901         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3903         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3905         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3907         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3909         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3911         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3913         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3915         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3917         Moved ...
3918         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3920         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3922         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3924         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3926         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3928         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3930         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3932         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3934         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3936         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3938         Moved ...
3939         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3941         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3942
3943         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3944         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3945         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3946         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3947         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3948         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3949         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3950         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3951         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3952         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3953         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3954         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3955         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3956         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3957         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3958         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3959         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3960         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3961         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3962         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3963         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3964         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3965         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3966         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3967         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3968         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3969         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3970         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3971         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3972         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3973         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3974
3975         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3976         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3977
3978         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3979         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3980         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3981         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3982         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3983         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3984         Moved ...
3985         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3986         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3987         Moved ...
3988         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3989         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3990         Moved ...
3991         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3992         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3993         Moved ...
3994         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3995         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3996         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3997         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3998         Moved ...
3999         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4000         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4001         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4002         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4003         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4004         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4005         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4006         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4007         Moved ...
4008         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4009         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4010         Moved ...
4011         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4012         ... here.
4013         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4014         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4015         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4016         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4017         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4018         Moved ...
4019         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4020         ... here.
4021         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4022         Moved ...
4023         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4024         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4025         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4026         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4027         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4028         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4029         Moved ...
4030         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4031         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4032         Moved ...
4033         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4034         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4035         Moved ...
4036         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4037         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4038         Moved ...
4039         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4040         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4041         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4042         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4043         Moved ...
4044         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4045         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4046         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4047         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4048         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4049         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4050         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4051         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4052         Moved ...
4053         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4054         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4055         Moved ...
4056         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4057         ... here.
4058         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4059         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4060         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4061         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4062         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4063         Moved ...
4064         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4065         ... here.
4066         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4067         Moved ...
4068         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4069         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4070         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4071         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4072         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4073         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4074         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4075         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4076         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4077         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4078         Moved ...
4079         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4080         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4081         Moved ...
4082         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4083         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4084         Moved ...
4085         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4086         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4087         Moved ...
4088         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4089         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4090         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4091         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4092         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4093         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4094         Moved ...
4095         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4096         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4097         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4098         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4099         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4100         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4101         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4102         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4103         Moved ...
4104         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4105         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4106         Moved ...
4107         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4108         ... here.
4109         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4110         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4111         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4112         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4113         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4114         Moved ...
4115         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4116         ... here.
4117         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4118         Moved ...
4119         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4120         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4121         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4122         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4123         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4124         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4125         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4126         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4127         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4128         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4129         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4130
4131         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4132         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4133
4134         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4135         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4136
4137         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4138         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4139         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4140         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4141         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4142         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4143         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4144         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4145         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4146         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4147         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4148         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4149         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4150         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4151         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4152         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4153         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4154         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4155         Moved ...
4156         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4157         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4158         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4159         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4160         Moved ...
4161         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4162         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4163         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4164         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4165         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4166         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4167         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4168         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4169         Moved ...
4170         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4171         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4172         Moved ...
4173         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4174         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4175         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4176         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4177         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4178         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4179         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4180         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4181         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4182         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4183         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4184         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4185         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4186         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4187         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4188         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4189         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4190
4191         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4192         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4193         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4194         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4195         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4196
4197         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4198         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4199         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4200         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4201         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4202         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4203         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4204         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4205         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4206         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4207
4208         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4209         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4210
4211         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4212         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4213         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4214         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4215         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4216         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4217         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4218         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4219         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4220         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4221         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4222         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4223         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4224         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4225         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4226         Update #include.
4227         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4228         Likewise.
4229         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4230         Likewise.
4231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4232         Likewise.
4233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4234         Likewise.
4235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4236         Likewise.
4237         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4238         Likewise.
4239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4240         Likewise.
4241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4242         Likewise.
4243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4244         Likewise.
4245         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4246         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4247         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4248         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4250         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4251         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4252         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4253         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4254         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4255         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4256         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4257         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4258         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4259         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4260
4261         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4262         that was previously under [RESET_PID].
4263         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4264         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4265         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4266
4267         * sysdeps/i386/nptl/Implies: New file.
4268         * sysdeps/x86_64/nptl/Implies: New file.
4269         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4270         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4271         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4272         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4273
4274         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4275         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4276         (__libc_vfork): New strong alias.
4277         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4278         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4279
4280         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4281         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4282         (__libc_vfork): New strong alias.
4283         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4284         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4285
4286         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4287         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4288         (__libc_vfork): New strong alias.
4289         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4290         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4291         * nptl/pt-vfork.c: New file.
4292         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4293         (libpthread: GLIBC_2.20): New version set (empty).
4294
4295 2014-05-14  Will Newton  <will.newton@linaro.org>
4296
4297         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4298         rather than #if.
4299
4300 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4301
4302         [BZ #16564]
4303         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4304         arguments with exponent 65 or above.
4305         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4306         arguments 0x1p113L or above.
4307         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4308         to arguments 0x1p107L or above.
4309         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4310         positive arguments with exponent 65 or above.
4311         * math/auto-libm-test-in: Add more tests of log1p.
4312         * math/auto-libm-test-out: Regenerated.
4313
4314         [BZ #16928]
4315         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4316         non-finite arguments is +0.
4317         * math/s_cacosf.c (__cacosf): Likewise.
4318         * math/s_cacosl.c (__cacosl): Likewise.
4319         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4320         * sysdeps/i386/fpu/libm-test-ulps: Update.
4321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4322
4323         [BZ #16927]
4324         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4325         value.
4326         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4327         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4328         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4329         for explicit high bit of mantissa when testing for argument equal
4330         to 1.
4331         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4332         * sysdeps/i386/fpu/libm-test-ulps: Update.
4333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4334
4335         [BZ #16516]
4336         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4337         (__erf): Scale by 16 instead of 8 in potentially underflowing
4338         case.  Ensure exception if result actually underflows.
4339         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4340         (__erff): Scale by 16 instead of 8 in potentially underflowing
4341         case.  Ensure exception if result actually underflows.
4342         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4343         (efx8): Remove variable.
4344         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4345         case.  Ensure exception if result actually underflows.
4346         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4347         (efx8): Remove variable.
4348         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4349         case.  Ensure exception if result actually underflows.
4350         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4351         (efx8): Remove variable.
4352         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4353         case.  Ensure exception if result actually underflows.
4354         * math/auto-libm-test-in: Add more tests of erf.
4355         * math/auto-libm-test-out: Regenerated.
4356
4357 2014-05-14  Andreas Schwab  <schwab@suse.de>
4358
4359         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4360         Remove code conditionalized on USE___THREAD.
4361
4362         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4363         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4364         not definedness.
4365
4366 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4367
4368         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4369         Define unconditionally.
4370         (__ASSUME_O_CLOEXEC): Likewise.
4371         (__ASSUME_SOCK_CLOEXEC): Likewise.
4372         (__ASSUME_IN_NONBLOCK): Likewise.
4373         (__ASSUME_PIPE2): Likewise.
4374         (__ASSUME_EVENTFD2): Likewise.
4375         (__ASSUME_SIGNALFD4): Likewise.
4376         (__ASSUME_DUP3): Likewise.
4377         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4378         (__ASSUME_DUP3): Do not define.
4379         (__ASSUME_EVENTFD2): Likewise.
4380         (__ASSUME_IN_NONBLOCK): Likewise.
4381         (__ASSUME_O_CLOEXEC): Likewise.
4382         (__ASSUME_PIPE2): Likewise.
4383         (__ASSUME_SIGNALFD4): Likewise.
4384         (__ASSUME_SOCK_CLOEXEC): Likewise.
4385         (__ASSUME_UTIMES): Undefine.
4386         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4387         (__ASSUME_UTIMES): Do not define.
4388         (__ASSUME_O_CLOEXEC): Likewise.
4389         (__ASSUME_SOCK_CLOEXEC): Likewise.
4390         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4391         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4392         0x020621].
4393         (__ASSUME_PIPE2): Likewise.
4394         (__ASSUME_EVENTFD2): Likewise.
4395         (__ASSUME_SIGNALFD4): Likewise.
4396         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4397         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4398         Do not define.
4399         (__ASSUME_EVENTFD2): Likewise.
4400         (__ASSUME_SIGNALFD4): Likewise.
4401         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4402         (__ASSUME_32BITUIDS): Likewise.
4403         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4404         (__ASSUME_IPC64): Likewise.
4405         (__ASSUME_ST_INO_64_BIT): Likewise.
4406         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4407         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4408         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4409         (__ASSUME_UTIMES): Do not define.
4410         (__ASSUME_PSELECT): Likewise.
4411         (__ASSUME_PPOLL): Likewise.
4412         (__ASSUME_O_CLOEXEC): Likewise.
4413         (__ASSUME_SOCK_CLOEXEC): Likewise.
4414         (__ASSUME_IN_NONBLOCK): Likewise.
4415         (__ASSUME_PIPE2): Likewise.
4416         (__ASSUME_EVENTFD2): Likewise.
4417         (__ASSUME_SIGNALFD4): Likewise.
4418         (__ASSUME_DUP3): Likewise.
4419         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4420         (__ASSUME_UTIMES): Likewise.
4421         (__ASSUME_O_CLOEXEC): Likewise.
4422         (__ASSUME_SOCK_CLOEXEC): Likewise.
4423         (__ASSUME_IN_NONBLOCK): Likewise.
4424         (__ASSUME_PIPE2): Likewise.
4425         (__ASSUME_EVENTFD2): Likewise.
4426         (__ASSUME_SIGNALFD4): Likewise.
4427         (__ASSUME_DUP3): Likewise.
4428         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4429         (__ASSUME_UTIMES): Likewise.
4430         (__ASSUME_O_CLOEXEC): Likewise.
4431         (__ASSUME_SOCK_CLOEXEC): Likewise.
4432         (__ASSUME_IN_NONBLOCK): Likewise.
4433         (__ASSUME_PIPE2): Likewise.
4434         (__ASSUME_EVENTFD2): Likewise.
4435         (__ASSUME_SIGNALFD4): Likewise.
4436         (__ASSUME_DUP3): Likewise.
4437         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4438         Likewise.
4439         (__ASSUME_UTIMES): Likewise.
4440         (__ASSUME_EVENTFD2): Likewise.
4441         (__ASSUME_SIGNALFD4): Likewise.
4442         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4443         (__ASSUME_O_CLOEXEC): Likewise.
4444         (__ASSUME_SOCK_CLOEXEC): Likewise.
4445         (__ASSUME_IN_NONBLOCK): Likewise.
4446         (__ASSUME_PIPE2): Likewise.
4447         (__ASSUME_EVENTFD2): Likewise.
4448         (__ASSUME_SIGNALFD4): Likewise.
4449         (__ASSUME_DUP3): Likewise.
4450         (__ASSUME_UTIMES): Undefine.
4451
4452         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4453         feclearexcept.  Remove symbol versioning code.
4454         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4455         symbol versioning code.
4456         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4457         symbol versioning code.
4458         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4459         feupdateenv.  Remove symbol versioning code.
4460         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4461         fegetexceptflag.  Remove symbol versioning code.
4462         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4463         fesetexceptflag.  Remove symbol versioning code.
4464         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4465         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4466         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4467         (__posix_fadvise64_l32): Remove prototype.
4468         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4469         code.
4470
4471 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4472
4473         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4474         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4475         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4476         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4477
4478 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4479
4480         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4481         current working directory
4482
4483 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4484
4485         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4486         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4487         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4488         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4489         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4490         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4491         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4492         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4493         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4494         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4495         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4496         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4497         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4498         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4499         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4500         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4501         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4502         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4503         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4504         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4505         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4506         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4507         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4508         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4509         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4510         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4511         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4512         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4513         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4514         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4515         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4516         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4517         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4518         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4519         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4520         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4521         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4522         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4523         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4524         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4525         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4526         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4527
4528         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4529         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4530
4531         * sysdeps/unix/sysv/linux/arm/Makefile
4532         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4533         Add rt-aeabi_unwind_cpp_pr1.
4534         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4535         Add nptl-aeabi_unwind_cpp_pr1.
4536         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4537         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4538         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4539         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4540         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4541         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4542
4543         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4544         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4545         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4546         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4547
4548         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4549         Deconditionalize the code that was previously under [RESET_PID].
4550         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4551
4552         * sysdeps/generic/exit-thread.h: New file.
4553         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4554         * include/unistd.h (__exit_thread): Remove declaration.
4555         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4556         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4557         * csu/libc-start.c: Include <exit-thread.h>.
4558         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4559         * nptl/pthread_create.c: Include <exit-thread.h>.
4560         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4561         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4562         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4563         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4564         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4565         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4566         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4567         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4568         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4569         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4570         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4571         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4572         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4573         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4574         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4575         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4576         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4577
4578 2014-05-13  Andreas Schwab  <schwab@suse.de>
4579
4580         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4581
4582 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4583
4584         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4585         (__ASSUME_UTIMES): Do not condition on kernel version.
4586         (__ASSUME_PSELECT): Define unconditionally.
4587         (__ASSUME_PPOLL): Likewise.
4588         (__ASSUME_ATFCTS): Likewise.
4589         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4590         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4591         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4592         (__ASSUME_UTIMENSAT): Define unconditionally.
4593         (__ASSUME_PRIVATE_FUTEX): Likewise.
4594         (__ASSUME_FALLOCATE): Likewise.
4595         (__ASSUME_O_CLOEXEC): Likewise.
4596         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4597         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4598         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4599         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4600         (__ASSUME_IN_NONBLOCK): Likewise.
4601         (__ASSUME_PIPE2): Likewise.
4602         (__ASSUME_EVENTFD2): Likewise.
4603         (__ASSUME_SIGNALFD4): Likewise.
4604         (__ASSUME_DUP3): Likewise.
4605         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4606         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4607         (__ASSUME_AT_RANDOM): Likewise.
4608         (__ASSUME_PREADV): Likewise.
4609         (__ASSUME_PWRITEV): Likewise.
4610         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4611         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4612         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4613         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4614         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4615         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4616         (__ASSUME_O_CLOEXEC): Define unconditionally.
4617         (__ASSUME_PSELECT): Do not undefine conditionally.
4618         (__ASSUME_PPOLL): Likewise.
4619         (__ASSUME_ATFCTS): Likewise.
4620         (__ASSUME_SET_ROBUST_LIST): Likewise.
4621         (__ASSUME_UTIMENSAT): Likewise.
4622         (__ASSUME_FDATASYNC): Define unconditionally.
4623         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4624         (__ASSUME_SIGFRAME_V2): Likewise.
4625         )__ASSUME_EVENTFD2): Likewise.
4626         (__ASSUME_SIGNALFD4): Likewise.
4627         (__ASSUME_PSELECT): Do not undefine conditionally.
4628         (__ASSUME_PPOLL): Likewise.
4629         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4630         (__ASSUME_PSELECT): Define unconditionally.
4631         (__ASSUME_PPOLL): Likewise.
4632         (__ASSUME_O_CLOEXEC): Likewise.
4633         (__ASSUME_SOCK_CLOEXEC): Likewise.
4634         (__ASSUME_IN_NONBLOCK): Likewise.
4635         (__ASSUME_PIPE2): Likewise.
4636         (__ASSUME_EVENTFD2): Likewise.
4637         (__ASSUME_SIGNALFD4): Likewise.
4638         (__ASSUME_DUP3): Likewise.
4639         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4640         (__ASSUME_O_CLOEXEC): Likewise.
4641         (__ASSUME_SOCK_CLOEXEC): Likewise.
4642         (__ASSUME_IN_NONBLOCK): Likewise.
4643         (__ASSUME_PIPE2): Likewise.
4644         (__ASSUME_EVENTFD2): Likewise.
4645         (__ASSUME_SIGNALFD4): Likewise.
4646         (__ASSUME_DUP3): Likewise.
4647         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4648         (__ASSUME_EVENTFD2): Likewise.
4649         (__ASSUME_SIGNALFD4): Likewise.
4650         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4651
4652 2014-05-12  Andreas Schwab  <schwab@suse.de>
4653
4654         [BZ #16932]
4655         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4656         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4657         than maximum RPC packet size.
4658         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4659         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4660         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4661         (_nss_nis_getservbyport_r): Likewise.
4662
4663 2014-05-12  Will Newton  <will.newton@linaro.org>
4664
4665         * malloc/Makefile (tests): Add tst-mallopt.
4666         * malloc/tst-mallopt.c: New file.
4667
4668 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4669
4670         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4671         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4672
4673 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4674
4675         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4676         (tst-tlsmod6.so): Likewise.
4677
4678 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4679
4680         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4681
4682 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4683
4684         [BZ #16064]
4685         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4686         and <dl-procinfo.h>.
4687         (__fegetenv): Save SSE state in envp->__eip if supported.
4688         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4689         envp->__eip if supported.
4690         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4691         and <dl-procinfo.h>.
4692         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4693         __data_offset and __data_selector in environment to 0.  Set SSE
4694         state if supported.
4695         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4696         test-fenv-sse.
4697         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4698         -mfpmath=sse.
4699         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4700
4701 2014-05-09  Will Newton  <will.newton@linaro.org>
4702
4703         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4704         and libc_relro_required for ARM.
4705         * sysdeps/arm/preconfigure: Regenerate.
4706
4707 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4708             Stefan Liebler  <stli@linux.vnet.ibm.com>
4709
4710         * config.make.in (enable-lock-elision): New Makefile variable.
4711         * configure.ac: Likewise.
4712         * configure: Regenerate.
4713         * sysdeps/s390/configure.ac:
4714         Add check for gcc transactions support.
4715         * sysdeps/s390/configure: Regenerate.
4716         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4717         Build elision files if enabled.
4718         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4719         Add lock elision support for s390.
4720         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4721         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4722         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4723         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4724         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4725         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4726         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4727         Likewise.
4728         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4729         Likewise.
4730         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4731         Likewise.
4732         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4733         Likewise.
4734         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4735         (__lll_timedlock_elision, __lll_lock_elision)
4736         (__lll_unlock_elision, __lll_trylock_elision)
4737         (lll_timedlock_elision, lll_lock_elision)
4738         (lll_unlock_elision, lll_trylock_elision): Add.
4739         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4740         (pthread_mutex_t): Add lock elision support for s390.
4741
4742 2014-05-14  Wilco  <wdijkstr@arm.com>
4743
4744         * sysdeps/arm/fclrexcpt.c: Cleanup.
4745         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4746         * sysdeps/arm/feenablxcpt.c: Cleanup.
4747         * sysdeps/arm/fegetenv.c: Cleanup.
4748         * sysdeps/arm/fegetexcept.c: Cleanup.
4749         * sysdeps/arm/fegetround.c: Cleanup.
4750         * sysdeps/arm/feholdexcpt.c: Cleanup.
4751         * sysdeps/arm/fesetenv.c: Cleanup.
4752         * sysdeps/arm/fesetround.c: Cleanup.
4753         * sysdeps/arm/feupdateenv.c: Cleanup.
4754         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4755         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4756         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4757         * sysdeps/arm/ftestexcept.c: Cleanup.
4758         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4759         * sysdeps/arm/setfpucw.c: Cleanup.
4760
4761 2014-05-09  Will Newton  <will.newton@linaro.org>
4762
4763         * sysdeps/arm/armv7/strcmp.S: New file.
4764         * NEWS: Mention addition of ARMv7 optimized strcmp.
4765
4766 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4767
4768         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4769         look for %.ac rather than %.in.
4770
4771         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4772         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4773         * sysdeps/mach/hurd/configure: Regenerated.
4774         * sysdeps/unix/sysv/linux/configure: Regenerated.
4775
4776         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4777
4778 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4779
4780         [BZ# 16922]
4781         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4782         (LONG_SUB): Ditto.
4783         (PTR_SUB): Ditto.
4784
4785 2014-05-07  Andreas Schwab  <schwab@suse.de>
4786
4787         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4788         when skipping over non-matching result from nscd.
4789
4790 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4791
4792         [BZ #16876]
4793         * nptl/sockperf.c (client): Check socket return value.
4794
4795         [BZ #16877]
4796         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4797         nscd security class.
4798
4799 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4800
4801         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4802         * sysdeps/arm/unwind.h: ... here.
4803
4804 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4805
4806         [BZ# 16916]
4807         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4808         Define.
4809
4810 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4811
4812         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4813         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4814         multiarch strncpy for PPC64.
4815         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4816         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4817         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4818         multiarch optimizations.
4819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4820         (__libc_ifunc_impl_list): Likewise.
4821         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4822         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4823         multiarch stpncpy for PPC64.
4824         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4825         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4826
4827 2014-05-06  Andreas Schwab  <schwab@suse.de>
4828
4829         [BZ #16912]
4830         * gmon/mcount.c (_MCOUNT_DECL): Use
4831         atomic_compare_and_exchange_bool_acq instead of
4832         catomic_compare_and_exchange_bool_acq.
4833
4834 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4835
4836         * elf/Makefile (others, install-bin): Remove pldd.
4837         (pldd-modules): Variable removed.
4838         ($(objpfx)pldd): Target removed.
4839         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4840         (others, install-bin): Append pldd here.
4841         ($(objpfx)pldd): New target.
4842
4843         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4844         to 0, so the first #if test emitted later doesn't see it undefined.
4845         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4846         * sysdeps/gnu/errlist.c: Regenerated.
4847
4848 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4849
4850         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4851         [libc_hidden_builtin_def]: Define to empty value.
4852         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4853         [libc_hidden_builtin_def]: Likewise.
4854         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4855         [libc_hidden_builtin_def]: Likewise.
4856         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4857         [libc_hidden_builtin_def]: Likewise.
4858         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4859         __redirect_memcpy and define ifunc as default hidden symbol.
4860         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4861         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4862
4863 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4864
4865         * locale/iso-4217.def: Reintroduce XDR currency.
4866
4867 2014-05-04  Allan McRae  <allan@archlinux.org>
4868
4869         * po/eo.po: Update Esperanto translation from translation project.
4870
4871 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4872
4873         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4874         and FEATURE_INDEX_MAX to 1.
4875         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4876
4877 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4878
4879         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4880         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4881         * iconvdata/big5.c (ONE_DIRECTION): Define.
4882         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4883         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4884         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4885         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4886         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4887         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4888         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4889         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4890         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4891         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4892         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4893         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4894         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4895         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4896         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4897         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4898         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4899         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4900         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4901         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4902         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4903         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4904         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4905         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4906         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4907         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4908         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4909         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4910         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4911         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4912         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4913         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4914         * iconvdata/johab.c (ONE_DIRECTION): Define.
4915         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4916         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4917         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4918         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4919         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4920         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4921         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4922         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4923         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4924         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4925
4926 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4927
4928         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4929         (_IO_JUMPS_OFFSET): Define to 0.
4930
4931         * nptl/sysdeps/pthread/bits/libc-lock.h
4932         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4933         (__libc_lock_define_initialized_recursive): Always define using
4934         initializer.  Modern compilers treat uninitialized (implicit zero) and
4935         explicit zero initializers the same (i.e. put the datum in bss).
4936
4937 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4938
4939         * nscd/nscd-client.h: Include <string.h>.
4940
4941 2014-05-01  David S. Miller  <davem@davemloft.net>
4942
4943         [BZ #16885]
4944         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4945         multiple zero bytes exist at the end of a string.
4946         Reported by Aurelien Jarno <aurelien@aurel32.net>
4947
4948         * string/test-strcmp.c (check): Add explicit test for situations where
4949         there are multiple zero bytes after the first.
4950
4951 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4952
4953         [BZ #16890]
4954         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4955         when compiling wprintf.
4956         * stdio-common/tstdiomisc.c (t3): New function.
4957         (main): Call it.
4958
4959 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4960
4961         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4962         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4963         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4964         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4965
4966 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4967
4968         * stdlib/longlong.h: Updated from GCC.
4969
4970 2014-05-01  Will Newton  <will.newton@linaro.org>
4971             Bernard Ogden  <bernie.ogden@linaro.org>
4972
4973         * NEWS: Update fixed bug list.
4974
4975         [BZ #15119]
4976         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4977
4978 2014-04-30  David S. Miller  <davem@davemloft.net>
4979
4980         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4981         (libc_feholdexcept_setround_sparc_ctx): New function.
4982         (libc_fesetenv_sparc_ctx): Likewise.
4983         (libc_feupdateenv_sparc_ctx): Likewise.
4984         (libc_feholdsetround_sparc_ctx): Likewise.
4985         (libc_feholdexcept_setround_ctx): Define.
4986         (libc_feholdexcept_setroundf_ctx): Likewise.
4987         (libc_feholdexcept_setroundl_ctx): Likewise.
4988         (libc_fesetenv_ctx): Likewise.
4989         (libc_fesetenvf_ctx): Likewise.
4990         (libc_fesetenvl_ctx): Likewise.
4991         (libc_feupdateenv_ctx): Likewise.
4992         (libc_feupdateenvf_ctx): Likewise.
4993         (libc_feupdateenvl_ctx): Likewise.
4994         (libc_feresetround_ctx): Likewise.
4995         (libc_feresetroundf_ctx): Likewise.
4996         (libc_feresetroundl_ctx): Likewise.
4997         (libc_feholdsetround_ctx): Likewise.
4998         (libc_feholdsetroundf_ctx): Likewise.
4999         (libc_feholdsetroundl_ctx): Likewise.
5000
5001         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5002         with __USE_GNU instead of XOPEN cpp guards.
5003
5004         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5005         0.
5006
5007         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5008         with XOPEN cpp guards.
5009
5010 2014-04-30  Julian Brown  <julian@codesourcery.com>
5011
5012         [BZ #16888]
5013         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5014         handling.
5015
5016 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5017
5018         [BZ #9894]
5019         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5020         Change to 2.6.32.
5021         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5022         * sysdeps/unix/sysv/linux/configure: Regenerated.
5023         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5024         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5025         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5026         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5027         * README: Update reference to required Linux kernel version.
5028         * manual/install.texi (Linux): Update reference to required Linux
5029         kernel headers version.
5030         * INSTALL: Regenerated.
5031
5032         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5033         header inclusion.
5034         [POSIX] (limits.h): Likewise.
5035         [POSIX] (math.h): Likewise.
5036         [POSIX] (sys/wait.h): Likewise.
5037         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5038         function.
5039         [POSIX] (stddef.h): Do not allow header inclusion.
5040
5041 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5042
5043         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5044
5045 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5046
5047         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5048         Return immediately after lll_futex_wake.
5049
5050 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5051
5052         [BZ #16791]
5053         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5054         structure.
5055         (datahead_init_pos): Call datahead_init_common early.
5056         (datahead_init_neg): Likewise.
5057
5058         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5059         datahead_init_neg): New functions.
5060         * nscd/aicache.c (addhstaiX): Use them.
5061         * nscd/grpcache.c (cache_addgr): Likewise.
5062         * nscd/hstcache.c (cache_addhst): Likewise.
5063         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5064         * nscd/netgroupcache.c (do_notfound): Likewise.
5065         (addgetnetgrentX): Likewise.
5066         (addinnetgrX): Likewise.
5067         * nscd/pwdcache.c (cache_addpw): Likewise.
5068         * nscd/servicescache.c (cache_addserv): Likewise.
5069
5070 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5071             Atsushi Onoe  <atsushi@onoe.org>
5072
5073         [BZ #14308]
5074         [BZ #12994]
5075         [BZ #13651]
5076         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5077         one response is valid.
5078         * resolv/res_send.c (send_dg): Check for validity of other
5079         response if the current response is a referral.
5080
5081 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5082
5083         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5084
5085 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5086
5087         [BZ #16823]
5088         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5089         Always divide by positive zero when computing -Inf result.
5090         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5091         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5092
5093 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5094
5095         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5096         FPSCR if value do not change.
5097         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5098         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5099         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5100         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5101         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5102         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5103         function.
5104
5105 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5106
5107         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5108         * sysdeps/unix/sysv/linux/hppa: Move directory from
5109         ports/systeps/unix/sysv/linux/hppa.
5110         * README: Update listing for hppa-*-linux-gnu.
5111
5112 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5113
5114         [BZ #16754]
5115         * manual/stdio.texi (Hook functions): Fix types of stream hook
5116         functions.
5117         [BZ #16854]
5118         * socket/sys/socket.h: Fix typo in comment.
5119
5120 2014-04-28  Wilco  <wdijkstr@arm.com>
5121
5122         * sysdeps/arm/fenv_private.h: New file.
5123         * sysdeps/arm/math_private.h: New file.
5124         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5125
5126 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5127
5128         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5129         with __int128_t.
5130         (La_x86_64_retval): Likewise.
5131
5132 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5133
5134         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5135         fpsr if value didn't change.
5136         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5137         to fpcr if value didn't change.
5138         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5139         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5140         fpsr or fpcr if value didn't change.
5141         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5142         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5143         fpcr if value didn't change.
5144         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5145         to fpsr if value didn't change.
5146
5147 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5148
5149         * nptl/tst-sem3.c: Use test-skeleton.c
5150         (main): Rename to do_test.  Use return instead of
5151         exit.
5152         * nptl/tst-sem4.c: Use test-skeleton.c
5153         (main): Rename to do_test.
5154
5155 2014-04-22  David S. Miller  <davem@davemloft.net>
5156
5157         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5158         (struct sigaction): New struct member __glibc_reserved0, change
5159         type of sa_flags to int.
5160
5161 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5162
5163         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5164         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5165
5166 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5167
5168         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5169         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5170
5171 2014-04-22  Will Newton  <will.newton@linaro.org>
5172             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5173
5174         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5175         (__longjmp): Add longjmp and longjmp_target SystemTap
5176         probes.
5177         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5178         (__sigsetjmp): Add setjmp SystemTap probe.
5179
5180 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5181
5182         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5183         match manual order.
5184
5185 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5186
5187         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5188
5189         * sysdeps/powerpc/fpu/fenv_private.h
5190         (libc_feholdexcept_setroundl_ctx): Define to
5191         libc_feholdexcept_setround_ppc_ctx.
5192         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5193         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5194         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5195         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5196
5197 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5198
5199         * sysdeps/aarch64/math-tests.h: New file.
5200
5201 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5202
5203         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5204         New.
5205         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5206         Check and set bit_AVX2_Usable.
5207         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5208         macro.
5209         (bit_AVX2): Likewise.
5210         (index_AVX2_Usable): Likewise.
5211         (CPUID_AVX2): Likewise.
5212         (HAS_AVX2): Likewise.
5213
5214 2014-04-17  Will Newton  <will.newton@linaro.org>
5215
5216         * manual/setjmp.texi (System V contexts): Add note that
5217         calling setcontext on a context created by a call to a
5218         signal handler is undefined.  Update text to note that
5219         setcontext from a signal handler is possible but not
5220         recommended.
5221
5222         [BZ #16629]
5223         * stdlib/tst-setcontext.c: Include signal.h.
5224         (main): Check that the signal stack before and
5225         after swapcontext is the same.
5226
5227         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5228         Re-implement to restore registers in user code and avoid
5229         rt_sigreturn system call.
5230
5231 2014-04-17  Wilco  <wdijkstr@arm.com>
5232
5233         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5234         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5235         * math/test-fenv.c: Skip exception trap tests on targets which only
5236         support non-stop mode.
5237
5238 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5239             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5240
5241         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5242         (libc_feholdsetround_aarch64_ctx)
5243         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5244         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5245         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5246         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5247         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5248         (libc_feresetround_noexl_ctx): Define.
5249
5250 2014-04-16  Richard Henderson  <rth@redhat.com>
5251
5252         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5253
5254         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5255         unwind tables.
5256
5257         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5258         const from the non-libc, non-ldso copy.
5259
5260         * sysdeps/alpha/libm-test-ulps: Regenerate.
5261
5262 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5263             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5264
5265         * sysdeps/aarch64/fpu/math_private.h: New file.
5266
5267 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5268
5269         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5270
5271 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5272
5273         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5274         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5275         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5276         Intel MPX bound registers before _dl_profile_fixup.
5277         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5278         registers after _dl_profile_fixup.  Save and restore bound
5279         registers bnd0/bnd1 when calling _dl_call_pltexit.
5280         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5281         (LR_BND_OFFSET): Likewise.
5282         (LRV_BND0_OFFSET): Likewise.
5283         (LRV_BND1_OFFSET): Likewise.
5284
5285 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5286
5287         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5288         to...
5289         * sysdeps/mach/hurd/i386/tls.h: ... here.
5290         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5291         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5292         fields.
5293
5294 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5295
5296         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5297
5298 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5299
5300         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5301
5302 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5303
5304         [BZ #14770]
5305         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5306         * sysdeps/s390/configure: Regenerate.
5307
5308         [BZ #16824]
5309         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5310         Set round-to-nearest internally to reduce error accumulation.
5311
5312 2014-04-16  Alan Modra  <amodra@gmail.com>
5313
5314         [BZ #16740]
5315         [BZ #16619]
5316         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5317         * math/libm-test.inc (frexp_test_data): Add tests.
5318         * NEWS: Update fixed bug list.
5319
5320 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5321
5322         * benchtests/Makefile: Depend on libraries in build directory.
5323         (bench-math): Separate out math tests.
5324         (bench-pthread): Separate out pthread tests.
5325         (bench): Include math and pthread tests.
5326
5327 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5328
5329         [BZ #16831]
5330         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5331         _dl_debug_initialize.
5332
5333         * configure.ac: Remove SELinux header check.
5334         * configure: Regenerate.
5335         * nscd/selinux.c (perms): Array of const char* to permission names.
5336         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5337         default policy. Call string_to_security_class and string_to_av_perm to
5338         translate strings. Enforce default policy and call avs_has_perm with
5339         results of translated strings.
5340
5341 2014-04-13  David S. Miller  <davem@davemloft.net>
5342
5343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5344
5345 2014-04-12  Allan McRae  <allan@archlinux.org>
5346
5347         [BZ #16838]
5348         * manual/string.texi (Collation Functions): Fix qsort argument
5349         order in example.
5350         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5351
5352 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5353
5354         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5355         Make the test a no-op if there are no exceptions defined.
5356
5357 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5358
5359         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5360         enable-hardcoded-path-in-tests
5361
5362 2014-04-11  Will Newton  <will.newton@linaro.org>
5363
5364         * benchtests/Makefile (extra-objs): Add json-lib.o.
5365         (bench-func): Tidy up JSON output.
5366         * benchtests/bench-skeleton.c: Include json-lib.h.
5367         (main): Use JSON library functions to do output of
5368         benchmark results.
5369         * benchtests/bench-timing-type.c (main): Output the
5370         timing type simply, leaving formatting to the user.
5371         * benchtests/json-lib.c: New file.
5372         * benchtests/json-lib.h: Likewise.
5373
5374 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5375
5376         [BZ #15215]
5377         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5378         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5379         memory barriers.  Add comments.
5380         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5381         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5382         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5383         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5384         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5385         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5386
5387 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5388
5389         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5390         * sysdeps/s390/s390-64/configure.ac: ... this ...
5391         * sysdeps/s390/configure.ac: ... to here.
5392         * sysdeps/s390/s390-32/configure: Delete file.
5393         * sysdeps/s390/s390-64/configure: Delete file.
5394         * sysdeps/s390/configure: Regenerate.
5395
5396 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5397
5398         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5399
5400 2014-04-11  Will Newton  <will.newton@linaro.org>
5401
5402         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5403         to zero if it is not defined elsewhere.  (mtrim): Test
5404         the value of MALLOC_DEBUG with #if rather than #ifdef.
5405
5406 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5407
5408         * benchtests/pthread_once-inputs: New file.
5409         * benchtests/pthread_once-source.c: New file.
5410         * benchtests/README: Update documentation.
5411
5412 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5413             H.J. Lu  <hongjiu.lu@intel.com>
5414
5415         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5416         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5417         * sysdeps/x86_64/configure: Regenerated.
5418         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5419         macro.
5420         (REGISTER_SAVE_RAX): Likewise.
5421         (REGISTER_SAVE_RCX): Likewise.
5422         (REGISTER_SAVE_RDX): Likewise.
5423         (REGISTER_SAVE_RSI): Likewise.
5424         (REGISTER_SAVE_RDI): Likewise.
5425         (REGISTER_SAVE_R8): Likewise.
5426         (REGISTER_SAVE_R9): Likewise.
5427         (REGISTER_SAVE_BND0): Likewise.
5428         (REGISTER_SAVE_BND1): Likewise.
5429         (REGISTER_SAVE_BND2): Likewise.
5430         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5431         bound registers when calling _dl_fixup.
5432
5433 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5434
5435         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5436         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5437         of its definition.
5438         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5439         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5440         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5441         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5442         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5443         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5444         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5445
5446 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5447
5448         [BZ #15514]
5449         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5450         pathconf(_PC_NAME_MAX).
5451
5452 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5453
5454         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5455         Remove macro usage.
5456         (__PTHREAD_SPINS): Move definition to ...
5457         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5458         (__PTHREAD_SPINS): ... here.
5459         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5460         (__PTHREAD_SPIN): Likewise.
5461         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5462         (__PTHREAD_SPIN): Likewise.
5463         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5464         (__PTHREAD_SPIN): Likewise.
5465         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5466         (__PTHREAD_SPIN): Likewise.
5467         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5468         (__PTHREAD_SPIN): Likewise.
5469         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5470         (__PTHREAD_SPIN): Likewise.
5471         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5472         (__PTHREAD_SPIN): Likewise.
5473         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5474         (__PTHREAD_SPIN): Likewise.
5475         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5476         (__PTHREAD_SPIN): Likewise.
5477         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5478         (__PTHREAD_SPIN): Likewise.
5479         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5480         (__PTHREAD_SPIN): Likewise.
5481         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5482         (__PTHREAD_SPIN): Likewise.
5483
5484         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5485         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5486         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5487         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5488         imply folder.
5489         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5490         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5491         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5492         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5493         correct imply path.
5494         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5495         strlen symbol for non multi-arch builds.
5496         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5497         missing hidden_def and weak_alias.
5498
5499 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5500
5501         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5502
5503 2014-04-07  Will Newton  <will.newton@linaro.org>
5504
5505         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5506         and contents.  [!_LIBC] Remove #ifndef and contents.
5507         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5508         * string/memccpy.c (__memccpy): Use ANSI prototype.
5509         * string/memfrob.c (memfrob): Likewise.
5510         * string/strcoll.c (STRCOLL): Likewise.
5511         * string/strlen.c (strlen): Likewise.
5512         * string/strtok.c (STRTOK): Likewise.
5513         * string/strcat.c: Remove unused #include of memcopy.h.
5514         (strcat): Use ANSI prototype.
5515         * string/strchr.c: Remove unused #include of memcopy.h.
5516         (strchr): Use ANSI prototype.
5517         * string/strcmp.c: Remove unused #include of memcopy.h.
5518         (strcmp): Use ANSI prototype.
5519         * string/strcpy.c: Remove unused #include of memcopy.h.
5520         (strcpy): Use ANSI prototype.
5521
5522 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5523
5524         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5525         * config.make.in (config-extra-cppflags): Set it from
5526         libc_extra_cppflags.
5527         * configure.ac (libc_extra_cflags): Make it accumulate over
5528         configure fragments.
5529         (libc_extra_cppflags): New flag.
5530         * configure. Regenerate.
5531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5532         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5533         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5535
5536         [BZ #16815]
5537         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5538         result for FE_DOWNWARD rounding mode.
5539         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5540         Likewise.
5541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5542
5543 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5544
5545         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5546         in function argument name.
5547
5548 2014-04-03  David Svoboda  <svoboda@cert.org>
5549
5550         [BZ #5666]
5551         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5552         explicitly.
5553
5554 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5555
5556         * elf/dl-unmap-segments.h: New file.
5557         * sysdeps/generic/ldsodefs.h
5558         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5559         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5560         * elf/dl-fptr.c: Likewise.
5561         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5562         * sysdeps/aarch64/tlsdesc.c: Likewise.
5563         * sysdeps/arm/tlsdesc.c: Likewise.
5564         * sysdeps/i386/tlsdesc.c: Likewise.
5565         * sysdeps/tile/dl-runtime.c: Likewise.
5566         * sysdeps/x86_64/tlsdesc.c: Likewise.
5567         * elf/dl-load.h: New file.
5568         * elf/dl-load.c: Include it.
5569         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5570         Macros moved to dl-load.h.
5571         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5572         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5573         Use _dl_unmap_segments in place of __munmap.
5574         Break out segment-mapping loop into ...
5575         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5576
5577 2014-04-03  Will Newton  <will.newton@linaro.org>
5578
5579         * elf/dl-lookup.c (do_lookup_x): Remove comment
5580         referring to nested function and move variable
5581         declarations down to before first use.
5582
5583 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5584
5585         [BZ #16799]
5586         [BZ #16800]
5587         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5588         with 0 numerator.
5589         * math/s_catanf.c (__catanf): Likewise.
5590         * math/s_catanh.c (__catanh): Likewise.
5591         * math/s_catanhf.c (__catanhf): Likewise.
5592         * math/s_catanhl.c (__catanhl): Likewise.
5593         * math/s_catanl.c (__catanl): Likewise.
5594         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5595         by positive zero when computing -Inf result.
5596         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5597         (catanh_test): Likewise.
5598         * sysdeps/i386/fpu/libm-test-ulps: Update.
5599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5600
5601         [BZ #16789]
5602         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5603         instead of using underflowing value in computing result.
5604         * math/s_clog10.c (__clog10): Likewise.
5605         * math/s_clog10f.c (__clog10f): Likewise.
5606         * math/s_clog10l.c (__clog10l): Likewise.
5607         * math/s_clogf.c (__clogf): Likewise.
5608         * math/s_clogl.c (__clogl): Likewise.
5609         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5610         (clog10_test): Likewise.
5611         * sysdeps/i386/fpu/libm-test-ulps: Update.
5612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5613
5614 2014-04-02  Alan Modra  <amodra@gmail.com>
5615
5616         [BZ #16739]
5617         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5618         output when value is near a power of two.  Use int64_t for lx and
5619         remove casts.  Use decimal rather than hex exponent constants.
5620         Don't use long double multiplication when double will suffice.
5621         * math/libm-test.inc (nextafter_test_data): Add tests.
5622         * NEWS: Add 16739 and 16786 to bug list.
5623
5624         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5625
5626         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5627
5628 2014-04-01  Will Newton  <will.newton@linaro.org>
5629
5630         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5631         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5632
5633 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5634
5635         [BZ #13347]
5636         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5637         * nptl/tst-setuid2.c: New file.
5638         * nptl/Makefile (xtests): Add tst-setuid2.
5639
5640 2014-04-01  Alan Modra  <amodra@gmail.com>
5641
5642         [BZ #16786]
5643         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5644
5645 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5646
5647         [BZ #6803]
5648         [BZ #6804]
5649         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5650         set errno as appropriate.
5651         * math/w_scalbf.c (__scalbf): Likewise.
5652         * math/w_scalbl.c (__scalbl): Likewise.
5653         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5654         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5655         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5656         Add more NaN tests.
5657
5658         [BZ #16349]
5659         * math/w_atan2.c: Include <errno.h>.
5660         (__atan2): Set errno for result underflowing to zero.
5661         * math/w_atan2f.c: Include <errno.h>.
5662         (__atan2f): Set errno for result underflowing to zero.
5663         * math/w_atan2l.c: Include <errno.h>.
5664         (__atan2l): Set errno for result underflowing to zero.
5665         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5666         tests.
5667         * math/auto-libm-test-out: Regenerated.
5668
5669 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5670
5671         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5672         Encode instruction correctly in little endian.
5673         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5674         Likewise.
5675         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5676         Likewise.
5677         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5678         Likewise.
5679         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5680         Likewise.
5681
5682 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5683
5684         [BZ #9894]
5685         * sysdeps/unix/sysv/linux/kernel-features.h
5686         [__sparc__ && !__arch64__ && !__sparc_v9__]
5687         (__ASSUME_SET_ROBUST_LIST): Do not define.
5688         [__sparc__ && !__arch64__ && !__sparc_v9__]
5689         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5690         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5691         Likewise.
5692         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5693         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5694         (__ASSUME_REQUEUE_PI): Likewise.
5695         (__ASSUME_SET_ROBUST_LIST): Likewise.
5696         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5697         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5698         Undefine.
5699         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5700         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5701         Likewise.
5702         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5703         Likewise.
5704         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5705         Likewise.
5706         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5707         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5708         Undefine.
5709         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5710         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5711         Likewise.
5712
5713         [BZ #16648]
5714         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5715         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5716         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5717
5718 2014-03-31  Will Newton  <will.newton@linaro.org>
5719
5720         * benchtests/Makefile (bench): Add ffs and ffsll to list
5721         of tests.
5722         * benchtests/ffs-inputs: New file.
5723         * benchtests/ffsll-inputs: Likewise.
5724
5725 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5726
5727         [BZ #16770]
5728         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5729         too large before casting to int.
5730         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5731         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5732         * math/libm-test.inc (scalb_test_data): Add more tests.
5733
5734 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5735
5736         * benchtests/Makefile (DETAILED_OPT): New make option.
5737         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5738         set.
5739         * benchtests/bench-skeleton.c: Include stdbool.h.
5740         (main): Store and print timings per input.
5741         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5742         member to each argument value.
5743         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5744         (_print_arg_data): Initialize per-input timing to 0.
5745
5746         * benchtests/Makefile (timing-type): New binary.
5747         (bench-clean): Also remove bench-timing-type.
5748         (bench): New target for timing-type.
5749         (bench-func): Print output in JSON format.
5750         * benchtests/bench-skeleton.c (main): Print output in JSON
5751         format.
5752         * benchtests/bench-timing-type.c: New file.
5753         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5754         (TIMING_PRINT_STATS): Remove.
5755         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5756         name separately.
5757
5758         * benchtests/bench-modf.c: Remove.
5759         * benchtests/modf-inputs: New inputs file.
5760
5761 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5762
5763         [BZ #16362]
5764         * math/s_clog10.c (M_PI_LOG10E): New macro.
5765         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5766         imaginary parts are 0.
5767         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5768         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5769         imaginary parts are 0.
5770         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5771         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5772         imaginary parts are 0.
5773         * math/libm-test.inc (clog10_test_data): Update expected results
5774         for when real and imaginary parts are 0.
5775
5776 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5777
5778         * elf/dl-load.c: Finish conversion of __builtin_expect into
5779         __glibc_{un}likely.
5780
5781 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5782
5783         [BZ #16348]
5784         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5785         1+x for argument with exponent below -67.
5786         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5787         Likewise.
5788         * math/auto-libm-test-in: Add more tests of exp.
5789         * math/auto-libm-test-out: Regenerated.
5790
5791 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5792
5793         [BZ #16759]
5794         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5795         (nscd_getnetgrent): Use it.
5796
5797         [BZ #16760]
5798         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5799         of stpcpy.
5800
5801 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5802
5803         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5804         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5805         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5806         (lll_robust_unlock): Remove out of line section. Use cfi
5807         intrinsics.
5808         (LLL_STUB_UNWIND_INFO*): Remove.
5809         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5810         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5811         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5812         (lll_robust_unlock): Remove out of line section. Use cfi
5813         intrinsics.
5814         (LLL_STUB_UNWIND_INFO*): Remove.
5815
5816 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5817
5818         [BZ #16758]
5819         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5820         blank values.
5821
5822 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5823
5824         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5825
5826 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5827
5828         [BZ #16198]
5829         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5830         fnstenv.
5831         * math/test-fenv-preserve.c: New file.
5832         * math/Makefile (tests): Add test-fenv-preserve.
5833
5834 2014-03-26  Will Newton <will.newton@linaro.org>
5835
5836         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5837
5838 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5839
5840         * scripts/versionlist.awk: Partition the version sets and emit all
5841         GLIBC_* (sorted) before all others (sorted).
5842
5843 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5844
5845         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5846         GLIBC_2.2.5 version.
5847
5848 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5849
5850         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5851         calls.
5852
5853         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5854         previous change.
5855
5856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5857
5858 2014-03-25  Andreas Schwab  <schwab@suse.de>
5859
5860         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5861         label to be used after in6ailist is initialized.
5862
5863 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5864
5865         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5866         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5867
5868 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5869
5870         [BZ #16357]
5871         [BZ #16599]
5872         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5873         min_plus_half.
5874         (fp_formats): Update initializers.
5875         (init_fp_formats): Initialize new field.
5876         (output_for_one_input_case): Allow underflow for results up to
5877         min_plus_half.
5878         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5879         * math/auto-libm-test-in: Don't mark some underflows from asin and
5880         atanh as spurious.
5881         * math/auto-libm-test-out: Regenerated.
5882         * sysdeps/i386/fpu/libm-test-ulps: Update.
5883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5884
5885 2014-03-25  Andreas Schwab  <schwab@suse.de>
5886
5887         * libio/Makefile (tst-ftell-partial-wide-ENV)
5888         (tst-ftell-active-handler-ENV): Define.
5889
5890 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5891
5892         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5893
5894 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5895
5896         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5897
5898 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5899
5900         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5901         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5902         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5903
5904 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5905
5906         [BZ #16634]
5907         * elf/dl-load.c (open_verify): Add mode parameter.
5908         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5909         (open_path): Change from boolean 'secure' to complete flag 'mode'
5910         (_dl_map_object): Adjust.
5911         * elf/Makefile (tests): Add tst-dlopen-aout.
5912         * elf/tst-dlopen-aout.c: New test.
5913
5914 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5915
5916         [BZ #16714]
5917         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5918         (struct stat): Rename member pad0 to __glibc_reserved0.
5919
5920         [BZ #16712]
5921         * sysdeps/s390/s390-32/bits/wordsize.h
5922         (__WORDSIZE32_SIZE_ULONG): New define.
5923         * sysdeps/s390/s390-64/bits/wordsize.h
5924         (__WORDSIZE32_SIZE_ULONG): Likewise.
5925         * sysdeps/generic/stdint.h (SIZE_MAX):
5926         Define as UL if __WORDSIZE32_SIZE_ULONG.
5927
5928         [BZ #16713]
5929         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5930         (__glibc_reserved0): New variable.
5931         (sa_flags): Change type to int.
5932
5933         * posix/Makefile (before-compile): Use += before-compile instead
5934         of a :=.
5935
5936         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5937         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5938
5939 2014-03-20  Andreas Schwab  <schwab@suse.de>
5940
5941         [BZ #16743]
5942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5943         non-matching result from nscd.
5944
5945 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5946
5947         * scripts/bench.py: Moved to ...
5948         * benchtests/scripts/bench.py: ... here.
5949         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5950
5951 2014-03-24  Andreas Schwab  <schwab@suse.de>
5952
5953         [BZ #16002]
5954         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5955         alloca_account and account alloca use for struct in6ailist.
5956
5957 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5958
5959         [BZ #16284]
5960         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5961         rounding mode to recompute results that overflow to infinity or
5962         underflow to zero.
5963         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5964         bug 16284.
5965         * math/auto-libm-test-out: Regenerated.
5966         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5967         (ccosh_test): Likewise.
5968         (csin_test_data): Use plus_oflow.
5969         (csin_test): Use ALL_RM_TEST.
5970         (csinh_test_data): Use plus_oflow.
5971         (csinh_test): Use ALL_RM_TEST.
5972         * sysdeps/i386/fpu/libm-test-ulps: Update.
5973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5974
5975 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5976
5977         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5978         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5979         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5980
5981         [BZ #16731]
5982         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5983         when x - 1 is zero.
5984         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5985         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5986         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5987         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5988         argument is 1.
5989         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5990         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5991         zero.
5992         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5993         * sysdeps/i386/fpu/libm-test-ulps: Update.
5994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5995
5996 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5997
5998         * scripts/bench.pl: Remove file.
5999         * scripts/bench.py: New benchmark script.
6000         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6001         * benchtests/README: Mention python dependency.
6002         * scripts/pylintrc: New file.
6003         * scripts/pylint: New file.
6004
6005         * bits/mathdef.h: Use #ifdef instead of #if.
6006         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6007         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6008         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6009         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6010         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6011         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6012
6013 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6014             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6015
6016         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6018         and strpbrk-ppc64 objects.
6019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6020         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6021         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6022         multiarch strpbrk for POWER7.
6023         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6024         multiarch strpbrk for PPC64.
6025         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6026         ifunc selector.
6027         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6028         strpbrk for POWER7.
6029
6030 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6031
6032         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6033         (atan_test): Likewise.
6034         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6035         (atanh_test): Use ALL_RM_TEST.
6036         (atan2_test_data): Likewise.
6037         (cabs_test): Likewise.
6038         (cacosh_test): Likewise.
6039         (carg_test): Likewise.
6040         (casin_test): Likewise.
6041         (casinh_test): Likewise.
6042         (cbrt_test): Likewise.
6043         (csqrt_test): Likewise.
6044         (erf_test): Likewise.
6045         (erfc_test): Likewise.
6046         (pow10_test): Likewise.
6047         (exp2_test): Likewise.
6048         (hypot_test): Likewise.
6049         (j0_test): Likewise.
6050         (j1_test): Likewise.
6051         (lgamma_test): Likewise.
6052         (gamma_test): Likewise.
6053         (sincos_test): Likewise.
6054         (tanh_test): Likewise.
6055         (y0_test): Likewise.
6056         (y1_test): Likewise.
6057         * sysdeps/i386/fpu/libm-test-ulps: Update.
6058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6059
6060 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6061
6062         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6064         and strcspn-ppc64 objects.
6065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6066         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6067         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6068         multiarch strcspn for POWER7.
6069         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6070         multiarch strcspn for PPC64.
6071         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6072         ifunc selector.
6073         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6074         strcspn for POWER7.
6075
6076 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6077
6078         * math/gen-libm-test.pl (generate_testfile): Expect only function
6079         name as argument to AUTO_TESTS_* and pass results for all rounding
6080         modes to parse_args.
6081         (parse_auto_input): Separate inputs of automatic tests from
6082         outputs before storing in %auto_tests.
6083         * math/libm-test.inc (acos_test_data): Update call to
6084         AUTO_TESTS_f_f.
6085         (acos_test): Use ALL_RM_TEST.
6086         (acos_tonearest_test_data): Remove.
6087         (acos_test_tonearest): Likewise.
6088         (acos_towardzero_test_data): Likewise.
6089         (acos_test_towardzero): Likewise.
6090         (acos_downward_test_data): Likewise.
6091         (acos_test_downward): Likewise.
6092         (acos_upward_test_data): Likewise.
6093         (acos_test_upward): Likewise.
6094         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6095         (asin_test_data): Likewise.
6096         (asin_test): Use ALL_RM_TEST.
6097         (asin_tonearest_test_data): Remove.
6098         (asin_test_tonearest): Likewise.
6099         (asin_towardzero_test_data): Likewise.
6100         (asin_test_towardzero): Likewise.
6101         (asin_downward_test_data): Likewise.
6102         (asin_test_downward): Likewise.
6103         (asin_upward_test_data): Likewise.
6104         (asin_test_upward): Likewise.
6105         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6106         (atan_test_data): Likewise.
6107         (atanh_test_data): Likewise.
6108         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6109         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6110         (carg_test_data): Likewise.
6111         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6112         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6113         (ccosh_test_data): Likewise.
6114         (cexp_test_data): Likewise.
6115         (clog_test_data): Likewise.
6116         (clog10_test_data): Likewise.
6117         (cos_test_data): Update call to AUTO_TESTS_f_f.
6118         (cos_test): Use ALL_RM_TEST.
6119         (cos_tonearest_test_data): Remove.
6120         (cos_test_tonearest): Likewise.
6121         (cos_towardzero_test_data): Likewise.
6122         (cos_test_towardzero): Likewise.
6123         (cos_downward_test_data): Likewise.
6124         (cos_test_downward): Likewise.
6125         (cos_upward_test_data): Likewise.
6126         (cos_test_upward): Likewise.
6127         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6128         (cosh_test): Use ALL_RM_TEST.
6129         (cosh_tonearest_test_data): Remove.
6130         (cosh_test_tonearest): Likewise.
6131         (cosh_towardzero_test_data): Likewise.
6132         (cosh_test_towardzero): Likewise.
6133         (cosh_downward_test_data): Likewise.
6134         (cosh_test_downward): Likewise.
6135         (cosh_upward_test_data): Likewise.
6136         (cosh_test_upward): Likewise.
6137         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6138         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6139         (ctan_test_data): Likewise.
6140         (ctan_test): Use ALL_RM_TEST.
6141         (ctan_tonearest_test_data): Remove.
6142         (ctan_test_tonearest): Likewise.
6143         (ctan_towardzero_test_data): Likewise.
6144         (ctan_test_towardzero): Likewise.
6145         (ctan_downward_test_data): Likewise.
6146         (ctan_test_downward): Likewise.
6147         (ctan_upward_test_data): Likewise.
6148         (ctan_test_upward): Likewise.
6149         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6150         (ctanh_test): Use ALL_RM_TEST.
6151         (ctanh_tonearest_test_data): Remove.
6152         (ctanh_test_tonearest): Likewise.
6153         (ctanh_towardzero_test_data): Likewise.
6154         (ctanh_test_towardzero): Likewise.
6155         (ctanh_downward_test_data): Likewise.
6156         (ctanh_test_downward): Likewise.
6157         (ctanh_upward_test_data): Likewise.
6158         (ctanh_test_upward): Likewise.
6159         (erf_test_data): Update call to AUTO_TESTS_f_f.
6160         (erfc_test_data): Likewise.
6161         (exp_test_data): Likewise.
6162         (exp_test): Use ALL_RM_TEST.
6163         (exp_tonearest_test_data): Remove.
6164         (exp_test_tonearest): Likewise.
6165         (exp_towardzero_test_data): Likewise.
6166         (exp_test_towardzero): Likewise.
6167         (exp_downward_test_data): Likewise.
6168         (exp_test_downward): Likewise.
6169         (exp_upward_test_data): Likewise.
6170         (exp_test_upward): Likewise.
6171         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6172         (exp10_test): Use ALL_RM_TEST.
6173         (exp10_tonearest_test_data): Remove.
6174         (exp10_test_tonearest): Likewise.
6175         (exp10_towardzero_test_data): Likewise.
6176         (exp10_test_towardzero): Likewise.
6177         (exp10_downward_test_data): Likewise.
6178         (exp10_test_downward): Likewise.
6179         (exp10_upward_test_data): Likewise.
6180         (exp10_test_upward): Likewise.
6181         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6182         (expm1_test_data): Likewise.
6183         (expm1_test): Use ALL_RM_TEST.
6184         (expm1_tonearest_test_data): Remove.
6185         (expm1_test_tonearest): Likewise.
6186         (expm1_towardzero_test_data): Likewise.
6187         (expm1_test_towardzero): Likewise.
6188         (expm1_downward_test_data): Likewise.
6189         (expm1_test_downward): Likewise.
6190         (expm1_upward_test_data): Likewise.
6191         (expm1_test_upward): Likewise.
6192         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6193         (fma_test): Use ALL_RM_TEST.
6194         (fma_towardzero_test_data): Remove.
6195         (fma_test_towardzero): Likewise.
6196         (fma_downward_test_data): Likewise.
6197         (fma_test_downward): Likewise.
6198         (fma_upward_test_data): Likewise.
6199         (fma_test_upward): Likewise.
6200         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6201         (j0_test_data): Update call to AUTO_TESTS_f_f.
6202         (j1_test_data): Likewise.
6203         (jn_test_data): Update call to AUTO_TESTS_if_f.
6204         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6205         (log_test_data): Update call to AUTO_TESTS_f_f.
6206         (log10_test_data): Likewise.
6207         (log1p_test_data): Likewise.
6208         (log2_test_data): Likewise.
6209         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6210         (pow_tonearest_test_data): Likewise.
6211         (sin_test_data): Update call to AUTO_TESTS_f_f.
6212         (sin_test): Use ALL_RM_TEST.
6213         (sin_tonearest_test_data): Remove.
6214         (sin_test_tonearest): Likewise.
6215         (sin_towardzero_test_data): Likewise.
6216         (sin_test_towardzero): Likewise.
6217         (sin_downward_test_data): Likewise.
6218         (sin_test_downward): Likewise.
6219         (sin_upward_test_data): Likewise.
6220         (sin_test_upward): Likewise.
6221         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6222         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6223         (sinh_test): Use ALL_RM_TEST.
6224         (sinh_tonearest_test_data): Remove.
6225         (sinh_test_tonearest): Likewise.
6226         (sinh_towardzero_test_data): Likewise.
6227         (sinh_test_towardzero): Likewise.
6228         (sinh_downward_test_data): Likewise.
6229         (sinh_test_downward): Likewise.
6230         (sinh_upward_test_data): Likewise.
6231         (sinh_test_upward): Likewise.
6232         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6233         (sqrt_test): Use ALL_RM_TEST.
6234         (sqrt_tonearest_test_data): Remove.
6235         (sqrt_test_tonearest): Likewise.
6236         (sqrt_towardzero_test_data): Likewise.
6237         (sqrt_test_towardzero): Likewise.
6238         (sqrt_downward_test_data): Likewise.
6239         (sqrt_test_downward): Likewise.
6240         (sqrt_upward_test_data): Likewise.
6241         (sqrt_test_upward): Likewise.
6242         (tan_test_data): Update call to AUTO_TESTS_f_f.
6243         (tan_test): Use ALL_RM_TEST.
6244         (tan_tonearest_test_data): Remove.
6245         (tan_test_tonearest): Likewise.
6246         (tan_towardzero_test_data): Likewise.
6247         (tan_test_towardzero): Likewise.
6248         (tan_downward_test_data): Likewise.
6249         (tan_test_downward): Likewise.
6250         (tan_upward_test_data): Likewise.
6251         (tan_test_upward): Likewise.
6252         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6253         (tgamma_test_data): Likewise.
6254         (y0_test_data): Likewise.
6255         (y1_test_data): Likewise.
6256         (yn_test_data): Update call to AUTO_TESTS_if_f.
6257         (main): Do not call removed functions.
6258
6259 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6260
6261         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6262         (ldexp_test_data): Remove.
6263         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6264         scalbn_test_data.
6265         (scalb_test): Use ALL_RM_TEST.
6266
6267 2014-03-19  Andreas Schwab  <schwab@suse.de>
6268
6269         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6270
6271 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6272
6273         [BZ #16649]
6274         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6275         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6276         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6277         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6278         (__ASSUME_PREADV): Undefine.
6279         (__ASSUME_PWRITEV): Likewise.
6280
6281 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6282
6283         * bits/mman-linux.h: Add comment about non-Linux use.
6284         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6285         bits/mman-linux.h resting place.
6286
6287         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6288         * bits/mman-linux.h: ... here.
6289
6290 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6291
6292         * conform/conformtest.pl: Add standard definition when calling C
6293         preprocessor on data files.
6294         (checknamespace): Remove unused variable.
6295
6296 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6297
6298         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6299         minus_oflow, plus_uflow and minus_uflow in expected results.
6300         * math/libm-test.inc (scalbn_test_data): Add more tests of
6301         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6302         minus_uflow.
6303         (scalbn_test): Use ALL_RM_TEST.
6304         (scalbln_test_data): Add more tests of negative arguments.  Use
6305         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6306         (scalbln_test): Use ALL_RM_TEST.
6307
6308 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6309
6310         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6311
6312 2014-03-18  Will Newton  <will.newton@linaro.org>
6313
6314         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6315         inaccurate comment.
6316
6317 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6318
6319         * Makerules [!subdir] (check-abi): Exit with error status if a
6320         test failed.
6321
6322 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6323
6324         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6325         for rint.  Include results for all rounding modes.
6326         (nearbyint_test): Use ALL_RM_TEST.
6327         (rint_test_data): Include all tests used for nearbyint.
6328
6329 2014-03-17  Will Newton  <will.newton@linaro.org>
6330
6331         * nptl/sysdeps/pthread/pthread.h: Revert previous
6332         change.
6333
6334         * sysdeps/generic/ldsodefs.h: Revert previous
6335         change.
6336
6337         * libio/genops.c: Revert previous change.
6338         * libio/libioP.h: Likewise.
6339         * stdio-common/vfprintf.c: Likewise.
6340
6341         * sysdeps/generic/math_private.h: Revert previous
6342         change.
6343
6344         * sysdeps/generic/math_private.h: Check whether
6345         HAVE_RM_CTX is defined with #ifdef rather
6346         than #if.
6347
6348         * argp/argp-fmtstream.h: Check whether
6349         __STRICT_ANSI__ is defined with #ifdef rather
6350         than #if.
6351         * argp/argp.h: Likewise.
6352
6353         * libio/genops.c: Check whether
6354         _IO_JUMPS_OFFSET is defined with #ifdef rather
6355         than #if.
6356         * libio/libioP.h: Likewise.
6357         * stdio-common/vfprintf.c: Likewise.
6358
6359         * sysdeps/generic/ldsodefs.h: Check whether
6360         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6361         than #if.
6362
6363         * nptl/sysdeps/pthread/pthread.h: Check
6364         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6365         its value.
6366
6367 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6368
6369         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6370         setting O_APPEND.
6371         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6372         test case.
6373
6374         [BZ #16680]
6375         * libio/fileops.c (_IO_file_open): Seek to end of file but
6376         don't cache the offset.
6377         (get_file_offset): Remove function.
6378         (do_ftell): Use cached offset when available.
6379         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6380         don't cache the offset.
6381         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6382         case.
6383         (do_one_test): Call it.
6384         (do_ftell_test): Fix up expected old offset for a+ mode.
6385         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6386         available.
6387
6388         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6389         up test status with function return status.
6390         (do_write_test): Likewise.
6391         (do_append_test): Likewise.
6392
6393         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6394         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6395         Remove.
6396
6397 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6398
6399         * math/gen-libm-test.pl (parse_args): Handle results specified for
6400         each rounding mode separately.
6401         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6402         tests and results from lrint_tonearest_test_data,
6403         lrint_towardzero_test_data, lrint_downward_test_data and
6404         lrint_upward_test_data.
6405         (lrint_test): Use ALL_RM_TEST.
6406         (lrint_tonearest_test_data): Remove.
6407         (lrint_test_tonearest): Likewise.
6408         (lrint_towardzero_test_data): Likewise.
6409         (lrint_test_towardzero): Likewise.
6410         (lrint_downward_test_data): Likewise.
6411         (lrint_test_downward): Likewise.
6412         (lrint_upward_test_data): Likewise.
6413         (lrint_test_upward): Likewise.
6414         (llrint_test_data): Merge in per-rounding-mode tests and results
6415         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6416         llrint_downward_test_data and llrint_upward_test_data.
6417         (llrint_test): Use ALL_RM_TEST.
6418         (llrint_tonearest_test_data): Remove.
6419         (llrint_test_tonearest): Likewise.
6420         (llrint_towardzero_test_data): Likewise.
6421         (llrint_test_towardzero): Likewise.
6422         (llrint_downward_test_data): Likewise.
6423         (llrint_test_downward): Likewise.
6424         (llrint_upward_test_data): Likewise.
6425         (llrint_test_upward): Likewise.
6426         (rint_test_data): Merge in per-rounding-mode tests and results
6427         from rint_tonearest_test_data, rint_towardzero_test_data,
6428         rint_downward_test_data and rint_upward_test_data.  Add
6429         per-rounding-mode results for tests not in those arrays.
6430         (rint_test): Use ALL_RM_TEST.
6431         (rint_tonearest_test_data): Remove.
6432         (rint_test_tonearest): Likewise.
6433         (rint_towardzero_test_data): Likewise.
6434         (rint_test_towardzero): Likewise.
6435         (rint_downward_test_data): Likewise.
6436         (rint_test_downward): Likewise.
6437         (rint_upward_test_data): Likewise.
6438         (rint_test_upward): Likewise.
6439         (main): Don't call removed functions.
6440
6441 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6442
6443         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6444         "Compiled on ..." crapola.  It is anti-useful.
6445
6446 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6447
6448         * scripts/evaluate-test.sh: Handle fourth argument to determine
6449         whether test run should stop on failure.
6450         * Makeconfig (stop-on-test-failure): New variable.
6451         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6452         $(stop-on-test-failure).
6453         * Makefile (tests): Give a summary of results from testing and
6454         exit with failure status if they include an ERROR or FAIL.
6455         (xtests): Likewise.
6456         * manual/install.texi (Configuring and compiling): Mention
6457         stop-on-test-failure=y.
6458         * INSTALL: Regenerated.
6459
6460 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6461
6462         * scripts/versionlist.awk: New file.
6463         * Makerules [$(build-shared) = yes]
6464         (postclean-generated): Add Versions.def, not Versions.def.v and
6465         Versions.def.v.i.
6466         ($(common-objpfx)Versions.def.v.i): Target removed.
6467         ($(common-objpfx)Versions.def): New target.
6468         ($(common-objpfx)Versions.all): Depend on that rather that
6469         $(common-objpfx)Versions.def.v.
6470         * Versions.def: File removed.
6471
6472         * Makeconfig (+gccwarn): Add -Wundef.
6473         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6474         a dl-sysdep.h breaking its contract.
6475         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6476         * include/stackinfo.h: New file.
6477         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6478         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6479         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6480         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6481         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6482         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6483         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6484         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6485         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6486         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6487         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6488         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6489         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6490         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6491         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6492
6493 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6494
6495         [BZ #16707]
6496         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6497         implementation.
6498         * math/libm-test.inc (round_test_data): Add more tests.
6499
6500         [BZ #16706]
6501         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6502         implementation.
6503         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6504
6505         [BZ #16701]
6506         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6507         implementation.
6508         * math/libm-test.inc (ceil_test_data): Add more tests.
6509
6510         * math/libm-test.inc (trunc_test_data): Add more tests related to
6511         BZ#16414.
6512
6513 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6514
6515         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6516         with #if rather than #ifdef.
6517         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6518
6519 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6520
6521         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6522         first.  Disable AVX-512 GCC support if assembler doesn't support
6523         it.
6524         * sysdeps/x86_64/configure: Regenerated.
6525
6526 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6527
6528         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6529         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6530         (__old_pthread_attr_setstack): Likewise.
6531         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6532         [!_STACK_GROWS_DOWN]: Likewise.
6533
6534 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6535
6536         * config.make.in (have-bash2): Delete.
6537         * configure.ac (libc_cv_have_bash2): Delete.
6538         * configure: Regenerate.
6539         * elf/Makefile (common-ldd-rewrite): Rename to ...
6540         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6541         (sh-ldd-rewrite): Delete.
6542         (bash-ldd-rewrite): Delete.
6543         (have-bash2): Delete checks.
6544         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6545         ldd-rewrite.
6546
6547         * config.make.in (have-ksh): Delete.
6548         (KSH): Delete.
6549         * configure.ac (libc_cv_have_ksh): Delete.
6550         * configure: Regenerate.
6551
6552         * elf/Makefile: Delete $(have-ksh) check.
6553         ($(objpfx)sotruss): Change KSH to BASH.
6554         * elf/sotruss.ksh: Rename to ...
6555         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6556         function style to match POSIX.  Drop ksh vim mode setting.
6557
6558         * manual/time.texi (Specifying the Time Zone with TZ): Change
6559         Tuesday to Thursday.
6560
6561         * debug/tst-longjmp_chk2.c: Update header comment.
6562         (stackoverflow_handler): Add comment.  Call assert on pass value.
6563
6564 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6565
6566         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6567         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6568         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6569         (La_x86_64_vector): Add zmm.
6570         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6571         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6572         ($(objpfx)tst-audit10): New target.
6573         ($(objpfx)tst-audit10.out): Likewise.
6574         (tst-audit10-ENV): New.
6575         (AVX512-CFLAGS): Likewise.
6576         (CFLAGS-tst-audit10.c): Likewise.
6577         (CFLAGS-tst-auditmod10a.c): Likewise.
6578         (CFLAGS-tst-auditmod10b.c): Likewise.
6579         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6580         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6581         * sysdeps/x86_64/configure: Regenerated.
6582         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6583         AVX-512 zmm register support.
6584         (_dl_x86_64_save_sse): Likewise.
6585         (_dl_x86_64_restore_sse): Likewise.
6586         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6587         size vector registers.
6588         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6589         (ZMM_SIZE): Likewise.
6590         * sysdeps/x86_64/tst-audit10.c: New file.
6591         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6592         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6593
6594 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6595
6596         * configure.ac (HAVE_EHDR_START): New check.
6597         * configure: Regenerated.
6598         * config.h.in (HAVE_EHDR_START): New #undef.
6599         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6600         assuming the lowest-addressed segment maps the start of the file.
6601
6602 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6603
6604         * INSTALL: Regenerated.
6605
6606 2014-03-13  Will Newton  <will.newton@linaro.org>
6607
6608         * manual/setjmp.texi (System V contexts): Improve
6609         clarity and grammar of documentation.
6610
6611 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6612
6613         [BZ #16381]
6614         * elf/Makefile (tests): Add tst-pie2.
6615         (tests-pie): Add tst-pie2.
6616         * elf/tst-pie2.c: New file.
6617         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6618         for ET_EXEC.
6619         * elf/rtld.c (map_doit): Load executable as lt_executable.
6620         (dl_main): Likewise.
6621
6622 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6623
6624         [BZ #16642]
6625         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6626         (__ASSUME_PSELECT): Undefine.
6627
6628 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6629
6630         [BZ #16689]
6631         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6632         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6633         static build.
6634         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6635         selector for static builds.
6636
6637 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6638
6639         [BZ #16695]
6640         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6641         key in the buffer.
6642
6643 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6644
6645         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6646         IFUNC selector for static builds.
6647
6648 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6649
6650         * sysdeps/mips/math_private.h [__mips_hard_float]
6651         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6652         libc_feresetround_mips_ctx.
6653         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6654         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6655         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6656
6657         [BZ #16677]
6658         * math/s_nextafter.c (__nextafter): Do not return value from
6659         overflowing computation.
6660         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6661         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6662         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6663         Likewise.
6664         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6665         Likewise.
6666         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6667         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6668
6669 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6670
6671         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6672         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6673         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6674         the new mov targetting sp.
6675
6676 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6677
6678         [BZ #16683]
6679         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6680         Define it for static builds as well.
6681         (NO_BZERO_IMPL): Likewise.
6682
6683 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6684
6685         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6686         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6687         multiarch strspn for PPC64.
6688         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6689         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6691         (__libc_ifunc_impl_list): Likewise.
6692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6693         multiarch optimizations
6694         * string/strspn.c (strspn): Using macro to redefine symbol name.
6695
6696 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6697             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6698
6699         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6700         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6701         multiarch strncat for PPC64.
6702         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6703         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6705         (__libc_ifunc_impl_list): Likewise.
6706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6707         multiarch optimizations
6708
6709 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6710
6711         [BZ #16639]
6712         * nscd/nscd.service: Make service type forking.
6713
6714 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6715
6716         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6717         sign in non default rounding modes.
6718         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6719
6720 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6721
6722         * math/libm-test.inc (ALL_RM_TEST): New macro.
6723         (ceil_test): Use ALL_RM_TEST.
6724         (cimag_test): Likewise.
6725         (conj_test): Likewise.
6726         (copysign_test): Likewise.
6727         (cproj_test): Likewise.
6728         (creal_test): Likewise.
6729         (fabs_test): Likewise.
6730         (floor_test): Likewise.
6731         (fmax_test): Likewise.
6732         (fmin_test): Likewise.
6733         (fmod_test): Likewise.
6734         (fpclassify_test): Likewise.
6735         (frexp_test): Likewise.
6736         (ilogb_test): Likewise.
6737         (isfinite_test): Likewise.
6738         (finite_test): Likewise.
6739         (isgreater_test): Likewise.
6740         (isgreaterequal_test): Likewise.
6741         (isinf_test): Likewise.
6742         (isless_test): Likewise.
6743         (islessequal_test): Likewise.
6744         (islessgreater_test): Likewise.
6745         (isnan_test): Likewise.
6746         (isnormal_test): Likewise.
6747         (issignaling_test): Likewise.
6748         (isunordered_test): Likewise.
6749         (logb_test): Likewise.
6750         (logb_downward_test_data): Remove.
6751         (logb_test_downward): Likewise.
6752         (lround_test): Use ALL_RM_TEST.
6753         (llround_test): Likewise.
6754         (modf_test): Likewise.
6755         (nexttoward_test): Likewise.
6756         (remainder_test): Likewise.
6757         (drem_test): Likewise.
6758         (remainder_tonearest_test_data): Likewise.
6759         (remainder_test_tonearest): Likewise.
6760         (drem_test_tonearest): Likewise.
6761         (remainder_towardzero_test_data): Likewise.
6762         (remainder_test_towardzero): Likewise.
6763         (drem_test_towardzero): Likewise.
6764         (remainder_downward_test_data): Likewise.
6765         (remainder_test_downward): Likewise.
6766         (drem_test_downward): Likewise.
6767         (remainder_upward_test_data): Likewise.
6768         (remainder_test_upward): Likewise.
6769         (drem_test_upward): Likewise.
6770         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6771         (round_test): Use ALL_RM_TEST.
6772         (signbit_test): Likewise.
6773         (trunc_test): Likewise.
6774         (significand_test): Likewise.
6775         (main): Don't call removed functions.
6776
6777 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6778
6779         [BZ #16674]
6780         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6781         || __USE_XOPEN2K8].
6782         (ILL_ILLOPN): Likewise.
6783         (ILL_ILLADR): Likewise.
6784         (ILL_ILLTRP): Likewise.
6785         (ILL_PRVOPC): Likewise.
6786         (ILL_PRVREG): Likewise.
6787         (ILL_COPROC): Likewise.
6788         (ILL_BADSTK): Likewise.
6789         (FPE_INTDIV): Likewise.
6790         (FPE_INTOVF): Likewise.
6791         (FPE_FLTDIV): Likewise.
6792         (FPE_FLTOVF): Likewise.
6793         (FPE_FLTUND): Likewise.
6794         (FPE_FLTRES): Likewise.
6795         (FPE_FLTINV): Likewise.
6796         (FPE_FLTSUB): Likewise.
6797         (SEGV_MAPERR): Likewise.
6798         (SEGV_ACCERR): Likewise.
6799         (BUS_ADRALN): Likewise.
6800         (BUS_ADRERR): Likewise.
6801         (BUS_OBJERR): Likewise.
6802         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6803         (TRAP_TRACE): Likewise.
6804         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6805         __USE_XOPEN2K8].
6806         (CLD_KILLED): Likewise.
6807         (CLD_DUMPED): Likewise.
6808         (CLD_TRAPPED): Likewise.
6809         (CLD_STOPPED): Likewise.
6810         (CLD_CONTINUED): Likewise.
6811         (POLL_IN): Likewise.
6812         (POLL_OUT): Likewise.
6813         (POLL_MSG): Likewise.
6814         (POLL_ERR): Likewise.
6815         (POLL_PRI): Likewise.
6816         (POLL_HUP): Likewise.
6817         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6818         Likewise.
6819         (ILL_ILLOPN): Likewise.
6820         (ILL_ILLADR): Likewise.
6821         (ILL_ILLTRP): Likewise.
6822         (ILL_PRVOPC): Likewise.
6823         (ILL_PRVREG): Likewise.
6824         (ILL_COPROC): Likewise.
6825         (ILL_BADSTK): Likewise.
6826         (FPE_INTDIV): Likewise.
6827         (FPE_INTOVF): Likewise.
6828         (FPE_FLTDIV): Likewise.
6829         (FPE_FLTOVF): Likewise.
6830         (FPE_FLTUND): Likewise.
6831         (FPE_FLTRES): Likewise.
6832         (FPE_FLTINV): Likewise.
6833         (FPE_FLTSUB): Likewise.
6834         (SEGV_MAPERR): Likewise.
6835         (SEGV_ACCERR): Likewise.
6836         (BUS_ADRALN): Likewise.
6837         (BUS_ADRERR): Likewise.
6838         (BUS_OBJERR): Likewise.
6839         (BUS_MCEERR_AR): Likewise.
6840         (BUS_MCEERR_AO): Likewise.
6841         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6842         (TRAP_TRACE): Likewise.
6843         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6844         __USE_XOPEN2K8].
6845         (CLD_KILLED): Likewise.
6846         (CLD_DUMPED): Likewise.
6847         (CLD_TRAPPED): Likewise.
6848         (CLD_STOPPED): Likewise.
6849         (CLD_CONTINUED): Likewise.
6850         (POLL_IN): Likewise.
6851         (POLL_OUT): Likewise.
6852         (POLL_MSG): Likewise.
6853         (POLL_ERR): Likewise.
6854         (POLL_PRI): Likewise.
6855         (POLL_HUP): Likewise.
6856         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6857         (ILL_ILLOPN): Likewise.
6858         (ILL_ILLADR): Likewise.
6859         (ILL_ILLTRP): Likewise.
6860         (ILL_PRVOPC): Likewise.
6861         (ILL_PRVREG): Likewise.
6862         (ILL_COPROC): Likewise.
6863         (ILL_BADSTK): Likewise.
6864         (FPE_INTDIV): Likewise.
6865         (FPE_INTOVF): Likewise.
6866         (FPE_FLTDIV): Likewise.
6867         (FPE_FLTOVF): Likewise.
6868         (FPE_FLTUND): Likewise.
6869         (FPE_FLTRES): Likewise.
6870         (FPE_FLTINV): Likewise.
6871         (FPE_FLTSUB): Likewise.
6872         (SEGV_MAPERR): Likewise.
6873         (SEGV_ACCERR): Likewise.
6874         (BUS_ADRALN): Likewise.
6875         (BUS_ADRERR): Likewise.
6876         (BUS_OBJERR): Likewise.
6877         (BUS_MCEERR_AR): Likewise.
6878         (BUS_MCEERR_AO): Likewise.
6879         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6880         (TRAP_TRACE): Likewise.
6881         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6882         __USE_XOPEN2K8].
6883         (CLD_KILLED): Likewise.
6884         (CLD_DUMPED): Likewise.
6885         (CLD_TRAPPED): Likewise.
6886         (CLD_STOPPED): Likewise.
6887         (CLD_CONTINUED): Likewise.
6888         (POLL_IN): Likewise.
6889         (POLL_OUT): Likewise.
6890         (POLL_MSG): Likewise.
6891         (POLL_ERR): Likewise.
6892         (POLL_PRI): Likewise.
6893         (POLL_HUP): Likewise.
6894         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6895         Likewise.
6896         (ILL_ILLOPN): Likewise.
6897         (ILL_ILLADR): Likewise.
6898         (ILL_ILLTRP): Likewise.
6899         (ILL_PRVOPC): Likewise.
6900         (ILL_PRVREG): Likewise.
6901         (ILL_COPROC): Likewise.
6902         (ILL_BADSTK): Likewise.
6903         (ILL_BADIADDR): Likewise.
6904         (ILL_BREAK): Likewise.
6905         (FPE_INTDIV): Likewise.
6906         (FPE_INTOVF): Likewise.
6907         (FPE_FLTDIV): Likewise.
6908         (FPE_FLTOVF): Likewise.
6909         (FPE_FLTUND): Likewise.
6910         (FPE_FLTRES): Likewise.
6911         (FPE_FLTINV): Likewise.
6912         (FPE_FLTSUB): Likewise.
6913         (FPE_DECOVF): Likewise.
6914         (FPE_DECDIV): Likewise.
6915         (FPE_DECERR): Likewise.
6916         (FPE_INVASC): Likewise.
6917         (FPE_INVDEC): Likewise.
6918         (SEGV_MAPERR): Likewise.
6919         (SEGV_ACCERR): Likewise.
6920         (SEGV_PSTKOVF): Likewise.
6921         (BUS_ADRALN): Likewise.
6922         (BUS_ADRERR): Likewise.
6923         (BUS_OBJERR): Likewise.
6924         (BUS_MCEERR_AR): Likewise.
6925         (BUS_MCEERR_AO): Likewise.
6926         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6927         (TRAP_TRACE): Likewise.
6928         (TRAP_BRANCH): Likewise.
6929         (TRAP_HWBKPT): Likewise.
6930         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6931         __USE_XOPEN2K8].
6932         (CLD_KILLED): Likewise.
6933         (CLD_DUMPED): Likewise.
6934         (CLD_TRAPPED): Likewise.
6935         (CLD_STOPPED): Likewise.
6936         (CLD_CONTINUED): Likewise.
6937         (POLL_IN): Likewise.
6938         (POLL_OUT): Likewise.
6939         (POLL_MSG): Likewise.
6940         (POLL_ERR): Likewise.
6941         (POLL_PRI): Likewise.
6942         (POLL_HUP): Likewise.
6943         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6944         (ILL_ILLOPN): Likewise.
6945         (ILL_ILLADR): Likewise.
6946         (ILL_ILLTRP): Likewise.
6947         (ILL_PRVOPC): Likewise.
6948         (ILL_PRVREG): Likewise.
6949         (ILL_COPROC): Likewise.
6950         (ILL_BADSTK): Likewise.
6951         (FPE_INTDIV): Likewise.
6952         (FPE_INTOVF): Likewise.
6953         (FPE_FLTDIV): Likewise.
6954         (FPE_FLTOVF): Likewise.
6955         (FPE_FLTUND): Likewise.
6956         (FPE_FLTRES): Likewise.
6957         (FPE_FLTINV): Likewise.
6958         (FPE_FLTSUB): Likewise.
6959         (SEGV_MAPERR): Likewise.
6960         (SEGV_ACCERR): Likewise.
6961         (BUS_ADRALN): Likewise.
6962         (BUS_ADRERR): Likewise.
6963         (BUS_OBJERR): Likewise.
6964         (BUS_MCEERR_AR): Likewise.
6965         (BUS_MCEERR_AO): Likewise.
6966         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6967         (TRAP_TRACE): Likewise.
6968         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6969         __USE_XOPEN2K8].
6970         (CLD_KILLED): Likewise.
6971         (CLD_DUMPED): Likewise.
6972         (CLD_TRAPPED): Likewise.
6973         (CLD_STOPPED): Likewise.
6974         (CLD_CONTINUED): Likewise.
6975         (POLL_IN): Likewise.
6976         (POLL_OUT): Likewise.
6977         (POLL_MSG): Likewise.
6978         (POLL_ERR): Likewise.
6979         (POLL_PRI): Likewise.
6980         (POLL_HUP): Likewise.
6981         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6982         (ILL_ILLOPN): Likewise.
6983         (ILL_ILLADR): Likewise.
6984         (ILL_ILLTRP): Likewise.
6985         (ILL_PRVOPC): Likewise.
6986         (ILL_PRVREG): Likewise.
6987         (ILL_COPROC): Likewise.
6988         (ILL_BADSTK): Likewise.
6989         (FPE_INTDIV): Likewise.
6990         (FPE_INTOVF): Likewise.
6991         (FPE_FLTDIV): Likewise.
6992         (FPE_FLTOVF): Likewise.
6993         (FPE_FLTUND): Likewise.
6994         (FPE_FLTRES): Likewise.
6995         (FPE_FLTINV): Likewise.
6996         (FPE_FLTSUB): Likewise.
6997         (SEGV_MAPERR): Likewise.
6998         (SEGV_ACCERR): Likewise.
6999         (BUS_ADRALN): Likewise.
7000         (BUS_ADRERR): Likewise.
7001         (BUS_OBJERR): Likewise.
7002         (BUS_MCEERR_AR): Likewise.
7003         (BUS_MCEERR_AO): Likewise.
7004         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7005         (TRAP_TRACE): Likewise.
7006         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7007         __USE_XOPEN2K8].
7008         (CLD_KILLED): Likewise.
7009         (CLD_DUMPED): Likewise.
7010         (CLD_TRAPPED): Likewise.
7011         (CLD_STOPPED): Likewise.
7012         (CLD_CONTINUED): Likewise.
7013         (POLL_IN): Likewise.
7014         (POLL_OUT): Likewise.
7015         (POLL_MSG): Likewise.
7016         (POLL_ERR): Likewise.
7017         (POLL_PRI): Likewise.
7018         (POLL_HUP): Likewise.
7019         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7020         (ILL_ILLOPN): Likewise.
7021         (ILL_ILLADR): Likewise.
7022         (ILL_ILLTRP): Likewise.
7023         (ILL_PRVOPC): Likewise.
7024         (ILL_PRVREG): Likewise.
7025         (ILL_COPROC): Likewise.
7026         (ILL_BADSTK): Likewise.
7027         (FPE_INTDIV): Likewise.
7028         (FPE_INTOVF): Likewise.
7029         (FPE_FLTDIV): Likewise.
7030         (FPE_FLTOVF): Likewise.
7031         (FPE_FLTUND): Likewise.
7032         (FPE_FLTRES): Likewise.
7033         (FPE_FLTINV): Likewise.
7034         (FPE_FLTSUB): Likewise.
7035         (SEGV_MAPERR): Likewise.
7036         (SEGV_ACCERR): Likewise.
7037         (BUS_ADRALN): Likewise.
7038         (BUS_ADRERR): Likewise.
7039         (BUS_OBJERR): Likewise.
7040         (BUS_MCEERR_AR): Likewise.
7041         (BUS_MCEERR_AO): Likewise.
7042         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7043         (TRAP_TRACE): Likewise.
7044         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7045         __USE_XOPEN2K8].
7046         (CLD_KILLED): Likewise.
7047         (CLD_DUMPED): Likewise.
7048         (CLD_TRAPPED): Likewise.
7049         (CLD_STOPPED): Likewise.
7050         (CLD_CONTINUED): Likewise.
7051         (POLL_IN): Likewise.
7052         (POLL_OUT): Likewise.
7053         (POLL_MSG): Likewise.
7054         (POLL_ERR): Likewise.
7055         (POLL_PRI): Likewise.
7056         (POLL_HUP): Likewise.
7057         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7058         (ILL_ILLOPN): Likewise.
7059         (ILL_ILLADR): Likewise.
7060         (ILL_ILLTRP): Likewise.
7061         (ILL_PRVOPC): Likewise.
7062         (ILL_PRVREG): Likewise.
7063         (ILL_COPROC): Likewise.
7064         (ILL_BADSTK): Likewise.
7065         (ILL_DBLFLT): Likewise.
7066         (ILL_HARDWALL): Likewise.
7067         (FPE_INTDIV): Likewise.
7068         (FPE_INTOVF): Likewise.
7069         (FPE_FLTDIV): Likewise.
7070         (FPE_FLTOVF): Likewise.
7071         (FPE_FLTUND): Likewise.
7072         (FPE_FLTRES): Likewise.
7073         (FPE_FLTINV): Likewise.
7074         (FPE_FLTSUB): Likewise.
7075         (SEGV_MAPERR): Likewise.
7076         (SEGV_ACCERR): Likewise.
7077         (BUS_ADRALN): Likewise.
7078         (BUS_ADRERR): Likewise.
7079         (BUS_OBJERR): Likewise.
7080         (BUS_MCEERR_AR): Likewise.
7081         (BUS_MCEERR_AO): Likewise.
7082         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7083         (TRAP_TRACE): Likewise.
7084         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7085         __USE_XOPEN2K8].
7086         (CLD_KILLED): Likewise.
7087         (CLD_DUMPED): Likewise.
7088         (CLD_TRAPPED): Likewise.
7089         (CLD_STOPPED): Likewise.
7090         (CLD_CONTINUED): Likewise.
7091         (POLL_IN): Likewise.
7092         (POLL_OUT): Likewise.
7093         (POLL_MSG): Likewise.
7094         (POLL_ERR): Likewise.
7095         (POLL_PRI): Likewise.
7096         (POLL_HUP): Likewise.
7097         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7098         (ILL_ILLOPN): Likewise.
7099         (ILL_ILLADR): Likewise.
7100         (ILL_ILLTRP): Likewise.
7101         (ILL_PRVOPC): Likewise.
7102         (ILL_PRVREG): Likewise.
7103         (ILL_COPROC): Likewise.
7104         (ILL_BADSTK): Likewise.
7105         (FPE_INTDIV): Likewise.
7106         (FPE_INTOVF): Likewise.
7107         (FPE_FLTDIV): Likewise.
7108         (FPE_FLTOVF): Likewise.
7109         (FPE_FLTUND): Likewise.
7110         (FPE_FLTRES): Likewise.
7111         (FPE_FLTINV): Likewise.
7112         (FPE_FLTSUB): Likewise.
7113         (SEGV_MAPERR): Likewise.
7114         (SEGV_ACCERR): Likewise.
7115         (BUS_ADRALN): Likewise.
7116         (BUS_ADRERR): Likewise.
7117         (BUS_OBJERR): Likewise.
7118         (BUS_MCEERR_AR): Likewise.
7119         (BUS_MCEERR_AO): Likewise.
7120         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7121         (TRAP_TRACE): Likewise.
7122         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7123         __USE_XOPEN2K8].
7124         (CLD_KILLED): Likewise.
7125         (CLD_DUMPED): Likewise.
7126         (CLD_TRAPPED): Likewise.
7127         (CLD_STOPPED): Likewise.
7128         (CLD_CONTINUED): Likewise.
7129         (POLL_IN): Likewise.
7130         (POLL_OUT): Likewise.
7131         (POLL_MSG): Likewise.
7132         (POLL_ERR): Likewise.
7133         (POLL_PRI): Likewise.
7134         (POLL_HUP): Likewise.
7135         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7136         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7137
7138         [BZ #16670]
7139         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7140         before #include of <time.h>.
7141         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7142         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7143         (test-xfail-UNIX98/sched.h/conform): Likewise.
7144
7145 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7146
7147         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7148         error absence of trapping exception support.
7149         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7150
7151 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7152
7153         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7154         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7155         * timezone/Makefile (testdata): Move definition above include of
7156         Rules.
7157         (test-zones): New variable.
7158         (tests-special): Add zone files.
7159         (build-testdata): Use $(evaluate-test).
7160
7161         * elf/Makefile (tests-special): Rename tests to end with .out.
7162         ($(objpfx)noload-mem): Likewise.
7163         ($(objpfx)tst-leaks1-mem): Likewise.
7164         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7165         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7166         $(objpfx)test-iconvconfig.out.
7167         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7168         set -e inside subshell and redirect output to file.
7169         * iconvdata/Makefile (generated): Rename tests to end with .out.
7170         Correct type.
7171         (tests-special): Rename tests to end with .out.
7172         ($(objpfx)mtrace-tst-loading): Likewise.
7173         * intl/Makefile (generated): Likewise.
7174         (tests-special): Likewise.
7175         ($(objpfx)mtrace-tst-gettext): Likewise.
7176         * misc/Makefile (generated): Likewise.
7177         (tests-special): Likewise.
7178         ($(objpfx)tst-error1-mem): Likewise.
7179         * nptl/Makefile (tests-special): Likewise.
7180         ($(objpfx)tst-stack3-mem): Likewise.
7181         (generated): Likewise.
7182         * posix/Makefile (generated): Likewise.
7183         (tests-special): Likewise.
7184         (xtests-special): Likewise.
7185         ($(objpfx)tst-fnmatch-mem): Likewise.
7186         ($(objpfx)bug-regex2-mem): Likewise.
7187         ($(objpfx)bug-regex14-mem): Likewise.
7188         ($(objpfx)bug-regex21-mem): Likewise.
7189         ($(objpfx)bug-regex31-mem): Likewise.
7190         ($(objpfx)tst-vfork3-mem): Likewise.
7191         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7192         ($(objpfx)tst-pcre-mem): Likewise.
7193         ($(objpfx)tst-boost-mem): Likewise.
7194         ($(objpfx)bug-ga2-mem): Likewise.
7195         ($(objpfx)bug-glob2-mem): Likewise.
7196         * resolv/Makefile (generate): Likewise.
7197         (tests-special): Likewise.
7198         (xtests-special): Likewise.
7199         (generated): Likewise.
7200         ($(objpfx)mtrace-tst-leaks): Likewise.
7201         ($(objpfx)mtrace-tst-leaks2): Likewise.
7202
7203         * scripts/merge-test-results.sh: New file.
7204         * Makefile (tests-special-notdir): New variable.
7205         (tests): Run merge-test-results.sh.
7206         (xtests): Likewise.
7207         * Rules (tests-special-notdir): New variable.
7208         (xtests-special-notdir): Likewise.
7209         (tests): Run merge-test-results.sh
7210         (xtests): Likewise.
7211
7212         * Makeconfig (test-xfail-name): New variable.
7213         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7214         compute variable name for expected failures.
7215         * conform/Makefile (conformtest-headers-data): New variable.
7216         (conformtest-standards): Likewise.
7217         (conformtest-headers-ISO): Likewise.
7218         (conformtest-headers-ISO99): Likewise.
7219         (conformtest-headers-ISO11): Likewise.
7220         (conformtest-headers-POSIX): Likewise.
7221         (conformtest-headers-XPG3): Likewise.
7222         (conformtest-headers-XPG4): Likewise.
7223         (conformtest-headers-UNIX98): Likewise.
7224         (conformtest-headers-XOPEN2K): Likewise.
7225         (conformtest-headers-POSIX2008): Likewise.
7226         (conformtest-headers-XOPEN2K8): Likewise.
7227         (conformtest-header-list-base): Likewise.
7228         (conformtest-header-list-tests): Likewise.
7229         (conformtest-header-base): Likewise.
7230         (conformtest-header-tests): Likewise.
7231         (tests-special): Add $(conformtest-header-list-tests).  If
7232         [$(fast-check) && !$(cross-compiling)], add
7233         $(conformtest-header-tests) instead of
7234         $(objpfx)run-conformtest.out.
7235         (generated): Add $(conformtest-header-list-base).  If
7236         [$(fast-check) && !$(cross-compiling)], add
7237         $(conformtest-header-base).  Remove previous setting.
7238         ($(conformtest-header-list-tests)): New target.
7239         (test-xfail-run-conformtest): Remove variable.
7240         ($(objpfx)run-conformtest.out): Remove target.
7241         (test-xfail-ISO11/complex.h/conform): New variable.
7242         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7243         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7244         (test-xfail-XPG3/varargs.h/conform): Likewise.
7245         (test-xfail-XPG4/varargs.h/conform): Likewise.
7246         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7247         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7248         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7249         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7250         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7251         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7252         (test-xfail-XPG3/ftw.h/conform): Likewise.
7253         (test-xfail-XPG3/grp.h/conform): Likewise.
7254         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7255         (test-xfail-XPG3/limits.h/conform): Likewise.
7256         (test-xfail-XPG3/pwd.h/conform): Likewise.
7257         (test-xfail-XPG3/search.h/conform): Likewise.
7258         (test-xfail-XPG3/signal.h/conform): Likewise.
7259         (test-xfail-XPG3/stdio.h/conform): Likewise.
7260         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7261         (test-xfail-XPG3/string.h/conform): Likewise.
7262         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7263         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7264         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7265         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7266         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7267         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7268         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7269         (test-xfail-XPG3/termios.h/conform): Likewise.
7270         (test-xfail-XPG3/time.h/conform): Likewise.
7271         (test-xfail-XPG3/unistd.h/conform): Likewise.
7272         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7273         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7274         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7275         (test-xfail-XPG4/netdb.h/conform): Likewise.
7276         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7277         (test-xfail-XPG4/signal.h/conform): Likewise.
7278         (test-xfail-XPG4/stdio.h/conform): Likewise.
7279         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7280         (test-xfail-XPG4/stropts.h/conform): Likewise.
7281         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7282         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7283         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7284         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7285         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7286         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7287         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7288         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7289         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7290         (test-xfail-XPG4/termios.h/conform): Likewise.
7291         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7292         (test-xfail-XPG4/unistd.h/conform): Likewise.
7293         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7294         (test-xfail-POSIX/sched.h/conform): Likewise.
7295         (test-xfail-POSIX/signal.h/conform): Likewise.
7296         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7297         (test-xfail-POSIX/tar.h/conform): Likewise.
7298         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7299         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7300         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7301         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7302         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7303         (test-xfail-UNIX98/sched.h/conform): Likewise.
7304         (test-xfail-UNIX98/signal.h/conform): Likewise.
7305         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7306         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7307         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7308         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7309         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7310         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7311         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7312         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7313         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7314         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7315         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7316         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7317         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7318         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7319         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7320         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7321         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7322         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7323         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7324         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7325         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7326         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7327         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7328         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7329         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7330         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7331         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7332         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7333         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7334         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7335         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7336         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7337         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7338         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7339         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7340         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7341         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7342         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7343         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7344         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7345         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7346         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7347         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7348         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7349         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7350         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7351         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7352         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7353         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7354         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7355         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7356         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7357         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7358         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7359         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7360         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7361         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7362         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7363         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7364         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7365         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7366         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7367         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7368         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7369         (conformtest-cc-flags): Likewise.
7370         ($(conformtest-header-tests): New target.
7371         * conform/check-header-lists.sh: New file.
7372         * conform/run-conformtest.sh: Remove.
7373
7374         * conform/conformtest.pl: Allow ' and \ in values given for
7375         constants.
7376         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7377         inclusion.
7378         [POSIX] (sys/types.h): Likewise.
7379         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7380         inclusion.
7381         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7382         inclusion.
7383         * conform/data/signal.h-data (SIGIO): Remove expectation.
7384         [XPG3] (SIGBUS): Do not expect.
7385         [POSIX || XPG3] (SIGPOLL): Likewise.
7386         [POSIX || XPG3] (SIGPROF): Likewise.
7387         [POSIX || XPG3] (SIGSYS): Likewise.
7388         [XPG3] (SIGTRAP): Likewise.
7389         [POSIX || XPG3] (SIGURG): Likewise.
7390         [POSIX || XPG3] (SIGVTALRM): Likewise.
7391         [POSIX || XPG3] (SIGXCPU): Likewise.
7392         [POSIX || XPG3] (SIGXFSZ): Likewise.
7393         [POSIX] (SA_SIGINFO): Expect.
7394         [XPG3] (siginfo_t): Do not expect type or contents.
7395         [POSIX] (si_pid): Do not expect element.
7396         [POSIX] (si_uid): Likewise.
7397         [POSIX] (si_addr): Likewise.
7398         [POSIX] (si_status): Likewise.
7399         [POSIX] (si_band): Likewise.
7400         [XPG4] (si_value): Likewise.
7401         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7402         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7403         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7404         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7405         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7406         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7407         [POSIX || XPG3] (ILL_COPROC): Likewise.
7408         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7409         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7410         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7411         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7412         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7413         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7414         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7415         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7416         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7417         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7418         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7419         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7420         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7421         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7422         [POSIX || XPG3] (CLD_EXITED): Likewise.
7423         [POSIX || XPG3] (CLD_KILLED): Likewise.
7424         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7425         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7426         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7427         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7428         [POSIX || XPG3] (POLL_IN): Likewise.
7429         [POSIX || XPG3] (POLL_OUT): Likewise.
7430         [POSIX || XPG3] (POLL_MSG): Likewise.
7431         [POSIX || XPG3] (POLL_ERR): Likewise.
7432         [POSIX || XPG3] (POLL_PRI): Likewise.
7433         [POSIX || XPG3] (POLL_HUP): Likewise.
7434         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7435         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7436         (SIG*): Do not allow.
7437         [XPG3] (si_*): Likewise.
7438         [XPG3] (SI_*): Likewise.
7439         [XPG3 || XPG4] (sigev_*): Likewise.
7440         [XPG3 || XPG4] (SIGEV_*): Likewise.
7441         [XPG3 || XPG4] (sival_*): Likewise.
7442         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7443         [POSIX || XPG3] (BUS_*): Likewise.
7444         [POSIX || XPG3] (CLD_*): Likewise.
7445         [POSIX || XPG3] (FPE_*): Likewise.
7446         [POSIX || XPG3] (ILL_*): Likewise.
7447         [POSIX || XPG3] (POLL_*): Likewise.
7448         [POSIX || XPG3] (SEGV_*): Likewise.
7449         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7450         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7451         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7452         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7453         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7454         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7455         Specify type and value.
7456         (TVERSLEN): Likewise.
7457         (REGTYPE): Likewise.
7458         (AREGTYPE): Likewise.
7459         (LNKTYPE): Likewise.
7460         (SYMTYPE): Likewise.
7461         (CHRTYPE): Likewise.
7462         (BLKTYPE): Likewise.
7463         (DIRTYPE): Likewise.
7464         (FIFOTYPE): Likewise.
7465         (CONTTYPE): Likewise.
7466         (TSUID): Likewise.
7467         (TSGID): Likewise.
7468         (TSVTX): Likewise.
7469         (TUREAD): Likewise.
7470         (TUWRITE): Likewise.
7471         (TUEXEC): Likewise.
7472         (TGREAD): Likewise.
7473         (TGWRITE): Likewise.
7474         (TGEXEC): Likewise.
7475         (TOREAD): Likewise.
7476         (TOWRITE): Likewise.
7477         (TOEXEC): Likewise.
7478         [POSIX] (TSVTX): Expect constant.
7479
7480 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7481
7482         * Makefile (tests): Change dependencies to ....
7483         (tests-special): ... additions to this variable.
7484         (tests): Depend on $(tests-special).
7485         * Makerules (check-abi-list): New variable.
7486         (check-abi): Depend on $(check-abi-list).
7487         [$(subdir) = elf] (tests-special): Add
7488         $(objpfx)check-abi-libc.out.
7489         [$(build-shared) = yes && subdir] (tests-special): Add
7490         $(check-abi-list).
7491         [$(build-shared) = yes && subdir] (tests): Do not depend on
7492         check-abi.
7493         * Rules (tests): Depend on $(tests-special).
7494         (xtests): Depend on $(xtests-special).
7495         * catgets/Makefile (tests): Change dependencies to ....
7496         (tests-special): ... additions to this variable.
7497         * conform/Makefile (tests): Change dependencies to ....
7498         (tests-special): ... additions to this variable.
7499         * elf/Makefile (tests): Change dependencies to ....
7500         (tests-special): ... additions to this variable.
7501         * grp/Makefile (tests): Change dependencies to ....
7502         (tests-special): ... additions to this variable.
7503         * iconv/Makefile (xtests): Change dependencies to ....
7504         (xtests-special): ... additions to this variable.
7505         * iconvdata/Makefile (tests): Change dependencies to ....
7506         (tests-special): ... additions to this variable.
7507         * intl/Makefile (tests): Change dependencies to ....
7508         (tests-special): ... additions to this variable.  Also add
7509         $(objpfx)tst-gettext.out.
7510         * io/Makefile (tests): Change dependencies to ....
7511         (tests-special): ... additions to this variable.
7512         * libio/Makefile (tests): Change dependencies to ....
7513         (tests-special): ... additions to this variable.
7514         * malloc/Makefile (tests): Change dependencies to ....
7515         (tests-special): ... additions to this variable.
7516         * misc/Makefile (tests): Change dependencies to ....
7517         (tests-special): ... additions to this variable.
7518         * nptl/Makefile (tests): Change dependencies to ....
7519         (tests-special): ... additions to this variable.
7520         * nptl_db/Makefile (tests): Change dependencies to ....
7521         (tests-special): ... additions to this variable.
7522         * posix/Makefile (tests): Change dependencies to ....
7523         (tests-special): ... additions to this variable.
7524         (xtests): Change dependencies to ....
7525         (xtests-special): ... additions to this variable.
7526         * resolv/Makefile (tests): Change dependencies to ....
7527         (tests-special): ... additions to this variable.
7528         (xtests): Change dependencies to ....
7529         (xtests-special): ... additions to this variable.
7530         * stdio-common/Makefile (tests): Change dependencies to ....
7531         (tests-special): ... additions to this variable.
7532         (do-tst-unbputc): Remove target.
7533         (do-tst-printf): Likewise.
7534         * stdlib/Makefile (tests): Change dependencies to ....
7535         (tests-special): ... additions to this variable.
7536         * string/Makefile (tests): Change dependencies to ....
7537         (tests-special): ... additions to this variable.
7538         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7539         (tests-special): ... additions to this variable.
7540
7541         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7542         whole file.
7543         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7544         whole file.
7545         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7546         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7547
7548         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7549         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7550         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7551         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7552         * conform/data/libgen.h-data [XPG3]: Likewise.
7553         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7554         * conform/data/ndbm.h-data [XPG3]: Likewise.
7555         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7556         * conform/data/netdb.h-data [XPG3]: Likewise.
7557         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7558         * conform/data/poll.h-data [XPG3]: Likewise.
7559         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7560         * conform/data/strings.h-data [XPG3]: Likewise.
7561         * conform/data/stropts.h-data [XPG3]: Likewise.
7562         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7563         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7564         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7565         Likewise.
7566         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7567         * conform/data/sys/time.h-data [XPG3]: Likewise.
7568         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7569         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7570         * conform/data/sys/un.h-data [XPG3]: Likewise.
7571         * conform/data/syslog.h-data [XPG3]: Likewise.
7572         * conform/data/ucontext.h-data [XPG3]: Likewise.
7573         * conform/data/utmpx.h-data [XPG3]: Likewise.
7574         * conform/data/varargs.h-data [UNIX98]: Enable file.
7575
7576         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7577
7578         * math/libm-test.inc (struct test_f_f_data): Move expected results
7579         into structure for each rounding mode.
7580         (struct test_ff_f_data): Likewise.
7581         (struct test_ff_f_data_nexttoward): Likewise.
7582         (struct test_fi_f_data): Likewise.
7583         (struct test_fl_f_data): Likewise.
7584         (struct test_if_f_data): Likewise.
7585         (struct test_fff_f_data): Likewise.
7586         (struct test_c_f_data): Likewise.
7587         (struct test_f_f1_data): Likewise.
7588         (struct test_fF_f1_data): Likewise.
7589         (struct test_ffI_f1_data): Likewise.
7590         (struct test_c_c_data): Likewise.
7591         (struct test_cc_c_data): Likewise.
7592         (struct test_f_i_data): Likewise.
7593         (struct test_ff_i_data): Likewise.
7594         (struct test_f_l_data): Likewise.
7595         (struct test_f_L_data): Likewise.
7596         (struct test_fFF_11_data): Likewise.
7597         (RM_): New macro.
7598         (RM_FE_DOWNWARD): Likewise.
7599         (RM_FE_TONEAREST): Likewise.
7600         (RM_FE_TOWARDZERO): Likewise.
7601         (RM_FE_UPWARD): Likewise.
7602         (RUN_TEST_LOOP_f_f): Update references to expected results.
7603         (RUN_TEST_LOOP_2_f): Likewise.
7604         (RUN_TEST_LOOP_fff_f): Likewise.
7605         (RUN_TEST_LOOP_c_f): Likewise.
7606         (RUN_TEST_LOOP_f_f1): Likewise.
7607         (RUN_TEST_LOOP_fF_f1): Likewise.
7608         (RUN_TEST_LOOP_fI_f1): Likewise.
7609         (RUN_TEST_LOOP_ffI_f1): Likewise.
7610         (RUN_TEST_LOOP_c_c): Likewise.
7611         (RUN_TEST_LOOP_cc_c): Likewise.
7612         (RUN_TEST_LOOP_f_i): Likewise.
7613         (RUN_TEST_LOOP_f_i_tg): Likewise.
7614         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7615         (RUN_TEST_LOOP_f_b): Likewise.
7616         (RUN_TEST_LOOP_f_b_tg): Likewise.
7617         (RUN_TEST_LOOP_f_l): Likewise.
7618         (RUN_TEST_LOOP_f_L): Likewise.
7619         (RUN_TEST_LOOP_fFF_11): Likewise.
7620         * math/gen-libm-test.pl (parse_args): Output four copies of
7621         expected results for each test.
7622
7623         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7624         (__ASSUME_UTIMES): Remove.
7625         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7626         (__ASSUME_UTIMES): Likewise.
7627
7628         * math/gen-auto-libm-tests.c: Update comment on output format.
7629         (output_for_one_input_case): Generate before-rounding and
7630         after-rounding information as conditions on output flags not
7631         floating-point format.
7632         * math/auto-libm-test-out: Regenerated.
7633         * math/gen-libm-test.pl (cond_value): New function.
7634         (or_cond_value): Use cond_value.
7635         (generate_testfile): Handle conditional exceptions.
7636
7637 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7638
7639         * math/libm-test.inc (max_valid_error): New variable.
7640         (init_max_error): Take new argument specifying whether function
7641         results are exactly determined.  Set max_valid_error and bound
7642         other variables for errors based on this argument.
7643         (set_max_error): Do not record results above max_valid_error.
7644         (check_float_internal): Only accept errors of up to 0.5ulps if
7645         also at most max_valid_error.
7646         (START): Take new argument EXACT and pass it to init_max_error.
7647         (acos_test): Update call to START.
7648         (acos_test_tonearest): Likewise.
7649         (acos_test_towardzero): Likewise.
7650         (acos_test_downward): Likewise.
7651         (acos_test_upward): Likewise.
7652         (acosh_test): Likewise.
7653         (asin_test): Likewise.
7654         (asin_test_tonearest): Likewise.
7655         (asin_test_towardzero): Likewise.
7656         (asin_test_downward): Likewise.
7657         (asin_test_upward): Likewise.
7658         (asinh_test): Likewise.
7659         (atan_test): Likewise.
7660         (atanh_test): Likewise.
7661         (atan2_test): Likewise.
7662         (cabs_test): Likewise.
7663         (cacos_test): Likewise.
7664         (cacosh_test): Likewise.
7665         (carg_test): Likewise.
7666         (casin_test): Likewise.
7667         (casinh_test): Likewise.
7668         (catan_test): Likewise.
7669         (catanh_test): Likewise.
7670         (cbrt_test): Likewise.
7671         (ccos_test): Likewise.
7672         (ccosh_test): Likewise.
7673         (ceil_test): Likewise.
7674         (cexp_test): Likewise.
7675         (cimag_test): Likewise.
7676         (clog_test): Likewise.
7677         (clog10_test): Likewise.
7678         (conj_test): Likewise.
7679         (copysign_test): Likewise.
7680         (cos_test): Likewise.
7681         (cos_test_tonearest): Likewise.
7682         (cos_test_towardzero): Likewise.
7683         (cos_test_downward): Likewise.
7684         (cos_test_upward): Likewise.
7685         (cosh_test): Likewise.
7686         (cosh_test_tonearest): Likewise.
7687         (cosh_test_towardzero): Likewise.
7688         (cosh_test_downward): Likewise.
7689         (cosh_test_upward): Likewise.
7690         (cpow_test): Likewise.
7691         (cproj_test): Likewise.
7692         (creal_test): Likewise.
7693         (csin_test): Likewise.
7694         (csinh_test): Likewise.
7695         (csqrt_test): Likewise.
7696         (ctan_test): Likewise.
7697         (ctan_test_tonearest): Likewise.
7698         (ctan_test_towardzero): Likewise.
7699         (ctan_test_downward): Likewise.
7700         (ctan_test_upward): Likewise.
7701         (ctanh_test): Likewise.
7702         (ctanh_test_tonearest): Likewise.
7703         (ctanh_test_towardzero): Likewise.
7704         (ctanh_test_downward): Likewise.
7705         (ctanh_test_upward): Likewise.
7706         (erf_test): Likewise.
7707         (erfc_test): Likewise.
7708         (exp_test): Likewise.
7709         (exp_test_tonearest): Likewise.
7710         (exp_test_towardzero): Likewise.
7711         (exp_test_downward): Likewise.
7712         (exp_test_upward): Likewise.
7713         (exp10_test): Likewise.
7714         (exp10_test_tonearest): Likewise.
7715         (exp10_test_towardzero): Likewise.
7716         (exp10_test_downward): Likewise.
7717         (exp10_test_upward): Likewise.
7718         (pow10_test): Likewise.
7719         (exp2_test): Likewise.
7720         (expm1_test): Likewise.
7721         (expm1_test_tonearest): Likewise.
7722         (expm1_test_towardzero): Likewise.
7723         (expm1_test_downward): Likewise.
7724         (expm1_test_upward): Likewise.
7725         (fabs_test): Likewise.
7726         (fdim_test): Likewise.
7727         (floor_test): Likewise.
7728         (fma_test): Likewise.
7729         (fma_test_towardzero): Likewise.
7730         (fma_test_downward): Likewise.
7731         (fma_test_upward): Likewise.
7732         (fmax_test): Likewise.
7733         (fmin_test): Likewise.
7734         (fmod_test): Likewise.
7735         (fpclassify_test): Likewise.
7736         (frexp_test): Likewise.
7737         (hypot_test): Likewise.
7738         (ilogb_test): Likewise.
7739         (isfinite_test): Likewise.
7740         (finite_test): Likewise.
7741         (isgreater_test): Likewise.
7742         (isgreaterequal_test): Likewise.
7743         (isinf_test): Likewise.
7744         (isless_test): Likewise.
7745         (islessequal_test): Likewise.
7746         (islessgreater_test): Likewise.
7747         (isnan_test): Likewise.
7748         (isnormal_test): Likewise.
7749         (issignaling_test): Likewise.
7750         (isunordered_test): Likewise.
7751         (j0_test): Likewise.
7752         (j1_test): Likewise.
7753         (jn_test): Likewise.
7754         (ldexp_test): Likewise.
7755         (lgamma_test): Likewise.
7756         (gamma_test): Likewise.
7757         (lrint_test): Likewise.
7758         (lrint_test_tonearest): Likewise.
7759         (lrint_test_towardzero): Likewise.
7760         (lrint_test_downward): Likewise.
7761         (lrint_test_upward): Likewise.
7762         (llrint_test): Likewise.
7763         (llrint_test_tonearest): Likewise.
7764         (llrint_test_towardzero): Likewise.
7765         (llrint_test_downward): Likewise.
7766         (llrint_test_upward): Likewise.
7767         (log_test): Likewise.
7768         (log10_test): Likewise.
7769         (log1p_test): Likewise.
7770         (log2_test): Likewise.
7771         (logb_test): Likewise.
7772         (logb_test_downward): Likewise.
7773         (lround_test): Likewise.
7774         (llround_test): Likewise.
7775         (modf_test): Likewise.
7776         (nearbyint_test): Likewise.
7777         (nextafter_test): Likewise.
7778         (nexttoward_test): Likewise.
7779         (pow_test): Likewise.
7780         (pow_test_tonearest): Likewise.
7781         (pow_test_towardzero): Likewise.
7782         (pow_test_downward): Likewise.
7783         (pow_test_upward): Likewise.
7784         (remainder_test): Likewise.
7785         (drem_test): Likewise.
7786         (remainder_test_tonearest): Likewise.
7787         (drem_test_tonearest): Likewise.
7788         (remainder_test_towardzero): Likewise.
7789         (drem_test_towardzero): Likewise.
7790         (remainder_test_downward): Likewise.
7791         (drem_test_downward): Likewise.
7792         (remainder_test_upward): Likewise.
7793         (drem_test_upward): Likewise.
7794         (remquo_test): Likewise.
7795         (rint_test): Likewise.
7796         (rint_test_tonearest): Likewise.
7797         (rint_test_towardzero): Likewise.
7798         (rint_test_downward): Likewise.
7799         (rint_test_upward): Likewise.
7800         (round_test): Likewise.
7801         (scalb_test): Likewise.
7802         (scalbn_test): Likewise.
7803         (scalbln_test): Likewise.
7804         (signbit_test): Likewise.
7805         (sin_test): Likewise.
7806         (sin_test_tonearest): Likewise.
7807         (sin_test_towardzero): Likewise.
7808         (sin_test_downward): Likewise.
7809         (sin_test_upward): Likewise.
7810         (sincos_test): Likewise.
7811         (sinh_test): Likewise.
7812         (sinh_test_tonearest): Likewise.
7813         (sinh_test_towardzero): Likewise.
7814         (sinh_test_downward): Likewise.
7815         (sinh_test_upward): Likewise.
7816         (sqrt_test): Likewise.
7817         (sqrt_test_tonearest): Likewise.
7818         (sqrt_test_towardzero): Likewise.
7819         (sqrt_test_downward): Likewise.
7820         (sqrt_test_upward): Likewise.
7821         (tan_test): Likewise.
7822         (tan_test_tonearest): Likewise.
7823         (tan_test_towardzero): Likewise.
7824         (tan_test_downward): Likewise.
7825         (tan_test_upward): Likewise.
7826         (tanh_test): Likewise.
7827         (tgamma_test): Likewise.
7828         (trunc_test): Likewise.
7829         (y0_test): Likewise.
7830         (y1_test): Likewise.
7831         (yn_test): Likewise.
7832         (significand_test): Likewise.
7833
7834         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7835         individual tests in comment.
7836         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7837         (prev_max_error): New variable.
7838         (prev_real_max_error): Likewise.
7839         (prev_imag_max_error): Likewise.
7840         (compare_ulp_data): Don't refer to test names in comment.
7841         (find_test_ulps): Remove function.
7842         (find_function_ulps): Likewise.
7843         (find_complex_function_ulps): Likewise.
7844         (init_max_error): Take function name as argument.  Look up ulps
7845         for that function.
7846         (print_ulps): Remove function.
7847         (print_max_error): Use prev_max_error instead of calling
7848         find_function_ulps.
7849         (print_complex_max_error): Use prev_real_max_error and
7850         prev_imag_max_error instead of calling find_complex_function_ulps.
7851         (check_float_internal): Take max_ulp parameter instead of calling
7852         find_test_ulps.  Don't call print_ulps.
7853         (check_float): Update call to check_float_internal.
7854         (check_complex): Update calls to check_float_internal.
7855         (START): Pass argument to init_max_error.
7856         * math/gen-libm-test.pl (%results): Don't include "kind"
7857         information.
7858         (parse_ulps): Don't handle ulps of individual tests.
7859         (print_ulps_file): Likewise.
7860         (output_ulps): Likewise.
7861         * math/README.libm-test: Update.
7862         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7863         individual tests.
7864         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7865         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7866         * sysdeps/arm/libm-test-ulps: Likewise.
7867         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7868         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7869         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7870         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7871         * sysdeps/microblaze/libm-test-ulps: Likewise.
7872         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7873         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7874         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7875         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7876         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7877         * sysdeps/sh/libm-test-ulps: Likewise.
7878         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7879         * sysdeps/tile/libm-test-ulps: Likewise.
7880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7881
7882 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7883
7884         * math/libm-test.inc (print_complex_max_error): Check separately
7885         whether real and imaginary errors are within allowed range and
7886         pass 0 to print_complex_function_ulps instead of value within
7887         allowed range.
7888
7889 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7890
7891         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7892         formatting.
7893         (get_handles_fopen): Likewise.
7894         (do_write_test): Likewise.
7895
7896         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7897
7898         * libio/fileops.c (do_ftell): Use cached offset when
7899         available.
7900         * libio/iofwide.c (do_ftell_wide): Likewise.
7901         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7902         _IO_file_attach.
7903         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7904
7905         [BZ #16532]
7906         * libio/libioP.h (get_file_offset): New function.
7907         * libio/fileops.c (get_file_offset): Likewise.
7908         (do_ftell): Likewise.
7909         (_IO_new_file_seekoff): Split out ftell logic.
7910         * libio/wfileops.c (do_ftell_wide): Likewise.
7911         (_IO_wfile_seekoff): Split out ftell logic.
7912         * libio/tst-ftell-active-handler.c: New test case.
7913         * libio/Makefile (tests): Add it.
7914
7915 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7916
7917         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7918         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7919
7920 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7921
7922         [BZ #16639]
7923         * nscd/connections.c (nscd_init): Call do_exit.
7924         (start_threads): Call do_exit and notify_parent.
7925         (begin_drop_privileges): Call do_exit.
7926         (finish_drop_privileges): Likewise.
7927         * nscd/selinux.c (preserve_capabilities): Likewise.
7928         (install_real_capabilities): Likewise.
7929         (nscd_selinux_enabled): Likewise.
7930         (avc_create_thread): Likewise.
7931         (avc_alloc_lock): Likewise.
7932         (nscd_avc_init): Likewise.
7933         * nscd/nscd.c (parent_fd): New static variable.
7934         (main): Create a pipe between parent and child processes.
7935         Skip closing parent_fd.
7936         (monitor_child): New function.
7937         (do_exit): Likewise.
7938         (notify_parent): Likewise.
7939         * nscd/nscd.h (notify_parent): Likewise.
7940         (do_exit): Likewise.
7941
7942 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7943
7944         * malloc/malloc.c (__libc_calloc): Revert last change.
7945
7946 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7947
7948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7949
7950 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7951
7952         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7954         implementation.
7955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7956         (__libc_ifunc_impl_list): Likewise.
7957         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7958         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7959         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7960         * string/strrchr.c: Define STRRCHR.
7961
7962 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7963
7964         * benchtest/bench-strtok.c (simple_strtok): Delete.
7965         (strtok_string): Use as benchmark.
7966         * string/strtok (STRTOK): New macro.
7967
7968 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7969
7970         * manual/threads.texi: Add header and standard comments to all
7971         functions.
7972
7973         * elf/dl-lookup.c (check_match): New function.
7974         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7975         (do_lookup_x): Remove nested function check_match. Use non-nested
7976         function check_match.
7977
7978 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7979
7980         * csu/Makefile (generated, before-compile): Use += rather than =.
7981         * catgets/Makefile (generated, generated-dirs): Likewise.
7982         * debug/Makefile (generated): Likewise.
7983         * dlfcn/Makefile (generated): Likewise.
7984         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7985         * iconvdata/Makefile (before-compile, generated): Likewise.
7986         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7987         * libio/Makefile (generated): Likewise.
7988         * malloc/Makefile (generated): Likewise.
7989         * manual/Makefile (generated, generated-dirs): Likewise.
7990         * misc/Makefile (generated): Likewise.
7991         * posix/Makefile (generated): Likewise.
7992         * resolv/Makefile (generated): Likewise.
7993         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7994         * timezone/Makefile (generated, generated-dirs): Likewise.
7995
7996         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7997
7998 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7999
8000         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8001         power8 implementation.
8002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8003         file: POWER8 llround ifunc implementation.
8004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8005         (__lllround): Add POWER8 implementation.
8006         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8007         POWER8 llround implementation.
8008
8009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8010         power8 implementation.
8011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8012         file: POWER8 llrint ifunc implementation.
8013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8014         Add POWER8 implementation.
8015         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8016         POWER8 llrint implementation.
8017
8018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8019         power8 implementation.
8020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8021         file: POWER8 finite ifunc implementation.
8022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8023         Add POWER8 implementation.
8024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8025         Likewise.
8026         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8027         POWER8 finite implementation.
8028         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8029
8030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8031         power8 implementation.
8032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8033         file: POWER8 isinf ifunc implementation.
8034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8035         POWER8 implementation.
8036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8037         Likewise.
8038         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8039         isinf implementation.
8040         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8041
8042         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8043         (INIT_ARCH): Add hwcap2 initialization.
8044         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8045         power8 implementation.
8046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8047         file: POWER8 isnan ifunc implementation.
8048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8049         POWER8 implementation.
8050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8051         Likewise.
8052         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8053         isnan implementation.
8054         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8055
8056 2014-02-27  Joey Ye  <joey.ye@arm.com>
8057
8058         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8059         (_FP_NANFRAC_Q): Set to zero.
8060
8061 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8062
8063         [BZ #16623]
8064         * math/auto-libm-test-in: New test inputs.
8065         * math/auto-libm-test-out: Regenerate.
8066         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8067         and DA.
8068         (__cos): Likewise.
8069         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8070
8071 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8072
8073         * scripts/evaluate-test.sh: Take new argument indicating whether
8074         failure is expected.
8075         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8076         indicating whether failure is expected.
8077         * conform/Makefile (test-xfail-run-conformtest): New variable.
8078         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8079         level.
8080         * posix/Makefile (test-xfail-annexc): New variable.
8081         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8082
8083 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8084
8085         * argp/Makefile: Include Makeconfig immediately after defining
8086         subdir.
8087         * assert/Makefile: Likewise.
8088         * benchtests/Makefile: Likewise.
8089         * catgets/Makefile: Likewise.
8090         * conform/Makefile: Likewise.
8091         * crypt/Makefile: Likewise.
8092         * csu/Makefile: Likewise.
8093         (all): Remove target.
8094         * ctype/Makefile: Include Makeconfig immediately after defining
8095         subdir.
8096         * debug/Makefile: Likewise.
8097         * dirent/Makefile: Likewise.
8098         * dlfcn/Makefile: Likewise.
8099         * gmon/Makefile: Likewise.
8100         * gnulib/Makefile: Likewise.
8101         * grp/Makefile: Likewise.
8102         * gshadow/Makefile: Likewise.
8103         * hesiod/Makefile: Likewise.
8104         * hurd/Makefile: Likewise.
8105         (all): Remove target.
8106         * iconvdata/Makefile: Include Makeconfig immediately after
8107         defining subdir.
8108         * inet/Makefile: Likewise.
8109         * intl/Makefile: Likewise.
8110         * io/Makefile: Likewise.
8111         * libio/Makefile: Likewise.
8112         (all): Remove target.
8113         * locale/Makefile: Include Makeconfig immediately after defining
8114         subdir.
8115         * login/Makefile: Likewise.
8116         * mach/Makefile: Likewise.
8117         (all): Remove target.
8118         * malloc/Makefile: Include Makeconfig immediately after defining
8119         subdir.
8120         (all): Remove target.
8121         * manual/Makefile: Include Makeconfig immediately after defining
8122         subdir.
8123         * math/Makefile: Likewise.
8124         * misc/Makefile: Likewise.
8125         * nis/Makefile: Likewise.
8126         * nss/Makefile: Likewise.
8127         * po/Makefile: Likewise.
8128         (all): Remove target.
8129         * posix/Makefile: Include Makeconfig immediately after defining
8130         subdir.
8131         * pwd/Makefile: Likewise.
8132         * resolv/Makefile: Likewise.
8133         * resource/Makefile: Likewise.
8134         * rt/Makefile: Likewise.
8135         * setjmp/Makefile: Likewise.
8136         * shadow/Makefile: Likewise.
8137         * signal/Makefile: Likewise.
8138         * socket/Makefile: Likewise.
8139         * soft-fp/Makefile: Likewise.
8140         * stdio-common/Makefile: Likewise.
8141         * stdlib/Makefile: Likewise.
8142         * streams/Makefile: Likewise.
8143         * string/Makefile: Likewise.
8144         * sunrpc/Makefile: Likewise.
8145         (all): Remove target.
8146         * sysvipc/Makefile: Include Makeconfig immediately after defining
8147         subdir.
8148         * termios/Makefile: Likewise.
8149         * time/Makefile: Likewise.
8150         * timezone/Makefile: Likewise.
8151         (all): Remove target.
8152         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8153         subdir.
8154         * wctype/Makefile: Likewise.
8155
8156 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8157
8158         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8159         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8160         (libc_feholdexcept_setround_mips): Ditto.
8161         (libc_feholdsetround): New.
8162         (libc_feholdsetroundf): New.
8163         (libc_feholdsetroundl): New.
8164         (libc_feupdateenv_test_mips): New.
8165         (libc_feupdateenv_test): New.
8166         (libc_feupdateenv_testf): New.
8167         (libc_feupdateenv_testl): New.
8168         (libc_feresetround): New.
8169         (libc_feresetroundf): New.
8170         (libc_feresetroundl): New.
8171         (libc_fetestexcept_mips): New.
8172         (libc_fetestexcept): New.
8173         (libc_fetestexceptf): New.
8174         (libc_fetestexceptl): New.
8175         (HAVE_RM_CTX): New.
8176         (libc_feholdexcept_setround_mips_ctx): New.
8177         (libc_feholdexcept_setround_ctx): New.
8178         (libc_feholdexcept_setroundf_ctx): New.
8179         (libc_feholdexcept_setroundl_ctx): New.
8180         (libc_fesetenv_mips_ctx): New.
8181         (libc_fesetenv_ctx): New.
8182         (libc_fesetenv_ctxf): New.
8183         (libc_fesetenv_ctxl): New.
8184         (libc_feupdateenv_mips_ctx): New.
8185         (libc_feupdateenv_ctx): New.
8186         (libc_feupdateenvf_ctx): New.
8187         (libc_feupdateenvl_ctx): New.
8188         (libc_feholdsetround_mips_ctx): New.
8189         (libc_feholdsetround_ctx): New.
8190         (libc_feholdsetroundf_ctx): New.
8191         (libc_feholdsetroundl_ctx): New.
8192         (libc_feresetround_mips_ctx): New.
8193         (libc_feresetround_ctx): New.
8194         (libc_feresetroundf_ctx): New.
8195         (libc_feresetroundl_ctx): New.
8196
8197 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8198
8199         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8200
8201         * manual/ipc.texi: New file.
8202         * manual/Makefile (chapters): Add ipc.
8203         * manual/job.texi: Add "Inter-Process Communication" to next.
8204         * manual/process.texi: Add "Inter-Process Communication" to prev.
8205
8206 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8207
8208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8209
8210 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8211
8212         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8213
8214         * manual/arith.texi: Fix spaces after sentences.
8215         * manual/charset.texi: Likewise.
8216         * manual/errno.texi: Likewise.
8217         * manual/install.texi: Likewise.
8218         * manual/llio.texi: Likewise.
8219         * manual/locale.texi: Likewise.
8220         * manual/maint.texi: Likewise.
8221         * manual/math.texi: Likewise.
8222         * manual/memory.texi: Likewise.
8223         * manual/message.texi: Likewise.
8224         * manual/probes.texi: Likewise.
8225         * manual/resource.texi: Likewise.
8226         * manual/signal.texi: Likewise.
8227         * manual/socket.texi: Likewise.
8228         * manual/stdio.texi: Likewise.
8229         * manual/string.texi: Likewise.
8230         * manual/time.texi: Likewise.
8231         * manual/users.texi: Likewise.
8232
8233 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8234
8235         [BZ #16632]
8236         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8237         _DEFAULT_SOURCE is defined.
8238
8239 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8240             Carlos O'Donell  <carlos@redhat.com>
8241
8242         [BZ #16613]
8243         * elf/dl-tls.c (_dl_count_modids): New function.
8244         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8245         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8246         audit library and increment generation counter.
8247         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8248         * elf/tst-audit9.c: New file.
8249         * elf/tst-auditmod9a.c: New file.
8250         * elf/tst-auditmod9b.c: New file.
8251         * elf/Makefile: Add rules to build and run tst-audit9.
8252
8253 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8254
8255         [BZ #15347]
8256         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8257
8258 2014-02-25  Will Newton  <will.newton@linaro.org>
8259
8260         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8261         (__longjmp): Restore sp and lr before restoring callee
8262         saved registers.  Add longjmp and longjmp_target
8263         SystemTap probe point.
8264         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8265         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8266         Define to zero to match jmpbuf layout.
8267         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8268         (__sigsetjmp): Save sp and lr before saving callee
8269         saved registers.  Add setjmp SystemTap probe point.
8270
8271 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8272
8273         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8274
8275 2014-02-24  Andreas Schwab  <schwab@suse.de>
8276
8277         [BZ #15804]
8278         * elf/pldd.c (wait_for_ptrace_stop): New function.
8279         (main): Call it after attaching.
8280
8281 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8282
8283         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8284         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8285         Versions files is now verboten.
8286         * hurd/Versions (libc: GLIBC_2.0):
8287         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8288         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8289         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8290         * mach/Versions: Likewise.
8291
8292         * csu/Versions: Remove unused %include.
8293         * resolv/Versions: Likewise.
8294
8295 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8296
8297         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8298         ($(objpfx)check-local-headers.out): Likewise.
8299         ($(objpfx)begin-end-check.out): Likewise.
8300         * Makerules (check-abi-%.out): Likewise.
8301         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8302         ($(objpfx)test2.cat): Likewise.
8303         ($(objpfx)de/libc.cat): Likewise.
8304         ($(objpfx)test-gencat.out): Likewise.
8305         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8306         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8307         ($(objpfx)noload-mem): Likewise.
8308         ($(objpfx)tst-pathopt.out): Likewise.
8309         ($(objpfx)tst-rtld-load-self.out): Likewise.
8310         ($(objpfx)tst-array1-cmp.out): Likewise.
8311         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8312         ($(objpfx)tst-array2-cmp.out): Likewise.
8313         ($(objpfx)tst-array3-cmp.out): Likewise.
8314         ($(objpfx)tst-array4-cmp.out): Likewise.
8315         ($(objpfx)tst-array5-cmp.out): Likewise.
8316         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8317         ($(objpfx)check-textrel.out): Likewise.
8318         ($(objpfx)check-execstack.out): Likewise.
8319         ($(objpfx)check-localplt.out): Likewise.
8320         ($(objpfx)order2-cmp.out): Likewise.
8321         ($(objpfx)tst-leaks1-mem): Likewise.
8322         ($(objpfx)tst-leaks1-static-mem): Likewise.
8323         ($(objpfx)tst-initorder-cmp.out): Likewise.
8324         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8325         ($(objpfx)tst-unused-dep.out): Likewise.
8326         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8327         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8328         * iconv/Makefile (test-iconvconfig): Likewise.
8329         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8330         ($(objpfx)iconv-test.out): Likewise.
8331         ($(objpfx)tst-tables.out): Likewise.
8332         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8333         ($(objpfx)tst-gettext.out): Likewise.
8334         ($(objpfx)tst-translit.out): Likewise.
8335         ($(objpfx)tst-gettext2.out): Likewise.
8336         ($(objpfx)tst-gettext4.out): Likewise.
8337         ($(objpfx)tst-gettext6.out): Likewise.
8338         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8339         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8340         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8341         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8342         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8343         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8344         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8345         ($(objpfx)wordexp-tst.out): Likewise.
8346         ($(objpfx)annexc.out): Likewise.
8347         ($(objpfx)tst-fnmatch-mem): Likewise.
8348         ($(objpfx)bug-regex2-mem): Likewise.
8349         ($(objpfx)bug-regex14-mem): Likewise.
8350         ($(objpfx)bug-regex21-mem): Likewise.
8351         ($(objpfx)bug-regex31-mem): Likewise.
8352         ($(objpfx)tst-vfork3-mem): Likewise.
8353         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8354         ($(objpfx)tst-pcre-mem): Likewise.
8355         ($(objpfx)tst-boost-mem): Likewise.
8356         ($(objpfx)tst-getconf.out): Likewise.
8357         ($(objpfx)bug-ga2-mem): Likewise.
8358         ($(objpfx)bug-glob2-mem): Likewise.
8359         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8360         ($(objpfx)mtrace-tst-leaks2): Likewise.
8361         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8362         ($(objpfx)tst-printf.out): Likewise.
8363         ($(objpfx)tst-setvbuf1.out): Likewise.
8364         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8365         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8366         ($(objpfx)tst-fmtmsg.out): Likewise.
8367         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8368         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8369
8370         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8371         * bits/sigaction.h [__USE_MISC]: Likewise.
8372         * bits/waitstatus.h: Update #endif comments.
8373         * ctype/ctype.h: Likewise.
8374         * dirent/dirent.h: Likewise.
8375         [__USE_MISC]: Remove redundant conditionals.
8376         * grp/grp.h: Update #endif comments.
8377         [__USE_GNU]: Remove redundant conditionals.
8378         [__USE_MISC]: Likewise.
8379         * inet/netinet/in.h [__USE_GNU]: Likewise.
8380         * io/sys/stat.h [__USE_MISC]: Likewise.
8381         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8382         * libio/bits/stdio.h: Update #endif comments.
8383         [__USE_MISC]: Remove redundant conditionals.
8384         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8385         * libio/stdio.h: Update #endif comments.
8386         [__USE_MISC]: Remove redundant conditionals.
8387         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8388         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8389         * math/math.h: Update #else and #endif comments.
8390         [__USE_MISC]: Remove redundant conditionals.
8391         * misc/sys/uio.h: Update #endif comments.
8392         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8393         * posix/glob.h [__USE_MISC]: Likewise.
8394         * posix/sys/types.h: Update #endif comments.
8395         [__USE_MISC]: Remove redundant conditionals.
8396         * posix/sys/wait.h: Update #endif comments.
8397         [__USE_MISC]: Remove redundant conditionals.
8398         * posix/unistd.h: Update #endif comments.
8399         [__USE_MISC]: Remove redundant conditionals.
8400         * pwd/pwd.h [__USE_GNU]: Likewise.
8401         [__USE_MISC]: Likewise.
8402         * resolv/netdb.h [__USE_GNU]: Likewise.
8403         * signal/signal.h: Update #endif comments.
8404         [__USE_MISC]: Remove redundant conditionals.
8405         * stdlib/stdlib.h: Update #else and #endif comments.
8406         [__USE_MISC]: Remove redundant conditionals.
8407         [__USE_GNU]: Likewise.
8408         * string/bits/string2.h [__USE_MISC]: Likewise.
8409         * string/string.h: Update #endif comments.
8410         [__USE_MISC]: Remove redundant conditionals.
8411         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8412         Likewise.
8413         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8414         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8415         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8416         Likewise.
8417         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8418         Likewise.
8419         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8420         comments.
8421         [__USE_MISC]: Remove redundant conditionals.
8422         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8423         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8424         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8425         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8426         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8427         Likewise.
8428         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8429         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8430         Likewise.
8431         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8432         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8433         Likewise.
8434         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8435         Likewise.
8436         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8437         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8438         Likewise.
8439         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8440         Likewise.
8441         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8442         * sysdeps/x86/bits/string.h: Update #endif comments.
8443         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8444         conditionals.
8445         * time/sys/time.h: Update #endif comments.
8446         * time/time.h: Likewise.
8447         [__USE_MISC]: Remove redundant conditionals.
8448
8449 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8450
8451         [BZ #16600]
8452         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8453
8454 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8455
8456         * Versions.def (librt): Add GLIBC_2.17.
8457
8458 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8459
8460         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8461         synonym for _SYS_AUXV_H to allow direct inclusion.
8462         * sysdeps/sparc/bits/hwcap.h: Likewise.
8463         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8464         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8465         * sysdeps/sparc/sysdep.h: Likewise.
8466
8467 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8468
8469         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8470
8471 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8472
8473         * benchtests/bench-strrchr.c: Print length instead of position.
8474
8475 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8476
8477         [BZ #16611]
8478         * sysdeps/unix/sysv/linux/kernel-features.h
8479         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8480         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8481         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8482         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8483         Likewise.
8484         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8485         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8486         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8487         (__ASSUME_SENDMMSG): Define instead of using previous
8488         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8489         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8490         (__ASSUME_SENDMMSG_SYSCALL): Define.
8491         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8492         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8493         Likewise.
8494         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8495         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8496         Likewise.
8497         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8498         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8499         Likewise.
8500         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8501         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8502         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8503         [__ASSUME_SENDMMSG]: Change conditionals to
8504         [__ASSUME_SENDMMSG_SOCKETCALL].
8505         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8506         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8507         Define.
8508         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8509         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8510         Likewise.
8511         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8512         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8513         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8514         [!__ASSUME_SENDMMSG]: Change conditional to
8515         [!__ASSUME_SENDMMSG_SOCKETCALL].
8516         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8517         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8518         Define.
8519
8520         [BZ #16610]
8521         * sysdeps/unix/sysv/linux/kernel-features.h
8522         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8523         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8524         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8525         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8526         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8527         [__i386__ || __sparc__]
8528         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8529         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8530         (__ASSUME_RECVMMSG): Define instead of using previous
8531         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8532         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8533         (__ASSUME_RECVMMSG_SYSCALL): Define.
8534         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8535         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8536         Likewise.
8537         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8538         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8539         Likewise.
8540         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8541         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8542         Likewise.
8543         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8544         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8545         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8546         [__ASSUME_RECVMMSG]: Change condition to
8547         [__ASSUME_RECVMMSG_SOCKETCALL].
8548         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8549         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8550         Define.
8551         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8552         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8553         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8554         Likewise.
8555         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8556         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8557         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8558         [!__ASSUME_RECVMMSG]: Change condition to
8559         [!__ASSUME_RECVMMSG_SOCKETCALL].
8560         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8561         (__ASSUME_RECVMMSG_SYSCALL): Define.
8562
8563         [BZ #16609]
8564         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8565         __powerpc__ || __s390__ || __sh__ || __sparc__]
8566         (__ASSUME_SOCKETCALL): Define.
8567         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8568         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8569         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8570         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8571         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8572         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8573         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8574         (__ASSUME_ACCEPT4): Define instead of using previous
8575         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8576         __powerpc__ || __sparc__ || __s390__)] condition.
8577         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8578         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8579         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8580         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8581         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8582         [!__ASSUME_ACCEPT4]: Change condition to
8583         [!__ASSUME_ACCEPT4_SOCKETCALL].
8584         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8585         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8586         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8587         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8588         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8589         __ASSUME_ACCEPT4_SYSCALL.
8590         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8591         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8592         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8593         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8594         __ASSUME_ACCEPT4_SYSCALL.
8595         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8596         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8597         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8598         [__ASSUME_ACCEPT4]: Change condition to
8599         [__ASSUME_ACCEPT4_SOCKETCALL].
8600         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8601         (__ASSUME_SOCKETCALL): Define.
8602         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8603         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8604         (__ASSUME_SOCKETCALL): Define.
8605         (__ASSUME_ACCEPT4): Remove.
8606         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8607         Define.
8608         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8609         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8610         Likewise.
8611         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8612         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8613
8614         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8615         macro.
8616         (HWCAP_ARM_LPAE): Likewise.
8617         (HWCAP_ARM_EVTSTRM): Likewise.
8618         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8619         Add vpfd32, lpae and evtstrm.
8620         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8621         Increase to 22.
8622
8623 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8624
8625         * math/auto-libm-test-in: Add tests of clog10.
8626         * math/auto-libm-test-out: Regenerated.
8627         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8628         * sysdeps/i386/fpu/libm-test-ulps: Update.
8629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8630
8631 2014-02-18  Andreas Schwab  <schwab@suse.de>
8632
8633         [BZ #16574]
8634         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8635         Store non-zero if the second buffer was newly allocated.
8636         (send_dg): Likewise.
8637         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8638         to send_vc and send_dg.
8639         (res_nsend): Pass NULL for ansp2_malloced.
8640         * resolv/res_query.c (__libc_res_nquery): Add parameter
8641         answerp2_malloced and pass it down to __libc_res_nsend.
8642         (res_nquery): Pass additional NULL to __libc_res_nquery.
8643         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8644         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8645         second answer buffer if answerp2_malloced was set.
8646         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8647         (__libc_res_nquerydomain): Add parameter
8648         answerp2_malloced and pass it down to __libc_res_nquery.
8649         (res_nquerydomain): Pass additional NULL to
8650         __libc_res_nquerydomain.
8651         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8652         additional NULL to __libc_res_nsend and __libc_res_nquery.
8653         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8654         additional NULL to __libc_res_nsearch.
8655         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8656         parameter of __libc_res_nsearch to check for separately allocated
8657         second buffer.
8658         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8659         __libc_res_nquery.
8660         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8661         additional NULL to __libc_res_nquery.
8662         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8663         __libc_res_nsearch.
8664         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8665         * include/resolv.h: Update prototypes of __libc_res_nquery,
8666         __libc_res_nsearch, __libc_res_nsend.
8667
8668 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8669
8670         * math/auto-libm-test-in: Add tests of fma.
8671         * math/auto-libm-test-out: Regenerated.
8672         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8673         (fma_towardzero_test_data): Likewise.
8674         (fma_downward_test_data): Likewise.
8675         (fma_upward_test_data): Likewise.
8676         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8677         mpc_mode.
8678         (rounding_modes): Add values for new field.
8679         (func_calc_method): Add value mpfr_fff_f.
8680         (func_calc_desc): Add mpfr_fff_f union field.
8681         (test_function): Add field exact_args.
8682         (FUNC): Add macro argument EXACT_ARGS.
8683         (FUNC_mpfr_f_f): Update call to FUNC.
8684         (FUNC_mpfr_f_f): Likewise.
8685         (FUNC_mpfr_ff_f): Likewise.
8686         (FUNC_mpfr_if_f): Likewise.
8687         (FUNC_mpc_c_f): Likewise.
8688         (FUNC_mpc_c_c): Likewise.
8689         (test_functions): Add fma.  Update calls to FUNC.
8690         (handle_input_arg): Add argument exact_args.
8691         (add_test): Update call to handle_input_arg.
8692         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8693         (output_for_one_input_case): Update call to calc_generic_results.
8694         Recalculate exact zero results in each rounding mode.
8695
8696         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8697         non-negative before setting low bit.
8698         * math/auto-libm-test-in: Mark one asin test possibly having
8699         spurious underflow.
8700         * math/auto-libm-test-out: Regenerated.
8701         * sysdeps/i386/fpu/libm-test-ulps: Update.
8702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8703
8704 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8705
8706         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8707         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8708         ports/sysdeps/unix/sysv/linux/microblaze.
8709         * README: Add missing listing for microblaze*-*-linux-gnu.
8710
8711 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8712
8713         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8714         * sysdeps/unix/sysv/linux/ia64: Move directory from
8715         ports/sysdeps/unix/sysv/linux/ia64.
8716         * README: Update listing for ia64-*-linux-gnu.
8717
8718 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8719             Joseph Myers  <joseph@codesourcery.com>
8720
8721         * Makeconfig (test-name): New variable.
8722         (evaluate-test): Likewise.
8723         * Makerules (do-test-clean): Remove .test-result files.
8724         (common-mostlyclean): Likewise.
8725         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8726         * scripts/evaluate-test.sh: New file.
8727
8728 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8729
8730         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8731         separate $(objpfx)tst-fopenloc-cmp.out and
8732         $(objpfx)tst-fopenloc-mem.out targets.
8733         (tests): Update dependencies.
8734         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8735         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8736         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8737         (tst-rxspencer-no-utf8-ARGS): New variable.
8738         (tst-rxspencer-no-utf8-ENV): Likewise.
8739         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8740         instead of $(objpfx)tst-rxspencer-mem.
8741         ($(objpfx)tst-rxspencer-mem): Change target to
8742         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8743         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8744         * posix/tst-rxspencer-no-utf8.c: New file.
8745
8746         * elf/Makefile ($(objpfx)order.out): Remove rule.
8747         [$(run-built-tests) = yes] (tests): Depend on
8748         $(objpfx)order-cmp.out.
8749         ($(objpfx)order-cmp.out): New rule.
8750         [$(run-built-tests) = yes] (tests): Depend on
8751         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8752         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8753         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8754         $(objpfx)tst-array5-static-cmp.out.
8755         ($(objpfx)tst-array1.out): Remove rule.
8756         ($(objpfx)tst-array1-cmp.out): New rule.
8757         ($(objpfx)tst-array1-static.out): Remove rule.
8758         ($(objpfx)tst-array1-static-cmp.out): New rule.
8759         ($(objpfx)tst-array2.out): Remove rule.
8760         ($(objpfx)tst-array2-cmp.out): New rule.
8761         ($(objpfx)tst-array3.out): Remove rule.
8762         ($(objpfx)tst-array3-cmp.out): New rule.
8763         ($(objpfx)tst-array4.out): Remove rule.
8764         ($(objpfx)tst-array4-cmp.out): New rule.
8765         ($(objpfx)tst-array5.out): Remove rule.
8766         ($(objpfx)tst-array5-cmp.out): New rule.
8767         ($(objpfx)tst-array5-static.out): Remove rule.
8768         ($(objpfx)tst-array5-static-cmp.out): New rule.
8769         [$(run-built-tests) = yes] (tests): Depend on
8770         $(objpfx)order2-cmp.out.
8771         ($(objpfx)order2.out): Remove rule.
8772         ($(objpfx)order2-cmp.out): New rule.
8773         ($(objpfx)tst-initorder.out): Remove rule.
8774         [$(run-built-tests) = yes] (tests): Depend on
8775         $(objpfx)tst-initorder-cmp.out.
8776         ($(objpfx)tst-initorder-cmp.out): New rule.
8777         ($(objpfx)tst-initorder2.out): Remove rule.
8778         [$(run-built-tests) = yes] (tests): Depend on
8779         $(objpfx)tst-initorder2-cmp.out.
8780         ($(objpfx)tst-initorder2-cmp.out): New rule.
8781         [$(run-built-tests) = yes] (tests): Depend on
8782         $(objpfx)tst-unused-dep-cmp.out.
8783         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8784         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8785         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8786         on $(objpfx)tst-setvbuf1-cmp.out.
8787         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8788         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8789         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8790         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8791         ($(objpfx)tst-svc.out): Remove rule.
8792         ($(objpfx)tst-svc-cmp.out): New rule.
8793
8794 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8795
8796         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8797         * ctype/ctype.h [__USE_MISC]: Likewise.
8798         * dirent/dirent.h [__USE_MISC]: Likewise.
8799         * grp/grp.h [__USE_MISC]: Likewise.
8800         * io/fcntl.h [__USE_MISC]: Likewise.
8801         * io/sys/stat.h [__USE_MISC]: Likewise.
8802         * libio/stdio.h [__USE_MISC]: Likewise.
8803         * posix/unistd.h [__USE_MISC]: Likewise.
8804         * pwd/pwd.h [__USE_MISC]: Likewise.
8805         * stdlib.h [__USE_MISC]: Likewise.
8806         * string/bits/string2.h [__USE_MISC]: Likewise.
8807         * string/string.h [__USE_MISC]: Likewise.
8808         * time/time.h [__USE_MISC]: Likewise.
8809
8810 2014-02-13  Andreas Schwab  <schwab@suse.de>
8811
8812         [BZ #16574]
8813         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8814         second answer buffer if it was separately allocated.
8815
8816 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8817
8818         * sysdeps/mips/math-tests.h: Include <features.h>.
8819         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8820         (ROUNDING_TESTS_long_double): Do not define.
8821         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8822         (EXCEPTION_TESTS_long_double): Likewise.
8823         * sysdeps/mips/mips64/libm-test-ulps: Update.
8824
8825         * include/features.h (__USE_BSD): Remove macro definitions.
8826         (__USE_SVID): Likewise.
8827         (_BSD_SOURCE): Likewise.
8828         (_SVID_SOURCE): Likewise.
8829         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8830         from definition of _DEFAULT_SOURCE.
8831         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8832         [_DEFAULT_SOURCE].
8833         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8834         * bits/mman.h [__USE_BSD]: Likewise.
8835         * bits/termios.h [__USE_BSD]: Likewise.
8836         * bits/waitstatus.h [__USE_BSD]: Likewise.
8837         * ctype/ctype.h [__USE_SVID]: Likewise.
8838         * dirent/dirent.h [__USE_BSD]: Likewise.
8839         * grp/grp.h [__USE_SVID]: Likewise.
8840         [__USE_BSD]: Likewise.
8841         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8842         * io/fcntl.h [__USE_BSD]: Likewise.
8843         * io/ftw.h [__USE_BSD]: Likewise.
8844         * io/sys/stat.h [__USE_BSD]: Likewise.
8845         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8846         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8847         * libio/stdio.h [__USE_SVID]: Likewise.
8848         [__USE_BSD]: Likewise.
8849         * math/math.h [__USE_SVID]: Likewise.
8850         [__USE_BSD]: Likewise.
8851         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8852         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8853         * misc/search.h [__USE_SVID]: Likewise.
8854         * misc/sys/mman.h [__USE_BSD]: Likewise.
8855         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8856         * misc/sys/uio.h [__USE_BSD]: Likewise.
8857         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8858         * posix/glob.h [__USE_BSD]: Likewise.
8859         * posix/regex.h [__USE_BSD]: Likewise.
8860         * posix/sys/types.h [__USE_BSD]: Likewise.
8861         [__USE_SVID]: Likewise.
8862         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8863         * posix/sys/wait.h [__USE_BSD]: Likewise.
8864         [__USE_SVID]: Likewise.
8865         * posix/unistd.h [__USE_BSD]: Likewise.
8866         [__USE_SVID]: Likewise.
8867         * pwd/pwd.h [__USE_SVID]: Likewise.
8868         * resolv/netdb.h [__USE_BSD]: Likewise.
8869         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8870         * signal/signal.h [__USE_BSD]: Likewise.
8871         [__USE_SVID]: Likewise.
8872         * socket/sys/socket.h [__USE_BSD]: Likewise.
8873         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8874         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8875         [__USE_SVID]: Likewise.
8876         * string/bits/string2.h [__USE_BSD]: Likewise.
8877         [__USE_SVID]: Likewise.
8878         * string/bits/string3.h [__USE_BSD]: Likewise.
8879         * string/endian.h [__USE_BSD]: Likewise.
8880         * string/string.h [__USE_SVID]: Likewise.
8881         [__USE_BSD]: Likewise.
8882         * string/strings.h [__USE_BSD]: Likewise.
8883         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8884         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8885         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8886         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8887         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8888         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8889         Likewise.
8890         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8891         Likewise.
8892         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8893         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8894         Likewise.
8895         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8896         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8897         Likewise.
8898         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8899         Likewise.
8900         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8901         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8902         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8903         Likewise.
8904         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8905         Likewise.
8906         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8907         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8908         * termios/termios.h [__USE_BSD]: Likewise.
8909         * time/sys/time.h [__USE_BSD]: Likewise.
8910         * time/time.h [__USE_BSD]: Likewise.
8911         [__USE_SVID]: Likewise.
8912
8913         * Makefile (subdir_targets): Remove subdir_lint.out.
8914
8915         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8916         (do-tst-printf): Likewise.
8917         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8918         $(objpfx)tst-printf.out.
8919
8920         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8921
8922         * Makerules (check-abi-%): Change target to
8923         $(objpfx)check-abi-%.out.
8924         (check-abi target): Update dependencies.
8925         (check-abi-pattern variable): Redirect output of diff to $@.
8926         (check-abi variable): Likewise.
8927         * elf/Makefile (check-abi): Update dependencies.
8928
8929         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8930         unused.
8931         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8932         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8933         subnormal range.
8934         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8935         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8936         value has largest subnormal exponent.
8937         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8938         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8939         * sysdeps/aarch64/soft-fp/sfp-machine.h
8940         (_FP_TININESS_AFTER_ROUNDING): New macro.
8941         * sysdeps/alpha/soft-fp/sfp-machine.h
8942         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8943         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8944         Likewise.
8945         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8946         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8947         * sysdeps/mips/soft-fp/sfp-machine.h
8948         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8949         * sysdeps/powerpc/soft-fp/sfp-machine.h
8950         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8951         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8952         Likewise.
8953         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8954         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8955         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8956         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8957         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8958         Likewise.
8959
8960 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8961
8962         [BZ #16545]
8963         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8964         model 1.
8965
8966 2014-02-12  Richard Henderson  <rth@redhat.com>
8967
8968         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8969         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8970         * sysdeps/unix/sysv/linux/alpha: Move directory from
8971         ports/sysdeps/unix/sysv/linux/alpha.
8972         * README: Update listing for alpha-*-linux-gnu.
8973
8974 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8975
8976         * include/features.h: Update comment documenting feature test
8977         macros.
8978         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8979         _DEFAULT_SOURCE.
8980         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8981         (_SVID_SOURCE): Likewise.
8982         (_DEFAULT_SOURCE): Update description of default features.
8983         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8984         with _GNU_SOURCE.
8985         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8986         (S_ISVTX): Likewise.
8987         * manual/math.texi (Mathematical Constants): Likewise.
8988         * manual/signal.texi (Interrupted Primitives): Likewise.
8989         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8990         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8991         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8992         Don't refer to _SVID_SOURCE in warning text.
8993
8994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8995
8996         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8997         already defined.
8998         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8999         * sysdeps/mips/dl-lookup.c: Remove.
9000         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9001
9002 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9003
9004         [BZ #16447]
9005         * math/auto-libm-test-in: Add testcase for expl.
9006         * math/auto-libm-test-out: Regenerate.
9007         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9008         calculation of unsafe.
9009         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9010
9011 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9012
9013         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9014         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9015         ports/sysdeps/unix/sysv/linux/aarch64.
9016         * README: Update listing for aarch64*-*-linux-gnu.
9017
9018 2014-02-11  Will Newton  <will.newton@linaro.org>
9019
9020         * manual/probes.texi (Mathematical Function Probes): Use
9021         "triggered" instead of "hit".
9022
9023         * manual/probes.texi (Internal Probes): Add documentation
9024         of setjmp, longjmp and longjmp_target probes.
9025
9026         * include/stap-probe.h: Add comment about probe argument
9027         format.
9028
9029         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9030         definition.  (tr_where, tr_freehook, tr_mallochook,
9031         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9032
9033 2014-02-11  David S. Miller  <davem@davemloft.net>
9034
9035         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9036         processing int_tests.
9037
9038 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9039
9040         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9041         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9042         * sysdeps/unix/sysv/linux/mips: Move directory from
9043         ports/sysdeps/unix/sysv/linux/mips.
9044         * README: Update listing for mips-*-linux-gnu and
9045         mips64-*-linux-gnu.
9046
9047 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9048
9049         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9050         * sysdeps/unix/sysv/linux/m68k: Move directory from
9051         ports/sysdeps/unix/sysv/linux/m68k.
9052         * README: Update listing for m68k-*-linux-gnu.
9053
9054 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9055
9056         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9057         * sysdeps/unix/sysv/linux/generic: Move directory from
9058         ports/sysdeps/unix/sysv/linux/generic.
9059         * sysdeps/unix/sysv/linux/tile: Move directory from
9060         ports/sysdeps/unix/sysv/linux/tile.
9061         * README: Update listing for tile*-*-linux-gnu.
9062
9063 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9064
9065         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9066         __builtin_expect.
9067         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9068         * catgets/open_catalog.c (__open_catalog): Likewise.
9069         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9070         * debug/confstr_chk.c: Likewise.
9071         * debug/fread_chk.c (__fread_chk): Likewise.
9072         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9073         * debug/getgroups_chk.c: Likewise.
9074         * debug/mbsnrtowcs_chk.c: Likewise.
9075         * debug/mbsrtowcs_chk.c: Likewise.
9076         * debug/mbstowcs_chk.c: Likewise.
9077         * debug/memcpy_chk.c: Likewise.
9078         * debug/memmove_chk.c: Likewise.
9079         * debug/mempcpy_chk.c: Likewise.
9080         * debug/memset_chk.c: Likewise.
9081         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9082         * debug/strcat_chk.c (__strcat_chk): Likewise.
9083         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9084         * debug/strncat_chk.c (__strncat_chk): Likewise.
9085         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9086         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9087         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9088         * debug/wcpncpy_chk.c: Likewise.
9089         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9090         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9091         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9092         * debug/wcsncpy_chk.c: Likewise.
9093         * debug/wcsnrtombs_chk.c: Likewise.
9094         * debug/wcsrtombs_chk.c: Likewise.
9095         * debug/wcstombs_chk.c: Likewise.
9096         * debug/wmemcpy_chk.c: Likewise.
9097         * debug/wmemmove_chk.c: Likewise.
9098         * debug/wmempcpy_chk.c: Likewise.
9099         * debug/wmemset_chk.c: Likewise.
9100         * dirent/scandirat.c (SCANDIRAT): Likewise.
9101         * dlfcn/dladdr1.c (dladdr1): Likewise.
9102         * dlfcn/dladdr.c (dladdr): Likewise.
9103         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9104         * dlfcn/dlerror.c (__dlerror): Likewise.
9105         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9106         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9107         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9108         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9109         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9110         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9111         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9112         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9113         Likewise.
9114         * elf/dl-conflict.c: Likewise.
9115         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9116         * elf/dl-dst.h: Likewise.
9117         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9118         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9119         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9120         * elf/dl-init.c (call_init, _dl_init): Likewise.
9121         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9122         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9123         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9124         Likewise.
9125         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9126         Likewise.
9127         * elf/dl-minimal.c (__libc_memalign): Likewise.
9128         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9129         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9130         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9131         * elf/dl-sym.c (do_sym): Likewise.
9132         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9133         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9134         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9135         * elf/dl-writev.h (_dl_writev): Likewise.
9136         * elf/ldconfig.c (search_dir): Likewise.
9137         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9138         (dl_main): Likewise.
9139         * elf/setup-vdso.h (setup_vdso): Likewise.
9140         * grp/compat-initgroups.c (compat_call): Likewise.
9141         * grp/fgetgrent.c (fgetgrent): Likewise.
9142         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9143         * grp/putgrent.c (putgrent): Likewise.
9144         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9145         Likewise.
9146         * hurd/hurdinit.c: Likewise.
9147         * iconvdata/8bit-gap.c (struct): Likewise.
9148         * iconvdata/ansi_x3.110.c : Likewise.
9149         * iconvdata/big5.c : Likewise.
9150         * iconvdata/big5hkscs.c : Likewise.
9151         * iconvdata/cp1255.c: Likewise.
9152         * iconvdata/cp1258.c : Likewise.
9153         * iconvdata/cp932.c : Likewise.
9154         * iconvdata/euc-cn.c: Likewise.
9155         * iconvdata/euc-jisx0213.c : Likewise.
9156         * iconvdata/euc-jp.c: Likewise.
9157         * iconvdata/euc-jp-ms.c : Likewise.
9158         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9159         * iconvdata/gb18030.c : Likewise.
9160         * iconvdata/gbbig5.c (const): Likewise.
9161         * iconvdata/gbgbk.c: Likewise.
9162         * iconvdata/gbk.c : Likewise.
9163         * iconvdata/ibm1364.c : Likewise.
9164         * iconvdata/ibm930.c : Likewise.
9165         * iconvdata/ibm932.c: Likewise.
9166         * iconvdata/ibm933.c : Likewise.
9167         * iconvdata/ibm935.c : Likewise.
9168         * iconvdata/ibm937.c : Likewise.
9169         * iconvdata/ibm939.c : Likewise.
9170         * iconvdata/ibm943.c: Likewise.
9171         * iconvdata/iso_11548-1.c: Likewise.
9172         * iconvdata/iso-2022-cn.c : Likewise.
9173         * iconvdata/iso-2022-cn-ext.c : Likewise.
9174         * iconvdata/iso-2022-jp-3.c: Likewise.
9175         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9176         * iconvdata/iso-2022-kr.c : Likewise.
9177         * iconvdata/iso646.c (gconv_end): Likewise.
9178         * iconvdata/iso_6937-2.c : Likewise.
9179         * iconvdata/iso_6937.c : Likewise.
9180         * iconvdata/iso8859-1.c: Likewise.
9181         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9182         * iconvdata/shift_jisx0213.c : Likewise.
9183         * iconvdata/sjis.c : Likewise.
9184         * iconvdata/t.61.c : Likewise.
9185         * iconvdata/tcvn5712-1.c : Likewise.
9186         * iconvdata/tscii.c: Likewise.
9187         * iconvdata/uhc.c : Likewise.
9188         * iconvdata/unicode.c (gconv_end): Likewise.
9189         * iconvdata/utf-16.c (gconv_end): Likewise.
9190         * iconvdata/utf-32.c (gconv_end): Likewise.
9191         * iconvdata/utf-7.c (base64): Likewise.
9192         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9193         * iconv/gconv_close.c (__gconv_close): Likewise.
9194         * iconv/gconv_open.c (__gconv_open): Likewise.
9195         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9196         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9197         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9198         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9199         (ucs4le_internal_loop_single): Likewise.
9200         * iconv/iconv.c (iconv): Likewise.
9201         * iconv/iconv_close.c: Likewise.
9202         * iconv/loop.c (SINGLE): Likewise.
9203         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9204         * include/atomic.h: Likewise.
9205         * inet/inet6_option.c (option_alloc): Likewise.
9206         * intl/bindtextdom.c (set_binding_values): Likewise.
9207         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9208         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9209         * intl/localealias.c (read_alias_file): Likewise.
9210         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9211         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9212         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9213         * libio/fmemopen.c (fmemopen): Likewise.
9214         * libio/iofgets.c (_IO_fgets): Likewise.
9215         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9216         * libio/iofgetws.c (fgetws): Likewise.
9217         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9218         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9219         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9220         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9221         * locale/findlocale.c (_nl_find_locale): Likewise.
9222         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9223         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9224         Likewise.
9225         * locale/setlocale.c (setlocale): Likewise.
9226         * login/programs/pt_chown.c (main): Likewise.
9227         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9228         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9229         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9230         (mmap, mmap64, mremap, munmap): Likewise.
9231         * math/e_exp2l.c: Likewise.
9232         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9233         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9234         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9235         * math/s_catan.c (__catan): Likewise.
9236         * math/s_catanf.c (__catanf): Likewise.
9237         * math/s_catanh.c (__catanh): Likewise.
9238         * math/s_catanhf.c (__catanhf): Likewise.
9239         * math/s_catanhl.c (__catanhl): Likewise.
9240         * math/s_catanl.c (__catanl): Likewise.
9241         * math/s_ccosh.c (__ccosh): Likewise.
9242         * math/s_ccoshf.c (__ccoshf): Likewise.
9243         * math/s_ccoshl.c (__ccoshl): Likewise.
9244         * math/s_cexp.c (__cexp): Likewise.
9245         * math/s_cexpf.c (__cexpf): Likewise.
9246         * math/s_cexpl.c (__cexpl): Likewise.
9247         * math/s_clog10.c (__clog10): Likewise.
9248         * math/s_clog10f.c (__clog10f): Likewise.
9249         * math/s_clog10l.c (__clog10l): Likewise.
9250         * math/s_clog.c (__clog): Likewise.
9251         * math/s_clogf.c (__clogf): Likewise.
9252         * math/s_clogl.c (__clogl): Likewise.
9253         * math/s_csin.c (__csin): Likewise.
9254         * math/s_csinf.c (__csinf): Likewise.
9255         * math/s_csinh.c (__csinh): Likewise.
9256         * math/s_csinhf.c (__csinhf): Likewise.
9257         * math/s_csinhl.c (__csinhl): Likewise.
9258         * math/s_csinl.c (__csinl): Likewise.
9259         * math/s_csqrt.c (__csqrt): Likewise.
9260         * math/s_csqrtf.c (__csqrtf): Likewise.
9261         * math/s_csqrtl.c (__csqrtl): Likewise.
9262         * math/s_ctan.c (__ctan): Likewise.
9263         * math/s_ctanf.c (__ctanf): Likewise.
9264         * math/s_ctanh.c (__ctanh): Likewise.
9265         * math/s_ctanhf.c (__ctanhf): Likewise.
9266         * math/s_ctanhl.c (__ctanhl): Likewise.
9267         * math/s_ctanl.c (__ctanl): Likewise.
9268         * math/w_pow.c: Likewise.
9269         * math/w_powf.c: Likewise.
9270         * math/w_powl.c: Likewise.
9271         * math/w_scalb.c (sysv_scalb): Likewise.
9272         * math/w_scalbf.c (sysv_scalbf): Likewise.
9273         * math/w_scalbl.c (sysv_scalbl): Likewise.
9274         * misc/error.c (error_tail): Likewise.
9275         * misc/pselect.c (__pselect): Likewise.
9276         * nis/nis_callback.c (__nis_create_callback): Likewise.
9277         * nis/nis_call.c (__nisfind_server): Likewise.
9278         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9279         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9280         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9281         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9282         * nis/nis_lookup.c (nis_lookup): Likewise.
9283         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9284         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9285         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9286         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9287         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9288         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9289         * nis/nss_compat/compat-initgroups.c (add_group)
9290         (internal_getgrent_r): Likewise.
9291         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9292         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9293         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9294         (internal_getspnam_r): Likewise.
9295         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9296         (_nss_nis_getaliasbyname_r): Likewise.
9297         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9298         (_nss_nis_getntohost_r): Likewise.
9299         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9300         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9301         (_nss_nis_getgrgid_r): Likewise.
9302         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9303         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9304         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9305         (_nss_nis_gethostbyname4_r): Likewise.
9306         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9307         (initgroups_netid): Likewise.
9308         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9309         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9310         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9311         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9312         (_nss_nis_getprotobynumber_r): Likewise.
9313         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9314         (_nss_nis_getsecretkey): Likewise.
9315         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9316         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9317         (_nss_nis_getpwuid_r): Likewise.
9318         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9319         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9320         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9321         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9322         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9323         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9324         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9325         Likewise.
9326         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9327         (_nss_nisplus_getntohost_r): Likewise.
9328         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9329         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9330         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9331         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9332         Likewise.
9333         * nis/nss_nisplus/nisplus-initgroups.c
9334         (_nss_nisplus_initgroups_dyn): Likewise.
9335         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9336         (_nss_nisplus_getnetbyaddr_r): Likewise.
9337         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9338         (_nss_nisplus_getprotobynumber_r): Likewise.
9339         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9340         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9341         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9342         Likewise.
9343         * nis/nss_nisplus/nisplus-service.c
9344         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9345         (_nss_nisplus_getservbyport_r): Likewise.
9346         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9347         (_nss_nisplus_getspnam_r): Likewise.
9348         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9349         Likewise.
9350         * nscd/aicache.c (addhstaiX): Likewise.
9351         * nscd/cache.c (cache_search, prune_cache): Likewise.
9352         * nscd/connections.c (register_traced_file, send_ro_fd)
9353         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9354         (main_loop_epoll): Likewise.
9355         * nscd/grpcache.c (addgrbyX): Likewise.
9356         * nscd/hstcache.c (addhstbyX): Likewise.
9357         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9358         * nscd/mem.c (gc, mempool_alloc): Likewise.
9359         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9360         (addinnetgrX): Likewise.
9361         * nscd/nscd-client.h (__nscd_acquire_maplock)
9362         (__nscd_drop_map_ref): Likewise.
9363         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9364         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9365         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9366         Likewise.
9367         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9368         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9369         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9370         (__nscd_get_map_ref): Likewise.
9371         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9372         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9373         Likewise.
9374         * nscd/pwdcache.c (addpwbyX): Likewise.
9375         * nscd/selinux.c (preserve_capabilities): Likewise.
9376         * nscd/servicescache.c (addservbyX): Likewise.
9377         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9378         * posix/fnmatch.c (fnmatch): Likewise.
9379         * posix/getopt.c (_getopt_internal_r): Likewise.
9380         * posix/glob.c (glob, glob_in_dir): Likewise.
9381         * posix/wordexp.c (exec_comm_child): Likewise.
9382         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9383         (getanswer_r, gaih_getanswer_slice): Likewise.
9384         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9385         * resolv/res_init.c: Likewise.
9386         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9387         * resolv/res_query.c (__libc_res_nquery): Likewise.
9388         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9389         Likewise.
9390         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9391         * stdio-common/perror.c (perror): Likewise.
9392         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9393         * stdio-common/tmpnam.c (tmpnam): Likewise.
9394         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9395         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9396         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9397         Likewise.
9398         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9399         * stdlib/putenv.c (putenv): Likewise.
9400         * stdlib/setenv.c (__add_to_environ): Likewise.
9401         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9402         * stdlib/strtol_l.c (INTERNAL): Likewise.
9403         * string/memmem.c (memmem): Likewise.
9404         * string/strerror.c (strerror): Likewise.
9405         * string/strnlen.c (__strnlen): Likewise.
9406         * string/test-memmem.c (simple_memmem): Likewise.
9407         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9408         * sunrpc/pm_getport.c (__get_socket): Likewise.
9409         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9410         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9411         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9412         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9413         Likewise.
9414         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9415         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9416         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9417         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9418         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9419         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9420         Likewise.
9421         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9422         Likewise.
9423         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9424         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9425         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9426         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9427         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9428         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9429         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9430         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9431         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9432         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9433         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9434         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9435         Likewise.
9436         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9437         Likewise.
9438         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9439         Likewise.
9440         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9441         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9442         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9443         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9444         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9445         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9446         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9447         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9448         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9449         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9450         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9451         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9452         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9453         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9454         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9455         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9456         Likewise.
9457         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9458         Likewise.
9459         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9460         Likewise.
9461         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9462         Likewise.
9463         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9464         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9465         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9466         Likewise.
9467         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9468         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9469         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9470         * sysdeps/posix/sleep.c: Likewise.
9471         * sysdeps/posix/tempname.c: Likewise.
9472         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9473         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9474         Likewise.
9475         * sysdeps/powerpc/powerpc32/dl-machine.h
9476         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9477         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9478         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9479         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9480         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9481         Likewise.
9482         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9483         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9484         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9485         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9486         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9487         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9488         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9489         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9490         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9491         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9492         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9493         (elf_machine_lazy_rel): Likewise.
9494         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9495         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9496         (elf_machine_lazy_rel): Likewise.
9497         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9498         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9499         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9500         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9501         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9502         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9503         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9504         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9505         Likewise.
9506         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9507         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9508         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9509         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9510         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9511         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9512         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9513         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9514         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9515         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9516         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9517         Likewise.
9518         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9519         (__posix_fallocate64_l64): Likewise.
9520         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9521         (posix_fallocate): Likewise.
9522         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9523         Likewise.
9524         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9525         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9526         (getifaddrs_internal): Likewise.
9527         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9528         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9529         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9530         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9531         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9532         (__posix_fallocate64_l64): Likewise.
9533         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9534         Likewise.
9535         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9536         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9537         (__get_clockfreq): Likewise.
9538         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9539         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9540         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9541         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9542         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9543         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9544         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9545         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9546         Likewise.
9547         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9548         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9549         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9550         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9551         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9552         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9553         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9554         Likewise.
9555         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9556         (posix_fallocate): Likewise.
9557         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9558         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9559         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9560         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9561         (elf_machine_rela, elf_machine_rela_relative)
9562         (elf_machine_lazy_rel): Likewise.
9563         * time/asctime.c (asctime_internal): Likewise.
9564         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9565         * time/tzset.c (__tzset_parse_tz): Likewise.
9566         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9567         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9568         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9569         * wcsmbs/wcsmbsload.h: Likewise.
9570
9571         [BZ #15894]
9572         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9573
9574         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9575         (arena_get2): Remove THREAD_STATS conditionals.
9576         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9577         (__malloc_stats, int): Likewise.
9578
9579 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9580
9581         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9582         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9583
9584         * manual/setjmp.texi: Fix typos/grammar errors.
9585
9586         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9587         Only return early when n is <= 0.  Delete unused return statement.
9588
9589         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9590         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9591         * debug/tst-longjmp_chk3.c: New file.
9592
9593         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9594         (test_main): Replace code with set_fortify_handler call.
9595         * debug/test-strcpy_chk.c: Likewise.
9596         * debug/tst-chk1.c: Likewise.
9597         * debug/tst-longjmp_chk.c: Likewise.
9598         * test-skeleton.c: Include fcntl.h & paths.h
9599         (set_fortify_handler): Define.
9600
9601         * debug/tst-longjmp_chk.c: Add header comment and include
9602         ../test-skeleton.c.
9603         (do_test): Mark static.
9604         (TEST_FUNCTION): Define.
9605
9606         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9607         (IP_PMTUDISC_INTERFACE): Likewise.
9608         (IP_MULTICAST_IF): Likewise.
9609         (IP_MULTICAST_TTL): Likewise.
9610         (IP_MULTICAST_LOOP): Likewise.
9611         (IP_ADD_MEMBERSHIP): Likewise.
9612         (IP_DROP_MEMBERSHIP): Likewise.
9613         (IP_UNBLOCK_SOURCE): Likewise.
9614         (IP_BLOCK_SOURCE): Likewise.
9615         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9616         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9617         (IP_MSFILTER): Likewise.
9618         (MCAST_JOIN_GROUP): Likewise.
9619         (MCAST_BLOCK_SOURCE): Likewise.
9620         (MCAST_UNBLOCK_SOURCE): Likewise.
9621         (MCAST_LEAVE_GROUP): Likewise.
9622         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9623         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9624         (MCAST_MSFILTER): Likewise.
9625         (IP_MULTICAST_ALL): Likewise.
9626         (IP_UNICAST_IF): Likewise.
9627
9628         * timezone/Makefile: Delete $(have-ksh) check.
9629         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9630         * timezone/tzselect.ksh: Add +x mode bits.
9631
9632         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9633         (ANON_INODE_FS_MAGIC): Likewise.
9634         (BDEVFS_MAGIC): Likewise.
9635         (BINFMTFS_MAGIC): Likewise.
9636         (BTRFS_TEST_MAGIC): Likewise.
9637         (CRAMFS_MAGIC_WEND): Likewise.
9638         (DEBUGFS_MAGIC): Likewise.
9639         (ECRYPTFS_SUPER_MAGIC): Likewise.
9640         (EXT3_SUPER_MAGIC): Likewise.
9641         (EXT4_SUPER_MAGIC): Likewise.
9642         (FUTEXFS_SUPER_MAGIC): Likewise.
9643         (HOSTFS_SUPER_MAGIC): Likewise.
9644         (HUGETLBFS_MAGIC): Likewise.
9645         (MINIX3_SUPER_MAGIC): Likewise.
9646         (MTD_INODE_FS_MAGIC): Likewise.
9647         (NILFS_SUPER_MAGIC): Likewise.
9648         (OPENPROM_SUPER_MAGIC): Likewise.
9649         (PIPEFS_MAGIC): Likewise.
9650         (PSTOREFS_MAGIC): Likewise.
9651         (QNX6_SUPER_MAGIC): Likewise.
9652         (RAMFS_MAGIC): Likewise.
9653         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9654         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9655         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9656         (SECURITYFS_MAGIC): Likewise.
9657         (SELINUX_MAGIC): Likewise.
9658         (SMACK_MAGIC): Likewise.
9659         (SOCKFS_MAGIC): Likewise.
9660         (SQUASHFS_MAGIC): Likewise.
9661         (STACK_END_MAGIC): Likewise.
9662         (TMPFS_MAGIC): Likewise.
9663         (USBDEVICE_SUPER_MAGIC): Likewise.
9664         (V9FS_MAGIC): Likewise.
9665         (XENFS_SUPER_MAGIC): Likewise.
9666         (CRAMFS_MAGIC): Fix typo in comment.
9667         (EXT2_SUPER_MAGIC): Update comment.
9668         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9669
9670 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9671
9672         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9673         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9674         * sysdeps/unix/sysv/linux/arm: Move directory from
9675         ports/sysdeps/unix/sysv/linux/arm.
9676         * README: Update listing for arm-*-linux-gnueabi.
9677
9678         * README: Remove mention of am33.
9679
9680 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9681
9682         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9683         than the comma operator, to avoid "rhs of comma has no effect"
9684         compiler warnings.
9685         (__sigfillset, __sigandset, __sigorset): Likewise.
9686         * include/signal.h (__sigemptyset): Likewise.
9687         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9688
9689 2014-02-07  Allan McRae  <allan@archlinux.org>
9690
9691         * version.h (RELEASE): Set to "development".
9692         (VERSION): Set to "2.19.90"
9693         * NEWS: Add 2.20 section.
9694
9695 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9696
9697         [BZ #16529]
9698         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9699
9700 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9701
9702         * manual/contrib.texi: Update entry for Carlos O'Donell,
9703         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9704
9705 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9706
9707         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9708
9709         * sysdeps/unix/sysv/linux/kernel-features.h
9710         [__LINUX_KERNEL_VERSION >= 0x020621]
9711         (__ASSUME_PROC_PID_TASK_COMM): Define.
9712
9713 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9714
9715         [BZ #16398]
9716         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9717         conversion when destination buffer does not have enough space.
9718         * libio/tst-ftell-partial-wide.c: New test case.
9719         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9720
9721         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9722         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9723         Leonard and Allan McRae.
9724
9725 2014-02-04  David S. Miller  <davem@davemloft.net>
9726
9727         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9728         32-bit.
9729
9730 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9731
9732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9733         New file
9734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9735         New file
9736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9737         New file.
9738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9739         New file.
9740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9741         New file.
9742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9743         New file.
9744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9745         New file.
9746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9747         New file.
9748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9749         New file.
9750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9751         New file.
9752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9753         New file.
9754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9755         New file.
9756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9757         New file.
9758
9759 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9760
9761         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9762         * shlib-versions: Likewise.
9763
9764 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9765             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9766
9767         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9768         (abilist-pattern): New variable, set to %-le.abilist.
9769
9770         * Makerules (abilist-pattern): New variable.
9771         (vpath): Use $(abilist-pattern) in place of %.abilist.
9772         (check-abi-% pattern rule): Likewise.
9773         (check-abi, update-abi): Likewise.
9774
9775 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9776
9777         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9778
9779 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9780
9781         * manual/startup.texi: Add next, previous, and top entries for
9782         the `Program Arguments' and `Environment Variables' nodes.
9783
9784 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9785
9786         * manual/macros.texi: Add comments before MTASC-safety macros.
9787
9788         * manual/users.texi: Document MTASC-safety properties.
9789
9790         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9791         (pthread_getspecific, pthread_setspecific): Format with
9792         @deftypefun, and add @safety note.
9793         * manual/signal.texi: Move comments that analyze the above
9794         functions to their home place.
9795
9796 2014-02-03  Allan McRae  <allan@archlinux.org>
9797
9798         * po/sl.po: Update Slovenian translation from translation project.
9799
9800 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9801
9802         * manual/time.texi (timegm): Add missing blank after @c.
9803         Reported by Joseph Myers <joseph@codesourcery.com>.
9804
9805 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9806
9807         * manual/check-safety.sh: New.
9808         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9809
9810         * manual/terminal.texi: Document MTASC-safety properties.
9811
9812         * manual/filesys.texi: Document MTASC-safety properties.
9813
9814         * manual/errno.texi: Document MTASC-safety properties.
9815
9816         * manual/intro.texi: Document safety identifiers and
9817         conditionals.
9818
9819         * manual/string.texi (wcstok): Fix prototype.
9820         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9821
9822         * manual/time.texi: Document MTASC-safety properties.
9823
9824         * manual/string.texi: Document MTASC-safety properties.
9825
9826         * manual/threads.texi: Document MTASC-safety properties.
9827
9828         * manual/stdio.texi: Document MTASC-safety properties.
9829
9830         * manual/syslog.texi: Document MTASC-safety properties.
9831
9832         * manual/sysinfo.texi: Document MTASC-safety properties.
9833
9834         * manual/startup.texi: Document MTASC-safety properties.
9835
9836         * manual/socket.texi: Document MTASC-safety properties.
9837
9838         * manual/signal.texi: Document MTASC-safety properties.
9839
9840 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9841
9842         * manual/setjmp.texi: Document MTASC-safety properties.
9843
9844         * manual/search.texi: Document MTASC-safety properties.
9845
9846         * manual/resource.texi: Document MTASC-safety properties.
9847
9848         * manual/process.texi: Document MTASC-safety properties.
9849
9850         * manual/platform.texi: Document MTASC-safety properties.
9851
9852         * manual/pipe.texi: Document MTASC-safety properties.
9853
9854         * manual/pattern.texi: Document MTASC-safety properties.
9855
9856         * manual/message.texi: Document MTASC-safety properties.
9857
9858         [BZ #12751]
9859         * manual/memory.texi: Document MTASC-safety properties.
9860
9861         * manual/math.texi: Document MTASC-safety properties.
9862
9863         * manual/locale.texi: Document MTASC-safety properties.
9864
9865         * manual/llio.texi: Document MTASC-safety properties.
9866
9867         * manual/libdl.texi: New.
9868
9869         * manual/lang.texi: Document MTASC-safety properties.
9870
9871         * manual/job.texi: Document MTASC-safety properties.
9872
9873         * manual/getopt.texi: Document MTASC-safety properties.
9874
9875         * manual/ctype.texi: Document MTASC-safety properties.
9876
9877 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9878
9879         [BZ #16046]
9880         * csu/libc-tls.c (static_map): Remove variable.
9881         (__libc_setup_tls): Use main executable's link map for TLS data.
9882         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9883         casing for LM_ID_BASE and GL(dl_nns).
9884         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9885         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9886         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9887         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9888         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9889         member.
9890         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9891         l_phnum members.
9892
9893 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9894
9895         * manual/debug.texi: Document MTASC-safety properties.
9896
9897 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9898
9899         [BZ #16510]
9900         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9901         of __x86_64__ when disabling x87 inline functions.
9902
9903 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9904
9905         * manual/charset.texi: Document MTASC-safety properties.
9906
9907         * manual/crypt.texi: Document MTASC-safety properties.
9908
9909         * manual/conf.texi: Document MTASC-safety properties.
9910
9911         * manual/arith.texi: Document MTASC-safety properties.
9912
9913         * manual/argp.texi: Document MTASC-safety properties.
9914
9915         * manual/macros.texi: Introduce macros to document multi
9916         thread, asynchronous signal and asynchronous cancellation
9917         safety properties.
9918         * manual/intro.texi: Introduce the properties themselves.
9919
9920 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9921
9922         * sysdeps/sh/sh4/Makefile: New file.
9923
9924 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9925
9926         * math/gen-libm-test.pl ($srcdir): New variable.
9927         ($auto_input): Use it.
9928
9929 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9930
9931         [BZ #16506]
9932         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9933         access beyond array bounds when parsing netgroups file.
9934
9935         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9936         the old buffer before realloc.
9937
9938 2014-01-27  Allan McRae  <allan@archlinux.org>
9939
9940         * po/fr.po: Update French translation from translation project.
9941
9942 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9943
9944         * sysdeps/sh/libm-test-ulps: Regenerate.
9945
9946 2014-01-24  David S. Miller  <davem@davemloft.net>
9947
9948         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9949
9950 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9951
9952         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9953         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9954
9955 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9956
9957         [BZ #16474]
9958         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9959         string pointers after reallocation.
9960
9961 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9962
9963         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9964         __SH4A__ instead of __SH_FPU_ANY__.
9965
9966 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9967
9968         * sysdeps/sh/fpu_control.h: New file.
9969         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9970         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9971         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9972         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9973         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9974         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9975         * sysdeps/sh/sys/ucontext.h: Remove.
9976         * sysdeps/sh/sys: Remove directory.
9977
9978 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9979
9980         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9981         s390/sys/ucontext.h.
9982         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9983         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9984
9985 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9986
9987         [BZ #15605]
9988         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9989
9990 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9991
9992         [BZ#16431]
9993         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9994         Adjust the vDSO correctly for internal calls.
9995         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9996
9997 2014-01-20  Allan McRae  <allan@archlinux.org>
9998
9999         * po/ca.po: Update Catalan translation from translation project.
10000
10001 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10002
10003         * sysdeps/s390/sotruss-lib.c: New file.
10004
10005 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10006
10007         [BZ#16430]
10008         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10009         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10010         local calls issues by not having a PLT stub required for IFUNC calls.
10011         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10012
10013 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10014
10015         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10016         * math/test-fpucw-static.c: Likewise.
10017
10018 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10019
10020         [BZ #16453]
10021         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10022
10023 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10024
10025         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10026         implementation for powerpc.
10027
10028 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10029
10030         [BZ #14782]
10031         * sysdeps/posix/system.c (__libc_system): Do not enable
10032         asynchronous cancellation.
10033
10034 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10035
10036         [BZ #16427]
10037         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10038         handling only for numbers special also in the IEEE case.
10039
10040 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10041
10042         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10043
10044 2014-01-11  Allan McRae  <allan@archlinux.org>
10045
10046         * po/bg.po: Update Bulgarian translation from translation project.
10047
10048         * po/de.po: Update German translation from translation project.
10049
10050 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10051
10052         * sysdeps/generic/gcc-compat.h: New file.
10053
10054 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10055
10056         * benchtests/asin-inputs: Correct slow inputs.
10057         * benchtests/acos-inputs: Likewise.
10058
10059 2014-01-10  Allan McRae  <allan@archlinux.org>
10060
10061         * po:sv.po: Update Swedish translation from translation project.
10062
10063         * po/vi.po: Update Vietnamese translation from translation project.
10064
10065         * po/eo.po: Update Esperanto translation from translation project.
10066
10067         * po/cs.po: Update Czech translation from translation project.
10068
10069         * po/nl.po: Update Dutch translation from translation project.
10070
10071         * po/pl.po: Update Polish translation from translation project.
10072
10073         * po/ru.po: Update Russian translation from translation project.
10074
10075         * po/uk.po: Update Ukrainian translation from translation project.
10076
10077 2014-01-08  Brooks Moses  <bmoses@google.com>
10078
10079         * elf/dl-load.c: Fix comment typo.
10080
10081 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10082
10083         * po/header.pot: Rename to...
10084         * po/pot.header: ... this.
10085         * po/Makefile: Use pot.header.
10086
10087 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10088             Maxim Kuvyrkov  <maxim@kugelworks.com>
10089
10090         [BZ #16394]
10091         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10092         SRC and DEST against LEN.
10093
10094 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10095
10096         [BZ #16414]
10097         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10098         implementation.
10099         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10100
10101 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10102
10103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10104
10105 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10106
10107         [BZ #16408]
10108         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10109         for large positive arguments.
10110
10111 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10112
10113         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10114
10115         * math/auto-libm-test-in: Mark various tests with
10116         xfail-rounding:ldbl-128ibm.
10117         * math/auto-libm-test-out: Regenerated.
10118
10119         [BZ #16407]
10120         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10121         Increase overflow threshold.
10122
10123 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10124
10125         [BZ #14286]
10126         * stdio-common/vfprintf.c: Check for integer overflow.
10127
10128 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10129
10130         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10131         the first argument and return value of __tls_get_addr_internal.
10132
10133 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10134
10135         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10136         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10137
10138 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10139
10140         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10141         * sysdeps/s390/rtld-global-offsets.sym: New file.
10142         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10143         GLIBC_2.19 symbol.
10144         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10145         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10146         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10147         ... this.
10148         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10149         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10150         ... this.
10151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10152         Regenerate.
10153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10154         Regenerate.
10155         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10156         halfs of GPRs for high_gprs contexts.
10157         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10158         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10159         field.
10160         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10161         uc_flags field.
10162         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10163         64 bit versions:
10164         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10165         for high GPRs (uc_high_gprs) and for future extensions
10166         (__reserved).
10167         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10168         for future extensions (__reserved).
10169         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10170         64 bit versions:
10171         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10172         SC_HIGHGPRS offset definition.
10173         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10174         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10175
10176         * Versions.def: Add GLIBC_2.19 for libpthread.
10177         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10178         siglongjmp for libpthread with GLIBC_2.19 symver.
10179         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10180         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10181         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10182         * sysdeps/s390/__longjmp.c: New file.
10183         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10184         * sysdeps/s390/longjmp.c: New file.
10185         * sysdeps/s390/setjmp.S: New file.
10186         * sysdeps/s390/sigjmp.S: New file.
10187         * sysdeps/s390/v1-longjmp.c: New file.
10188         * sysdeps/s390/v1-setjmp.h: New file.
10189         * sysdeps/s390/v1-sigjmp.c: New file.
10190         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10191         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10192         GLIBC_2.19 version.
10193         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10194         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10195         versioned symbols for ____longjmp_chk.
10196         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10197         Likewise.
10198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10199         Regenerate.
10200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10201         Regenerate.
10202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10203         Regenerate.
10204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10205         Regenerate.
10206         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10207         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10208         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10209         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10210         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10211         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10212         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10213         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10214         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10215         * sysdeps/s390/rtld-__longjmp.c: New file.
10216         * sysdeps/s390/rtld-setjmp.S: New file.
10217
10218 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10219
10220         [BZ #16400]
10221         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10222         Return -__logl (x) for small positive arguments without evaluating
10223         a polynomial.
10224
10225 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10226
10227         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10228         Rename to ...
10229         (__ptrace_peeksiginfo_args): ... this.
10230         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10231         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10232         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10233
10234 2014-01-06  Allan McRae  <allan@archlinux.org>
10235
10236         * inet/netinet/in.h: Fix typo in comment.
10237
10238 2014-01-05  Andreas Jaeger  <aj@suse.de>
10239
10240         * sysdeps/i386/fpu/libm-test-ulps: Update.
10241
10242 2014-01-05  Allan McRae  <allan@archlinux.org>
10243
10244         * po/libc.pot: Regenerated.
10245
10246         * malloc/memusagestat.c: Fix gettext call formatting.
10247
10248 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10249
10250         * nscd/nscd.c: Improve usage() output.
10251
10252 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10253
10254         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10255         * sysdeps/unix/sysv/linux/configure: Regenerated.
10256         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10257         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10258
10259 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10260
10261         [BZ #16390]
10262         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10263         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10264
10265 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10266
10267         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10268         extra tokens at end of #undef directive.
10269         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10270         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10271         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10272
10273 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10274
10275         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10276
10277         * math/auto-libm-test-in: Mark various tests with
10278         xfail-rounding:ldbl-128ibm.
10279         * math/auto-libm-test-out: Regenerated.
10280
10281 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10282
10283         [BZ #16386]
10284         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10285         numbers with subnormal high part when calculating exponent.
10286
10287         [BZ #16385]
10288         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10289         fabs.
10290
10291         [BZ #16384]
10292         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10293         M_LN2l.
10294         (__ieee754_acoshl): Use __log1pl not __log1p.
10295
10296 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10297
10298         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10299         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10300         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10301         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10302         (reused_arena, arena_get2): Convert to GNU style.
10303         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10304         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10305         (memalign_check, __malloc_set_state): Likewise.
10306         * malloc/mallocbug.c (main): Likewise.
10307         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10308         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10309         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10310         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10311         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10312         (__posix_memalign, malloc_info): Likewise.
10313         * malloc/malloc.h: Likewise.
10314         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10315         (mallochook, memalignhook, reallochook, mabort): Likewise.
10316         * malloc/mcheck.h: Likewise.
10317         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10318         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10319         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10320         * malloc/morecore.c (__default_morecore): Likewise.
10321         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10322         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10323         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10324         (print_and_abort): Likewise.
10325         * malloc/obstack.h: Likewise.
10326         * malloc/set-freeres.c (__libc_freeres): Likewise.
10327         * malloc/tst-mallocstate.c (main): Likewise.
10328         * malloc/tst-mtrace.c (main): Likewise.
10329         * malloc/tst-realloc.c (do_test): Likewise.
10330
10331 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10332
10333         [BZ #16366]
10334         * nscd/netgroupcache.c (do_notfound): New function.
10335         (addgetnetgrentX): Use it.
10336
10337         [BZ # 16365]
10338         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10339         NSS_STATUS_NOTFOUND.
10340
10341 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10342
10343         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10345
10346 2014-01-01  Allan McRae  <allan@archlinux.org>
10347
10348         * scripts/update-copyrights: Update configure input file suffix.
10349
10350         * NEWS: Update copyright year.
10351         * catgets/gencat.c: Likewise.
10352         * csu/version.c: Likewise.
10353         * debug/catchsegv.sh: Likewise.
10354         * debug/pcprofiledump.c: Likewise.
10355         * debug/xtrace.sh: Likewise.
10356         * elf/ldconfig.c: Likewise.
10357         * elf/ldd.bash.in: Likewise.
10358         * elf/pldd.c: Likewise.
10359         * elf/sotruss.ksh: Likewise.
10360         * elf/sprof.c: Likewise.
10361         * iconv/iconv_prog.c: Likewise.
10362         * iconv/iconvconfig.c: Likewise.
10363         * locale/programs/locale.c: Likewise.
10364         * locale/programs/localedef.c: Likewise.
10365         * login/programs/pt_chown.c: Likewise.
10366         * malloc/memusage.sh: Likewise.
10367         * malloc/memusagestat.c: Likewise.
10368         * malloc/mtrace.pl: Likewise.
10369         * manual/libc.texinfo: Likewise.
10370         * nscd/nscd.c: Likewise.
10371         * nss/getent.c: Likewise.
10372         * nss/makedb.c: Likewise.
10373         * posix/getconf.c: Likewise.
10374         * scripts/test-installation.pl: Likewise.
10375
10376         * All files with FSF copyright notices: Update copyright dates
10377         using scripts/update-copyrights.
10378         * intl/plural.c: Regenerated.
10379         * locale/programs/charmap-kw.h: Likewise.
10380         * locale/programs/locfile-kw.h: Likewise.
10381
10382 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10383
10384         * sysdeps/unix/sysv/linux/configure: Regenerated.
10385         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10386         the linux/fanotify.h header.
10387         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10388         HAVE_LINUX_FANOTIFY_H is defined.
10389
10390 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10391
10392         * benchtests/cos-inputs: New inputs.
10393         * benchtests/sin-inputs: Likewise.
10394
10395         * benchtests/atan-inputs: New inputs. Fix name of multiple
10396         precision fallback inputs.
10397
10398         * benchtests/atanh-inputs: New inputs.
10399         * benchtests/tanh-inputs: Likewise.
10400
10401         * benchtests/acosh-inputs: New inputs.
10402         * benchtests/asinh-inputs: Likewise.
10403
10404         * benchtests/cosh-inputs: New inputs.
10405         * benchtests/sinh-inputs: Likewise.
10406
10407         * benchtests/acos-inputs: Add more inputs.
10408         * benchtests/asin-inputs: Likewise.
10409
10410 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10411
10412         [BZ #16375]
10413         * manual/arith.texi: Fix spelling.
10414         * manual/charset.texi: Likewise.
10415         * manual/errno.texi: Likewise.
10416         * manual/filesys.texi: Likewise.
10417         * manual/lang.texi: Likewise.
10418         * manual/llio.texi: Likewise.
10419         * manual/locale.texi: Likewise.
10420         * manual/message.texi: Likewise.
10421         * manual/resource.texi: Likewise.
10422         * manual/search.texi: Likewise.
10423         * manual/setjmp.texi: Likewise.
10424         * manual/stdio.texi: Likewise.
10425         * manual/string.texi: Likewise.
10426         * manual/sysinfo.texi: Likewise.
10427         * manual/time.texi: Likewise.
10428
10429 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10430
10431         * po/sl.po: New file.
10432
10433 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10434
10435         * .gitignore: Add core/.gdbinit/.gdb_history.
10436
10437 2013-12-27  Allan McRae  <allan@archlinux.org>
10438
10439         [BZ #16369]
10440         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10441         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10442
10443 2013-12-24  Brooks Moses  <bmoses@google.com>
10444
10445         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10446         all compilers that claim C++98 compliance, not just GCC.
10447         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10448         Likewise.
10449
10450 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10451
10452         * NEWS: Restore accidentally deleted bug-fix entries.
10453
10454 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10455             Ondřej Bílka  <neleai@seznam.cz>
10456
10457         [BZ #15073]
10458         * malloc/malloc.c (_int_free): Perform sanity check only if we
10459         have_lock.
10460
10461 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10462
10463         [BZ #12986]
10464         * manual/stdio.texi (String Input Conversions): Clarify that character
10465         classes are not supported.
10466
10467 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10468
10469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10470
10471 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10472
10473         [BZ #16337]
10474         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10475         Calculate results for small negative arguments directly rather
10476         than using reflection formula with special underflow handling.
10477
10478         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10479         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10480         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10481         (fchflags): Likewise.
10482         (revoke): Likewise.
10483         (setlogin): Likewise.
10484         (sigaltstack): Likewise.
10485         (wait4): Likewise.
10486         (sigblock): Remove.
10487         (sigsetmask): Likewise.
10488         (wait3): Likewise.
10489         (waitpid): Likewise.
10490         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10491         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10492         file.
10493         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10494         * sysdeps/unix/bsd/Makefile: ... here.
10495         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10496         * sysdeps/unix/bsd/Versions: ... here.
10497         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10498         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10499         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10500         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10501         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10502         * sysdeps/unix/bsd/sigblock.c: ... here.
10503         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10504         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10505         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10506         * sysdeps/unix/bsd/sigvec.c: ... here.
10507         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10508         * sysdeps/unix/bsd/tcdrain.c: ... here.
10509         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10510         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10511         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10512         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10513         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10514         * sysdeps/unix/bsd/wait.c: ... here.
10515         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10516         * sysdeps/unix/bsd/wait3.c: ... here.
10517         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10518         * sysdeps/unix/bsd/waitpid.c: ... here.
10519
10520 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10521
10522         [BZ #16356]
10523         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10524         round-to-nearest for [!USE_AS_EXPM1L].
10525         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10526         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10527         more tests of exp and exp10.  Expect some exp10 tests to miss
10528         exceptions or fail in directed rounding modes.
10529         * math/auto-libm-test-out: Regenerated.
10530         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10531         (exp10_test_tonearest): New function.
10532         (exp10_towardzero_test_data): New array.
10533         (exp10_test_towardzero): New function.
10534         (exp10_downward_test_data): New array.
10535         (exp10_test_downward): New function.
10536         (exp10_upward_test_data): New array.
10537         (exp10_test_upward): New function.
10538         (main): Call the new functions.
10539         * sysdeps/i386/fpu/libm-test-ulps: Update.
10540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10541
10542 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10543
10544         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10545         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10546         * math/auto-libm-test-out: Regenerated.
10547         * math/libm-test.inc (acosh_test_data): Add more tests.
10548         (atanh_test_data): Likewise.
10549         (ceil_test_data): Likewise.
10550         (copysign_test_data): Likewise.
10551         * sysdeps/i386/fpu/libm-test-ulps: Update.
10552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10553
10554         * timezone/checktab.awk: Update from tzcode 2013i.
10555         * timezone/private.h: Likewise.
10556         * timezone/scheck.c: Likewise.
10557         * timezone/tzfile.h: Likewise.
10558         * timezone/tzselect.ksh: Likewise.
10559         * timezone/zdump.c: Likewise.
10560         * timezone/zic.c: Likewise.
10561
10562         * math/auto-libm-test-in: Add tests of cpow.
10563         * math/auto-libm-test-out: Regenerated.
10564         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10565         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10566         mpc_cc_c.
10567         (func_calc_desc): Add mpc_cc_c union field.
10568         (test_functions): Add cpow.
10569         (special_fill_2pi): New function.
10570         (special_real_inputs): Add 2pi.
10571         (calc_generic_results): Handle mpc_cc_c.
10572         * sysdeps/i386/fpu/libm-test-ulps: Update.
10573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10574
10575         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10576         csqrt, ctan and ctanh.
10577         * math/auto-libm-test-out: Regenerated.
10578         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10579         (TEST_COND_x86): Likewise.
10580         (ccos_test_data): Use AUTO_TESTS_c_c.
10581         (ccosh_test_data): Likewise.
10582         (cexp_test_data): Likewise.
10583         (clog_test_data): Likewise.
10584         (csqrt_test_data): Likewise.
10585         (ctan_test_data): Likewise.
10586         (ctan_tonearest_test_data): Likewise.
10587         (ctan_towardzero_test_data): Likewise.
10588         (ctan_downward_test_data): Likewise.
10589         (ctan_upward_test_data): Likewise.
10590         (ctanh_test_data): Likewise.
10591         (ctanh_tonearest_test_data): Likewise.
10592         (ctanh_towardzero_test_data): Likewise.
10593         (ctanh_downward_test_data): Likewise.
10594         (ctanh_upward_test_data): Likewise.
10595         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10596         mpc_c_c.
10597         (func_calc_desc): Add mpc_c_c union field.
10598         (FUNC_mpc_c_c): New macro.
10599         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10600         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10601         ctanh.
10602         (special_fill_min_subnorm_p120): New function.
10603         (special_real_inputs): Add min_subnorm_p120.
10604         (calc_generic_results): Handle mpc_c_c.
10605         * sysdeps/i386/fpu/libm-test-ulps: Update.
10606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10607
10608 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10609
10610         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10611         (do_sin_slow): New functions.
10612         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10613         (cslow2, csloww1, csloww2): Use the new functions.
10614
10615         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10616         Use M to change sign of result instead of X.  Assume X is
10617         positive.
10618         (csloww1): Likewise.
10619         (__sin): Adjust.
10620         (__cos): Adjust.
10621
10622         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10623         arguments A and DA.
10624         (__sin): Adjust.
10625         (__cos): Likewise.
10626
10627         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10628         (__cos): Likewise.
10629         (sloww1): Don't adjust sign of DX.
10630         (csloww1): Likewise.
10631         (sloww2): Use X directly and don't adjust sign of DX.
10632         (csloww2): Likewise.
10633
10634 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10635
10636         * math/auto-libm-test-in: Add tests of cabs and carg.
10637         * math/auto-libm-test-out: Regenerated.
10638         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10639         (carg_test_data): Likewise.
10640         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10641         mpc_c_f.
10642         (func_calc_desc): Add mpc_c_f union field.
10643         (test_functions): Add cabs and carg.
10644         (calc_generic_results): Handle mpc_c_f.
10645
10646         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10647         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10648         as a macro and a compat symbol.
10649         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10650         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10651         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10652         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10653         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10654         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10655         not use .hidden.
10656         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10657         Likewise.
10658         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10659         Likewise.
10660         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10661         Likewise.
10662         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10663         Likewise.
10664         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10665         Likewise.
10666         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10667         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10668         from GLIBC_2.3.2.
10669
10670 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10671
10672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10673
10674 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10675
10676         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10677         trailing whitespace removed.
10678         * scripts/config.guess: Update to version 2013-11-29.
10679         * scripts/config.sub: Update to version 2013-10-01.
10680
10681         * math/auto-libm-test-in: Add tests of sincos.
10682         * math/auto-libm-test-out: Regenerated.
10683         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10684         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10685         mpfr_f_11.
10686         (func_calc_desc): Add mpfr_f_11 union field.
10687         (test_functions): Add sincos.
10688         (calc_generic_results): Handle mpfr_f_11.
10689         * sysdeps/i386/fpu/libm-test-ulps: Update.
10690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10691
10692 2013-12-19  Andreas Schwab  <schwab@suse.de>
10693
10694         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10695         CALL_MCOUNT.
10696         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10697         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10698         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10699
10700 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10701
10702         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10703         * sysdeps/i386/fpu/libm-test-ulps: Update.
10704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10705
10706         [BZ #16293]
10707         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10708         round-to-nearest mode when using frndint.
10709         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10710         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10711         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10712         Likewise.
10713         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10714         sinh test to fail.
10715         * math/auto-libm-test-out: Regenerated.
10716         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10717         (TEST_COND_x86): Likewise.
10718         (expm1_tonearest_test_data): New array.
10719         (expm1_test_tonearest): New function.
10720         (expm1_towardzero_test_data): New array.
10721         (expm1_test_towardzero): New function.
10722         (expm1_downward_test_data): New array.
10723         (expm1_test_downward): New function.
10724         (expm1_upward_test_data): New array.
10725         (expm1_test_upward): New function.
10726         (main): Run the new test functions.
10727         * sysdeps/i386/fpu/libm-test-ulps: Update.
10728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10729
10730         * include/features.h: Update comment documenting feature test
10731         macros.  Mention _DEFAULT_SOURCE in comment.
10732         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10733         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10734         _BSD_SOURCE and _SVID_SOURCE.
10735         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10736         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10737         !_SVID_SOURCE]: Likewise.
10738         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10739         (__USE_POSIX_IMPLICITLY): Define.
10740         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10741         (_POSIX_SOURCE): Undefine and redefine.
10742         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10743         (_POSIX_C_SOURCE): Likewise.
10744         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10745         (Feature Test Macros): Update documentation of default features.
10746
10747 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10748
10749         * benchtests/Makefile: Add bench-strtok.
10750         * benchtests/bench-strtok.c: New file: strtok benchtest.
10751
10752 2013-12-19  Allan McRae  <allan@archlinux.org>
10753
10754         * manual/install.texi: Suppress menu for plain text output.
10755         * INSTALL: Regenerated.
10756
10757 2013-12-18  Brooks Moses  <bmoses@google.com>
10758
10759         [BZ #15846]
10760         * misc/getauxval.c: Include errno.h.
10761         (__getauxval): Set errno to ENOENT if the requested type is not
10762         found.
10763         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10764         don't declare with __attribute_const__.
10765         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10766         * manual/startup.texi: Document that getauxval sets errno.
10767
10768 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10769
10770         * math/auto-libm-test-in: Add tests of jn and yn.
10771         * math/auto-libm-test-out: Regenerated.
10772         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10773         (yn_test_data): Likewise.
10774         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10775         mpfr_if_f.
10776         (func_calc_desc): Add mpfr_if_f union field.
10777         (FUNC_mpfr_if_f): New macro.
10778         (test_functions): Add jn and yn.
10779         (calc_generic_results): Assert type of second input for
10780         mpfr_ff_f.  Handle mpfr_if_f.
10781         (output_for_one_input_case): Disable all checking for arguments
10782         fitting floating-point types in case of an integer argument.
10783         * sysdeps/i386/fpu/libm-test-ulps: Update.
10784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10785
10786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10787         Don't expect fegetround reference in libm.so.
10788
10789 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10790
10791         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10792         $(config-cflags-nofma).
10793
10794 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10795
10796         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10797         * math/auto-libm-test-out: Regenerated.
10798
10799         [BZ #16338]
10800         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10801         to determine exponent and adjust argument to have exponent of -1.
10802         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10803         log2.
10804         * math/auto-libm-test-out: Regenerated.
10805         * sysdeps/i386/fpu/libm-test-ulps: Update.
10806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10807
10808 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10809
10810         * manual/probes.texi: Remove cases when per-thread arenas are
10811         disabled.
10812
10813 2013-12-18  Andreas Schwab  <schwab@suse.de>
10814
10815         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10816         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10817         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10818         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10819         * sysdeps/i386/i686/multiarch/Makefile: Update.
10820         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10821
10822 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10823
10824         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10825         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10826
10827 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10828
10829         [BZ #15968]
10830         Support TZ transition times < 00:00:00.
10831         This is needed for version-3 tz-format files; it supports time
10832         stamps past 2037 for America/Godthab (the only entry in the tz
10833         database for which this change is relevant).
10834         * manual/time.texi (TZ Variable): Document transition times
10835         from -167:59:59 through -00:00:01.
10836         * time/tzset.c (tz_rule): Time of day is now signed.
10837         (__tzset_parse_tz): Parse negative time of day.
10838
10839         Document TZ transition times >= 25:00:00.
10840         * manual/time.texi (TZ Variable): Document transition times from
10841         25:00:00 through 167:59:59.  These are already supported, and this
10842         support will help with version-3 tz-format files.
10843
10844         * manual/time.texi (TZ Variable): Modernize North America example
10845         to reflect current (i.e., 2007-and-later) daylight saving rules.
10846
10847         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10848
10849 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10850
10851         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10852         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10853         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10854         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10855         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10856         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10857         * sysdeps/unix/bsd/clock.c: Likewise.
10858         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10859         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10860         * sysdeps/unix/bsd/init-posix.c: Likewise.
10861         * sysdeps/unix/bsd/poll.c: Likewise.
10862         * sysdeps/unix/bsd/ptsname.c: Likewise.
10863         * sysdeps/unix/bsd/seekdir.c: Likewise.
10864         * sysdeps/unix/bsd/setegid.c: Likewise.
10865         * sysdeps/unix/bsd/seteuid.c: Likewise.
10866         * sysdeps/unix/bsd/setgid.c: Likewise.
10867         * sysdeps/unix/bsd/setrgid.c: Likewise.
10868         * sysdeps/unix/bsd/setruid.c: Likewise.
10869         * sysdeps/unix/bsd/setsid.c: Likewise.
10870         * sysdeps/unix/bsd/setuid.c: Likewise.
10871         * sysdeps/unix/bsd/sigaction.c: Likewise.
10872         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10873         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10874         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10875         * sysdeps/unix/bsd/telldir.c: Likewise.
10876         * sysdeps/unix/bsd/times.c: Likewise.
10877         * sysdeps/unix/bsd/usleep.c: Likewise.
10878
10879         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10880         ($(objpfx)libbsd-compat.a): Remove rule.
10881
10882         * include/features.h (__FAVOR_BSD): Do not define.
10883         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10884         features conflicting with POSIX.
10885         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10886         (_BSD_SOURCE): Remove description of not being a subset of other
10887         feature test macros.
10888         * manual/job.texi (getpgrp): Do not document BSD version.
10889         (getpgid): Do not document by reference to BSD getpgrp.
10890         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10891         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10892         * signal/signal.h [__FAVOR_BSD]: Likewise.
10893         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10894         instead of making contents conditional on [__FAVOR_BSD].
10895         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10896
10897 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10898
10899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10900
10901 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10902
10903         [BZ #16314]
10904         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10905         values below 2**-450, not 2**-500.
10906         * math/auto-libm-test-in: Don't allow spurious underflow from
10907         hypot.
10908         * math/auto-libm-test-out: Regenerated.
10909
10910         [BZ #16316]
10911         [BZ #16330]
10912         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10913         values of ha and hb and sort them after adjusting subnormal
10914         arguments.
10915         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10916         Likewise.
10917         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10918         values of ea and eb and sort them after adjusting subnormal
10919         arguments.
10920         * math/auto-libm-test-in: Do not expect some hypot tests of
10921         subnormals to fail.  Add more hypot tests.
10922         * math/auto-libm-test-out: Regenerated.
10923
10924 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10925
10926         [BZ #13304]
10927         * sysdeps/sh/s_fma.c: New file.
10928         * sysdeps/sh/s_fmaf.c: New file.
10929         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10930         version.
10931         * sysdeps/sh/Implies: Add sh/soft-fp.
10932
10933 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10934
10935         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10936         level of indirection to members `objname', `errstring', `malloced'.
10937         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10938         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10939         it as the __longjmp argument (just pass 1 instead).
10940         (_dl_catch_error): Initialize C with argument pointers and address of
10941         volatile local ERRCODE rather than copying values out of C at return.
10942
10943 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10944
10945         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10946         * math/auto-libm-test-out: Regenerated.
10947         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10948         (hypot_test_data): Likewise.
10949         (pow_test_data): Likewise.
10950         (pow_tonearest_test_data): Likewise.
10951         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10952         mpfr_ff_f.
10953         (func_calc_desc): Add mpfr_ff_f union field.
10954         (FUNC_mpfr_ff_f): New macro.
10955         (test_functions): Add atan2, hypot and pow.
10956         (special_fill_min): New function.
10957         (special_fill_minus_min): Likewise.
10958         (special_fill_min_subnorm): Likewise.
10959         (special_fill_minus_min_subnorm): Likewise.
10960         (special_real_inputs): Add min, -min, min_subnorm and
10961         -min_subnorm.
10962         (calc_generic_results): Handle mpfr_ff_f.
10963         * sysdeps/i386/fpu/libm-test-ulps: Update.
10964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10965
10966 2013-12-16  Will Newton  <will.newton@linaro.org>
10967
10968         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10969         (Aligned Memory Blocks): Add documentation for aligned_alloc
10970         and suggest it as an alternative to posix_memalign.
10971         (Hooks for Malloc): Document __memalign_hook is also called
10972         for aligned_alloc.  (Summary of Malloc): Add summary for
10973         aligned alloc.  Document __memalign_hook is also called
10974         for aligned_alloc.
10975
10976 2013-12-16  Will Newton  <will.newton@linaro.org>
10977
10978         * manual/memory.texi (Malloc Examples): Clarify default
10979         alignment documentation.  Suggest posix_memalign rather
10980         than memalign or valloc.
10981         (Aligned Memory Blocks): Remove suggestion to use memalign
10982         or valloc.  Remove obsolete comment about BSD.
10983         Document memalign errno values and mark the function obsolete.
10984         Document posix_memalign returned error codes.  Mark valloc
10985         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10986         called for posix_memalign and valloc.
10987         (Summary of Malloc): Add posix_memalign to function summary.
10988         __memalign_hook is also called for posix_memalign and valloc.
10989
10990 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10991
10992         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10993         TAYLOR_SIN.
10994         (__sin): Adjust.
10995         (__cos): Likewise.
10996         (sloww): Use mynumber union.  Expand ternary operator into
10997         if-else statements.
10998         (cslow): use mynumber union.
10999
11000 2013-12-16  Allan McRae  <allan@archlinux.org>
11001
11002         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11003         * configure: Regenerated.
11004
11005         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11006
11007         [BZ #14120]
11008         * configure.ac: Added --enable-maintainer-mode. Check for
11009         autoconf when enabled.
11010         * configure: Regenerated.
11011
11012         * nscd/nscd.service: New file.
11013         * nscd/nscd.tmpfiles: New file.
11014
11015 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11016
11017         [BZ #12100]
11018         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11019         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11020         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11021         (strstr): Add __strstr_sse2_unaligned ifunc.
11022         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11023         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11024         (strcasestr): Remove __strcasestr_sse42 ifunc.
11025         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11026         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11027         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11028
11029 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11030
11031         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11032         * sysdeps/sh/bits/fenv.h: ... here.
11033         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11034
11035 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11036
11037         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11038
11039         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11040         hypotf multiarch implementations.
11041         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11042         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11043         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11044         multiarch hypot for PPC64.
11045         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11046         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11047         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11048         multiarch hypotf for PPC64.
11049
11050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11051         modff multiarch implementations.
11052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11055         multiarch modf for PPC64.
11056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11059         multiarch modff for PPC64.
11060
11061         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11062         and logl multiarch implementations.
11063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11066         multiarch logb for PPC64.
11067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11070         multiarch logb for PPC64.
11071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11074         multiarch logb for PPC64.
11075
11076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11077         isinff multiarch implementation.
11078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11079         file.
11080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11082         multiarch isinf for PPC64.
11083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11084         file.
11085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11086         multiarch isinff for PPC64.
11087
11088         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11089         finitef multiarch implementation.
11090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11091         file.
11092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11094         multiarch finite for PPC64.
11095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11096         file.
11097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11098         multiarch finitef for PPC64.
11099
11100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11101         lrint multiarch implementation.
11102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11103         file.
11104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11106         multiarch llrint for PPC64.
11107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11108         multiarch lrint for PPC64.
11109
11110         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11111         copysignf multiarch implementation.
11112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11113         file.
11114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11115         file.
11116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11117         multiarch copysign for PPC64.
11118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11119         multiarch copysignf for PPC64.
11120
11121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11122         multiarch implementation.
11123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11124         file.
11125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11126         file.
11127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11128         file.
11129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11130         file.
11131         multiarch llround for PPC64.
11132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11133         multiarch trunc for PPC64.
11134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11135         multiarch truncf for PPC64.
11136
11137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11138         multiarch implementation.
11139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11140         file.
11141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11142         file.
11143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11144         file.
11145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11146         file.
11147         multiarch llround for PPC64.
11148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11149         multiarch round for PPC64.
11150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11151         multiarch roundf for PPC64.
11152
11153         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11154         multiarch implementation.
11155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11156         file.
11157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11158         file.
11159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11160         file.
11161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11162         file.
11163         multiarch llround for PPC64.
11164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11165         multiarch floor for PPC64.
11166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11167         multiarch floorf for PPC64.
11168
11169         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11170         multiarch implementation.
11171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11172         file.
11173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11174         file.
11175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11176         file.
11177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11178         file.
11179         multiarch llround for PPC64.
11180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11181         multiarch ceil for PPC64.
11182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11183         multiarch ceilf for PPC64.
11184
11185         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11186         multiarch implementation.
11187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11188         file.
11189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11190         file.
11191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11192         file.
11193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11194         multiarch llround for PPC64.
11195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11196         multiarch lround for PPC64.
11197
11198         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11199         multiarch implementation.
11200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11203         file.
11204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11207         multiarch isnan for PPC64.
11208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11209         multiarch isnanf for PPC64.
11210
11211         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11212         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11213         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11214         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11215         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11217
11218         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11219         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11220         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11221         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11222
11223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11224         multiarch implementations.
11225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11226         (__libc_ifunc_impl_list): Likewise.
11227         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11228         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11229         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11230         multiarch stpcpy for PPC64.
11231
11232         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11233         multiarch implementations.
11234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11235         (__libc_ifunc_impl_list): Likewise.
11236         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11237         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11238         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11239         multiarch strcpy for PPC64.
11240
11241         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11242         redefine function name.
11243         (_wordcopy_fwd_dest_aligned): Likewise.
11244         (_wordcopy_bwd_aligned): Likewise.
11245         (_wordcopy_bwd_dest_aligned): Likewise.
11246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11247         multiarch implementations.
11248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11249         (__libc_ifunc_impl_list): Likewise.
11250         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11251         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11252         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11253         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11254         multiarch wcscpy for PPC64.
11255
11256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11257         multiarch implementations.
11258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11259         (__libc_ifunc_impl_list): Likewise.
11260         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11261         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11262         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11263         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11264         multiarch wcscpy for PPC64.
11265
11266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11267         multiarch implementations.
11268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11269         (__libc_ifunc_impl_list): Likewise.
11270         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11271         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11272         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11273         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11274         multiarch wcsrchr for PPC64.
11275
11276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11277         multiarch implementations.
11278         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11279         (__libc_ifunc_impl_list): Likewise.
11280         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11281         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11282         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11283         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11284         multiarch wcschr for PPC64.
11285
11286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11287         multiarch implementations.
11288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11289         (__libc_ifunc_impl_list): Likewise.
11290         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11291         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11292         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11293         multiarch strchrnul for PPC64.
11294
11295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11296         implementations.
11297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11298         (__libc_ifunc_impl_list): Likewise.
11299         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11300         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11301         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11302         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11303         strchr for PPC64.
11304
11305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11306         implementations.
11307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11308         (__libc_ifunc_impl_list): Likewise.
11309         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11310         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11311         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11312         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11313         strncmp for PPC64.
11314
11315         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11316         multiarch implementations.
11317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11318         (__libc_ifunc_impl_list): Likewise.
11319         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11320         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11321         strncasecmp for PPC64.
11322         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11323         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11324         multiarch strncasecmp_l for PPC64.
11325
11326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11327         multiarch implementations.
11328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11329         (__libc_ifunc_impl_list): Likewise.
11330         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11331         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11332         multiarch strcasecmp for PPC64.
11333         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11334         file.
11335         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11336         multiarch strcasecmp_l for PPC64.
11337
11338         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11339         implementations.
11340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11341         (__libc_ifunc_impl_list): Likewise.
11342         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11343         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11344         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11345         strnlen for PPC64.
11346
11347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11348         implementations.
11349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11350         (__libc_ifunc_impl_list): Likewise.
11351         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11352         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11353         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11354         strlen for PPC64.
11355
11356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11357         implementations.
11358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11359         (__libc_ifunc_impl_list): Likewise.
11360         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11361         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11362         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11363         rawmemrchr for PPC64.
11364
11365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11366         implementation.
11367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11368         (__libc_ifunc_impl_list): Likewise.
11369         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11370         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11371         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11372         memrchr for PPC64.
11373
11374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11375         implementation.
11376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11377         (__libc_ifunc_impl_list): Likewise.
11378         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11379         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11380         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11381         memchr for PPC64.
11382
11383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11384         implementation.
11385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11386         (__libc_ifunc_impl_list): Likewise.
11387         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11388         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11389         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11390         mempcpy for PPC64.
11391
11392         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11393         avoid cretion of __bzero symbol.
11394         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11395         Likewise.
11396         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11397         Likewise.
11398         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11399         Likewise.
11400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11401         multiarch implementations.
11402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11403         (__libc_ifunc_impl_list): Likewise.
11404         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11405         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11406         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11407         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11408         bzero for PPC32.
11409         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11410         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11411         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11412         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11413         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11414         memset for PPC64.
11415         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11416
11417         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11418         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11419         implementations.
11420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11421         (__libc_ifunc_impl_list): Likewise.
11422         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11423         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11424         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11425         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11426         memcmp for PPC64.
11427
11428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11429         multiarch for POWER/PPC64.
11430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11431         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11432         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11433         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11434         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11435         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11436         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11437         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11438         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11439         memcpy for PPC64.
11440
11441         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11442         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11443         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11444         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11445         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11446         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11447         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11448         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11449         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11450         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11451         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11452         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11453         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11454         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11455         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11463
11464 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11465
11466         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11467
11468 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11469
11470         * benchtests/Makefile (bench): Add exp2 and log2.
11471         (LDLIBS-bench-exp2): Add -lm.
11472         (LDLIBS-bench-log2): Likewise.
11473         * benchtests/exp2-inputs: New inputs file.
11474         * benchtests/log2-inputs: New inputs file.
11475         * benchtests/log-inputs: Add new inputs.
11476         * benchtests/tan-inputs: Likewise.
11477
11478 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11479
11480         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11481         definition...
11482         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11483         (csloww2): ... from here.
11484
11485         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11486         instead of structures.
11487         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11488         (POLYNOMIAL): Likewise.
11489         (TAYLOR_SLOW): Likewise.
11490         (__sin): Likewise.
11491         (__cos): Likewise.
11492         (slow1): Likewise.
11493         (slow2): Likewise.
11494         (sloww): Likewise.
11495         (sloww1); Likewise.
11496         (sloww2): Likewise.
11497         (bsloww1): Likewise.
11498         (bsloww2): Likewise.
11499         (cslow2): Likewise.
11500         (csloww): Likewise.
11501         (csloww1): Likewise.
11502         (csloww2): Likewise.
11503
11504 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11505
11506         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11507         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11508         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11509         * malloc/hooks.c (realloc_check): Likewise.
11510
11511         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11512         * malloc/arena.c: Remove PER_THREAD conditional.
11513         [!PER_THREAD]: Remove code.
11514         (ptmalloc_unlock_all2): Likewise.
11515         (ptmalloc_init): Likewise.
11516         (_int_new_arena): Likewise.
11517         (arena_get2): Likewise.
11518         * malloc/hooks.c (__malloc_get_state): Likewise.
11519         (__malloc_set_state): Likewise.
11520         * malloc/malloc.c: Likewise.
11521         (struct malloc_state): Likewise.
11522         (struct malloc_par): Likewise.
11523         (__libc_realloc): Likewise.
11524         (__libc_mallopt): Likewise.
11525
11526 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11527
11528         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11529
11530 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11531
11532         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11533         macro to a function.  Check for zero perturb_byte.
11534         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11535
11536         * malloc/malloc.c: (force_reg): Remove.
11537         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11538         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11539         force_reg by atomic_forced_read.
11540         * malloc/arena.c (ptmalloc_init): Likewise.
11541         * malloc/hooks.c (top_check): Likewise.
11542
11543 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11544
11545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11546
11547 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11548
11549         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11550
11551 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11552
11553         * math/auto-libm-test-in: Add tests of lgamma.
11554         * math/auto-libm-test-out: Regenerated.
11555         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11556         (M_LOG_2_SQRT_PIl): Likewise.
11557         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11558         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11559         mpfr_f_f1.
11560         (func_calc_desc): Add mpfr_f_f1 union field.
11561         (ARGS1): New macro.
11562         (ARGS2): Likewise.
11563         (ARGS3): Likewise.
11564         (ARGS4): Likewise.
11565         (RET1): Likewise.
11566         (RET2): Likewise.
11567         (CALC): Likewise.
11568         (FUNC): Likewise.
11569         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11570         (test_functions): Add lgamma.
11571         (calc_generic_results): Handle mpfr_f_f1.
11572         * sysdeps/i386/fpu/libm-test-ulps: Update.
11573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11574
11575 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11576
11577         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11578         __mpn_add_n for PowerPC64/POWER7.
11579         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11580         __mpn_sub_n for PowerPC64/POWER7.
11581
11582         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11583         __mpn_addmul_1 for PowerPC64.
11584         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11585         __mpn_submul_1 for PowerPC64.
11586         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11587         for PowerPC64.
11588         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11589         for PowerPC64.
11590
11591 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11592
11593         [BZ #15089]
11594         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11595
11596 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11597
11598         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11599
11600         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11601         add multiarch folders.
11602         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11603         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11604         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11605         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11606         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11607         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11608         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11609         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11610         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11611         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11612         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11619
11620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11621         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11623         New file.
11624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11625         New file.
11626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11627         multiarch __ieee754_hypot for PowerPC32.
11628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11629         New file.
11630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11631         New file.
11632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11633         multiarch __ieee754_hypotf for PowerPC32.
11634
11635         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11636         long_double_symbol only if __logbl is defined.
11637         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11638         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11639         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11640         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11641         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11642         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11643         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11644         path for implementation.
11645         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11646         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11648         logb, and logbl multiarch implementations for PowerPC32.
11649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11650         file.
11651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11652         file.
11653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11654         multiarch logb for PowerPC32.
11655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11656         file.
11657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11658         file.
11659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11660         multiarch logbf for PowerPC32.
11661         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11663         file.
11664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11665         multiarch logbl implementation for PowerPC32.
11666
11667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11668         and modff multiarch implementations.
11669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11670         New file.
11671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11672         New file.
11673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11674         multiarch modf for PowerPC32.
11675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11676         New file.
11677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11678         New file.
11679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11680         multiarch modff for PowerPC32.
11681
11682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11683         and lrintf multiarch implementations.
11684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11685         New file.
11686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11687         New file.
11688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11689         multiarch lrint for PowerPC32.
11690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11691         file: multiarch lrintf for PowerPC32.
11692
11693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11694         and lroundf multiarch implementations.
11695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11696         New file.
11697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11698         New file.
11699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11700         New file.
11701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11702         multiarch lround for PowerPC32.
11703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11704         file: multiarch lroundf for PowerPC32.
11705
11706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11707         copysign and copysignf multiarch implementations.
11708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11709         New file.
11710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11711         New file.
11712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11713         file: multiarch copysign for PowerPC32.
11714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11715         file: multiarch copysignf for PowerPC32.
11716
11717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11718         and truncf multiarch implementations.
11719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11720         New file.
11721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11722         file.
11723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11724         multiarch trunc for PowerPC32.
11725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11726         New file.
11727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11728         New file.
11729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11730         multiarch truncf for PowerPC32.
11731
11732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11733         and roundf multiarch implementations.
11734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11735         New file.
11736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11737         file.
11738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11739         multiarch round for PowerPC32.
11740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11741         New file.
11742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11743         New file.
11744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11745         multiarch roundf for PowerPC32.
11746
11747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11748         and floorf multiarch implementations.
11749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11750         New file.
11751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11752         file.
11753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11754         multiarch floor for PowerPC32.
11755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11756         New file.
11757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11758         New file.
11759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11760         multiarch floorf for PowerPC32.
11761
11762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11763         and ceilf multiarch implementations.
11764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11765         New file.
11766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11767         file.
11768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11769         multiarch ceil for PowerPC32.
11770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11771         New file.
11772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11773         file.
11774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11775         multiarch ceilf for PowerPC32.
11776
11777         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11778         is defined.
11779         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11780         FINITEF is defined.
11781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11782         and finitef multiarch implementations.
11783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11784         New file.
11785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11786         file.
11787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11788         multiarch finite for PowerPC32.
11789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11790         New file.
11791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11792         file: multiarch finitef for PowerPC32.
11793
11794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11795         and isinff multiarch implementations.
11796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11797         file.
11798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11799         file.
11800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11801         multiarch isinf for PowerPC32.
11802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11803         New file.
11804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11805         multiarch isinff for PowerPC32.
11806
11807         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11808         alias when __isnan is defined.
11809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11810         and isnanf multiarch implementations.
11811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11812         file.
11813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11814         file.
11815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11816         file.
11817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11818         file.
11819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11820         multiarch isnan for PowerPC32.
11821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11822         New file.
11823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11824         New file.
11825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11826         multiarch isnanf for PowerPC32.
11827
11828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11829         and sqrtf multiarch implementations.
11830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11831         file.
11832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11833         file.
11834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11835         multiarch sqrt for PowerPC32.
11836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11837         file.
11838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11839         file.
11840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11841         multiarch sqrtf for PowerPC32.
11842
11843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11844         and llroundf multiarch implementations.
11845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11846         New file.
11847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11848         New file.
11849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11850         New file.
11851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11852         file: multiarch llround for PowerPC32.
11853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11854         file: multiarch llroundf for PowerPC32.
11855
11856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11857         multiarch PowerPC32 fpu implementations.
11858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11859         New file.
11860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11861         New file.
11862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11863         multiarch llrint for PowerPC32.
11864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11865         New file.
11866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11867         New file.
11868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11869         file.
11870
11871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11872
11873         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11874         file.
11875         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11876         file.
11877         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11878         file.
11879         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11880         multiarch wordcopy for PPC32.
11881         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11882         wordcopy objects.
11883         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11884         (__libc_ifunc_impl_list): Likewise.
11885         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11886         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11887         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11888         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11889         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11890         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11891
11892         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11893         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11894         file.
11895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11896         file.
11897         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11898         file.
11899         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11900         multiarch wcscpy for PPC32.
11901         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11902         multiarch objects.
11903         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11904         (__libc_ifunc_impl_list): Likewise.
11905         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11906         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11907         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11908         sysdeps/powerpc/power6/wcscpy.c.
11909
11910         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11911         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11912         file.
11913         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11914         file.
11915         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11916         file.
11917         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11918         multiarch wcsrchr for PPC32.
11919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11920         multiarch objects.
11921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11922         (__libc_ifunc_impl_list): Likewise.
11923         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11924         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11925         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11926         sysdeps/powerpc/power6/wcsrchr.c.
11927
11928         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11929         file.
11930         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11931         file.
11932         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11933         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11934         multiarch wcschr for PPc32.
11935         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11936         multiarch objects.
11937         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11938         (__libc_ifunc_impl_list): Likewise.
11939         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11940         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11941         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11942         sysdeps/powerpc/power6/wcschr.c.
11943
11944         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11945         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11946         file.
11947         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11948         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11949         file: multiarch strchr for PPC32.
11950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11951         multiarch objects.
11952         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11953         (__libc_ifunc_impl_list): Likewise.
11954
11955         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11956         name.
11957         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11958         file.
11959         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11960         file.
11961         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11962         multiarch strchrnul for PPC32.
11963         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11964         multiarch objects.
11965         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11966         (__libc_ifunc_impl_list): Likewise.
11967
11968         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11969         file.
11970         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11971         multiarch strncasecmp for PPC32.
11972         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11973         file.
11974         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11975         multiarch strncasecmp_l for PPC32.
11976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11977         strncasecmp multiarch objects.
11978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11979         (__libc_ifunc_impl_list): Likewise.
11980
11981         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11982         file.
11983         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11984         multiarch strncasecmp for PPC32.
11985         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11986         New file.
11987         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11988         multiarch strcasecmp_l for PPC32.
11989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11990         multiarch objects.
11991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11992         (__libc_ifunc_impl_list): Likewise.
11993
11994         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11995         file.
11996         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11997         file.
11998         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11999         multiarch strncmp for PPC32.
12000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12001         multiarch objects.
12002         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12003         (__libc_ifunc_impl_list): Likewise.
12004
12005         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12006         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12007         file.
12008         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12009         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12011         multiarch objects.
12012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12013         (__libc_ifunc_impl_list): Likewise.
12014
12015         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12016         file.
12017         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12018         file.
12019         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12021         multiarch objects.
12022         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12023         (__libc_ifunc_impl_list): Likewise.
12024
12025         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12026         file.
12027         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12028         file.
12029         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12030         multiarch rawmemchr for PPC32.
12031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12032         multiarch objects.
12033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12034         (__libc_ifunc_impl_list): Likewise.
12035
12036         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12037         file.
12038         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12039         file.
12040         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12041         file: memrchr multiarch for PPC32.
12042         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12043         multiarch objects.
12044         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12045         (__libc_ifunc_impl_list): Likewise.
12046
12047         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12048         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12049         file.
12050         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12051         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12052         multiarch memchr for PPC32.
12053         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12054         multiarch objects.
12055         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12056         (__libc_ifunc_impl_list): Likewise.
12057
12058         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12059         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12060         file.
12061         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12062         file.
12063         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12064         file: multiarch mempcpy for PPC32.
12065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12066         multiarch objects.
12067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12068         (__libc_ifunc_impl_list): Likewise.
12069
12070         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12071         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12072         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12073         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12074         multiarch bzero for PPC32.
12075         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12076         file.
12077         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12078         file.
12079         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12080         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12081         file: multiarch memset for PPC32.
12082         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12084         memset multiarch objects.
12085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12086         (__libc_ifunc_impl_list): Likewise.
12087
12088         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12089         file.
12090         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12091         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12092         memcmp for PPC32.
12093         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12095         multiarch objects.
12096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12097         (__libc_ifunc_impl_list): Likewise.
12098
12099         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12100         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12101         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12102         file.
12103         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12104         file.
12105         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12106         file.
12107         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12108         multiarch memcpy for PPC32.
12109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12110         multiarch objects.
12111         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12112         (__libc_ifunc_impl_list): Likewise.
12113
12114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12115         support multiarch for POWER/PPC32.
12116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12117         Likewise.
12118         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12120         Implies file to make multiarch folder appers before the fpu and
12121         default folder for power4 configuration.
12122
12123 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12124
12125         * scripts/bench.pl: Append volatile keyword to type.
12126
12127 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12128
12129         * sysdeps/sh/sotruss-lib.c: New file.
12130         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12131
12132 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12133
12134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12135
12136 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12137
12138         [BZ #6810]
12139         * math/w_tgamma.c: Include <errno.h>.
12140         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12141         * math/w_tgammaf.c: Include <errno.h>.
12142         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12143         * math/w_tgammal.c: Include <errno.h>.
12144         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12145         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12146         underflow.  Add more tgamma tests.
12147         * math/auto-libm-test-out: Regenerated.
12148         * sysdeps/i386/fpu/libm-test-ulps: Update.
12149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12150
12151         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12152         sin, sinh, tan, tanh, tgamma, y0 and y1.
12153         * math/auto-libm-test-out: Regenerated.
12154         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12155         (TEST_COND_x86): Likewise.
12156         (M_E2l): Remove macro.
12157         (M_E3l): Likewise.
12158         (M_2_SQRT_PIl): Likewise.
12159         (M_SQRT_PIl): Likewise.
12160         (M_1_DIV_El): Likewise.
12161         (log_test_data): Use AUTO_TESTS_f_f.
12162         (log10_test_data): Likewise.
12163         (log1p_test_data): Likewise.
12164         (log2_test_data): Likewise.
12165         (sin_test_data): Likewise.
12166         (sin_tonearest_test_data): Likewise.
12167         (sin_towardzero_test_data): Likewise.
12168         (sin_downward_test_data): Likewise.
12169         (sin_upward_test_data): Likewise.
12170         (sinh_test_data): Likewise.
12171         (sinh_tonearest_test_data): Likewise.
12172         (sinh_towardzero_test_data): Likewise.
12173         (sinh_downward_test_data): Likewise.
12174         (sinh_upward_test_data): Likewise.
12175         (tan_test_data): Likewise.
12176         (tan_tonearest_test_data): Likewise.
12177         (tan_towardzero_test_data): Likewise.
12178         (tan_downward_test_data): Likewise.
12179         (tan_upward_test_data): Likewise.
12180         (tanh_test_data): Likewise.
12181         (tgamma_test_data): Likewise.
12182         (y0_test_data): Likewise.
12183         (y1_test_data): Likewise.
12184         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12185         (special_real_inputs): Add pi/4.
12186         * sysdeps/i386/fpu/libm-test-ulps: Update.
12187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12188
12189 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12190
12191         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12192         "longjmp_target" static probes.
12193         (__longjmp): Rename to __longjmp_symbol.
12194         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12195         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12196         on which longjmp to generate.
12197         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12198         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12199         probe.
12200         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12201         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12202         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12203         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12204         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12205         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12207         __longjmp_symbol based on which __longjmp to generate.
12208         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12209         probe.
12210         (setjmp): Rename to setjmp_symbol.
12211         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12212         (_setjmp): Rename to _setjmp_symbol.
12213         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12214         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12215         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12216         which setjmp to generate.
12217         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12218         "longjmp_target" static probes.
12219
12220 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12221
12222         * benchtests/README: Add note about output arguments.
12223         * benchtests/bench-sincos.c: Remove file.
12224         * benchtests/sincos-inputs: New file.
12225         * scripts/bench.pl: Identify output arguments and define
12226         static variables for them.
12227
12228         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12229
12230         [BZ #15941]
12231         * Makefile (INSTALL): Add install-plain.texi as the primary
12232         dependency.
12233         * manual/install-plain.texi: New file.
12234         * manual/install.texi: Include node directive only for
12235         non-plaintext output.
12236
12237 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12238
12239         * stdlib/longlong.h: Update from GCC.
12240
12241         [BZ #6807]
12242         [BZ #15901]
12243         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12244         * math/w_j0f.c (y0f): Likewise.
12245         * math/w_j0l.c (__y0l): Likewise.
12246         * math/w_j1.c (y1): Likewise.
12247         * math/w_j1f.c (y1f): Likewise.
12248         * math/w_j1l.c (__y1l): Likewise
12249         * math/w_jn.c (yn): Likewise.
12250         * math/w_jnf.c (ynf): Likewise.
12251         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12252         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12253         value for Bessel function domain errors outside _SVID_ mode.
12254         Adjust sign of return value for yn (negative integer, 0).
12255         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12256         by zero in return for negative x and set sign appropriately for
12257         negative n.
12258         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12259         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12260         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12261         expectations in error cases.
12262         (y1_test_data): Likewise.
12263         (yn_test_data): Likewise.
12264         * sysdeps/i386/fpu/libm-test-ulps: Update.
12265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12266
12267 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12268
12269         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12270         "64" to "64-v1".  Add "64-v2".
12271         (abi-64-options): Rename to ...
12272         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12273         (abi-64-condition): Rename to ...
12274         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12275         (abi-64-ld-soname): Rename to ...
12276         (abi-64-v1-ld-soname): ... this.
12277         (abi-64-v2-options): Define.
12278         (abi-64-v2-condition): Likewise.
12279         (abi-64-v2-ld-soname): Likewise.
12280         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12281         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12285
12286 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12287             Alan Modra  <amodra@gmail.com>
12288
12289         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12290         New versions for use with the ELFv2 ABI.
12291         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12292         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12293         declaration.
12294         (struct La_ppc64v2_retval): Likewise.
12295         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12296         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12297         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12298         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12299         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12300         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12301         Do not save or restore CR.
12302         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12303         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12304         return values for ELFv2 ABI.  Fix location of FPR return registers.
12305         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12306         updated values for _CALL_ELF == 2.
12307         (La_regs, La_retval, int_retval): Likewise.
12308
12309 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12310
12311         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12312         (FRAME_MIN_SIZE_PARM): Likewise.
12313         (FRAME_BACKCHAIN): Likewise.
12314         (FRAME_CR_SAVE): Likewise.
12315         (FRAME_LR_SAVE): Likewise.
12316         (FRAME_TOC_SAVE): Likewise.
12317         (FRAME_PARM_SAVE): Likewise.
12318         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12319         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12320         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12321         (call_mcount_parm_offset): New macro.
12322         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12323         (PROF): Use symbolic stack frame offsets.
12324         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12325         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12326         Redefine in terms of FRAME_MIN_SIZE.
12327         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12328         (_dl_profile_resolve): Likewise.  Update comment.
12329         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12330         symbols stack frame offsets.
12331         (__sigsetjmp): Likewise.
12332         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12333         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12334         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12335         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12336
12337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12338         (FRAME_BACKCHAIN): Remove.
12339         (FRAME_CR_SAVE): Likewise.
12340         (FRAME_LR_SAVE): Likewise.
12341         (FRAME_COMPILER_DW): Likewise.
12342         (FRAME_LINKER_DW): Likewise.
12343         (FRAME_TOC_SAVE): Likewise.
12344         (FRAME_PARM_SAVE): Likewise.
12345         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12346         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12347         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12349         (CHECK_SP): Use symbolic stack frame offsets.
12350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12351         zone" instead of caller's parameter save area for temp storage.
12352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12353         Likewise.  Also, use symbolic stack frame offsets.
12354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12355         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12356         our own stack frame instead of the caller's.
12357         (__socket): Use symbolic stack frame offsets.
12358
12359 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12360             Alan Modra  <amodra@gmail.com>
12361
12362         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12363         Define.
12364         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12365         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12366         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12367         New function.
12368         (elf_machine_fixup_plt): Call it.
12369         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12370         reloc arguments.
12371         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12372         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12373         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12374         r2 before calling target.
12375
12376 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12377             Alan Modra  <amodra@gmail.com>
12378
12379         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12380         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12381         versions of macros to support ELFv2 ABI.
12382         (LOCALENTRY): New macro.
12383         (ENTRY, EALIGN): Use it.
12384         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12385         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12386         fall through into ENTRY entry point.
12387         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12388         Only define if _CALL_ELF != 2.
12389
12390         (elf_machine_matches_host): Verify ABI version matches.
12391         (RTLD_START): Use LOCALENTRY.
12392         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12393         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12394         (PLT_ENTRY_WORDS): New macro.
12395         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12396         (elf_machine_runtime_setup): Support ELFv2 ABI.
12397         (elf_machine_fixup_plt): Likewise.
12398         (elf_machine_plt_conflict): Likewise.
12399         (resolve_ifunc): Likewise.
12400         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12401         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12402         Likewise.
12403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12404         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12406         (makecontext): Support ELFv2 ABI.
12407         * elf/elf.h (EF_PPC64_ABI): Define.
12408
12409 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12410
12411         * sysdeps/powerpc/powerpc64/sysdep.h
12412         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12413         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12414         (ENTRY) [ASSEMBLER]: ... but instead here ...
12415         (EALIGN) [ASSEMBLER]: ... and here.
12416         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12417         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12418         (ENTRY_2) [!ASSEMBLER]: Use it.
12419         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12420         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12421         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12422         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12423         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12425         Use PPC64_LOAD_FUNCPTR.
12426
12427         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12428
12429 2013-12-04  Alan Modra  <amodra@gmail.com>
12430
12431         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12432         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12433         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12434         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12435
12436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12437         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12438         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12439         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12440         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12441         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12442
12443 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12444
12445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12446         (__makecontext): Fix incorrect CFI when backtracing out of
12447         context created via makecontext.
12448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12449         (__setcontext): Fix incorrect CFI during switch to new context.
12450         (__novec_setcontext): Likewise.
12451
12452 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12453
12454         [BZ #4772]
12455         * time/strptime_l.c (__strptime_internal): Allow modifiers
12456         in strptime.
12457         * time/tst-strptime.c (day_tests): Add testcase.
12458
12459 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12460
12461         * scripts/bench.pl: Skip over blank lines.
12462
12463 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12464
12465         [BZ #926]
12466         * manual/time.texi (Calendar Time): Clarify what timezone functions
12467         use.
12468
12469 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12470
12471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12472
12473 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12474
12475         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12476         implementation.
12477         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12478         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12479         * debug/memset_chk.c (__memset_chk): Likewise.
12480         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12481         * debug/strncpy_chk.c: Likewise.
12482
12483 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12484
12485         [BZ #15268]
12486         [BZ #15425]
12487         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12488         (__ieee754_exp): For possibly underflowing results, check size of
12489         result and force underflow exception if required.
12490         * math/auto-libm-test-in: Add more tests of exp.
12491         * math/auto-libm-test-out: Regenerated.
12492         * sysdeps/i386/fpu/libm-test-ulps: Update.
12493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12494
12495         [BZ #16283]
12496         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12497         * math/w_exp2f.c (__exp2f): Likewise.
12498         * math/w_exp2l.c (__exp2l): Likewise.
12499         * math/auto-libm-test-in: Do not allow missing errno on exp2
12500         underflow.
12501         * math/auto-libm-test-out: Regenerated.
12502
12503 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12504
12505         [BZ #16274]
12506         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12507         handle filename validation.
12508         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12509         (do_open): Delete.
12510
12511 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12512
12513         [BZ #6786]
12514         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12515         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12516         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12517         <float.h>.
12518         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12519         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12520         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12521         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12522         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12523         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12524         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12525         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12526         Add more erfc tests.
12527         * math/auto-libm-test-out: Regenerated.
12528         * sysdeps/i386/fpu/libm-test-ulps: Update.
12529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12530
12531         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12532         exp2, expm1, j0 and j1.
12533         * math/auto-libm-test-out: Regenerated.
12534         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12535         (erfc_test_data): Likewise.
12536         (exp_test_data): Likewise.
12537         (exp_tonearest_test_data): Likewise.
12538         (exp_towardzero_test_data): Likewise.
12539         (exp_downward_test_data): Likewise.
12540         (exp_upward_test_data): Likewise.
12541         (exp10_test_data): Likewise.
12542         (exp2_test_data): Likewise.
12543         (expm1_test_data): Likewise.
12544         (j0_test_data): Likewise.
12545         (j1_test_data): Likewise.
12546         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12547         (input_flag_type): Add flag_xfail_rounding.
12548         (input_flags): Add xfail-rounding.
12549         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12550         (output_for_one_input_case): Handle flag_xfail_rounding.
12551         * sysdeps/i386/fpu/libm-test-ulps: Update.
12552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12553
12554 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12555
12556         [BZ #16289]
12557         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12558         division by 0.
12559
12560 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12561
12562         [BZ #16195]
12563         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12564         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12565         (STAP_PROBE0): New macro.
12566         (STAP_PROBE1): Likewise.
12567         (STAP_PROBE2): Likewise.
12568         (STAP_PROBE3): Likewise.
12569         (STAP_PROBE4): Likewise.
12570
12571 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12572
12573         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12574
12575 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12576
12577         * benchtests/Makefile (bench): Add sqrt.
12578         (LDLIBS-bench-sqrt): New.
12579         * benchtests/sqrt-input: New.
12580
12581 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12582
12583         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12584         (GAIH_EAI): Likewise.
12585         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12586         (gaih_inet): Likewise.
12587         (getaddrinfo): Don't use GAIH_EAI.
12588
12589         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12590         (struct gaih): Remove definition.
12591
12592 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12593
12594         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12595         Use HERRNOP directly.
12596
12597 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12598
12599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12600
12601 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12602
12603         * math/gen-auto-libm-tests.c (test_functions): Add more
12604         single-argument functions.
12605         (special_fill_pi_2): New function.
12606         (special_fill_minus_pi_2): Likewise.
12607         (special_fill_pi_6): Likewise.
12608         (special_fill_minus_pi_6): Likewise.
12609         (special_fill_pi_3): Likewise.
12610         (special_fill_2pi_3): Likewise.
12611         (special_fill_e): Likewise.
12612         (special_fill_1_e): Likewise.
12613         (special_fill_e_minus_1): Likewise.
12614         (special_real_inputs): Add more special inputs.
12615         (output_for_one_input_case): Do not require ERANGE on underflow to
12616         zero if round-to-nearest result does not underflow to zero, unless
12617         exact results required.
12618         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12619         atan, atanh, cbrt, cos and cosh.
12620         * math/auto-libm-test-out: Regenerated.
12621         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12622         (acos_tonearest_test_data): Likewise.
12623         (acos_towardzero_test_data): Likewise.
12624         (acos_downward_test_data): Likewise.
12625         (acos_upward_test_data): Likewise.
12626         (acosh_test_data): Likewise.
12627         (asin_test_data): Likewise.
12628         (asin_tonearest_test_data): Likewise.
12629         (asin_towardzero_test_data): Likewise.
12630         (asin_upward_test_data): Likewise.
12631         (asinh_test_data): Likewise.
12632         (atan_test_data): Likewise.
12633         (atanh_test_data): Likewise.
12634         (cbrt_test_data): Likewise.
12635         (cos_test_data): Likewise.
12636         (cos_tonearest_test_data): Likewise.
12637         (cos_towardzero_test_data): Likewise.
12638         (cos_downward_test_data): Likewise.
12639         (cos_upward_test_data): Likewise.
12640         (cosh_test_data): Likewise.
12641         (cosh_tonearest_test_data): Likewise.
12642         (cosh_towardzero_test_data): Likewise.
12643         (cosh_downward_test_data): Likewise.
12644         (cosh_upward_test_data): Likewise.
12645         * sysdeps/i386/fpu/libm-test-ulps: Update.
12646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12647
12648 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12649
12650         [BZ #6787]
12651         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12652         * math/w_exp10f.c (__exp10f): Likewise.
12653         * math/w_exp10l.c (__exp10l): Likewise.
12654         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12655         errno settings in existing tests.
12656
12657         [BZ #14032]
12658         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12659         precision control set to double precision.
12660         * sysdeps/i386/fpu/w_sqrt.c: New file.
12661         * math/auto-libm-test-in: Add more tests.
12662         * math/auto-libm-test-out: Update.
12663
12664         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12665         (sqrt_test_tonearest): New function.
12666         (sqrt_towardzero_test_data): New variable.
12667         (sqrt_test_towardzero): New function.
12668         (sqrt_downward_test_data): New variable.
12669         (sqrt_test_downward): New function.
12670         (sqrt_upward_test_data): New variable.
12671         (sqrt_test_upward): New function.
12672         (main): Call the new functions.
12673
12674         * math/gen-auto-libm-tests.c: New file.
12675         * math/auto-libm-test-in: Likewise.
12676         * math/auto-libm-test-out: New generated file.
12677         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12678         variables.
12679         (%beautify): Add generated representations of zero.
12680         (top level): Set $auto_input and call parse_auto_input.
12681         (beautify): Remove trailing "f" from hex float constants.
12682         (parse_args): Handle XFAIL_TEST.
12683         (convert_condition): New function.
12684         (or_value): Likewise.
12685         (or_cond_value): Likewise.
12686         (generate_testfile): Handle AUTO_TESTS_* lines.
12687         (parse_auto_input): New function.
12688         * math/libm-test.inc (XFAIL_TEST): New macro.
12689         (ERRNO_UNCHANGED): Update value.
12690         (ERRNO_EDOM): Likewise.
12691         (ERRNO_ERANGE): Likewise.
12692         (IGNORE_RESULT): Likewise.
12693         (TEST_COND_flt_32): New macro.
12694         (TEST_COND_dbl_64): Likewise.
12695         (TEST_COND_ldbl_96_intel): Likewise.
12696         (TEST_COND_ldbl_96_m68k): Likewise.
12697         (TEST_COND_ldbl_128): Likewise.
12698         (TEST_COND_ldbl_128ibm): Likewise.
12699         (TEST_COND_long32): Likewise.
12700         (TEST_COND_long64): Likewise.
12701         (TEST_COND_before_rounding): Likewise.
12702         (TEST_COND_after_rounding): Likewise.
12703         (enable_test): Handle XFAIL_TEST flag.
12704         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12705         with finite results.
12706         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12707         auto-libm-test-out.
12708
12709 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12710             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12711
12712         [BZ #16214]
12713         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12714         __tls_get_addr_internal instead of __tls_get_offset in order to
12715         avoid GOT pointer dependency.  Make rtld export
12716         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12717         __tls_get_addr since we are a __tls_get_offset platform.
12718         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12719         GOT pointer being set up before.
12720         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12721
12722 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12723
12724         * manual/math.texi (Errors in Math Functions): Document accuracy
12725         goals.
12726
12727         [BZ #15004]
12728         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12729         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12730         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12731         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12732         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12733         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12734         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12735         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12736         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12737         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12738         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12739         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12740         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12741         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12742         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12743         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12744
12745         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12746         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12747         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12748         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12749         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12750         Likewise.
12751         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12752         Likewise.
12753         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12754         Likewise.
12755         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12756         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12757         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12758         atomic-feupdateenv and flt-rounds.
12759         * sysdeps/powerpc/nofpu/Versions (libc): Add
12760         __atomic_feholdexcept, __atomic_feclearexcept,
12761         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12762         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12763         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12764         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12765         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12766         here.
12767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12768         Update.
12769
12770         * manual/arith.texi (FP Exceptions): Document that exceptions may
12771         not be raised when matherr is used.
12772         (Math Error Reporting): Document overflow in directed rounding
12773         modes.  Document that errno may not be set when finite values are
12774         returned on overflow.  Document intent to set errno on underflow
12775         only for underflow to zero.
12776
12777         [BZ #16271]
12778         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12779         round-to-nearest then adjust result for other rounding modes.
12780         * include/fenv.h (fegetround): Use libm_hidden_proto.
12781         * math/fegetround.c (fegetround): Use libm_hidden_def.
12782         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12783         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12784         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12785         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12786         Likewise.
12787         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12788         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12789         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12790         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12791
12792 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12793
12794         [BZ #16077]
12795         * nss/Versions (libnss_files): Add
12796         _nss_files_gethostbyname3_r.
12797         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12798         New function.
12799         (HOST_DB_LOOKUP): Remove macro.
12800         (_nss_files_gethostbyname_r): Implement function without the
12801         HOST_DB_LOOKUP macro.
12802         (_nss_files_gethostbyname2_r): Likewise.
12803
12804 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12805
12806         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12807
12808 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12809
12810         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12811         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12812         warning.
12813
12814 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12815
12816         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12817         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12818         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12819         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12820         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12821         __fe_nomask_env_priv and attribute_hidden.
12822         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12823         (libc_feupdateenv_test_ppc): Likewise.
12824         (libc_feresetround_ppc): Likewise.
12825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12826         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12827         compat_symbol macro.
12828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12829         (__fe_nomask_env): Likewise.
12830         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12831
12832 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12833
12834         * string/Makefile: Remove ifunc tests.
12835         * string/test-string.h: Define TEST_IFUNC.
12836         * string/test-bcopy-ifunc.c: Remove.
12837         * string/test-bzero-ifunc.c: Likewise.
12838         * string/test-memccpy-ifunc.c: Likewise.
12839         * string/test-memchr-ifunc.c: Likewise.
12840         * string/test-memcmp-ifunc.c: Likewise.
12841         * string/test-memcpy-ifunc.c: Likewise.
12842         * string/test-memmem-ifunc.c: Likewise.
12843         * string/test-memmove-ifunc.c: Likewise.
12844         * string/test-mempcpy-ifunc.c: Likewise.
12845         * string/test-memrchr-ifunc.c: Likewise.
12846         * string/test-memset-ifunc.c: Likewise.
12847         * string/test-rawmemchr-ifunc.c: Likewise.
12848         * string/test-stpcpy-ifunc.c: Likewise.
12849         * string/test-stpncpy-ifunc.c: Likewise.
12850         * string/test-strcasecmp-ifunc.c: Likewise.
12851         * string/test-strcasestr-ifunc.c: Likewise.
12852         * string/test-strcat-ifunc.c: Likewise.
12853         * string/test-strchr-ifunc.c: Likewise.
12854         * string/test-strchrnul-ifunc.c: Likewise.
12855         * string/test-strcmp-ifunc.c: Likewise.
12856         * string/test-strcpy-ifunc.c: Likewise.
12857         * string/test-strcspn-ifunc.c: Likewise.
12858         * string/test-strlen-ifunc.c: Likewise.
12859         * string/test-strncasecmp-ifunc.c: Likewise.
12860         * string/test-strncat-ifunc.c: Likewise.
12861         * string/test-strncmp-ifunc.c: Likewise.
12862         * string/test-strncpy-ifunc.c: Likewise.
12863         * string/test-strnlen-ifunc.c: Likewise.
12864         * string/test-strpbrk-ifunc.c: Likewise.
12865         * string/test-strrchr-ifunc.c: Likewise.
12866         * string/test-strspn-ifunc.c: Likewise.
12867         * string/test-strstr-ifunc.c: Likewise.
12868
12869 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12870
12871         * benchtests/Makefile: Remove ifunc tests.
12872         * benchtests/bench-string.h: Define TEST_IFUNC.
12873         * benchtests/bench-bcopy-ifunc.c: Remove.
12874         * benchtests/bench-bzero-ifunc.c: Likewise.
12875         * benchtests/bench-memccpy-ifunc.c: Likewise.
12876         * benchtests/bench-memchr-ifunc.c: Likewise.
12877         * benchtests/bench-memcmp-ifunc.c: Likewise.
12878         * benchtests/bench-memcpy-ifunc.c: Likewise.
12879         * benchtests/bench-memmem-ifunc.c: Likewise.
12880         * benchtests/bench-memmove-ifunc.c: Likewise.
12881         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12882         * benchtests/bench-memrchr-ifunc.c: Likewise.
12883         * benchtests/bench-memset-ifunc.c: Likewise.
12884         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12885         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12886         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12887         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12888         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12889         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12890         * benchtests/bench-strcat-ifunc.c: Likewise.
12891         * benchtests/bench-strchr-ifunc.c: Likewise.
12892         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12893         * benchtests/bench-strcmp-ifunc.c: Likewise.
12894         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12895         * benchtests/bench-strcpy-ifunc.c: Likewise.
12896         * benchtests/bench-strcspn-ifunc.c: Likewise.
12897         * benchtests/bench-strlen-ifunc.c: Likewise.
12898         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12899         * benchtests/bench-strncat-ifunc.c: Likewise.
12900         * benchtests/bench-strncmp-ifunc.c: Likewise.
12901         * benchtests/bench-strncpy-ifunc.c: Likewise.
12902         * benchtests/bench-strnlen-ifunc.c: Likewise.
12903         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12904         * benchtests/bench-strrchr-ifunc.c: Likewise.
12905         * benchtests/bench-strsep-ifunc.c: Likewise.
12906         * benchtests/bench-strspn-ifunc.c: Likewise.
12907         * benchtests/bench-strstr-ifunc.c: Likewise.
12908
12909 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12910
12911         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12912
12913 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12914
12915         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12916         * rt/aio.h: Likewise.
12917         * sysdeps/gnu/bits/utmp.h: Likewise.
12918         * sysdeps/gnu/bits/utmpx.h: Likewise.
12919         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12920         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12921         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12922         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12923         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12924         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12925         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12926         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12927         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12928         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12929         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12930         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12931         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12933         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12934         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12935         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12936         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12937         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12938         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12939         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12940         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12941         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12942         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12943         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12944         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12945         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12946         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12947         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12948         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12949         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12950         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12951         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12952         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12953         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12954         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12955         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12956         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12957         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12958         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12959         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12960         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12961
12962 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12963
12964         [BZ #16245]
12965         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12966         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12967
12968 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12969
12970         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12971         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12972         Likewise.
12973
12974 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12975
12976         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12977         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12978         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12979         (__fesetround): Remove define.
12980         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12981         rounding and exceptions handling.
12982         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12983         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12984         (__fe_nomask_env): Likewise.
12985         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12986         __fegetround instead of fegetround.
12987         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12988         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12989
12990 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12991
12992         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12993         it's there.
12994
12995         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12996
12997 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12998
12999         [BZ #11157]
13000         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13001         (encrypt_r): Likewise.
13002         * malloc/obstack.h (obstack_free): Likewise.
13003         * posix/unistd.h (encrypt): Likewise.
13004
13005 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13006
13007         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13008         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13009         DL_CALL_DT_FINI() that call the functions directly.
13010         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13011         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13012         * elf/dl-fini.c: Likewise.
13013
13014 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13015
13016         * malloc/hooks.c (memalign_check): Add alignment rounding.
13017         * malloc/malloc.c (_mid_memalign): New function.
13018         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13019         Implement by calling _mid_memalign.
13020         * manual/probes.texi (Memory Allocation Probes): Remove
13021         memory_valloc_retry and memory_pvalloc_retry.
13022
13023 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13024
13025         * locale/programs/locarchive.c (open_archive): Add const
13026         qualifier to ARCHIVEFNAME and copy default fname to
13027         DEFAULT_FNAME.
13028
13029         [BZ #15601]
13030         * libio/tst-widetext.input: Rename Oriya to Odia.
13031         * locale/iso-639.def: Likewise.
13032
13033         * manual/probes.texi (Mathematical Function Probes): Add
13034         documentation for sin, cos, asin and acos probes.
13035         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13036         (__sin32): Add slowasin probe.
13037         (__cos32): Add slowacos probe.
13038         (__mpsin): Add slowsin probe.
13039         (__mpcos): Add slowcos probe.
13040
13041 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13042
13043         [BZ #15483]
13044         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13045         thread-local __sim_exceptions_thread and global
13046         __sim_exceptions_global.
13047         (__sim_disabled_exceptions): Change to thread-local
13048         __sim_disabled_exceptions_thread and global
13049         __sim_disabled_exceptions_global.
13050         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13051         and global __sim_round_mode_global.
13052         (__simulate_exceptions): Use thread-local floating-point state and
13053         set global state from it as needed.
13054         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13055         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13056         __sim_round_mode_thread.
13057         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13058         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13059         and global __sim_exceptions_global.
13060         (__sim_disabled_exceptions): Change to thread-local
13061         __sim_disabled_exceptions_thread and global
13062         __sim_disabled_exceptions_global.
13063         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13064         and global __sim_round_mode_global.
13065         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13066         (SIM_SET_GLOBAL): Likewise.
13067         * sysdeps/powerpc/soft-fp/sfp-machine.h
13068         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13069         __sim_round_mode_thread.
13070         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13071         __sim_disabled_exceptions_thread.
13072         (__sim_exceptions): Change to __sim_exceptions_thread.
13073         (__sim_disabled_exceptions): Change to
13074         __sim_disabled_exceptions_thread.
13075         (__sim_round_mode): Change to __sim_round_mode_thread.
13076         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13077         thread-local floating-point state and set global state from it as
13078         needed.
13079         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13080         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13081         (__sim_disabled_exceptions): Remove extern declaration.
13082         (feenableexcept): Use thread-local floating-point state and set
13083         global state from it as needed.
13084         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13085         extern declaration.
13086         (__sim_disabled_exceptions): Likewise.
13087         (__sim_round_mode): Likewise.
13088         (__fegetenv): Use thread-local floating-point state.
13089         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13090         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13091         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13092         floating-point state and set global state from it as needed.
13093         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13094         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13095         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13096         Likewise.
13097         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13098         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13099         Likewise.
13100         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13101         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13102         Use __sim_round_mode_thread.
13103         * math/test-fenv-tls.c: New file.
13104         * math/Makefile (tests): Add test-fenv-tls.
13105         ($(objpfx)test-fenv-tls): Depend on
13106         $(common-objpfx)nptl/libpthread.so.
13107
13108 2013-11-19  Andreas Schwab  <schwab@suse.de>
13109
13110         * locale/programs/locale.c (show_info): Decode wordarray elements.
13111         * locale/categories.def (LC_MONETARY): Add element for
13112         _NL_MONETARY_CRNCYSTR.
13113         * locale/C-monetary.c (conversion_rate): New variable.
13114         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13115         element.
13116
13117 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13118
13119         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13120         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13121
13122 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13123
13124         * elf/Makefile (tst-auxv): New test.
13125         * elf/tst-auxv.c: New
13126         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13127
13128 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13129
13130         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13131         (hidden_proto): Caller changed.
13132         (hidden_tls_proto): New macro.
13133         (libc_hidden_tls_proto): Likewise.
13134         (rtld_hidden_tls_proto): Likewise.
13135         (libm_hidden_tls_proto): Likewise.
13136         (libresolv_hidden_tls_proto): Likewise.
13137         (librt_hidden_tls_proto): Likewise.
13138         (libdl_hidden_tls_proto): Likewise.
13139         (libnss_files_hidden_tls_proto): Likewise.
13140         (libnsl_hidden_tls_proto): Likewise.
13141         (libnss_nisplus_hidden_tls_proto): Likewise.
13142         (libutil_hidden_tls_proto): Likewise.
13143
13144 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13145
13146         [BZ #10253]
13147         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13148         (decompose_rpath): Defer expansion to fillin_rpath.
13149         (_dl_init_paths): Pass linkmap to fillin_rpath.
13150
13151 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13152
13153         * benchtests/Makefile: Add strsep.
13154         * benchtests/bench-strsep.c: New file: strsep benchtest.
13155         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13156
13157 2013-11-18  Andreas Schwab  <schwab@suse.de>
13158
13159         * locale/programs/locale.c (show_info) [case byte]: Check for
13160         '\377' instead of '\177'.
13161         * locale/C-monetary.c (not_available): Always use "\377".
13162         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13163         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13164         detect unavailable sign_posn locale elements.
13165         * locale/localeconv.c (__localeconv): For grouping and
13166         mon_grouping handle "\177" and "\377" like no grouping.
13167         (INT_ELEM): New macro.  Use it to set all numeric members.
13168         * locale/programs/ld-monetary.c (monetary_read)
13169         <tok_mon_grouping>: Normalize single -1 to the empty string.
13170         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13171         Likewise.
13172
13173 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13174
13175         [BZ #16055]
13176         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13177         when we match (nil).
13178         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13179
13180 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13181
13182         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13183         (NO_TEST_INLINE): Update value.
13184         (ERRNO_UNCHANGED): Likewise.
13185         (ERRNO_EDOM): Likewise.
13186         (ERRNO_ERANGE): Likewise.
13187         (IGNORE_RESULT): Likewise.
13188         (check_float_internal): Check signs of NaN results if
13189         TEST_NAN_SIGN used.
13190         (check_complex): Pass TEST_NAN_SIGN flag through to second
13191         check_float_internal call.
13192         (copysign_test_data): Add tests with quiet NaNs as second
13193         argument.  Use TEST_NAN_SIGN.
13194         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13195         TEST_NAN_SIGN.
13196         (signbit_test_data): Add tests of quiet NaN argument.
13197         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13198
13199         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13200         $ignore_result.
13201         (parse_args): Handle function results specified as IGNORE.
13202         * math/libm-test.inc (IGNORE_RESULT): New macro.
13203         (check_float_internal): Do not check numerical result if flag
13204         IGNORE_RESULT set.
13205         (check_complex): Pass through IGNORE_RESULT to second
13206         check_float_internal call.
13207         (check_int): Do not check numerical result if flag IGNORE_RESULT
13208         set.
13209         (check_long): Likewise.
13210         (check_bool): Likewise.
13211         (check_longlong): Likewise.
13212         (lrint_test_data): Add tests of infinite and NaN arguments.
13213         (lrint_tonearest_test_data): Likewise.
13214         (lrint_towardzero_test_data): Likewise.
13215         (lrint_downward_test_data): Likewise.
13216         (lrint_upward_test_data): Likewise.
13217         (llrint_test_data): Likewise.
13218         (llrint_tonearest_test_data): Likewise.
13219         (llrint_towardzero_test_data): Likewise.
13220         (llrint_downward_test_data): Likewise.
13221         (llrint_upward_test_data): Likewise.
13222         (lround_test_data): Likewise.
13223         (llround_test_data): Likewise.
13224
13225         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13226         (ERRNO_UNCHANGED): Update value.
13227         (ERRNO_EDOM): Likewise.
13228         (ERRNO_ERANGE): Likewise.
13229         (NO_TEST_INLINE_FLOAT): New macro.
13230         (NO_TEST_INLINE_DOUBLE): Likewise.
13231         (enable_test): New function.
13232         (RUN_TEST_f_f): Check enable_test before running test.
13233         (RUN_TEST_2_f): Likewise.
13234         (RUN_TEST_fff_f): Likewise.
13235         (RUN_TEST_c_f): Likewise.
13236         (RUN_TEST_f_f1): Likewise.
13237         (RUN_TEST_fF_f1): Likewise.
13238         (RUN_TEST_fI_f1): Likewise.
13239         (RUN_TEST_ffI_f1): Likewise.
13240         (RUN_TEST_c_c): Likewise.
13241         (RUN_TEST_cc_c): Likewise.
13242         (RUN_TEST_f_i): Likewise.
13243         (RUN_TEST_f_i_tg): Likewise.
13244         (RUN_TEST_ff_i_tg): Likewise.
13245         (RUN_TEST_f_b): Likewise.
13246         (RUN_TEST_f_b_tg): Likewise.
13247         (RUN_TEST_f_l): Likewise.
13248         (RUN_TEST_f_L): Likewise.
13249         (RUN_TEST_fFF_11): Likewise.
13250         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13251         conditionals.
13252         (cosh_test_data): Likewise.
13253         (exp_test_data): Likewise.
13254         (expm1_test_data): Likewise.
13255         (hypot_test_data): Likewise.
13256         (pow_test_data): Likewise.
13257         (sinh_test_data): Likewise.
13258         (tanh_test_data): Likewise.
13259         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13260         flags argument.
13261
13262         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13263         tests with quiet NaN input and output.
13264         (acosh_test_data): Likewise.
13265         (asin_test_data): Likewise.
13266         (asinh_test_data): Likewise.
13267         (atan_test_data): Likewise.
13268         (atanh_test_data): Likewise.
13269         (atan2_test_data): Likewise.
13270         (cbrt_test_data): Likewise.
13271         (cos_test_data): Likewise.
13272         (cosh_test_data): Likewise.
13273         (erf_test_data): Likewise.
13274         (erfc_test_data): Likewise.
13275         (exp_test_data): Likewise.
13276         (exp10_test_data): Likewise.
13277         (exp2_test_data): Likewise.
13278         (expm1_test_data): Likewise.
13279         (hypot_test_data): Likewise.
13280         (j0_test_data): Likewise.
13281         (j1_test_data): Likewise.
13282         (jn_test_data): Likewise.
13283         (lgamma_test_data): Likewise.
13284         (log_test_data): Likewise.
13285         (log10_test_data): Likewise.
13286         (log1p_test_data): Likewise.
13287         (log2_test_data): Likewise.
13288         (pow_test_data): Likewise.
13289         (scalb_test_data): Likewise.
13290         (sin_test_data): Likewise.
13291         (sincos_test_data): Likewise.
13292         (sinh_test_data): Likewise.
13293         (tan_test_data): Likewise.
13294         (tanh_test_data): Likewise.
13295         (tgamma_test_data): Likewise.
13296         (y0_test_data): Likewise.
13297         (y1_test_data): Likewise.
13298         (yn_test_data): Likewise.
13299
13300         [BZ #16167]
13301         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13302         argument being NaN and avoid computations with second argument in
13303         that case.
13304         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13305         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13306         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13307
13308 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13309
13310         * locale/iso-639.def: Add Chitwani Tharu (the).
13311
13312 2013-11-14  Andreas Schwab  <schwab@suse.de>
13313
13314         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13315         word instead of empty string.
13316
13317 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13318
13319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13320         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13322         (__fe_nomask_env): Likewise.
13323
13324 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13325
13326         * benchtests/bench-timing.h: Include time.h.
13327
13328 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13329
13330         [BZ #15997]
13331         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13332         to 3.4.0 for x32.
13333         * sysdeps/unix/sysv/linux/configure: Regenerated.
13334
13335 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13336
13337         [BZ #16151]
13338         * stdlib/strtod_l.c (round_and_return): Do not consider
13339         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13340         exponent one less than half the least subnormal exponent.
13341         * stdlib/test-strtod-round-data: Add more tests.
13342         * stdlib/tst-strtod-round.c (tests): Regenerated.
13343
13344 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13345
13346         [BZ #14143]
13347         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13348         (__fe_mask_env): Likewise.
13349         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13350         libm_hidden_proto and add function prototype.
13351         (__fe_mask_env): Add function prototype.
13352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13353         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13355         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13357         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13358
13359 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13360
13361         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13362         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13363
13364 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13365
13366         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13367         of htab_find_slot().
13368
13369 2013-11-11  David S. Miller  <davem@davemloft.net>
13370
13371         [BZ #16150]
13372         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13373         symbol in the non-vis3 case in static builds.
13374         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13375         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13376         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13377         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13378
13379 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13380
13381         [BZ #387]
13382         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13383         it is empty.
13384
13385 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13386
13387         * benchtests/Makefile: Add bench-strtod.
13388         * benchtests/bench-strtod.c: New file: strtod benchtest
13389
13390 2013-11-11  Andreas Schwab  <schwab@suse.de>
13391
13392         [BZ #16153]
13393         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13394         terminating NUL in key length.
13395
13396 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13397
13398         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13399         Add artificial ODP entry for vDSO symbol for PPC64.
13400         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13401         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13402
13403 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13404
13405         [BZ #15374]
13406         * nss/getent.c (services_keys): Recognize services starting with digit.
13407
13408 2013-11-06  David S. Miller  <davem@davemloft.net>
13409
13410         [BZ #15985]
13411         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13412         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13413
13414 2013-11-06  Will Newton  <will.newton@linaro.org>
13415
13416         * manual/memory.texi (Malloc Examples): Remove register
13417         keyword from examples.
13418
13419 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13420
13421         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13422
13423 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13424
13425         [BZ #6981]
13426         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13427         depending on [__GCC_IEC_559 > 0].
13428         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13429         depending on [__GCC_IEC_559_COMPLEX > 0].
13430
13431 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13432
13433         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13434         to iso-639.def.
13435
13436 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13437
13438         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13439
13440 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13441
13442         [BZ #16112]
13443         * malloc/malloc (malloc_info): Do not handle first bin as
13444         special case.
13445
13446 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13447
13448         * locale/iso-639.def: Add Central Nahuatl (nhn).
13449
13450 2013-11-01  Bruno Haible  <bruno@clisp.org>
13451
13452         [BZ #7003]
13453         * manual/math.texi (BSD Random): Specify range upper bound as
13454         in POSIX.
13455
13456 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13457
13458         * locale/iso-639.def: Add Meadow Mari (mhr).
13459
13460 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13461
13462         [BZ #14752], [BZ #15763]
13463         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13464         Validate name.
13465         * rt/tst_shm.c: Add test for escaping directory.
13466
13467 2013-10-31  Andreas Schwab  <schwab@suse.de>
13468
13469         [BZ #15917]
13470         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13471         followed by 'x' as part of digit sequence.
13472         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13473
13474 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13475
13476         [BZ #16037]
13477         * configure.ac: allow GNU Make 4.0 and greater.
13478         * configure: Regenerated.
13479
13480 2013-10-30  Will Newton  <will.newton@linaro.org>
13481
13482         [BZ #16038]
13483         * malloc/hooks.c (memalign_check): Limit alignment to the
13484         maximum representable power of two.
13485         * malloc/malloc.c (__libc_memalign): Likewise.
13486         * malloc/tst-memalign.c (do_test): Add test for very
13487         large alignment values.
13488         * malloc/tst-posix_memalign.c (do_test): Likewise.
13489
13490 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13491
13492         [BZ #11087]
13493         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13494         (munmap_chunk): Likewise.
13495         (mremap_chunk): Likewise.
13496
13497 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13498
13499         [BZ #15799]
13500         * stdlib/div.c (div): Remove obsolete code.
13501         * stdlib/ldiv.c (ldiv): Likewise.
13502         * stdlib/lldiv.c (lldiv): Likewise.
13503
13504 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13505
13506         [BZ #16071]
13507         * nss/nss_files/files-XXX.c (get_contents_ret): New
13508         enumerator.
13509         (get_contents): New function.
13510         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13511
13512 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13513
13514         * configure.in: Moved to ...
13515         * configure.ac: ... here. Change reference to configure.in
13516         to configure.ac.
13517         * sysdeps/arm/preconfigure.ac: ... here.
13518         configure.in to configure.ac.
13519         * sysdeps/gnu/configure.in: Moved to ...
13520         * sysdeps/gnu/configure.ac: ... here.
13521         * sysdeps/i386/configure.in: Moved to ...
13522         * sysdeps/i386/configure.ac: ... here.
13523         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13524         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13525         * sysdeps/mach/configure.in: Moved to ...
13526         * sysdeps/mach/configure.ac: ... here.
13527         * sysdeps/mach/hurd/configure.in: Moved to ...
13528         * sysdeps/mach/hurd/configure.ac: ... here.
13529         * sysdeps/powerpc/configure.in: Moved to ...
13530         * sysdeps/powerpc/configure.ac: ... here.
13531         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13532         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13533         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13534         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13535         * sysdeps/s390/s390-32/configure.in: Moved to ...
13536         * sysdeps/s390/s390-32/configure.ac: ... here.
13537         * sysdeps/s390/s390-64/configure.in: Moved to ...
13538         * sysdeps/s390/s390-64/configure.ac: ... here.
13539         * sysdeps/sh/configure.in: Moved to ...
13540         * sysdeps/sh/configure.ac: ... here.
13541         * sysdeps/sparc/configure.in: Moved to ...
13542         * sysdeps/sparc/configure.ac: ... here.
13543         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13544         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13545         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13546         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13547         * sysdeps/x86_64/configure.in: Moved to ...
13548         * sysdeps/x86_64/configure.ac: ... here.
13549         * sysdeps/x86_64/preconfigure.in: Moved to ...
13550         * sysdeps/x86_64/preconfigure.ac: ... here.
13551         * aclocal.m4: Change reference to configure.in to configure.ac.
13552         * config.h.in: Likewise.
13553         * manual/install.texi: Likewise.
13554         * manual/maint.texi: Likewise.
13555         * Makefile: Likewise.
13556         * malloc/Makefile: Likewise.
13557         * nscd/Makefile: Likewise.
13558         * Makeconfig: Change reference to configure.in and
13559         preconfigure.in to configure.ac and preconfigure.ac
13560         respectively.
13561         * INSTALL: Regenerated.
13562         * configure: Likewise.
13563         * sysdeps/gnu/configure: Likewise.
13564         * sysdeps/i386/configure: Likewise.
13565         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13566         * sysdeps/mach/configure: Likewise.
13567         * sysdeps/mach/hurd/configure: Likewise.
13568         * sysdeps/powerpc/configure: Likewise.
13569         * sysdeps/powerpc/powerpc32/configure: Likewise.
13570         * sysdeps/powerpc/powerpc64/configure: Likewise.
13571         * sysdeps/s390/s390-32/configure: Likewise.
13572         * sysdeps/s390/s390-64/configure: Likewise.
13573         * sysdeps/sh/configure: Likewise.
13574         * sysdeps/sparc/configure: Likewise.
13575         * sysdeps/unix/sysv/linux/configure: Likewise.
13576         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13577         * sysdeps/x86_64/configure: Likewise.
13578         * sysdeps/x86_64/preconfigure: Likewise.
13579
13580 2013-10-29  Andreas Schwab  <schwab@suse.de>
13581
13582         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13583
13584 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13585
13586         * benchtests/pow-inputs: Add new inputs.
13587
13588         * benchtests/exp-inputs: Add new inputs.
13589
13590         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13591         conditional check for return value.
13592         (__cos32): Likewise.
13593
13594 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13595
13596         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13597         to provide a boost for large inputs with word alignment.
13598         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13599         implementation based on optimized PPC64 strcpy.
13600         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13601         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13602         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13603         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13604
13605 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13606
13607         [BZ #2801]
13608         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13609
13610 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13611
13612         [BZ #14876]
13613         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13614         * time/tst-strptime.c (day_tests): Add testcase.
13615
13616 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13617
13618         [BZ #14029]
13619         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13620
13621 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13622
13623         [BZ #16074]
13624         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13625         MAP_FAILED on error.
13626
13627 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13628
13629         [BZ #16072]
13630         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13631         heap for large requests.
13632
13633 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13634
13635         [BZ #9954]
13636         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13637         result if the result has no associated interface.
13638         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13639         interface for all 127.X.Y.Z addresses.
13640
13641 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13642
13643         * locale/iso-639.def: Add Ligurian (lij)
13644
13645 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13646
13647         [BZ #15825]
13648         * sunrpc/rpc_main.c: Document rpcgen -5.
13649
13650 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13651
13652         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13653
13654 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13655
13656         [BZ #10278]
13657         * posix/glob.c: Match only directories when trailing slash is present.
13658         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13659         (main): Add testcase.
13660
13661 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13662
13663         [BZ #15670]
13664         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13665
13666 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13667
13668         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13669         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13670         AUTH_DES and cindex for FIPS 140-2.
13671         (DES Encryption): Add cindex FIPS 46-3.
13672
13673         * locale/locarchive.h (struct locarhandle): Add fname.
13674         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13675         if an optional argument was specified to --list-archive,
13676         otherwise NULL.
13677         * locale/programs/locarchive.c (show_archive_content): Take new
13678         argument fname and pass it via ah.fname to open_archive.
13679         * locale/programs/localedef.h: Update decl.
13680         (open_archive): If AH->fname is non-null, open that file
13681         rather than the default file name, and don't ignore ENOENT.
13682         (create_archive): Set AH.fname to NULL.
13683         (delete_locales_from_archive): Likewise.
13684         (add_locales_to_archive): Likewise.
13685         * locale/programs/locfile.c (write_all_categories): Likewise.
13686
13687 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13688             Aldy Hernandez  <aldyh@redhat.com>
13689
13690         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13691         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13692         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13693         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13694         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13695         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13696         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13697         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13698         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13699         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13700         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13701         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13702         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13703         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13704         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13705         Likewise.
13706         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13707         Likewise.
13708         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13709         Likewise.
13710         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13711         Likewise.
13712         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13713         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13714         Likewise.
13715         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13716         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13717         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13718         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13719         Likewise.
13720         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13721         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13722         * sysdeps/powerpc/preconfigure: Likewise.
13723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13724         Likewise.
13725         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13726         Replace contents of file by #include of <fenv_libc.h>.
13727         * sysdeps/powerpc/soft-fp/sfp-machine.h
13728         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13729         and <sys/prctl.h>.
13730         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13731         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13732         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13733         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13734         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13735         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13737         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13738         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13739         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13740         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13741         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13743         Allow copysignl PLT reference to be missing.
13744
13745 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13746             Joseph Myers  <joseph@codesourcery.com
13747
13748         [BZ #15948]
13749         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13750         single character.
13751         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13752
13753 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13754
13755         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13756         * elf/tst-tls1.c: Likewise.
13757         * elf/tst-tls10.h: Likewise.
13758         * elf/tst-tls14.c: Likewise.
13759         * elf/tst-tls2.c: Likewise.
13760         * elf/tst-tls3.c: Likewise.
13761         * elf/tst-tls4.c: Likewise.
13762         * elf/tst-tls5.c: Likewise.
13763         * elf/tst-tls6.c: Likewise.
13764         * elf/tst-tls7.c: Likewise.
13765         * elf/tst-tls8.c: Likewise.
13766         * elf/tst-tls9.c: Likewise.
13767         * elf/tst-tlsmod1.c: Likewise.
13768         * elf/tst-tlsmod13.c: Likewise.
13769         * elf/tst-tlsmod13a.c: Likewise.
13770         * elf/tst-tlsmod14a.c: Likewise.
13771         * elf/tst-tlsmod16a.c: Likewise.
13772         * elf/tst-tlsmod16b.c: Likewise.
13773         * elf/tst-tlsmod2.c: Likewise.
13774         * elf/tst-tlsmod3.c: Likewise.
13775         * elf/tst-tlsmod4.c: Likewise.
13776         * elf/tst-tlsmod5.c: Likewise.
13777         * elf/tst-tlsmod6.c: Likewise.
13778
13779 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13780
13781         [BZ #12486]
13782         * malloc/malloc.c: remove checks for statistics.
13783
13784 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13785
13786         [BZ #15277]
13787         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13788         * inet/tst-network.c: Add testcase.
13789
13790 2013-10-17  Andreas Schwab  <schwab@suse.de>
13791
13792         [BZ #15218]
13793         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13794         to determine canonical name.
13795
13796 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13797
13798         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13799         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13800         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13801         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13802         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13803         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13804         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13805         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13806         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13807         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13808         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13809         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13810         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13811         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13812         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13813         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13814         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13815         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13816         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13817         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13818         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13819         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13820         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13821         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13822         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13823         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13824         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13825         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13826         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13827         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13828         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13829         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13830         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13831         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13832         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13833         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13834         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13835         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13836         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13837         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13838         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13839         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13840         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13841         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13842         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13843         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13844         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13845         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13846         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13847         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13848         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13849         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13850         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13851         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13852         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13853         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13854         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13855         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13856
13857 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13858
13859         [BZ #16041]
13860         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13861         make result into a quiet NaN.
13862
13863 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13864
13865         * soft-fp/adddf3.c: Fix horizontal whitespace.
13866         * soft-fp/addsf3.c: Likewise.
13867         * soft-fp/addtf3.c: Likewise.
13868         * soft-fp/divdf3.c: Likewise.
13869         * soft-fp/divsf3.c: Likewise.
13870         * soft-fp/divtf3.c: Likewise.
13871         * soft-fp/double.h: Likewise.
13872         * soft-fp/eqdf2.c: Likewise.
13873         * soft-fp/eqsf2.c: Likewise.
13874         * soft-fp/eqtf2.c: Likewise.
13875         * soft-fp/extenddftf2.c: Likewise.
13876         * soft-fp/extended.h: Likewise.
13877         * soft-fp/extendsfdf2.c: Likewise.
13878         * soft-fp/extendsftf2.c: Likewise.
13879         * soft-fp/extendxftf2.c: Likewise.
13880         * soft-fp/fixdfdi.c: Likewise.
13881         * soft-fp/fixdfsi.c: Likewise.
13882         * soft-fp/fixdfti.c: Likewise.
13883         * soft-fp/fixsfdi.c: Likewise.
13884         * soft-fp/fixsfsi.c: Likewise.
13885         * soft-fp/fixsfti.c: Likewise.
13886         * soft-fp/fixtfdi.c: Likewise.
13887         * soft-fp/fixtfsi.c: Likewise.
13888         * soft-fp/fixtfti.c: Likewise.
13889         * soft-fp/fixunsdfdi.c: Likewise.
13890         * soft-fp/fixunsdfsi.c: Likewise.
13891         * soft-fp/fixunsdfti.c: Likewise.
13892         * soft-fp/fixunssfdi.c: Likewise.
13893         * soft-fp/fixunssfsi.c: Likewise.
13894         * soft-fp/fixunssfti.c: Likewise.
13895         * soft-fp/fixunstfdi.c: Likewise.
13896         * soft-fp/fixunstfsi.c: Likewise.
13897         * soft-fp/fixunstfti.c: Likewise.
13898         * soft-fp/floatdidf.c: Likewise.
13899         * soft-fp/floatdisf.c: Likewise.
13900         * soft-fp/floatditf.c: Likewise.
13901         * soft-fp/floatsidf.c: Likewise.
13902         * soft-fp/floatsisf.c: Likewise.
13903         * soft-fp/floatsitf.c: Likewise.
13904         * soft-fp/floattidf.c: Likewise.
13905         * soft-fp/floattisf.c: Likewise.
13906         * soft-fp/floattitf.c: Likewise.
13907         * soft-fp/floatundidf.c: Likewise.
13908         * soft-fp/floatundisf.c: Likewise.
13909         * soft-fp/floatunditf.c: Likewise.
13910         * soft-fp/floatunsidf.c: Likewise.
13911         * soft-fp/floatunsisf.c: Likewise.
13912         * soft-fp/floatunsitf.c: Likewise.
13913         * soft-fp/floatuntidf.c: Likewise.
13914         * soft-fp/floatuntisf.c: Likewise.
13915         * soft-fp/floatuntitf.c: Likewise.
13916         * soft-fp/fmadf4.c: Likewise.
13917         * soft-fp/fmasf4.c: Likewise.
13918         * soft-fp/fmatf4.c: Likewise.
13919         * soft-fp/gedf2.c: Likewise.
13920         * soft-fp/gesf2.c: Likewise.
13921         * soft-fp/getf2.c: Likewise.
13922         * soft-fp/ledf2.c: Likewise.
13923         * soft-fp/lesf2.c: Likewise.
13924         * soft-fp/letf2.c: Likewise.
13925         * soft-fp/muldf3.c: Likewise.
13926         * soft-fp/mulsf3.c: Likewise.
13927         * soft-fp/multf3.c: Likewise.
13928         * soft-fp/negdf2.c: Likewise.
13929         * soft-fp/negsf2.c: Likewise.
13930         * soft-fp/negtf2.c: Likewise.
13931         * soft-fp/op-1.h: Likewise.
13932         * soft-fp/op-2.h: Likewise.
13933         * soft-fp/op-4.h: Likewise.
13934         * soft-fp/op-8.h: Likewise.
13935         * soft-fp/op-common.h: Likewise.
13936         * soft-fp/quad.h: Likewise.
13937         * soft-fp/single.h: Likewise.
13938         * soft-fp/soft-fp.h: Likewise.
13939         * soft-fp/sqrtdf2.c: Likewise.
13940         * soft-fp/sqrtsf2.c: Likewise.
13941         * soft-fp/sqrttf2.c: Likewise.
13942         * soft-fp/subdf3.c: Likewise.
13943         * soft-fp/subsf3.c: Likewise.
13944         * soft-fp/subtf3.c: Likewise.
13945         * soft-fp/truncdfsf2.c: Likewise.
13946         * soft-fp/trunctfdf2.c: Likewise.
13947         * soft-fp/trunctfsf2.c: Likewise.
13948         * soft-fp/trunctfxf2.c: Likewise.
13949         * soft-fp/unorddf2.c: Likewise.
13950         * soft-fp/unordsf2.c: Likewise.
13951         * soft-fp/unordtf2.c: Likewise.
13952
13953 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13954
13955         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13956         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13957
13958 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13959
13960         * elf/dl-libc.c: Clear initfini list after freeing.
13961
13962 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13963
13964         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13965         * soft-fp/addsf3.c: Likewise.
13966         * soft-fp/addtf3.c: Likewise.
13967         * soft-fp/divdf3.c: Likewise.
13968         * soft-fp/divsf3.c: Likewise.
13969         * soft-fp/divtf3.c: Likewise.
13970         * soft-fp/double.h: Likewise.
13971         * soft-fp/eqdf2.c: Likewise.
13972         * soft-fp/eqsf2.c: Likewise.
13973         * soft-fp/eqtf2.c: Likewise.
13974         * soft-fp/extenddftf2.c: Likewise.
13975         * soft-fp/extended.h: Likewise.
13976         * soft-fp/extendsfdf2.c: Likewise.
13977         * soft-fp/extendsftf2.c: Likewise.
13978         * soft-fp/extendxftf2.c: Likewise.
13979         * soft-fp/fixdfdi.c: Likewise.
13980         * soft-fp/fixdfsi.c: Likewise.
13981         * soft-fp/fixdfti.c: Likewise.
13982         * soft-fp/fixsfdi.c: Likewise.
13983         * soft-fp/fixsfsi.c: Likewise.
13984         * soft-fp/fixsfti.c: Likewise.
13985         * soft-fp/fixtfdi.c: Likewise.
13986         * soft-fp/fixtfsi.c: Likewise.
13987         * soft-fp/fixtfti.c: Likewise.
13988         * soft-fp/fixunsdfdi.c: Likewise.
13989         * soft-fp/fixunsdfsi.c: Likewise.
13990         * soft-fp/fixunsdfti.c: Likewise.
13991         * soft-fp/fixunssfdi.c: Likewise.
13992         * soft-fp/fixunssfsi.c: Likewise.
13993         * soft-fp/fixunssfti.c: Likewise.
13994         * soft-fp/fixunstfdi.c: Likewise.
13995         * soft-fp/fixunstfsi.c: Likewise.
13996         * soft-fp/fixunstfti.c: Likewise.
13997         * soft-fp/floatdidf.c: Likewise.
13998         * soft-fp/floatdisf.c: Likewise.
13999         * soft-fp/floatditf.c: Likewise.
14000         * soft-fp/floatsidf.c: Likewise.
14001         * soft-fp/floatsisf.c: Likewise.
14002         * soft-fp/floatsitf.c: Likewise.
14003         * soft-fp/floattidf.c: Likewise.
14004         * soft-fp/floattisf.c: Likewise.
14005         * soft-fp/floattitf.c: Likewise.
14006         * soft-fp/floatundidf.c: Likewise.
14007         * soft-fp/floatundisf.c: Likewise.
14008         * soft-fp/floatunsidf.c: Likewise.
14009         * soft-fp/floatunsisf.c: Likewise.
14010         * soft-fp/floatuntidf.c: Likewise.
14011         * soft-fp/floatuntisf.c: Likewise.
14012         * soft-fp/floatuntitf.c: Likewise.
14013         * soft-fp/fmadf4.c: Likewise.
14014         * soft-fp/fmasf4.c: Likewise.
14015         * soft-fp/fmatf4.c: Likewise.
14016         * soft-fp/gedf2.c: Likewise.
14017         * soft-fp/gesf2.c: Likewise.
14018         * soft-fp/getf2.c: Likewise.
14019         * soft-fp/ledf2.c: Likewise.
14020         * soft-fp/lesf2.c: Likewise.
14021         * soft-fp/letf2.c: Likewise.
14022         * soft-fp/muldf3.c: Likewise.
14023         * soft-fp/mulsf3.c: Likewise.
14024         * soft-fp/multf3.c: Likewise.
14025         * soft-fp/negdf2.c: Likewise.
14026         * soft-fp/negsf2.c: Likewise.
14027         * soft-fp/negtf2.c: Likewise.
14028         * soft-fp/op-1.h: Likewise.
14029         * soft-fp/op-2.h: Likewise.
14030         * soft-fp/op-4.h: Likewise.
14031         * soft-fp/op-8.h: Likewise.
14032         * soft-fp/op-common.h: Likewise.
14033         * soft-fp/quad.h: Likewise.
14034         * soft-fp/single.h: Likewise.
14035         * soft-fp/soft-fp.h: Likewise.
14036         * soft-fp/sqrtdf2.c: Likewise.
14037         * soft-fp/sqrtsf2.c: Likewise.
14038         * soft-fp/sqrttf2.c: Likewise.
14039         * soft-fp/subdf3.c: Likewise.
14040         * soft-fp/subsf3.c: Likewise.
14041         * soft-fp/subtf3.c: Likewise.
14042         * soft-fp/truncdfsf2.c: Likewise.
14043         * soft-fp/trunctfdf2.c: Likewise.
14044         * soft-fp/trunctfsf2.c: Likewise.
14045         * soft-fp/trunctfxf2.c: Likewise.
14046         * soft-fp/unorddf2.c: Likewise.
14047         * soft-fp/unordsf2.c: Likewise.
14048         * soft-fp/unordtf2.c: Likewise.
14049
14050 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14051
14052         [BZ #15672]
14053         * misc/error.c (error_tail): Fix possible buffer overflow.
14054
14055 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14056
14057         [BZ #13028]
14058         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14059         address.
14060
14061 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14062
14063         [BZ #832]
14064         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14065         testing pipefail option.
14066
14067 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14068
14069         * soft-fp/double.h: Indent preprocessor directives inside #if.
14070         * soft-fp/extended.h: Likewise.
14071         * soft-fp/op-2.h: Likewise.
14072         * soft-fp/op-4.h: Likewise.
14073         * soft-fp/op-common.h: Likewise.
14074         * soft-fp/quad.h: Likewise.
14075         * soft-fp/single.h: Likewise.
14076         * soft-fp/soft-fp.h: Likewise.
14077
14078 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14079
14080         * iconv/iconv_prog.c: Fix typos.
14081         * stdio-common/psiginfo-data.h: Likewise.
14082
14083 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14084
14085         [BZ #15764]
14086         * locale/setlocale.c: Fix typo.
14087
14088 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14089
14090         [BZ #16036]
14091         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14092         signaling NaN arguments.
14093         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14094         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14095
14096         [BZ #14910]
14097         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14098         unordered operands.
14099         * soft-fp/gesf2.c (__gesf2): Likewise.
14100         * soft-fp/getf2.c (__getf2): Likewise.
14101         * soft-fp/ledf2.c (__ledf2): Likewise.
14102         * soft-fp/lesf2.c (__lesf2): Likewise.
14103         * soft-fp/letf2.c (__letf2): Likewise.
14104
14105         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14106         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14107         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14108         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14109         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14110         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14111         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14112         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14113         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14114         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14115         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14116         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14117         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14118         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14119         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14120         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14121         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14122         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14123         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14124         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14125         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14126         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14127         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14128         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14129         * soft-fp/floattidf.c (__floattidf): Likewise.
14130         * soft-fp/floattisf.c (__floattisf): Likewise.
14131         * soft-fp/floattitf.c (__floattitf): Likewise.
14132         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14133         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14134         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14135         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14136         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14137         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14138         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14139         * soft-fp/gesf2.c (__gesf2): Likewise.
14140         * soft-fp/getf2.c (__getf2): Likewise.
14141         * soft-fp/ledf2.c (__ledf2): Likewise.
14142         * soft-fp/lesf2.c (__lesf2): Likewise.
14143         * soft-fp/letf2.c (__letf2): Likewise.
14144
14145         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14146         Undefine and redefine.
14147         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14148         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14149         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14150         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14151         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14152         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14153         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14154         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14155         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14156         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14157         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14158         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14159         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14160         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14161         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14162
14163         [BZ #16032]
14164         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14165         without decrementing exponent if mantissa >= that for the
14166         denominator, not >.
14167         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14168         denominator, not >.  Decrement exponent in < case instead of
14169         incrementing in >= case.
14170         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14171         without decrementing exponent if mantissa >= that for the
14172         denominator, not >.
14173
14174         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14175         computing saturated result for unsigned overflow.
14176
14177 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14178             Jeff Law  <law@redhat.com>
14179
14180         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14181         (atan2Mp): Add systemtap probe marker.
14182         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14183         (__ieee754_log): Add systemtap probe marker.
14184         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14185         (atanMp): Add systemtap probe marker.
14186         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14187         (tanMp): Add systemtap probe marker.
14188         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14189         (__slowexp): Add systemtap probe marker.
14190         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14191         (__slowpow): Add systemtap probe marker.
14192         * manual/probes.texi: Document probes.
14193
14194 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14195
14196         [BZ #15362]
14197         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14198         written.
14199         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14200         written.
14201         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14202         written to buffer but not flushed.
14203         * libio/iofwrite_u.c:  Likewise.
14204         * libio/iopadn.c:  Return bytes returned even if EOF was
14205         encountered.
14206         * libio/iowpadn.c:  Likewise.
14207         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14208         if _IO_padn does not write the whole buffer.
14209         [!COMPILE_WPRINTF] (PAD): Likewise.
14210
14211 2013-10-10  David S. Miller  <davem@davemloft.net>
14212
14213         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14214         directory block.
14215
14216 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14217
14218         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14219         instead of FSF address.
14220         * soft-fp/fixdfti.c: Likewise.
14221         * soft-fp/fixsfti.c: Likewise.
14222         * soft-fp/fixtfti.c: Likewise.
14223         * soft-fp/fixunsdfti.c: Likewise.
14224         * soft-fp/fixunssfti.c: Likewise.
14225         * soft-fp/fixunstfti.c: Likewise.
14226         * soft-fp/floattidf.c: Likewise.
14227         * soft-fp/floattisf.c: Likewise.
14228         * soft-fp/floattitf.c: Likewise.
14229         * soft-fp/floatuntidf.c: Likewise.
14230         * soft-fp/floatuntisf.c: Likewise.
14231         * soft-fp/floatuntitf.c: Likewise.
14232         * soft-fp/trunctfxf2.c: Likewise.
14233
14234         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14235         * soft-fp/fixdfti.c: Likewise.
14236         * soft-fp/fixsfti.c: Likewise.
14237         * soft-fp/fixtfti.c: Likewise.
14238         * soft-fp/fixunsdfti.c: Likewise.
14239         * soft-fp/fixunssfti.c: Likewise.
14240         * soft-fp/fixunstfti.c: Likewise.
14241         * soft-fp/floattidf.c: Likewise.
14242         * soft-fp/floattisf.c: Likewise.
14243         * soft-fp/floattitf.c: Likewise.
14244         * soft-fp/floatuntidf.c: Likewise.
14245         * soft-fp/floatuntisf.c: Likewise.
14246         * soft-fp/floatuntitf.c: Likewise.
14247         * soft-fp/trunctfxf2.c: Likewise.
14248
14249 2013-10-10  David S. Miller  <davem@davemloft.net>
14250
14251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14252
14253 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14254
14255         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14256         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14257         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14258         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14259         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14260         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14261         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14262
14263         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14264         for NaNs before doing comparisons on argument.
14265         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14266         Likewise.
14267
14268 2013-10-10  Will Newton  <will.newton@linaro.org>
14269
14270         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14271         passed to _int_memalign does not overflow.
14272
14273 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14274
14275         * scripts/bench.pl: Add include-sources directive.
14276         * benchtests/README: Update documentation.
14277
14278 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14279
14280         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14281         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14282         instead of FP_INIT_ROUNDMODE.
14283         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14284         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14285
14286         [BZ #16034]
14287         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14288         copy class of input value.
14289         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14290         not handle exceptions.
14291         * soft-fp/negsf2.c (__negsf2): Likewise.
14292         * soft-fp/negtf2.c (__negtf2): Likewise.
14293         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14294
14295 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14296
14297         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14298         semicolon.  From Linux kernel.
14299
14300 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14301
14302         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14303
14304 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14305
14306         [BZ #156]
14307         * manual/socket.texi: Added statement about buffer
14308         for gethostbyname2_r.
14309
14310 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14311
14312         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14313         Use .p2align directive instead, throughout.
14314         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14315         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14316         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14317         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14318         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14319         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14320         * sysdeps/x86_64/strchr.S: Likewise.
14321         * sysdeps/x86_64/strrchr.S: Likewise.
14322
14323 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14324
14325         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14326
14327         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14328
14329         * sysdeps/generic/math_private.h (__mpsin1): Remove
14330         declaration.
14331         (__mpcos1): Likewise.
14332         (__mpsin): New argument __range_reduce.
14333         (__mpcos): Likewise.
14334         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14335         (slow): Use __mpsin and __mpcos.
14336         (slow1): Likewise.
14337         (slow2): Likewise.
14338         (sloww): Likewise.
14339         (sloww1): Likewise.
14340         (sloww2): Likewise.
14341         (bsloww): Likewise.
14342         (bsloww1): Likewise.
14343         (bsloww2): Likewise.
14344         (cslow2): Likewise.
14345         (csloww): Likewise.
14346         (csloww1): Likewise.
14347         (csloww2): Likewise.
14348         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14349         range_reduce.  Merge in __mpsin1.
14350         (__mpcos): Likewise.
14351         (__mpsin1): Remove.
14352         (__mpcos1): Likewise.
14353
14354 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14355
14356         * locale/loadlocale.c (_nl_intern_locale_data): Use
14357         LOCFILE_ALIGNED_P.
14358         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14359         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14360         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14361         obstack data is appropriately aligned.
14362         (obstack_int32_grow_fast): Likewise.
14363         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14364         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14365         (add_locale_uint32_array): Likewise.
14366
14367 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14368
14369         * benchtests/Makefile: Remove ARGLIST and RET variables.
14370         ($(objpfx)bench-%.c): Pass only function name to the script.
14371         * benchtests/README: Update documentation.
14372         * benchtests/acos-inputs: Add new directives.
14373         * benchtests/acosh-inputs: Likewise.
14374         * benchtests/asin-inputs: Likewise.
14375         * benchtests/asinh-inputs: Likewise.
14376         * benchtests/atan-inputs: Likewise.
14377         * benchtests/atanh-inputs: Likewise.
14378         * benchtests/cos-inputs: Likewise.
14379         * benchtests/cosh-inputs: Likewise.
14380         * benchtests/exp-inputs: Likewise.
14381         * benchtests/log-inputs: Likewise.
14382         * benchtests/pow-inputs: Likewise.
14383         * benchtests/rint-inputs: Likewise.
14384         * benchtests/sin-inputs: Likewise.
14385         * benchtests/sinh-inputs: Likewise.
14386         * benchtests/tan-inputs: Likewise.
14387         * benchtests/tanh-inputs: Likewise.
14388         * scripts/bench.pl: Add support for new directives.
14389
14390 2013-10-07  Alan Modra  <amodra@gmail.com>
14391
14392         * README: Fix careless merge.
14393
14394 2013-10-05  Alan Modra  <amodra@gmail.com>
14395
14396         * NEWS: Mention powerpc64le support and bugs fixed.
14397         * README: Both big-endian and little-endian powerpc64 supported.
14398
14399 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14400
14401         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14402         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14403         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14404         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14405
14406 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14407
14408         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14409         match prototype.
14410
14411 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14412
14413         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14414         Move -mhard-float appending from
14415         ports/sysdeps/powerpc/powerpc32/Makefile.
14416         [$(with-fp) = yes] (ASFLAGS): Likewise.
14417         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14418         * sysdeps/powerpc/nofpu: Move directory from
14419         ports/sysdeps/powerpc/nofpu.
14420         * sysdeps/powerpc/soft-fp: Move directory from
14421         ports/sysdeps/powerpc/soft-fp.
14422         * sysdeps/powerpc/powerpc32/405: Move directory from
14423         ports/sysdeps/powerpc/powerpc32/405.
14424         * sysdeps/powerpc/powerpc32/440: Move directory from
14425         ports/sysdeps/powerpc/powerpc32/440.
14426         * sysdeps/powerpc/powerpc32/464: Move directory from
14427         ports/sysdeps/powerpc/powerpc32/464.
14428         * sysdeps/powerpc/powerpc32/476: Move directory from
14429         ports/sysdeps/powerpc/powerpc32/476.
14430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14431         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14433         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14435         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14437         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14439         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14440         * README: Update for powerpc-*-linux-gnu software floating point
14441         support in libc.
14442
14443         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14444         case to powerpc/powerpc32*.
14445         * sysdeps/unix/sysv/linux/configure: Regenerated.
14446
14447         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14448         (_FPU_MASK_OM): Define as 0x04.
14449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14450         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14451         0x00c10080.
14452         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14453         0x0000003c.
14454         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14455
14456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14457         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14458         getcontext_e500.
14459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14460         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14461         setcontext_e500.
14462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14463         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14464         and setcontext_e500.
14465
14466 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14467
14468         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14469
14470 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14471
14472         * manual/threads.texi (Default Thread Attributes): Fix typo.
14473
14474 2013-10-04  Will Newton  <will.newton@linaro.org>
14475
14476         * malloc/Makefile: Add tst-memalign.
14477         * malloc/tst-memalign.c: New file.
14478
14479         * malloc/tst-posix_memalign.c: Add comments.
14480         (do_test): Add comments and call free on all potentially
14481         allocated pointers. Add space after cast.
14482
14483         * malloc/tst-pvalloc.c: Add comments.
14484         (do_test): Add comments and call free on all potentially
14485         allocated pointers. Remove duplicate check for NULL pointer.
14486         Add space after cast.
14487
14488         * malloc/tst-valloc.c: Add comments.
14489         (do_test): Add comments and call free on all potentially
14490         allocated pointers. Remove duplicate check for NULL pointer.
14491         Add space after cast.
14492
14493 2013-10-04  Alan Modra  <amodra@gmail.com>
14494
14495         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14496         Use stdint types in rather than __attribute__((mode())).
14497         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14498
14499 2013-10-04  Alan Modra  <amodra@gmail.com>
14500
14501         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14502         Correct handling of unaligned relocs for little-endian.
14503         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14504
14505 2013-10-04  Alan Modra  <amodra@gmail.com>
14506
14507         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14508         * configure: Regenerate.
14509         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14510         * shlib-versions: Likewise.
14511
14512 2013-10-04  Alan Modra  <amodra@gmail.com>
14513
14514         * string/tester.c (test_memrchr): Increment reported test cycle.
14515
14516 2013-10-04  Alan Modra  <amodra@gmail.com>
14517
14518         * string/test-memcpy.c (do_one_test): When reporting errors, print
14519         string address and don't overrun end of string.
14520
14521 2013-10-04  Alan Modra  <amodra@gmail.com>
14522
14523         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14524         insrdi.  Make better use of reg selection to speed exit slightly.
14525         Schedule entry path a little better.  Remove useless "are we done"
14526         checks on entry to main loop.  Handle wrapping around zero address.
14527         Correct main loop count.  Handle single left-over word from main
14528         loop inline rather than by using loop_small.  Remove extra word
14529         case in loop_small caused by wrong loop count.  Add little-endian
14530         support.
14531         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14532         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14533         cache hint.
14534         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14535         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14536         support.  Avoid rlwimi.
14537         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14538
14539 2013-10-04  Alan Modra  <amodra@gmail.com>
14540
14541         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14542         insrdi.  Formatting.
14543         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14544         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14545         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14546         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14547         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14548         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14549
14550 2013-10-04  Alan Modra  <amodra@gmail.com>
14551
14552         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14553         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14554         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14555         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14556         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14557         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14558         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14559         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14560         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14561         use of regs.  Use power7 mtocrf.  Tidy function tails.
14562
14563 2013-10-04  Alan Modra  <amodra@gmail.com>
14564
14565         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14566         Formatting.  Consistently use rXXX register defines or rN defines.
14567         Use early exit labels that avoid restoring unused non-volatile regs.
14568         Make cr field use more consistent with rWORDn compares.  Rename
14569         regs used as shift registers for unaligned loop, using rN defines
14570         for short lifetime/multiple use regs.
14571         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14572         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14573         addi 1,1,64 to pop stack frame.  Simplify return value code.
14574         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14575
14576 2013-10-04  Alan Modra  <amodra@gmail.com>
14577
14578         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14579         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14580         rather than rlwimi.
14581         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14582         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14583         little-endian support.  Correct typos.
14584         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14585         rather than rlwimi.
14586         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14587         in loop and entry code to keep "and." results.
14588         (strchr): Add little-endian support.  Comment.  Move cntlzd
14589         earlier in tail.
14590         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14591
14592 2013-10-04  Alan Modra  <amodra@gmail.com>
14593
14594         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14595         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14596         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14597         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14598
14599 2013-10-04  Alan Modra  <amodra@gmail.com>
14600
14601         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14602         (rTMP): Define as r11.
14603         (strcmp): Add little-endian support.  Optimise tail.
14604         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14605         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14606         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14607         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14608         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14609         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14610         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14611
14612 2013-10-04  Alan Modra  <amodra@gmail.com>
14613
14614         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14615         little-endian support.  Remove unnecessary "are we done" tests.
14616         Handle "s" wrapping around zero and extremely large "size".
14617         Correct main loop count.  Handle single left-over word from main
14618         loop inline rather than by using small_loop.  Correct comments.
14619         Delete "zero" tail, use "end_max" instead.
14620         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14621
14622 2013-10-04  Alan Modra  <amodra@gmail.com>
14623
14624         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14625         support.  Don't branch over align.
14626         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14627         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14628         support.  Rearrange tmp reg use to suit.  Comment.
14629         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14630
14631 2013-10-04  Alan Modra  <amodra@gmail.com>
14632
14633         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14634
14635 2013-10-04  Alan Modra  <amodra@gmail.com>
14636
14637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14638         conditional form of branch and link when obtaining pc.
14639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14640
14641 2013-10-04  Alan Modra  <amodra@gmail.com>
14642
14643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14644         HIWORD/LOWORD.
14645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14647
14648 2013-10-04  Alan Modra  <amodra@gmail.com>
14649
14650         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14651         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14652         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14653         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14654         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14655         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14656         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14657         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14658         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14659         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14660
14661 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14662             Alistair Popple <alistair@ozlabs.au.ibm.com>
14663             Alan Modra <amodra@gmail.com>
14664
14665         [BZ #15723]
14666         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14667         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14668         _dl_hwcap access for little-endian.
14669         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14670         destroy vmx regs when saving unaligned.
14671         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14672         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14673         destroy vmx regs when saving unaligned.
14674
14675 2013-10-04  Alan Modra  <amodra@gmail.com>
14676
14677         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14678         Don't use a union to pack hi/low value.
14679
14680 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14681
14682         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14683         for little-endian.
14684         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14685         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14686         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14687         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14688         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14689
14690 2013-10-04  Alan Modra  <amodra@gmail.com>
14691
14692         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14693         constants to usual value for .cst8 section, and remove redundant
14694         high address load.
14695         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14696         constant for 0x1p52.  Load little-endian words of double from
14697         correct stack offsets.
14698
14699 2013-10-04  Alan Modra  <amodra@gmail.com>
14700
14701         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14702         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14703         words of double from correct stack offsets.
14704         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14705         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14706         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14707         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14708         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14709         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14710         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14711         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14712         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14713         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14714         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14715         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14716         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14717         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14718         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14719         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14720         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14721
14722 2013-10-04  Alan Modra  <amodra@gmail.com>
14723
14724         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14725         64-bit int/double union.
14726         (_FPU_SETCW): Likewise.
14727         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14728         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14729
14730 2013-10-04  Alan Modra  <amodra@gmail.com>
14731
14732         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14733         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14734
14735 2013-10-04  Alan Modra  <amodra@gmail.com>
14736
14737         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14738         use vector int constants.
14739         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14740
14741 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14742
14743         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14744         array with long long.
14745         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14746         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14747         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14748         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14749         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14750         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14751         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14752         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14753         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14754         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14755         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14756         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14757         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14758
14759 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14760
14761         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14762         (__signbit): Likewise.  Correct for little-endian.
14763         (__signbitl): Call __signbit.
14764         (lrint): Correct for little-endian.
14765         (lrintf): Call lrint.
14766
14767 2013-10-04  Alan Modra  <amodra@gmail.com>
14768
14769         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14770         union 32-bit int array member with 64-bit int array.
14771         (t515, tm256): Double rather than long double.
14772         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14773
14774 2013-10-04  Alan Modra  <amodra@gmail.com>
14775
14776         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14777         Delete.
14778         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14779         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14780         version of math_ldbl.h.
14781
14782 2013-10-04  Alan Modra  <amodra@gmail.com>
14783
14784         [BZ #15734], [BZ #15735]
14785         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14786         all uses of ieee875 long double macros and unions.  Simplify test
14787         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14788         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14789         normalize after ldbl_extract_mantissa, and don't add hidden bit
14790         already handled.  Don't treat low word of ieee854 mantissa like
14791         low word of IBM long double and mask off bit when testing for
14792         zero.
14793         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14794         all uses of ieee875 long double macros and unions.  Simplify tests
14795         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14796         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14797         two1022, instead use their values.  Recognise that tests for large
14798         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14799         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14800         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14801         test for 0.0L and nan.  Correct negation.
14802         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14803         ieee875 long double macros and unions.  Correct output for large
14804         magnitude x.  Correct absolute value calculation.
14805         (__erfcl): Likewise.
14806         * math/libm-test.inc: Add tests for errors discovered in IBM long
14807         double versions of fmodl, remainderl, erfl and erfcl.
14808
14809 2013-10-04  Alan Modra  <amodra@gmail.com>
14810
14811         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14812         all uses of ieee854 long double macros and unions.  Simplify tests
14813         for long doubles that are fully specified by the high double.
14814         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14815         Likewise.
14816         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14817         Remove dead code too.
14818         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14819         (__ieee754_ynl): Likewise.
14820         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14821         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14822         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14823         Remove dead code too.
14824         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14825         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14826         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14827         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14828         Simplify.
14829         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14830         Simplify.
14831         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14832         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14833         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14834         Comment on variable precision.
14835         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14836         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14837         Likewise.
14838         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14839         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14840         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14841         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14842         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14843
14844 2013-10-04  Alan Modra  <amodra@gmail.com>
14845
14846         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14847         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14848         all uses of ieee854 long double macros and unions.
14849         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14850         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14851         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14852         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14853         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14854         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14855         Likewise.
14856         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14857         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14858         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14859         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14860         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14861         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14862         Simplify sign and nan test too.
14863         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14864         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14865         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14866         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14867         Likewise.
14868         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14869         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14870         Likewise.
14871         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14872         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14873         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14874         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14875         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14876         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14877
14878 2013-10-04  Alan Modra  <amodra@gmail.com>
14879
14880         * stdio-common/printf_size.c (__printf_size): Don't use
14881         union ieee854_long_double in fpnum union.
14882         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14883         signbit macro to retrieve sign from long double.
14884         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14885         retrieve sign from long double.
14886         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14887         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14888         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14889         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14890         * math/test-misc.c (main): Don't use union ieee854_long_double.
14891
14892 2013-10-04  Alan Modra  <amodra@gmail.com>
14893
14894         [BZ #15680]
14895         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14896         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14897         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14898         calculation.  Remove unnecessary test for denormal exponent.
14899         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14900         Correct handling of denormals.  Avoid undefined shift behaviour.
14901         Correct normalisation of low mantissa when low double is denormal.
14902         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14903         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14904         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14905         Correct normalisation of low mantissa.  Test for overflow of high
14906         mantissa and normalise.
14907         (ldbl_nearbyint): Use more readable constant for two52.
14908         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14909         (__mpn_construct_long_double): Fix test for overflow of high
14910         mantissa and correct normalisation.  Avoid undefined shift.
14911
14912 2013-10-04  Alan Modra  <amodra@gmail.com>
14913
14914         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14915         (union ibm_extended_long_double): Define as an array of ieee754_double.
14916         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14917         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14918         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14919         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14920         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14921         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14922         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14923         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14924         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14925         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14926         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14927
14928 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14929
14930         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14931         page size instead of calling getpagesize.
14932
14933         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14934         (LOCFILE_ALIGN_MASK): Likewise.
14935         (LOCFILE_ALIGN_UP): Likewise.
14936         (LOCFILE_ALIGNED_P): Likewise.
14937         * locale/programs/ld-collate.c (collate_output): Use the new
14938         macros instead of __alignof__ (int32_t).
14939         * locale/weight.h (findidx): Likewise.
14940
14941 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14942
14943         [BZ #431]
14944         * manual/string.texi: Fix strncat and wcsncat.
14945
14946 2013-10-03  Brooks Moses  <bmoses@google.com>
14947
14948         [BZ #15915]
14949         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14950         * Makerules: ...here, and adjust associated comments.
14951
14952 2013-10-02  Will Newton  <will.newton@linaro.org>
14953
14954         * malloc/Makefile: Add tst-pvalloc.
14955         * malloc/tst-pvalloc.c: New file.
14956
14957 2013-10-02  Will Newton  <will.newton@linaro.org>
14958
14959         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14960         improve test coverage.
14961
14962 2013-10-02  Will Newton  <will.newton@linaro.org>
14963
14964         * malloc/Makefile: Add tst-posix_memalign.
14965         * malloc/tst-posix_memalign.c: New file.
14966
14967 2013-10-01  Eric Blake  <eblake@redhat.com>
14968
14969         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14970         Use __THROWNL rather than __THROW on static functions.
14971
14972 2013-09-30  Petr Machata  <pmachata@redhat.com>
14973
14974         * elf/elf.h (R_AARCH64_ABS16): New macro.
14975         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14976         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14977         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14978         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14979         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14980         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14981         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14982         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14983         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14984         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14985         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14986         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14987         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14988         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14989         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14990         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14991         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14992         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14993         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14994         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14995         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14996         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14997         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14998         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14999         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15000         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15001         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15002         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15003         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15004         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15005         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15006         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15007         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15008         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15009         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15010         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15011         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15012         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15013         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15014         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15015         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15016         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15017         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15018         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15019         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15020         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15021         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15022         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15023         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15024         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15025         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15026         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15027         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15028         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15029         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15030         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15031         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15032         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15033         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15034         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15035         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15036         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15037         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15038         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15039         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15040         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15041         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15042         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15043         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15044         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15045         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15046         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15047         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15048         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15049         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15050         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15051         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15052         (R_AARCH64_TLSDESC_LDR): Likewise.
15053         (R_AARCH64_TLSDESC_ADD): Likewise.
15054         (R_AARCH64_TLSDESC_CALL): Likewise.
15055
15056 2013-09-30  Andreas Schwab  <schwab@suse.de>
15057
15058         [BZ #15048]
15059         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15060         the nss database lookup.
15061         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15063
15064 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15065
15066         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15067
15068 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15069
15070         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15071         ${Bash-specific parameter/pattern/string} parameter expansion.
15072         * sysdeps/unix/make-syscalls.sh: Likewise.
15073
15074 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15075
15076         * sysdeps/sh/stackguard-macros.h: New file.
15077
15078 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15079
15080         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15082         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15083         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15084         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15085         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15086
15087 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15088
15089         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15090         Fix thread ID register.
15091
15092 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15093
15094         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15095         [POSIX || UNIX98]: Require rather than permitting all symbols from
15096         <time.h>.
15097         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15098         element of struct sched_param.
15099         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15100         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15101         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15102         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15103         constant.
15104
15105 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15106
15107         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15108         argument calculation.
15109
15110 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15111
15112         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15113         Expect macro.
15114         [POSIX] (pthread_attr_t): Do not require type.
15115         [POSIX] (pthread_cond_t): Likewise.
15116         [POSIX] (pthread_condattr_t): Likewise.
15117         [POSIX] (pthread_key_t): Likewise.
15118         [POSIX] (pthread_mutex_t): Likewise.
15119         [POSIX] (pthread_mutexattr_t): Likewise.
15120         [POSIX] (pthread_once_t): Likewise.
15121         [POSIX] (pthread_t): Likewise.
15122         [POSIX-based standards] (pthread_atfork): Expect function.
15123
15124 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15125             Richard Sandiford  <richard@codesourcery.com>
15126
15127         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15128         (swap_endianness_p): New extern variable.
15129         (set_big_endian): New inline function.
15130         (maybe_swap_uint32): Likewise.
15131         (maybe_swap_uint32_array): Likewise.
15132         (maybe_swap_uint32_obstack): Likewise.
15133         * locale/programs/locfile.c: Include <stdbool.h>.
15134         (swap_endianness_p): New variable.
15135         (add_locale_uint32): Call maybe_swap_uint32.
15136         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15137         (write_locale_data): Call maybe_swap_uint32_array.
15138         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15139         maybe_swap_uint32.
15140         (obstack_int32_grow_fast): Likewise.
15141         (output_weightwc): Call maybe_swap_uint32_obstack.
15142         (collate_output): Likewise.
15143         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15144         (OPT_LITTLE_ENDIAN): Likewise.
15145         (options): Add --little-endian and --big-endian options.
15146         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15147         * locale/programs/locarchive.c: Include "locfile.h".
15148         (GET): New macro.
15149         (SET): Likewise.
15150         (INC): Likewise.
15151         (create_archive): Use the new macros to access fields of
15152         structures directly mapped from or written to locale archives.
15153         (oldlocrecentcmp): Likewise.
15154         (enlarge_archive): Likewise.
15155         (insert_name): Likewise.
15156         (add_alias): Likewise.
15157         (add_locale): Likewise.
15158         (delete_locales_from_archive): Likewise.
15159         (show_archive_content): Likewise.
15160         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15161         locale data.
15162
15163 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15164
15165         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15166         http://www.gnu.org/doc/freemanuals.texi.
15167         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15168
15169 2013-09-24  Will Newton  <will.newton@linaro.org>
15170
15171         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15172         macro.
15173
15174 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15175
15176         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15177         unsigned char.
15178
15179 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15180
15181         * manual/threads.texi (POSIX Threads): Fix a typo.
15182
15183 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15184
15185         [BZ #14547]
15186         * string/tst-strcoll-overflow.c: New test case.
15187         * string/Makefile (xtests): Add tst-strcoll-overflow.
15188         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15189         cache if string sizes may cause integer overflow.
15190
15191         [BZ #14547]
15192         * string/strcoll_l.c (coll_seq): New members rule, idx,
15193         save_idx and back_us.
15194         (get_next_seq_nocache): New function.
15195         (do_compare_nocache): New function.
15196         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15197         when malloc fails.
15198
15199 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15200
15201         [BZ #15754]
15202         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15203         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15204         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15205
15206         [BZ #15754]
15207         * elf/Makefile (tests): Add tst-ptrguard1.
15208         (tests-static): Add tst-ptrguard1-static.
15209         (tst-ptrguard1-ARGS): Define.
15210         (tst-ptrguard1-static-ARGS): Define.
15211         * elf/tst-ptrguard1.c: New file.
15212         * elf/tst-ptrguard1-static.c: New file.
15213         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15214         * sysdeps/i386/stackguard-macros.h: Likewise.
15215         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15216         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15217         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15218         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15219         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15220         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15221
15222 2013-09-23  Hector Marco  <hecmargi@upv.es>
15223             Ismael Ripoll  <iripoll@disca.upv.es>
15224             Carlos O'Donell  <carlos@redhat.com>
15225
15226         [BZ #15754]
15227         * sysdeps/generic/stackguard-macros.h: Define
15228         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15229         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15230         Define __pointer_chk_guard_local.
15231         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15232         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15233
15234 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15235
15236         [BZ #15859]
15237         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15238
15239 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15240
15241         * include/string.h (__ffs): Declare as hidden.
15242         * string/ffs.c (__ffs): Define as hidden.
15243         * sysdeps/i386/ffs.c (__ffs): Likewise.
15244         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15245         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15246         * sysdeps/s390/ffs.c (__ffs): Likewise.
15247         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15248
15249 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15250
15251         * NEWS: Mention malloc probes.
15252
15253         * malloc/arena.c (new_heap): New memory_heap_new probe.
15254         (grow_heap): New memory_heap_more probe.
15255         (shrink_heap): New memory_heap_less probe.
15256         (heap_trim): New memory_heap_free probe.
15257         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15258         (systrim): New memory_sbrk_less probe.
15259         * manual/probes.texi: Document them.
15260
15261         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15262         * manual/probes.texi: Document it.
15263
15264         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15265         (__libc_realloc): Add memory_realloc_retry probe.
15266         (__libc_memalign): Add memory_memalign_retry probe.
15267         (__libc_valloc): Add memory_valloc_retry probe.
15268         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15269         (__libc_calloc): Add memory_calloc_retry probe.
15270         * manual/probes.texi: Document them.
15271
15272         * malloc/arena.c (get_free_list): Add probe
15273         memory_arena_reuse_free_list.
15274         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15275         and memory_arena_reuse.
15276         (arena_get2) [!PER_THREAD]: Likewise.
15277         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15278         memory_arena_reuse_realloc.
15279         * manual/probes.texi: Document them.
15280
15281         * malloc/malloc.c (__libc_free): Add
15282         memory_mallopt_free_dyn_thresholds probe.
15283         (__libc_mallopt): Add multiple memory_mallopt probes.
15284         * manual/probes.texi: Document them.
15285
15286         * malloc/malloc.c: Include stap-probe.h.
15287         (__libc_mallopt): Add memory_mallopt probe.
15288         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15289         * manual/probes.texi: New.
15290         * manual/Makefile (chapters): Add probes.
15291         * manual/threads.texi: Set next node.
15292
15293 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15294
15295         [BZ #15963, #13985]
15296         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15297         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15298         Add `Chinese' to `nan' entry name.
15299
15300 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15301
15302         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15303         (POLYNOMIAL): Likewise.
15304         (TAYLOR_SINCOS): Likewise.
15305         (TAYLOR_SLOW): Likewise.
15306         (__sin): Use TAYLOR_SINCOS.
15307         (__cos): Likewise.
15308         (slow): Use TAYLOR_SLOW.
15309         (sloww): Likewise.
15310         (bsloww): Likewise.
15311         (csloww): Likewise.
15312
15313 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15314
15315         * stdlib/strtod_l.c: Fix buffer overrun.
15316
15317 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15318
15319         * benchtests/Makefile (bench): Add sincos.
15320         * benchtests/bench-sincos.c: New file.
15321
15322         * math/libm-test.inc (cos_test_data): New test inputs.
15323         (sin_test_data): Likewise.
15324
15325         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15326         macro.
15327         (__sin): Use it.
15328         (__cos): Likewise.
15329         (slow1): Likewise.
15330         (slow2): Likewise.
15331         (sloww1): Likewise.
15332         (sloww2): Likewise.
15333         (bsloww1): Likewise.
15334         (bsloww2): Likewise.
15335         (cslow2): Likewise.
15336         (csloww1): Likewise.
15337         (csloww2): Likewise.
15338
15339         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15340         function.
15341         (__sin): Use it.
15342         (__cos): Likewise.
15343
15344         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15345         gotos.
15346         (__cos): Likewise.
15347
15348 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15349
15350         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15351         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15352         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15353         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15354         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15355         * elf/cache.c (print_entry): Handle the new cache flags.
15356
15357 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15358             Aldy Hernandez  <aldyh@redhat.com>
15359
15360         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15361         Change condition to [_SOFT_FLOAT].
15362         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15363         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15364         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15370         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15371         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15374         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15376         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15377         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15378         declaration.
15379
15380 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15381
15382         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15383         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15384         (__longjmp): Use LOAD_GP to load saved GPRs.
15385         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15386         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15387         (__sigsetjmp): Use SAVE_GP to save GPRs.
15388
15389         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15390         Do not append -msoft-float.
15391         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15392
15393 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15394
15395         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15396
15397 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15398
15399         [BZ #15966]
15400         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15401         (_FPU_GETCW): Use initial "__" on variable and field names but not
15402         on macro parameter name.
15403         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15404         parentheses around reference to macro parameter.
15405
15406 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15407
15408         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15409         prototype.
15410         (ctype_startup): Use uint32_t in cast and sizeof for
15411         ctype->charnames.
15412
15413 2013-09-11  Jia Liu  <proljc@gmail.com>
15414
15415         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15416         __daddr_t_defined.
15417         [__FreeBSD__]: Likewise.
15418
15419 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15420
15421         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15422         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15423         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15424         (strchr): Remove __strchr_sse42 ifunc selection.
15425         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15426         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15427
15428 2013-09-11  Will Newton  <will.newton@linaro.org>
15429
15430         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15431         parameter to RES. Remove hardcoded 1000 value.
15432         * benchtests/bench-skeleton.c (main): Pass RES parameter
15433         to TIMING_INIT and multiply result by 1000.
15434
15435 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15436
15437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15438
15439 2013-09-11  Andreas Schwab  <schwab@suse.de>
15440
15441         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15442         if not defined.
15443         (O_TMPFILE) [__USE_GNU]: Define.
15444         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15445         Define.
15446
15447 2013-09-11  Will Newton  <will.newton@linaro.org>
15448
15449         [BZ #15857]
15450         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15451         does not overflow.
15452
15453 2013-09-11  Will Newton  <will.newton@linaro.org>
15454
15455         [BZ #15856]
15456         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15457         does not overflow.
15458
15459 2013-09-11  Will Newton  <will.newton@linaro.org>
15460
15461         [BZ #15855]
15462         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15463         does not overflow.
15464
15465 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15466
15467         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15468         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15469         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15470         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15471         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15472
15473 2013-09-10  Allan McRae  <allan@archlinux.org>
15474
15475         [BZ #15748]
15476         * manual/arith.texi (Parsing of Floats): Clarify
15477         cross-reference.
15478
15479         [BZ #15849]
15480         * manual/install.texi (Running make install): Mention
15481         --enable-pt-chown.
15482         * INSTALL: Regenerated.
15483
15484 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15485
15486         * csu/init-first.c (_init): Remove the !SHARED condition around
15487         FPU control word initialization.
15488         * elf/dl-support.c (_dl_fpu_control): New variable.
15489         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15490         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15491         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15492         * math/test-fpucw-static.c: New file.
15493         * math/test-fpucw-ieee.c: New file.
15494         * math/test-fpucw-ieee-static.c: New file.
15495         * math/Makefile (tests): Add `test-fpucw-ieee' and
15496         `$(tests-static)'.
15497         (tests-static): New variable.
15498         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15499         dependency to...
15500         [($(build-shared),yes)]
15501         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15502         ... this.
15503         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15504         New dependency.
15505
15506 2013-09-09  Allan McRae  <allan@archlinux.org>
15507
15508         [BZ #15939]
15509         * manual/string.texi (Collation Functions): Fix typo in
15510         strcoll example.
15511         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15512
15513         [BZ #15893]
15514         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15515
15516         [BZ #15892]
15517         * libio/memstream.c (open_memstream): Fix memory leak.
15518         * libio/wmemstream.c (open_wmemstream): Likewise.
15519
15520         [BZ #15895]
15521         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15522
15523 2013-09-09  Will Newton  <will.newton@linaro.org>
15524
15525         * malloc/Makefile: Add tst-realloc to tests.
15526         * malloc/tst-realloc.c: New file.
15527
15528 2013-09-09  Allan McRae  <allan@archlinux.org>
15529
15530         [BZ #15844]
15531         * COPYING: Update from GNU website to fix FSF address.
15532         * COPYING.LIB: Likewise.
15533
15534 2013-09-06  David S. Miller  <davem@davemloft.net>
15535
15536         * po/zh_TW.po: Update Chinese (traditional) translation from
15537         translation project.
15538
15539 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15540             Joseph Myers  <joseph@codesourcery.com>
15541
15542         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15543         "localeinfo.h".
15544         (obstack_chunk_alloc): New macro.
15545         (obstack_chunk_free): Likewise.
15546         (record_offset): New function.
15547         (init_locale_data): Likewise.
15548         (align_locale_data): Likewise.
15549         (add_locale_empty): Likewise.
15550         (add_locale_raw_data): Likewise.
15551         (add_locale_raw_obstack): Likewise.
15552         (add_locale_string): Likewise.
15553         (add_locale_wstring): Likewise.
15554         (add_locale_uint32): Likewise.
15555         (add_locale_uint32_array): Likewise.
15556         (add_locale_char): Likewise.
15557         (start_locale_structure): Likewise.
15558         (end_locale_structure): Likewise.
15559         (start_locale_prelude): Likewise.
15560         (end_locale_prelude): Likewise.
15561         (write_locale_data): Take locale_file structure rather than an
15562         iovec.
15563         * locale/programs/locfile.h: Include "obstack.h".
15564         (struct locale_file): Change to store locale file contents instead
15565         of header.
15566         (init_locale_data): New prototype.
15567         (align_locale_data): Likewise.
15568         (add_locale_empty): Likewise.
15569         (add_locale_raw_data): Likewise.
15570         (add_locale_raw_obstack): Likewise.
15571         (add_locale_string): Likewise.
15572         (add_locale_wstring): Likewise.
15573         (add_locale_uint32): Likewise.
15574         (add_locale_uint32_array): Likewise.
15575         (add_locale_char): Likewise.
15576         (start_locale_structure): Likewise.
15577         (end_locale_structure): Likewise.
15578         (start_locale_prelude): Likewise.
15579         (end_locale_prelude): Likewise.
15580         (write_locale_data): Update prototype.
15581         * locale/programs/3level.h (struct TABLE): Remove result field.
15582         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15583         Use new locale_file interface.
15584         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15585         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15586         * locale/programs/ld-address.c (address_output): Use new
15587         locale_file interface.
15588         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15589         NO_ADD_LOCALE.
15590         (collate_finish): Don't call collseq_table_finalize.
15591         (collate_output): Use new locale_file interface.
15592         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15593         in file.
15594         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15595         (TABLE): Move defines earlier in file.
15596         (ELEMENT): Likewise.
15597         (DEFAULT): Likewise.
15598         (wctrans_table_add): Move macro and inline function earlier in
15599         file.
15600         (struct wctype_table): Move type earlier in file.
15601         (add_locale_wctype_table): New static prototype.
15602         (struct locale_ctype_t): Use logical types instead of struct iovec
15603         pointers for members.
15604         (ctype_output): Use new locale_file interface.
15605         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15606         new locale_file interface.
15607         (allocate_arrays): Update for use of new locale_file interface.
15608         * locale/programs/ld-identification.c (identification_output): Use
15609         new locale_file interface.
15610         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15611         * locale/programs/ld-messages.c (messages_output): Likewise.
15612         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15613         * locale/programs/ld-name.c (name_output): Likewise.
15614         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15615         * locale/programs/ld-paper.c (paper_output): Likewise.
15616         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15617         * locale/programs/ld-time.c (time_output): Likewise.
15618
15619 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15620
15621         * benchtests/Makefile: Add memrchr benchmark.
15622         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15623         benchmark as memrchr.
15624         * benchtests/bench-memrchr-ifunc.c: New file.
15625         * benchtests/bench-memrchr.c: New file.
15626
15627 2013-09-06   Will Newton  <will.newton@linaro.org>
15628
15629         * benchtests/Makefile (string-bench): Add memcpy.
15630
15631 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15632             Cong Wang  <amwang@redhat.com>
15633
15634         [BZ #15850]
15635         * sysdeps/unix/sysv/linux/bits/in.h
15636         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15637         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15638         before __USE_KERNEL_IPV6_DEFS uses.
15639         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15640         IPPROTO_BEETPH.
15641         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15642         sockaddr_in6, or ipv6_mreq.
15643
15644 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15645
15646         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15647         memory access for final bytes in some large inputs.
15648         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15649
15650 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15651
15652         * string/test-memrchr.c: New file.
15653         * string/test-memrchr-ifunc.c: New file.
15654         * string/Makefile: Add new memrchr testcase.
15655
15656 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15657
15658         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15659         fanotify_init returns EPERM.
15660
15661 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15662
15663         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15664         errors.
15665         (top level): Treat second token from macro or constant entries for
15666         allowed headers as allowed.
15667         * include/complex.h: Condition internal declarations on
15668         [!_ISOMAC].
15669         * include/fenv.h: Condition include of <stdbool.h> and internal
15670         declarations on [!_ISOMAC].
15671
15672 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15673
15674         [BZ #15923]
15675         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15676
15677 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15678
15679         * configure.in (--enable-versioning): Remove configure option.
15680         (libc_cv_asm_symver_directive): Remove configure test.
15681         (libc_cv_ld_version_script_option): Likewise.
15682         (VERSIONING): Remove variable and AC_SUBST.
15683         (DO_VERSIONING): Remove AC_DEFINE.
15684         * configure: Regenerated.
15685         * config.h.in (DO_VERSIONING): Remove macro.
15686         * Makerules [$(versioning) = yes]: Change conditionals to
15687         [$(build-shared) = yes].
15688         * config.make.in (versioning): Remove variable.
15689         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15690         [$(build-shared) = yes].
15691         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15692         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15693         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15694         [$(build-shared) = yes].
15695         * extra-lib.mk [$(versioning) = yes]: Likewise.
15696         * hurd/Makefile [$(versioning) = yes]: Likewise.
15697         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15698         [SHARED].
15699         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15700         [SHARED].
15701         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15702         [SHARED && !NO_HIDDEN].
15703         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15704         [SHARED].
15705         [SHARED && DO_VERSIONING]: Likewise..
15706         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15707         [$(build-shared) = yes].
15708         * manual/install.texi (--disable-versioning): Remove
15709         documentation.
15710         * INSTALL: Regenerated.
15711         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15712         to [SHARED].
15713         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15714         [$(build-shared) = yes].
15715         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15716         * sysdeps/i386/i686/multiarch/strstr-c.c
15717         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15718         [SHARED && !NO_HIDDEN].
15719         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15720         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15721         * sysdeps/powerpc/powerpc32/dl-machine.c
15722         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15723         * sysdeps/powerpc/powerpc32/sysdep.h
15724         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15725         to [SHARED && PIC && !NO_HIDDEN].
15726         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15727         conditional to [SHARED].
15728
15729 2013-09-04   Will Newton  <will.newton@linaro.org>
15730
15731         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15732         * benchtests/bench-string.h: Include bench-timing.h instead
15733         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15734         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15735         call to HP_TIMING_DIFF_INIT.
15736         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15737         instead of hp-timing.h macros.
15738         * benchtests/bench-memchr.c: Likewise.
15739         * benchtests/bench-memcmp.c: Likewise.
15740         * benchtests/bench-memcpy.c: Likewise.
15741         * benchtests/bench-memmem.c: Likewise.
15742         * benchtests/bench-memmove.c: Likewise.
15743         * benchtests/bench-memset.c: Likewise.
15744         * benchtests/bench-rawmemchr.c: Likewise.
15745         * benchtests/bench-strcasecmp.c: Likewise.
15746         * benchtests/bench-strcasestr.c: Likewise.
15747         * benchtests/bench-strcat.c: Likewise.
15748         * benchtests/bench-strchr.c: Likewise.
15749         * benchtests/bench-strcmp.c: Likewise.
15750         * benchtests/bench-strcpy.c: Likewise.
15751         * benchtests/bench-strcpy_chk.c: Likewise.
15752         * benchtests/bench-strlen.c: Likewise.
15753         * benchtests/bench-strncasecmp.c: Likewise.
15754         * benchtests/bench-strncat.c: Likewise.
15755         * benchtests/bench-strncmp.c: Likewise.
15756         * benchtests/bench-strncpy.c: Likewise.
15757         * benchtests/bench-strnlen.c: Likewise.
15758         * benchtests/bench-strpbrk.c: Likewise.
15759         * benchtests/bench-strrchr.c: Likewise.
15760         * benchtests/bench-strspn.c: Likewise.
15761         * benchtests/bench-strstr.c: Likewise.
15762
15763 2013-09-04  Will Newton  <will.newton@linaro.org>
15764
15765         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15766
15767 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15768
15769         [BZ #15427]
15770         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15771         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15772         * math/libm-test.inc (lgamma_test_data): Add more tests.
15773         * sysdeps/i386/fpu/libm-test-ulps: Update.
15774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15775
15776 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15777
15778         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15779         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15780         Add ifunc.
15781         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15782         Add strcmp-sse2-unaligned
15783         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15784
15785 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15786
15787         * Versions.def (libc): Add GLIBC_2.19.
15788
15789 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15790
15791         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15792         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15793
15794 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15795
15796         [BZ #14155]
15797         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15798         intermediate calculations in recurrence.
15799         (__ieee754_ynf): Likewise.
15800         * math/libm-test.inc (jn_test_data): Do not allow spurious
15801         underflow exception.  Add more tests.
15802         (yn_test_data): Add more tests.
15803         * sysdeps/i386/fpu/libm-test-ulps: Update.
15804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15805
15806 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15807
15808         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15809
15810 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15811
15812         * csu/init-first.c: Fix then/than typos.
15813         * locale/programs/ld-collate.c: Likewise.
15814         * locale/programs/linereader.h: Likewise.
15815         * manual/charset.texi: Likewise.
15816         * manual/filesys.texi: Likewise.
15817         * manual/stdio.texi: Likewise.
15818         * manual/string.texi: Likewise.
15819         * stdlib/fmtmsg.c: Likewise.
15820         * sysdeps/i386/stpncpy.S: Likewise.
15821         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15822         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15823         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15824         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15825
15826 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15827
15828         * elf/dl-open.c: Fix typos.
15829         * iconvdata/gbbig5.c: Likewise.
15830         * iconvdata/iso-2022-jp.c: Likewise.
15831         * iconv/gconv_int.h: Likewise.
15832         * iconv/loop.c: Likewise.
15833         * nis/rpcsvc/nis.h: Likewise.
15834         * resolv/ns_name.c: Likewise.
15835         * stdio-common/vfscanf.c: Likewise.
15836         * streams/stropts.h: Likewise.
15837         * sunrpc/rpc_thread.c: Likewise.
15838         * sysdeps/i386/strpbrk.S: Likewise.
15839         * sysdeps/ieee754/k_standard.c: Likewise.
15840         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15841         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15842         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15843         * sysdeps/mach/hurd/profil.c: Likewise.
15844         * sysdeps/s390/dl-procinfo.h: Likewise.
15845         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15846         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15847         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15848         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15849         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15850
15851 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15852
15853         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15854         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15855
15856 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15857
15858         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15859         aix specific files.
15860         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15861         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15862         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15863         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15864         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15865         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15866         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15867         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15868
15869 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15870             Roland McGrath  <roland@hack.frob.com>
15871
15872         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15873         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15874
15875 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15876
15877         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15878         __executable_start symbol instead of _start.
15879
15880 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15881
15882         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15883         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15884         Move macros to...
15885         * sysdeps/gnu/ldsodefs.h: ... this new file.
15886
15887         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15888         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15889         instead of ELFOSABI_LINUX.
15890
15891         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15892         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15893         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15894         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15895         Likewise.
15896         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15897         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15898         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15899         Likewise.
15900         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15901         (ibm_extended_long_double): Add ieee_nan member.
15902         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15903         (do_test): New function.
15904
15905         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15906         TEST_TRUNC.
15907         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15908         functions, renamed from truncdfsf_test, trunctfsf_test,
15909         trunctfdf_test.
15910         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15911         functions.
15912         (do_test): Run all these.
15913
15914 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15915
15916         * argp/argp-help.c: Fix typos.
15917         * argp/argp-parse.c: Likewise.
15918         * debug/backtracesyms.c: Likewise.
15919         * elf/elf.h: Likewise.
15920         * malloc/malloc.c: Likewise.
15921         * nis/nis_print.c: Likewise.
15922         * resolv/res_comp.c: Likewise.
15923         * stdlib/stdlib.h: Likewise.
15924         * sunrpc/clnt_tcp.c: Likewise.
15925         * sunrpc/clnt_udp.c: Likewise.
15926         * sunrpc/clnt_unix.c: Likewise.
15927         * sysdeps/unix/bsd/ptsname.c: Likewise.
15928         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15929         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15931         Likewise.
15932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15933         Likewise.
15934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15935         Likewise.
15936         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15937
15938 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15939
15940         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15941         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15942
15943 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15944
15945         [BZ #15897]
15946         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15947         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15948         ($(objpfx)bug-dl-leaf): New rule.
15949         ($(objpfx)bug-dl-leaf.so): Likewise.
15950         ($(objpfx)bug-dl-leaf.out): Likewise.
15951         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15952         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15953         * dlfcn/bug-dl-leaf.c: New test.
15954         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15955         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15956         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15957         (dlclose): Likewise.
15958         (dlmopen): Likewise.
15959
15960 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15961
15962         * include/netdb.h [!_ISOMAC]:
15963         Don't include <tls.h>.
15964         (h_errno, __libc_h_errno): Move declaration and macros out of
15965         [_LIBC_REENTRANT].
15966
15967         * include/resolv.h [_RESOLV_H_]:
15968         Don't include <tls.h>.
15969         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15970         * resolv/res_libc.c: Don't include <tls.h>.
15971         (_res): Use __attribute__ ((nocommon)) in place of
15972         __attribute__ ((section (".bss"))).
15973
15974         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15975         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15976
15977         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15978
15979         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15980         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15981
15982         * resolv/res_mkquery.c: Include <sys/time.h>.
15983
15984         * inet/ifreq.c: Moved to ...
15985         * sysdeps/unix/ifreq.c: ... here.
15986         * inet/ifreq.c: New file, true stub version.
15987
15988         * socket/sa_len.c: New file.
15989         * socket/Makefile (aux): Add it.
15990         * sysdeps/unix/sysv/linux/Makefile
15991         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15992         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15993         and #include <socket/sa_len.c>.
15994         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15995         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15996
15997         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15998         * bits/socket.h: ... here.
15999
16000         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16001         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16002         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16003
16004 2013-08-27  Andreas Schwab  <schwab@suse.de>
16005
16006         [BZ #15736]
16007         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16008         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16009         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16010         * string/test-strcasecmp.c (test_main): Run tests in several
16011         locales.
16012         * string/test-strncasecmp.c (test_main): Likewise.
16013
16014         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16015         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16016         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16017         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16018         (__strncasecmp_ssse3) [PIC]: Likewise.
16019
16020 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16021
16022         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16023
16024         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16025         instead of explicitly declaring xdecrypt.
16026         * nis/nss_nis/nis-publickey.c: Likewise.
16027
16028 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16029
16030         [BZ #15890]
16031         * nscd/aicache.c: Include res_hconf.h.
16032         (addhstaiX): Initialize res_hconf.
16033
16034 2013-08-26  Andreas Schwab  <schwab@suse.de>
16035
16036         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16037         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16038
16039 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16040
16041         * nscd/aicache.c (addhstaiX): Fix indentation.
16042
16043 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16044
16045         * configure.ac: Quote $build_pt_chown test.
16046         * configure: Regenerated.
16047
16048 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16049
16050         [BZ #15532]
16051         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16052         * math/s_cexpf.c (__cexpf): Likewise.
16053         * math/s_cexpl.c (__cexpl): Likewise.
16054         * math/libm-test.inc (cexp_test_data): Correct expected return
16055         value for NaN + i0.  Add another test.
16056
16057 2013-08-22  David S. Miller  <davem@davemloft.net>
16058
16059         * po/ca.po: Update Catalan translation from translation project.
16060         * po/uk.po: Add Ukrainian translations from translation project.
16061
16062 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16063
16064         [BZ #15797]
16065         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16066         is infinite, not alongside NaN test.
16067         * math/s_fdimf.c (__fdimf): Likewise.
16068         * math/s_fdiml.c (__fdiml): Likewise.
16069         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16070         errno is unchanged.
16071
16072 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16073
16074         * argp/argp-help.c: Fix typos.
16075         * crypt/speeds.c: Likewise.
16076         * csu/check_fds.c: Likewise.
16077         * elf/dl-load.c: Likewise.
16078         * elf/dl-open.c: Likewise.
16079         * elf/reldep3.c: Likewise.
16080         * elf/reldep.c: Likewise.
16081         * elf/sprof.c: Likewise.
16082         * iconv/iconv_charmap.c: Likewise.
16083         * iconv/skeleton.c: Likewise.
16084         * iconv/strtab.c: Likewise.
16085         * io/lockf64.c: Likewise.
16086         * libio/libioP.h: Likewise.
16087         * resolv/gai_notify.c: Likewise.
16088         * resolv/ns_name.c: Likewise.
16089         * resolv/ns_samedomain.c: Likewise.
16090         * resolv/res_send.c: Likewise.
16091         * stdlib/random.c: Likewise.
16092         * sunrpc/rpc/xdr.h: Likewise.
16093         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16094         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16095         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16096         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16097         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16098         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16099         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16100         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16101         * sysdeps/mach/hurd/check_fds.c: Likewise.
16102         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16103         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16104         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16105         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16106         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16107         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16108         * sysdeps/pthread/aio_notify.c: Likewise.
16109         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16110         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16111         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16112         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16113         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16114
16115 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16116
16117         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16118         version if bit_Slow_SSE4_2 is set.
16119         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16120         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16121
16122 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16123
16124         [BZ #15867]
16125         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16126         trampoline stack frame information.
16127         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16128         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16129         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16130         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16131         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16132         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16133         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16134         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16135         sa_flags value.
16136         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16137         interrupting a syscall and set with option SA_SIGINFO.
16138
16139 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16140
16141         [BZ #15531]
16142         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16143         argument is infinite.
16144         * math/s_cprojf.c (__cprojf): Likewise.
16145         * math/s_cprojl.c (__cprojl): Likewise.
16146         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16147         * math/libm-test.inc (cproj_test_data): Add more tests.
16148
16149         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16150
16151         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16152         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16153         size.  Use __ffs to determine corresponding shift.
16154
16155 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16156             Roland McGrath  <roland@hack.frob.com>
16157
16158         * Makefile (INSTALL): Remove trailing blank lines from output of
16159         makeinfo.
16160
16161 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16162
16163         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16164         Align 32 bit compat elf_greg to 8 bytes.
16165
16166 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16167
16168         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16169
16170 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16171
16172         * string/strcoll_l.c (coll_seq): New structure.
16173         (get_next_seq_cached): New function.
16174         (get_next_seq): New function.
16175         (do_compare): New function.
16176         (STRCOLL): Use GNU style definition.  Simplify implementation
16177         by using get_next_seq, get_next_seq_cached and do_compare.
16178
16179 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16180
16181         [BZ #14699]
16182         CVE-2013-4237
16183         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16184         member.
16185         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16186         member.
16187         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16188         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16189         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16190         conditional.
16191         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16192         GETDENTS_64BIT_ALIGNED.
16193         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16194         * manual/filesys.texi (Reading/Closing Directory): Document
16195         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16196         strongly.
16197         * manual/conf.texi (Limits for Files): Add portability note to
16198         NAME_MAX, PATH_MAX.
16199         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16200
16201 2013-08-13  Andreas Schwab  <schwab@suse.de>
16202
16203         [BZ #15749]
16204         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16205         of fabs.
16206         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16207         LDBL_MAX_EXP >= 16384]: Add tests for it.
16208
16209 2013-08-12  David S. Miller  <davem@davemloft.net>
16210
16211         * version.h (RELEASE): Set to "development".
16212         (VERSION): Set to "2.18.90".
16213         * NEWS: Add 2.19 section.
16214
16215 2013-08-03  David S. Miller  <davem@davemloft.net>
16216
16217         * po/ko.po: Update Korean translation from translation project.
16218
16219 2013-08-01  David S. Miller  <davem@davemloft.net>
16220
16221         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16222         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16223         Bilka.
16224
16225 2013-07-30  David S. Miller  <davem@davemloft.net>
16226
16227         * po/fr.po: Update French translation from translation project.
16228
16229 2013-07-28  David S. Miller  <davem@davemloft.net>
16230
16231         * po/cs.po: Update Czech translation from translation project.
16232
16233         * po/sv.po: Update Swedish translation from translation project.
16234
16235 2013-07-27  David S. Miller  <davem@davemloft.net>
16236
16237         * po/eo.po: Update Esperanto translation from translation project.
16238
16239         * po/vi.po: Update Vietnamese translation from translation project.
16240
16241         * po/de.po: Update German translation from translation project.
16242
16243 2013-07-26  David S. Miller  <davem@davemloft.net>
16244
16245         * po/bg.po: Update Bulgarian translation from translation project.
16246
16247         * po/nl.po: Update Dutch translation from translation project.
16248         * po/pl.po: Update Polish translation from translation project.
16249         * po/ru.po: Update Russian translation from translation project.
16250
16251 2013-07-24  David S. Miller  <davem@davemloft.net>
16252
16253         * po/libc.pot: Update.
16254
16255 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16256
16257         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16258         variable page size.
16259         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16260         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16261         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16262
16263 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16264
16265         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16266
16267 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16268             Andreas Schwab  <schwab@suse.de>
16269             Roland McGrath  <roland@hack.frob.com>
16270             Joseph Myers  <joseph@codesourcery.com>
16271             Carlos O'Donell  <carlos@redhat.com>
16272
16273         [BZ #15755]
16274         * config.h.in: Define HAVE_PT_CHOWN.
16275         * config.make.in (build-pt-chown): New variable.
16276         * configure.in (--enable-pt_chown): New configure option.
16277         * configure: Regenerate.
16278         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16279         build-pt-chown is enabled.
16280         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16281         pt_chown to fix pty ownership.
16282         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16283         CLOSE_ALL_FDS.
16284         * manual/install.texi (Configuring and compiling): Mention
16285         --enable-pt_chown. Add @findex for grantpt.
16286         * INSTALL: Regenerate.
16287
16288 2013-07-20  David S. Miller  <davem@davemloft.net>
16289
16290         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16291         difference between 32-bit and 64-bit.
16292
16293 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16294
16295         [BZ #15711]
16296         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16297         Avoid system header dependency with -ffreestanding.
16298         ($(objpfx)bits/syscall%d): Likewise.
16299
16300 2013-07-13  David S. Miller  <davem@davemloft.net>
16301
16302         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16303         underflows from atanl/atan2l due to bug 15319.
16304         (casinh_test_data): Likewise.
16305
16306 2013-07-07  David S. Miller  <davem@davemloft.net>
16307
16308         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16309
16310 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16311
16312         * sysdeps/i386/fpu/libm-test-ulps: Update.
16313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16314
16315 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16316
16317         * configure.in (--enable-lock-elision): Fix message text.
16318         * INSTALL: Regenerate.
16319         * configure: Regenerate.
16320
16321 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16322
16323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16324
16325 2013-07-03  Andreas Jaeger  <aj@suse.de>
16326
16327         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16328         define.
16329         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16330         (ptrace_peeksiginfo_args): Add.
16331         (__ptrace_peeksiginfo_flags): Add.
16332         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16333         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16334         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16335
16336 2013-07-03  Allan McRae  <allan@archlinux.org>
16337
16338         * sysdeps/i386/fpu/libm-test-ulps: Update.
16339
16340 2013-07-02  David S. Miller  <davem@davemloft.net>
16341
16342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16343
16344 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16345
16346         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16347
16348 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16349
16350         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16352
16353 2013-07-02  Andi Kleen <ak@linux.intel.com>
16354
16355         * config.h.in (ENABLE_LOCK_ELISION): Add.
16356         * configure.in (--enable-lock-elision): Add option.
16357         * manual/install.texi: Document --enable lock elision.
16358         * configure: Regenerate
16359         * INSTALL: Regenerate.
16360
16361 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16362
16363         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16364         SSE4.2 strcasecmp for libc.a.
16365         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16366
16367 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16368
16369         [BZ #13304]
16370         * soft-fp/op-common.h (_FP_FMA): New macro.
16371         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16372         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16373         (_FP_MUL_MEAT_1_imm): ... here.
16374         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16375         (_FP_MUL_MEAT_1_wide): ... here.
16376         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16377         (_FP_MUL_MEAT_1_hard): ... here.
16378         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16379         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16380         (_FP_MUL_MEAT_2_wide): ... here.
16381         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16382         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16383         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16384         (_FP_MUL_MEAT_2_gmp): ... here.
16385         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16386         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16387         (_FP_MUL_MEAT_4_wide): ... here.
16388         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16389         (_FP_MUL_MEAT_4_gmp): ... here.
16390         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16391         (_FP_WFRACBITS_DW_S): Likewise.
16392         (_FP_WFRACXBITS_DW_S): Likewise.
16393         (_FP_HIGHBIT_DW_S): Likewise.
16394         (FP_FMA_S): Likewise.
16395         (_FP_FRAC_HIGH_DW_S): Likewise.
16396         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16397         (_FP_WFRACBITS_DW_D): Likewise.
16398         (_FP_WFRACXBITS_DW_D): Likewise.
16399         (_FP_HIGHBIT_DW_D): Likewise.
16400         (FP_FMA_D): Likewise.
16401         (_FP_FRAC_HIGH_DW_D): Likewise.
16402         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16403         (_FP_WFRACBITS_DW_E): Likewise.
16404         (_FP_WFRACXBITS_DW_E): Likewise.
16405         (_FP_HIGHBIT_DW_E): Likewise.
16406         (FP_FMA_E): Likewise.
16407         (_FP_FRAC_HIGH_DW_E): Likewise.
16408         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16409         (_FP_WFRACBITS_DW_Q): Likewise.
16410         (_FP_WFRACXBITS_DW_Q): Likewise.
16411         (_FP_HIGHBIT_DW_Q): Likewise.
16412         (FP_FMA_Q): Likewise.
16413         (_FP_FRAC_HIGH_DW_Q): Likewise.
16414         * soft-fp/fmasf4.c: New file.
16415         * soft-fp/fmadf4.c: Likewise.
16416         * soft-fp/fmatf4.c: Likewise.
16417
16418 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16419
16420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16421         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16422         Silvermont.
16423         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16424         macro.
16425         (index_Slow_SSE4_2): Likewise.
16426         (index_Prefer_PMINUB_for_stringop): Likewise.
16427         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16428         bit_Slow_SSE4_2 is set.
16429         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16430         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16431
16432 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16433
16434         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16435         rtld_global._dl_hwcap2.
16436         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16437         POWER8.
16438         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16439         POWER8 feature descriptions defined in _dl_hwcap2.
16440         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16441         string handling for POWER8 feature bits.
16442         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16443         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16444         _dl_powerpc_cap_flags.
16445         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16446         * sysdeps/powerpc/rtld-global-offsets.sym
16447         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16448         _dl_hwcap2 in the rtld_global_ro structure.
16449
16450 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16451
16452         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16453         hardware capabilities in support of AT_HWCAP2.
16454         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16455         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16456         GLRO(dl_hwcap2).
16457         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16458         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16459         explicitly the unknown a_type display mechanism is used.
16460         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16461         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16462         struct member.
16463         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16464         to macro prototype for AT_HWCAP2 support.
16465         * sysdeps/i386/dl-procinfo.h: Likewise.
16466         * sysdeps/s390/dl-procinfo.h: Likewise.
16467         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16468         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16469         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16470         return -1 for unknown a_type display fallback.
16471         * sysdeps/sparc/dl-procinfo.h: Likewise.
16472         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16473         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16474
16475 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16476
16477         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16478         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16479
16480 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16481
16482         [BZ #12492]
16483         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16484         mprotect making __stack_prot writable.
16485
16486 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16487             Joseph Myers  <joseph@codesourcery.com>
16488
16489         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16490         as being properly aligned.
16491
16492 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16493
16494         * dlfcn/modstatic5.c: New file.
16495         * dlfcn/tststatic5.c: New file.
16496         * dlfcn/Makefile (tests): Add tststatic5.
16497         (tests-static): Likewise.
16498         (modules-names): Add modstatic5.
16499         (tststatic5-ENV): New variable.
16500         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16501
16502         [BZ #15022]
16503         * elf/dl-support.c (_dl_main_map): New variable.
16504         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16505         (_dl_nns, _dl_load_adds): Set to 1.
16506         (_dl_initial_searchlist): Refer to _dl_main_map.
16507         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16508         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16509         call to _dl_get_origin.
16510         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16511         around call_map.
16512         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16513         * dlfcn/modstatic3.c: New file.
16514         * dlfcn/tststatic3.c: New file.
16515         * dlfcn/tststatic4.c: New file.
16516         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16517         (tests-static): Likewise.
16518         (modules-names): Add modstatic3.
16519         (tststatic3-ENV, tststatic4-ENV): New variables.
16520         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16521         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16522
16523 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16524
16525         * configure.in (CC): Require GCC version 4.4 or later.
16526         * configure: Regenerated.
16527         * manual/install.texi (Tools for Compilation): Update GCC version
16528         requirement.
16529         * INSTALL: Regenerated.
16530
16531 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16532
16533         [BZ #15674]
16534         * string/test-memcmp.c (check2): New.
16535         (main): Call check2.
16536
16537         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16538
16539 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16540
16541         [BZ #15022]
16542         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16543         over to...
16544         (dl_open_worker) [!SHARED]: ... here.
16545
16546 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16547
16548         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16549
16550 2013-06-25  Richard Henderson  <rth@redhat.com>
16551
16552         * locale/programs/locarchive.c: Include <libc-internal.h>
16553
16554 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16555
16556         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16557         trailing whitespace removed.
16558
16559 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16560
16561         [BZ #10283]
16562         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16563         * locale/programs/locarchive.c: Include libc-mmap.h.
16564         (prepare_address_space): Take two new outputs (the mmap base and len).
16565         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16566         values.
16567         (create_archive): Declare new mmap base and len values for
16568         prepare_address_space, and store the result in ah.
16569         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16570         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16571         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16572         Declare new mmap base and len values for
16573         prepare_address_space, and store the result in new_ah.
16574         (open_archive): Declare new mmap base and len values for
16575         prepare_address_space, and store the result in ah.
16576         (close_archive): If ah->mmap_base is not NULL, use that and
16577         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16578         * sysdeps/generic/libc-mmap.h: New file.
16579
16580 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16581
16582         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16583         (ALIGN_UP): Likewise.
16584         (PTR_ALIGN_DOWN): Likewise.
16585         (PTR_ALIGN_UP): Likewise.
16586
16587 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16588
16589         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16590         entry mapped to PPC_PLATFORM_POWER8.
16591         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16592         POWER8.
16593         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16594         (_dl_string_platform): Add case for exporting platform position for
16595         POWER8.
16596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16597         search path to sysdeps/powerpc/powerpc32/power8 directory.
16598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16599         search path to sysdeps/powerpc/powerpc64/power8 directory.
16600         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16601         power7 directories.
16602         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16603         power7 directories.
16604
16605 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16606
16607         * INSTALL: Regenerate.
16608
16609         * nscd/connections.c (nscd_init): Fix comment.
16610
16611 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16612
16613         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16614
16615         [BZ #15667]
16616         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16617         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16618
16619 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16620
16621         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16622         DL_DST_REQ_STATIC.
16623         (DL_DST_REQ_STATIC): Remove macro.
16624
16625 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16626
16627         [BZ #7006]
16628         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16629         with a shift of 0 bits.
16630
16631 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16632
16633         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16634         $(tststatic-ENV).
16635
16636 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16637
16638         [BZ #15655]
16639         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16640
16641 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16642
16643         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16644         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16645         accepts -fno-tree-loop-distribute-patterns.
16646         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16647         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16648         recursive call.
16649         * string/memset.c (memset): Likewise.
16650         * string/test-memmove.c (simple_memmove): Disable loop transformation
16651         to library calls.
16652         * string/test-memset.c (simple_memset): Likewise.
16653         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16654         * benchtests/bench-memset.c (simple_memset): Likewise.
16655         * configure: Regenerated.
16656
16657 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16658
16659         * math/test-misc.c (main): Ignore fesetround failure when failures
16660         of subsequent rounding tests would be ignored.
16661
16662         [BZ #15654]
16663         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16664         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16665         * math/fegetenv.c (__fegetenv): Return 0.
16666         * math/fegetexcept.c (fegetexcept): Return 0.
16667         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16668         FE_TONEAREST.
16669         * math/feholdexcpt.c (feholdexcept): Return 0.
16670         * math/fesetenv.c (__fesetenv): Return 0.
16671         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16672         argument FE_TONEAREST.
16673         * math/feupdateenv.c (__feupdateenv): Return 0.
16674         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16675
16676 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16677
16678         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16679         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16680         ($(objpfx)rtld-%.os rules): Use them.
16681
16682 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16683
16684         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16685         fields.
16686
16687 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16688
16689         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16690         length of target pattern, then descending length of dependency pattern.
16691         * configure.in (AWK): Require gawk 3.1.2 or newer.
16692         * manual/install.texi (Tools for Compilation): Say that we do.
16693         * configure: Regenerated.
16694
16695         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16696         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16697         * scripts/sysd-rules.awk: ... this new script.
16698         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16699         than a glob-style pattern.
16700
16701 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16702
16703         * math/test-misc.c (main): Do not treat incorrectly rounded
16704         conversions as failure unless ROUNDING_TESTS passes.
16705
16706 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16707
16708         [BZ #15631]
16709         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16710         restore exception state around main square root computation, then
16711         check for inexactness explicitly.
16712
16713         * math/libm-test.inc (fma_test_data): Add another test.
16714
16715 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16716
16717         * manual/threads.texi (Non-POSIX Extensions): New document
16718         node.  Document pthread_getattr_default_np and
16719         pthread_setattr_default_np.
16720
16721         * Versions.def (libpthread): Add GLIBC_2.18.
16722         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16724         Likewise.
16725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16726         Likewise.
16727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16728         Likewise.
16729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16730         Likewise.
16731         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16732         Likewise.
16733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16734         Likewise.
16735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16736         Likewise.
16737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16738         Likewise.
16739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16740         Likewise.
16741
16742 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16743
16744         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16745         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16746
16747 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16748             H.J. Lu  <hjl.tools@gmail.com>
16749
16750         [BZ #15627]
16751         * sysdeps/x86_64/rtld-memset.c: Remove file.
16752         * sysdeps/x86_64/rtld-memset.S: New file.
16753
16754 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16755
16756         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16757         (test_in_one_mode): Take arguments for whether the rounding mode
16758         is supported for each floating-point type.
16759         (do_test): Pass new arguments to test_in_one_mode using
16760         ROUNDING_TESTS.
16761
16762 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16763
16764         * posix/tst-waitid.c (do_test): Distinguish different instances of
16765         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16766         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16767         before entering the kernel for waitpid.
16768
16769 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16770
16771         * NEWS: Fix note on clock function precision.  Text by Roland
16772         McGrath.
16773
16774 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16775
16776         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16777         it into place only when and if the sanity check passes.
16778
16779 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16780
16781         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16782         output for whether conversion result is exact.  Take argument
16783         indicating whether type is IBM long double.
16784         (round_for_all): Change need_exact field to ibm_ld.
16785         * stdlib/tst-strtod-round.c (struct exactness): New type.
16786         (struct test): Change bool ld_ok field to struct exactness exact.
16787         (TEST): Update all definitions for change to field.
16788         (tests): Regenerate array contents.
16789         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16790         field value.  Check for IBM long double here.
16791         (do_test): Update calls to test_in_one_mode.
16792
16793 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16794
16795         [BZ #12515]
16796         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16797         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16798
16799 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16800
16801         [BZ #15605]
16802         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16803         generated by the compiler on loop optimizations.
16804         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16805         general definitions.
16806
16807 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16808
16809         * math/bug-nextafter.c: Include <math-tests.h>.
16810         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16811         the relevant type.
16812         * math/bug-nexttoward.c: Include <math-tests.h>.
16813         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16814         the relevant type.
16815         * math/test-misc.c: Include <math-tests.h>.
16816         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16817         the relevant type.
16818
16819 2013-06-12  Andreas Jaeger  <aj@suse.de>
16820
16821         * po/ia.po: Update Interlingua translation from translation
16822         project.
16823
16824 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16825
16826         * include/fenv.h: Include stdbool.h.
16827         (struct rm_ctx): New structure.
16828         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16829         Define macro.
16830         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16831         (SET_RESTORE_ROUNDF): Likewise.
16832         (SET_RESTORE_ROUNDL): Likewise.
16833         (SET_RESTORE_ROUND_NOEX): Likewise.
16834         (SET_RESTORE_ROUND_NOEXF): Likewise.
16835         (SET_RESTORE_ROUND_NOEXL): Likewise.
16836         (SET_RESTORE_ROUND_53BIT): Likewise.
16837         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16838         (libc_feresetround_noexf_ctx): Likewise.
16839         (libc_feresetround_noexl_ctx): Likewise.
16840         (libc_feholdsetround_53bit_ctx): Likewise.
16841         (libc_feresetround_53bit_ctx): Likewise.
16842         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16843         (libc_feholdexcept_setround_sse_ctx): New function.
16844         (libc_fesetenv_sse_ctx): Likewise.
16845         (libc_feupdateenv_sse_ctx): Likewise.
16846         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16847         (libc_feholdexcept_setround_387_ctx): Likewise.
16848         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16849         (libc_feholdsetround_387_prec_ctx): Likewise.
16850         (libc_feholdsetround_387_ctx): Likewise.
16851         (libc_feholdsetround_387_53bit_ctx): Likewise.
16852         (libc_feholdsetround_sse_ctx): Likewise.
16853         (libc_feresetround_sse_ctx): Likewise.
16854         (libc_feresetround_387_ctx): Likewise.
16855         (libc_feupdateenv_387_ctx): Likewise.
16856         (libc_feholdexcept_setroundf_ctx): Define macro.
16857         (libc_fesetenvf_ctx): Likewise.
16858         (libc_feupdateenvf_ctx): Likewise.
16859         (libc_feholdsetroundf_ctx): Likewise.
16860         (libc_feresetroundf_ctx): Likewise.
16861         (libc_feholdexcept_setround_ctx): Likewise.
16862         (libc_fesetenv_ctx): Likewise.
16863         (libc_feupdateenv_ctx): Likewise.
16864         (libc_feholdsetround_ctx): Likewise.
16865         (libc_feresetround_ctx): Likewise.
16866         (libc_feholdexcept_setroundl_ctx): Likewise.
16867         (libc_feupdateenvl_ctx): Likewise.
16868         (libc_feholdsetroundl_ctx): Likewise.
16869         (libc_feresetroundl_ctx): Likewise.
16870         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16871         (libc_feresetround_53bit_ctx): Likewise.
16872
16873 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16874
16875         * locale/iso-639.def: Convert to UTF-8.
16876
16877 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16878
16879         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16880         (EXCEPTION_TESTS_double): Likewise.
16881         (EXCEPTION_TESTS_long_double): Likewise.
16882         (EXCEPTION_TESTS): Likewise.
16883         * math/libm-test.inc (test_exceptions): Only test exceptions if
16884         EXCEPTION_TESTS (FLOAT).
16885
16886 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16887
16888         * benchtests/Makefile (string-bench): Add strcpy_chk and
16889         stpcpy_chk.
16890         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16891         * benchtests/bench-stpcpy_chk.c: New file.
16892         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16893         * benchtests/bench-strcpy_chk.c: New file.
16894         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16895         code.
16896         (do_test): Likewise.
16897
16898 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16899
16900         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16901         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16902         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16903         with tabs where appropriate.
16904         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16905         dl-procinfo.h.
16906         [PPC_PLATFORM_PPC440]: Likewise.
16907         [PPC_PLATFORM_PPC464]: Likewise.
16908         [PPC_PLATFORM_PPC476]: Likewise.
16909         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16910         ppc464, and ppc476 platform strings merging from ports/
16911         dl-procinfo.h.
16912
16913 2013-06-11  Andreas Schwab  <schwab@suse.de>
16914
16915         [BZ #14991]
16916         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16917         (from_ucs4_idx): Regenerate.
16918         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16919         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16920         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16921         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16922         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16923         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16924         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16925         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16926         from FROM_LOOP and TO_LOOP specific macros.
16927         (BODY): Handle combining characters.
16928         * iconvdata/BIG5HKSCS.irreversible: Update.
16929         * iconvdata/BIG5HKSCS.precomposed: New file.
16930         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16931         characters.
16932         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16933
16934 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16935
16936         * include/sys/time.h: Fix indentation and add copyright header.
16937
16938         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16939         (do_test): Likewise.
16940         * string/test-memchr.c (do_one_test): Likewise.
16941         (do_test): Likewise.
16942         * string/test-memcmp.c (do_one_test): Likewise.
16943         (do_test): Likewise.
16944         * string/test-memcpy.c (do_one_test): Likewise.
16945         (do_test): Likewise.
16946         * string/test-memmem.c (do_one_test): Likewise.
16947         (do_test): Likewise.
16948         (do_random_tests): Likewise.
16949         * string/test-memmove.c (do_one_test): Likewise.
16950         (do_test): Likewise.
16951         * string/test-memset.c (do_one_test): Likewise.
16952         (do_test): Likewise.
16953         * string/test-rawmemchr.c (do_one_test): Likewise.
16954         (do_test): Likewise.
16955         * string/test-strcasecmp.c (do_one_test): Likewise.
16956         (do_test): Likewise.
16957         * string/test-strcasestr.c (do_one_test): Likewise.
16958         (do_test): Likewise.
16959         * string/test-strcat.c (do_one_test): Likewise.
16960         (do_test): Likewise.
16961         * string/test-strchr.c (do_one_test): Likewise.
16962         (do_test): Likewise.
16963         * string/test-strcmp.c (do_one_test): Likewise.
16964         (do_test): Likewise.
16965         * string/test-strcpy.c (do_one_test): Likewise.
16966         (do_test): Likewise.
16967         * string/test-string.h: Likewise.
16968         (test_init): Likewise.
16969         * string/test-strlen.c (do_one_test): Likewise.
16970         (do_test): Likewise.
16971         * string/test-strncasecmp.c (do_one_test): Likewise.
16972         (do_test): Likewise.
16973         * string/test-strncat.c (do_one_test): Likewise.
16974         (do_test): Likewise.
16975         * string/test-strncmp.c (do_one_test): Likewise.
16976         (do_test_limit): Likewise.
16977         (do_test): Likewise.
16978         * string/test-strncpy.c (do_one_test): Likewise.
16979         (do_test): Likewise.
16980         * string/test-strnlen.c (do_one_test): Likewise.
16981         (do_test): Likewise.
16982         * string/test-strpbrk.c (do_one_test): Likewise.
16983         (do_test): Likewise.
16984         * string/test-strrchr.c (do_one_test): Likewise.
16985         (do_test): Likewise.
16986         * string/test-strspn.c (do_one_test): Likewise.
16987         (do_test): Likewise.
16988         * string/test-strstr.c (do_one_test): Likewise.
16989         (do_test): Likewise.
16990
16991         * benchtests/Makefile (string-bench): Add string benchmarks.
16992         * benchtests/bench-bcopy-ifunc.c: New file.
16993         * benchtests/bench-bcopy.c: New file.
16994         * benchtests/bench-bzero-ifunc.c: New file.
16995         * benchtests/bench-bzero.c: New file.
16996         * benchtests/bench-memccpy-ifunc.c: New file.
16997         * benchtests/bench-memccpy.c: New file.
16998         * benchtests/bench-memchr-ifunc.c: New file.
16999         * benchtests/bench-memchr.c: New file.
17000         * benchtests/bench-memcmp-ifunc.c: New file.
17001         * benchtests/bench-memcmp.c: New file.
17002         * benchtests/bench-memmem-ifunc.c: New file.
17003         * benchtests/bench-memmem.c: New file.
17004         * benchtests/bench-memmove-ifunc.c: New file.
17005         * benchtests/bench-memmove.c: New file.
17006         * benchtests/bench-mempcpy-ifunc.c: New file.
17007         * benchtests/bench-mempcpy.c: New file.
17008         * benchtests/bench-memset-ifunc.c: New file.
17009         * benchtests/bench-memset.c: New file.
17010         * benchtests/bench-rawmemchr-ifunc.c: New file.
17011         * benchtests/bench-rawmemchr.c: New file.
17012         * benchtests/bench-stpcpy-ifunc.c: New file.
17013         * benchtests/bench-stpcpy.c: New file.
17014         * benchtests/bench-stpncpy-ifunc.c: New file.
17015         * benchtests/bench-stpncpy.c: New file.
17016         * benchtests/bench-strcasecmp-ifunc.c: New file.
17017         * benchtests/bench-strcasecmp.c: New file.
17018         * benchtests/bench-strcasestr-ifunc.c: New file.
17019         * benchtests/bench-strcasestr.c: New file.
17020         * benchtests/bench-strcat-ifunc.c: New file.
17021         * benchtests/bench-strcat.c: New file.
17022         * benchtests/bench-strchr-ifunc.c: New file.
17023         * benchtests/bench-strchr.c: New file.
17024         * benchtests/bench-strchrnul-ifunc.c: New file.
17025         * benchtests/bench-strchrnul.c: New file.
17026         * benchtests/bench-strcmp-ifunc.c: New file.
17027         * benchtests/bench-strcmp.c: New file.
17028         * benchtests/bench-strcpy-ifunc.c: New file.
17029         * benchtests/bench-strcpy.c: New file.
17030         * benchtests/bench-strcspn-ifunc.c: New file.
17031         * benchtests/bench-strcspn.c: New file.
17032         * benchtests/bench-strlen-ifunc.c: New file.
17033         * benchtests/bench-strlen.c: New file.
17034         * benchtests/bench-strncasecmp-ifunc.c: New file.
17035         * benchtests/bench-strncasecmp.c: New file.
17036         * benchtests/bench-strncat-ifunc.c: New file.
17037         * benchtests/bench-strncat.c: New file.
17038         * benchtests/bench-strncmp-ifunc.c: New file.
17039         * benchtests/bench-strncmp.c: New file.
17040         * benchtests/bench-strncpy-ifunc.c: New file.
17041         * benchtests/bench-strncpy.c: New file.
17042         * benchtests/bench-strnlen-ifunc.c: New file.
17043         * benchtests/bench-strnlen.c: New file.
17044         * benchtests/bench-strpbrk-ifunc.c: New file.
17045         * benchtests/bench-strpbrk.c: New file.
17046         * benchtests/bench-strrchr-ifunc.c: New file.
17047         * benchtests/bench-strrchr.c: New file.
17048         * benchtests/bench-strspn-ifunc.c: New file.
17049         * benchtests/bench-strspn.c: New file.
17050         * benchtests/bench-strstr-ifunc.c: New file.
17051         * benchtests/bench-strstr.c: New file.
17052
17053         * benchtests/Makefile: Disable parallel execution of targets.
17054         (string-bench): Add memcpy.
17055         (benchset): New variable to store a list of benchmark sets.
17056         (bench-func): Renamed from bench.
17057         (bench-set): New target.
17058         (bench): Depend on bench-func and bench-set.
17059         * benchtests/README: Add section on benchmark sets.
17060         * benchtests/bench-memcpy-ifunc.c: New file.
17061         * benchtests/bench-memcpy.c: New file.
17062         * benchtests/bench-string.h: New file.
17063
17064 2013-06-11  Andreas Schwab  <schwab@suse.de>
17065
17066         [BZ #15577]
17067         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17068         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17069         values in the triple.
17070         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17071         terminator in the group key.
17072
17073 2013-06-11  Andreas Jaeger  <aj@suse.de>
17074
17075         * po/zh_TW.po: Update Chinese (traditional) translation from
17076         translation project.
17077
17078 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17079
17080         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17081         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17082         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17083         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17084         (clock_getcpuclockid): Likewise.
17085         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17086         Add weak_alias and libc_hidden_def.
17087         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17088         * rt/clock_gettime.c (clock_gettime): Rename to
17089         __clock_gettime.  Add weak_alias and libc_hidden_def.
17090         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17091         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17092         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17093         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17094         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17095         Likewise.
17096         * rt/clock_settime.c (clock_settime): Rename to
17097         __clock_settime.  Add weak_alias and libc_hidden_def.
17098         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17099
17100 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17101
17102         * mach/err_boot.sub: Remove trailing whitespace.
17103         * mach/err_ipc.sub: Likewise.
17104         * mach/err_mach.sub: Likewise.
17105
17106         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17107         (ROUNDING_TESTS_double): Likewise.
17108         (ROUNDING_TESTS_long_double): Likewise.
17109         (ROUNDING_TESTS): Likewise.
17110         * math/libm-test.inc: Include <math-tests.h>.
17111         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17112         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17113         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17114         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17115
17116 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17117
17118         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17119         of assigning.
17120
17121 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17122
17123         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17124         otherwise empty TRANS lines.
17125         * sysdeps/gnu/errlist.c: Regenerated.
17126
17127         * catgets/gencat.c (error_print): Use (void) in function
17128         definition.
17129         * crypt/crypt_util.c (__init_des): Likewise.
17130         * crypt/speeds.c (Stop): Likewise.
17131         (main): Likewise.
17132         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17133         * inet/ruserpass.c (token): Likewise.
17134         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17135         * intl/localealias.c (extend_alias_table): Likewise.
17136         * intl/plural-exp.c (init_germanic_plural): Likewise.
17137         * libio/fcloseall.c (__fcloseall): Likewise.
17138         * libio/genops.c (_IO_flush_all): Likewise.
17139         (_IO_flush_all_linebuffered): Likewise.
17140         (_IO_cleanup): Likewise.
17141         (_IO_iter_begin): Likewise.
17142         (_IO_iter_end): Likewise.
17143         (_IO_list_lock): Likewise.
17144         (_IO_list_unlock): Likewise.
17145         (_IO_list_resetlock): Likewise.
17146         * libio/getchar.c (getchar): Likewise.
17147         * libio/getchar_u.c (getchar_unlocked): Likewise.
17148         * libio/getwchar.c (getwchar): Likewise.
17149         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17150         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17151         * login/getpt.c (__getpt): Likewise.
17152         * login/tst-utmp.c (main): Likewise.
17153         * malloc/hooks.c (__malloc_check_init): Likewise.
17154         * malloc/malloc.c (__malloc_stats): Likewise.
17155         * malloc/mtrace.c (tr_break): Likewise.
17156         (mtrace): Likewise.
17157         (muntrace): Likewise.
17158         * misc/fstab.c (endfsent): Likewise.
17159         * misc/getclktck.c (__getclktck): Likewise.
17160         * misc/getdtsz.c (__getdtablesize): Likewise.
17161         * misc/gethostid.c (gethostid): Likewise.
17162         * misc/getpagesize.c (__getpagesize): Likewise.
17163         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17164         (__get_nprocs): Likewise.
17165         (__get_phys_pages): Likewise.
17166         (__get_avphys_pages): Likewise.
17167         * misc/getttyent.c (getttyent): Likewise.
17168         (setttyent): Likewise.
17169         (endttyent): Likewise.
17170         * misc/getusershell.c (getusershell): Likewise.
17171         (endusershell): Likewise.
17172         (setusershell): Likewise.
17173         (initshells): Likewise.
17174         * misc/hsearch.c (__hdestroy): Likewise.
17175         * misc/sync.c (sync): Likewise.
17176         * misc/syslog.c (closelog_internal): Likewise.
17177         (closelog): Likewise.
17178         * misc/ttyslot.c (ttyslot): Likewise.
17179         * misc/vhangup.c (vhangup): Likewise.
17180         * posix/fork.c (__fork): Likewise.
17181         * posix/getegid.c (__getegid): Likewise.
17182         * posix/geteuid.c (__geteuid): Likewise.
17183         * posix/getgid.c (__getgid): Likewise.
17184         * posix/getpid.c (__getpid): Likewise.
17185         * posix/getppid.c (__getppid): Likewise.
17186         * posix/getuid.c (__getuid): Likewise.
17187         * posix/pause.c (pause): Likewise.
17188         * posix/setpgrp.c (setpgrp): Likewise.
17189         * posix/setsid.c (__setsid): Likewise.
17190         * posix/test-vfork.c (noop): Likewise.
17191         * resolv/gethnamaddr.c (_endhtent): Likewise.
17192         (_gethtent): Likewise.
17193         (ht_endhostent): Likewise.
17194         (gethostent): Likewise.
17195         (dns_service): Likewise.
17196         * stdlib/drand48.c (drand48): Likewise.
17197         * stdlib/lrand48.c (lrand48): Likewise.
17198         * stdlib/mrand48.c (mrand48): Likewise.
17199         * stdlib/rand.c (rand): Likewise.
17200         * stdlib/random.c (__random): Likewise.
17201         * stdlib/setenv.c (clearenv): Likewise.
17202         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17203         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17204         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17205         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17206         (__get_nprocs): Likewise.
17207         (__get_phys_pages): Likewise.
17208         (__get_avphys_pages): Likewise.
17209         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17210         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17211         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17212         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17213         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17214         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17215         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17216         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17217         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17218         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17219         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17220         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17221         * sysdeps/posix/clock.c (clock): Likewise.
17222         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17223         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17224         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17225         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17226         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17227         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17228         (__get_nprocs_conf): Likewise.
17229         (__get_phys_pages): Likewise.
17230         (__get_avphys_pages): Likewise.
17231         * time/clock.c (clock): Likewise.
17232         * time/tzset.c (__tzname_max): Likewise.
17233
17234 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17235
17236         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17237         (__bswap_32): Do not use "register".
17238         * crypt/crypt.c (_ufc_doit_r): Likewise.
17239         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17240         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17241         * gmon/gmon.c (__monstartup): Likewise.
17242         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17243         * hurd/hurdmalloc.c (more_memory): Likewise.
17244         (malloc): Likewise.
17245         (free): Likewise.
17246         (realloc): Likewise.
17247         (malloc_fork_prepare): Likewise.
17248         (malloc_fork_parent): Likewise.
17249         (malloc_fork_child): Likewise.
17250         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17251         (_svcauth_des): Likewise.
17252         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17253         * inet/inet_net.c (inet_network): Likewise.
17254         * inet/inet_netof.c (inet_netof): Likewise.
17255         * inet/rcmd.c (__validuser2_sa): Likewise.
17256         * io/fts.c (fts_open): Likewise.
17257         (fts_load): Likewise.
17258         (fts_close): Likewise.
17259         (fts_read): Likewise.
17260         (fts_children): Likewise.
17261         (fts_build): Likewise.
17262         (fts_stat): Likewise.
17263         (fts_sort): Likewise.
17264         (fts_alloc): Likewise.
17265         (fts_lfree): Likewise.
17266         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17267         (_IO_file_xsgetn): Likewise.
17268         (_IO_file_xsgetn_mmap): Likewise.
17269         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17270         (_IO_cookie_write): Likewise.
17271         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17272         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17273         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17274         * malloc/obstack.c (_obstack_begin): Likewise.
17275         (_obstack_begin_1): Likewise.
17276         (_obstack_newchunk): Likewise.
17277         (_obstack_allocated_p): Likewise.
17278         (obstack_free): Likewise.
17279         (_obstack_memory_used): Likewise.
17280         * misc/getttyent.c (getttynam): Likewise.
17281         (getttyent): Likewise.
17282         (skip): Likewise.
17283         (value): Likewise.
17284         * misc/getusershell.c (initshells): Likewise.
17285         * misc/syslog.c (__vsyslog_chk): Likewise.
17286         * misc/ttyslot.c (ttyslot): Likewise.
17287         * nis/nis_hash.c (__nis_hash): Likewise.
17288         * posix/fnmatch_loop.c (FCT): Likewise.
17289         * posix/getconf.c (print_all): Likewise.
17290         (main): Likewise.
17291         * posix/getopt.c (exchange): Likewise.
17292         * posix/glob.c (globfree): Likewise.
17293         (prefix_array): Likewise.
17294         (__glob_pattern_type): Likewise.
17295         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17296         (NS_GET32): Likewise.
17297         (NS_PUT16): Likewise.
17298         (NS_PUT32): Likewise.
17299         * resolv/gethnamaddr.c (getanswer): Likewise.
17300         (gethostbyname2): Likewise.
17301         (gethostbyaddr): Likewise.
17302         (_gethtent): Likewise.
17303         (_gethtbyname2): Likewise.
17304         (_gethtbyaddr): Likewise.
17305         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17306         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17307         * resolv/res_init.c (__res_vinit): Likewise.
17308         (net_mask): Likewise.
17309         * resolv/res_mkquery.c (outchar): Likewise.
17310         (PRINT): Likewise.
17311         * stdio-common/printf_fp.c (outchar): Likewise.
17312         (PRINT): Likewise.
17313         * stdio-common/printf_fphex.c (outchar): Likewise.
17314         (PRINT): Likewise.
17315         * stdio-common/printf_size.c (outchar): Likewise.
17316         (PRINT): Likewise.
17317         * stdio-common/test_rdwr.c (main): Likewise.
17318         * stdio-common/tfformat.c (matches): Likewise.
17319         * stdio-common/vfprintf.c (outchar): Likewise.
17320         (printf_unknown): Likewise.
17321         (buffered_vfprintf): Likewise.
17322         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17323         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17324         (ReadFile): Likewise.
17325         * stdlib/qsort.c (SWAP): Likewise.
17326         (_quicksort): Likewise.
17327         * stdlib/setenv.c (__add_to_environ): Likewise.
17328         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17329         * stdlib/strtol_l.c (__strtol_l): Likewise.
17330         * stdlib/tst-strtod.c (main): Likewise.
17331         * stdlib/tst-strtol.c (main): Likewise.
17332         * stdlib/tst-strtoll.c (main): Likewise.
17333         * string/bits/string2.h (__strcmp_cc): Likewise.
17334         (__strcmp_cg): Likewise.
17335         (__strcspn_c1): Likewise.
17336         (__strcspn_c2): Likewise.
17337         (__strcspn_c3): Likewise.
17338         (__strspn_c1): Likewise.
17339         (__strspn_c2): Likewise.
17340         (__strspn_c3): Likewise.
17341         (__strsep_1c): Likewise.
17342         (__strsep_2c): Likewise.
17343         (__strsep_3c): Likewise.
17344         * string/memccpy.c (__memccpy): Likewise.
17345         * string/stpcpy.c (__stpcpy): Likewise.
17346         * string/strcmp.c (strcmp): Likewise.
17347         * string/strrchr.c (strrchr): Likewise.
17348         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17349         Likewise.
17350         * sysdeps/mach/hurd/getcwd.c
17351         (_hurd_canonicalize_directory_name_internal): Likewise.
17352         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17353         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17354         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17355         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17356         Likewise, in both definitions.
17357         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17358         definitions.
17359         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17360         64] (__bswap_64): Likewise.
17361         * time/test_time.c (main): Likewise.
17362         * time/tzfile.c (__tzfile_read): Likewise.
17363         (__tzfile_compute): Likewise.
17364         * time/tzset.c (__tzset_parse_tz): Likewise.
17365         (tzset_internal): Likewise.
17366         (compute_change): Likewise.
17367         * wcsmbs/wcscat.c (__wcscat): Likewise.
17368         * wcsmbs/wcschr.c (wcschr): Likewise.
17369         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17370         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17371         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17372         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17373         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17374         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17375         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17376         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17377         * wcsmbs/wmemset.c (wmemset): Likewise.
17378
17379 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17380
17381         * scripts/config.guess: Update to version 2013-05-16.
17382         * scripts/config.sub: Update to version 2013-04-24.
17383         * scripts/install-sh: Update to version 2011-11-20.07.
17384         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17385         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17386
17387 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17388
17389         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17390         * elf/sln.c: Likewise.
17391         * hurd/hurd/ioctl.h: Likewise.
17392         * hurd/hurdmalloc.c: Likewise.
17393         * hurd/xattr.c: Likewise.
17394         * include/shlib-compat.h: Likewise.
17395         * inet/ruserpass.c: Likewise.
17396         * libio/iofgets_u.c: Likewise.
17397         * libio/iofgetws_u.c: Likewise.
17398         * locale/programs/ld-identification.c: Likewise.
17399         * locale/programs/ld-time.c: Likewise.
17400         * mach/msg-destroy.c: Likewise.
17401         * nss/nss_files/files-netgrp.c: Likewise.
17402         * resolv/res_data.c: Likewise.
17403         * soft-fp/op-1.h: Likewise.
17404         * soft-fp/op-2.h: Likewise.
17405         * soft-fp/op-4.h: Likewise.
17406         * soft-fp/op-common.h: Likewise.
17407         * stdio-common/printf_fphex.c: Likewise.
17408         * stdlib/strtod_l.c: Likewise.
17409         * sunrpc/rpc/clnt.h: Likewise.
17410         * sysdeps/generic/framestate.c: Likewise.
17411         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17412         * sysdeps/i386/bsd-setjmp.S: Likewise.
17413         * sysdeps/i386/__longjmp.S: Likewise.
17414         * sysdeps/i386/setjmp.S: Likewise.
17415         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17416         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17417         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17418         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17419         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17420         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17421         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17422         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17423         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17424         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17425         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17426         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17427         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17428         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17429         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17430         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17431         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17432         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17433         * sysdeps/ieee754/support.c: Likewise.
17434         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17435         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17436         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17437         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17438         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17439         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17440         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17441         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17442         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17443         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17444         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17445         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17446         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17447         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17448         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17449         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17450         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17452
17453 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17454
17455         * posix/transbug.c: Remove executable mode.
17456
17457 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17458
17459         * crypt/speeds.c: Remove trailing whitespace.
17460         * dlfcn/default.c: Likewise.
17461         * elf/ifuncdep2.c: Likewise.
17462         * elf/ifuncmain1.c: Likewise.
17463         * elf/ifuncmain1vis.c: Likewise.
17464         * elf/testobj.h: Likewise.
17465         * elf/tst-stackguard1.c: Likewise.
17466         * gmon/sys/gmon.h: Likewise.
17467         * hurd/hurdmsg.c: Likewise.
17468         * hurd/new-fd.c: Likewise.
17469         * hurd/ports-get.c: Likewise.
17470         * iconvdata/ibm1008_420.c: Likewise.
17471         * inet/tst-getni1.c: Likewise.
17472         * inet/tst-getni2.c: Likewise.
17473         * libio/ioungetc.c: Likewise.
17474         * libio/wfiledoalloc.c: Likewise.
17475         * manual/libm-err-tab.pl: Likewise.
17476         * math/w_dremf.c: Likewise.
17477         * misc/ftruncate.c: Likewise.
17478         * posix/bug-glob2.c: Likewise.
17479         * posix/tst-pcre.c: Likewise.
17480         * posix/wait4.c: Likewise.
17481         * resolv/README: Likewise.
17482         * resolv/res_debug.h: Likewise.
17483         * resolv/tst-inet_ntop.c: Likewise.
17484         * setjmp/bug269-setjmp.c: Likewise.
17485         * soft-fp/extended.h: Likewise.
17486         * soft-fp/op-1.h: Likewise.
17487         * soft-fp/op-2.h: Likewise.
17488         * soft-fp/op-4.h: Likewise.
17489         * soft-fp/op-8.h: Likewise.
17490         * soft-fp/testit.c: Likewise.
17491         * stdio-common/bug16.c: Likewise.
17492         * stdlib/random.c: Likewise.
17493         * sunrpc/rpcsvc/rquota.x: Likewise.
17494         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17495         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17496         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17497         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17498         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17499         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17500         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17501         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17502         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17503         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17504         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17505         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17506         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17507         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17508         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17509         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17510         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17511         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17512         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17513         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17514         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17515         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17516         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17517         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17518         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17519         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17520         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17521         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17522         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17523         * sysdeps/ieee754/s_lib_version.c: Likewise.
17524         * sysdeps/mach/hurd/check_fds.c: Likewise.
17525         * sysdeps/mach/hurd/getsockname.c: Likewise.
17526         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17527         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17528         * sysdeps/powerpc/bits/link.h: Likewise.
17529         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17530         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17531         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17532         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17533         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17534         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17535         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17536         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17537         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17538         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17539         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17540         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17541         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17542         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17543         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17544         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17545         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17546         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17547         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17548         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17549         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17550         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17551         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17552         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17553         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17554         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17555         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17556         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17557         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17558         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17559         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17560         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17561         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17562         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17563         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17564         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17565         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17566         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17567         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17568         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17569         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17570         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17571         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17572         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17573         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17574         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17575         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17576         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17577         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17578         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17579         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17580         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17581         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17582         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17583         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17584         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17585         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17586         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17587         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17588         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17589         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17590         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17591         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17592         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17593         * sysdeps/powerpc/sysdep.h: Likewise.
17594         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17595         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17596         * sysdeps/sh/dl-trampoline.S: Likewise.
17597         * sysdeps/sh/memset.S: Likewise.
17598         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17599         * sysdeps/sh/strlen.S: Likewise.
17600         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17601         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17602         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17603         * sysdeps/sparc/sparc32/rem.S: Likewise.
17604         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17605         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17606         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17607         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17608         * sysdeps/sparc/sparc32/urem.S: Likewise.
17609         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17610         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17611         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17612         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17613         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17614         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17615         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17616         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17617         * sysdeps/unix/bsd/times.c: Likewise.
17618         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17619         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17623         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17624         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17625         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17626         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17627         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17628         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17629         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17630         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17631         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17632         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17633         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17634         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17635         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17636         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17637         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17638         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17639         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17640         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17641         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17642         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17643         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17644         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17645         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17646         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17647         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17648         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17649         * sysdeps/x86_64/strcspn.S: Likewise.
17650
17651 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17652
17653         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17654         generated file.  Regenerate properly from gen-translit.pl.
17655         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17656         locale/C-translit.h.
17657
17658 2013-06-05  Andreas Schwab  <schwab@suse.de>
17659
17660         [BZ #15100]
17661         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17662         week as 6 instead of -1.
17663         * time/tst-strptime.c (day_tests): Add test case.
17664
17665 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17666
17667         * sysdeps/generic/math_private.h
17668         (libc_feholdexcept_setround_53bit): Replace with
17669         libc_feholdsetround_53bit.
17670         (libc_feupdateenv_53bit): Replace with
17671         libc_feresetround_53bit.
17672         (SET_RESTORE_ROUND_53BIT): Adjust.
17673
17674 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17675
17676         * string/test-strchrnul.c: Add copyright header.
17677
17678         * posix/tst-getaddrinfo4.c: Increase test timeout.
17679
17680 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17681
17682         [BZ #15536]
17683         * math/libm-test.inc (MAX_EXP): Remove
17684         (MIN_EXP): Define.
17685         (ulp): Use MIN_EXP - MANT_DIG.
17686         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17687
17688 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17689
17690         * po/be.po: Revert last change.
17691         * po/zh_CN.po: Likewise.
17692         * po/header.pot: Likewise.
17693
17694 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17695
17696         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17697         link-libc-deps to empty as target-specific variable.
17698         * Makerules (link-libc-args): New variable.
17699         (libc-for-link): Likewise.
17700         (link-libc-deps): Likewise.
17701         (lib%.so): Depend on $(link-libc-deps).  Link with
17702         $(link-libc-args).
17703         (build-module): Link with $(link-libc-args).
17704         (build-module-asneeded): Likewise.
17705         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17706         list of objects.
17707         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17708         target-specific variable.
17709         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17710         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17711         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17712         libc.
17713         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17714         libc and ld.so.
17715         ($(objpfx)libpcprofile.so): Likewise.
17716         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17717         libc_nonshared.a.
17718         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17719         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17720         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17721         $(link-libc-deps).
17722         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17723         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17724         * login/Makefile ($(objpfx)libutil.so): Likewise.
17725         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17726         * math/Makefile ($(objpfx)libm.so): Likewise.
17727         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17728         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17729         variable instead of depending directly on libc.
17730         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17731         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17732         $(link-libc-deps).
17733         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17734         libc.
17735         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17736         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17737         ($(objpfx)libanl.so): Likewise.
17738         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17739         ld.so.
17740         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17741         $(link-libc-deps).
17742         * sysdeps/i386/fpu/Makefile: Remove file.
17743         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17744         ($(objpfx)libm.so): Remove dependency on ld.so.
17745
17746 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17747
17748         [BZ # 15553]
17749         * nis/yp_xdr.c (XDRMAXNAME): Define.
17750         (XDRMAXRECORD): Define.
17751         (xdr_domainname): Use XDRMAXNAME.
17752         (xdr_mapname): Likewise.
17753         (xdr_peername): Likewise.
17754         (xdr_keydat): Use XDRMAXRECORD.
17755         (xdr_valdat): Likewise.
17756
17757 2013-05-30  Jeff Law  <law@redhat.com>
17758
17759         [BZ #14256]
17760         * manual/errno.texi (ESTALE): Update to account for more than
17761         just NFS file systems.
17762         * sysdeps/gnu/errlist.c: Regenerated.
17763
17764 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17765
17766         [BZ #15465]
17767         * elf/Makefile (tests): Add tst-null-argv.
17768         (modules-names):  Add tst-null-argv-lib.
17769         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17770         (tst-null-argv-ENV): Set environment for tst-null-argv.
17771         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17772         (RTLD_PROGNAME): New macro.
17773         * elf/tst-null-argv.c: New test case.
17774         * elf/tst-null-argv-lib.c: Library for test case.
17775         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17776         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17777         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17778         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17779         * elf/dl-init.c (call_init): Likewise.
17780         (_dl_init): Likewise.
17781         * elf/dl-load.c (print_search_path): Likewise.
17782         (_dl_map_object): Likewise.
17783         * elf/dl-lookup.c (do_lookup_x): Likewise.
17784         (add_dependency): Likewise.
17785         (_dl_lookup_symbol_x): Likewise.
17786         (_dl_debug_bindings): Likewise.
17787         * elf/dl-open.c (_dl_show_scope): Likewise.
17788         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17789         * elf/dl-version.c (match_symbol): Likewise.
17790         (_dl_check_map_versions): Likewise.
17791         * elf/rtld.c (dl_main): Likewise.
17792         (print_unresolved): Use RTLD_PROGNAME.
17793         (print_missing_version): Likewise.
17794         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17795         (elf_machine_rela): Likewise.
17796         * sysdeps/powerpc/powerpc32/dl-machine.c
17797         (__process_machine_rela): Likewise.
17798         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17799         Likewise.
17800         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17801         Likewise.
17802         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17803         Likewise.
17804         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17805         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17806         Likewise.
17807         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17808         Likewise.
17809         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17810
17811 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17812
17813         * po/be.po: Add descriptive title.
17814         * po/zh_CN.po: Likewise.
17815         * po/header.pot: Likewise.
17816
17817 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17818
17819         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17820         error message.
17821         (enlarge_archive): Likewise.
17822
17823 2013-05-28  Ben North  <ben@redfrontdoor.org>
17824
17825         * manual/arith.texi (frexp): It is the magnitude of the return
17826         value which lies in [0.5, 1), not the return value itself.
17827
17828 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17829
17830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17831
17832 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17833
17834         * stdio-common/bug26.c (main): Correct fscanf template.
17835
17836         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17837         declare _dl_skip_args.
17838
17839         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17840         Don't declare.
17841
17842         * manual/platform.texi: Add missing @end deftypefun.
17843
17844 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17845
17846         [BZ #15529]
17847         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17848         bit of mantissa of 2^16382.
17849         * math/libm-test.inc (hypot_test_data): Add more tests.
17850
17851         * math/libm-test.inc: Add drem and pow10 to list of tested
17852         functions.
17853         (pow10_test): New function.
17854         (drem_test): Likewise.
17855         (drem_test_tonearest): Likewise.
17856         (drem_test_towardzero): Likewise.
17857         (drem_test_downward): Likewise.
17858         (drem_test_upward): Likewise.
17859         (main): Call the new functions.
17860
17861         * math/libm-test.inc (finite_test_data): Remove.
17862         (finite_test): Run tests from isfinite_test_data.
17863         (gamma_test_data): Remove.
17864         (gamma_test): Run tests from lgamma_test_data.
17865         * sysdeps/i386/fpu/libm-test-ulps: Update.
17866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17867
17868 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17869
17870         * manual/platform.texi: Add PowerPC PPR function set documentation.
17871         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17872         implementation.
17873
17874 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17875
17876         * math/libm-test.inc (MAX_EXP): Define.
17877         (ULPDIFF): Define.
17878         (ulp): New function.
17879         (check_float_internal): Use ULPDIFF.
17880         (cpow_test): Disable failing test.
17881         (check_ulp): Test ulp() implemetnation.
17882         (main): Call check_ulp before starting tests.
17883
17884 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17885
17886         * math/gen-libm-test.pl (generate_testfile): Do not handle
17887         START_DATA and END_DATA.
17888         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17889         END_DATA.
17890         (acos_tonearest_test_data): Likewise.
17891         (acos_towardzero_test_data): Likewise.
17892         (acos_downward_test_data): Likewise.
17893         (acos_upward_test_data): Likewise.
17894         (acosh_test_data): Likewise.
17895         (asin_test_data): Likewise.
17896         (asin_tonearest_test_data): Likewise.
17897         (asin_towardzero_test_data): Likewise.
17898         (asin_downward_test_data): Likewise.
17899         (asin_upward_test_data): Likewise.
17900         (asinh_test_data): Likewise.
17901         (atan_test_data): Likewise.
17902         (atanh_test_data): Likewise.
17903         (atan2_test_data): Likewise.
17904         (cabs_test_data): Likewise.
17905         (cacos_test_data): Likewise.
17906         (cacosh_test_data): Likewise.
17907         (carg_test_data): Likewise.
17908         (casin_test_data): Likewise.
17909         (casinh_test_data): Likewise.
17910         (catan_test_data): Likewise.
17911         (catanh_test_data): Likewise.
17912         (cbrt_test_data): Likewise.
17913         (ccos_test_data): Likewise.
17914         (ccosh_test_data): Likewise.
17915         (ceil_test_data): Likewise.
17916         (cexp_test_data): Likewise.
17917         (cimag_test_data): Likewise.
17918         (clog_test_data): Likewise.
17919         (clog10_test_data): Likewise.
17920         (conj_test_data): Likewise.
17921         (copysign_test_data): Likewise.
17922         (cos_test_data): Likewise.
17923         (cos_tonearest_test_data): Likewise.
17924         (cos_towardzero_test_data): Likewise.
17925         (cos_downward_test_data): Likewise.
17926         (cos_upward_test_data): Likewise.
17927         (cosh_test_data): Likewise.
17928         (cosh_tonearest_test_data): Likewise.
17929         (cosh_towardzero_test_data): Likewise.
17930         (cosh_downward_test_data): Likewise.
17931         (cosh_upward_test_data): Likewise.
17932         (cpow_test_data): Likewise.
17933         (cproj_test_data): Likewise.
17934         (creal_test_data): Likewise.
17935         (csin_test_data): Likewise.
17936         (csinh_test_data): Likewise.
17937         (csqrt_test_data): Likewise.
17938         (ctan_test_data): Likewise.
17939         (ctan_tonearest_test_data): Likewise.
17940         (ctan_towardzero_test_data): Likewise.
17941         (ctan_downward_test_data): Likewise.
17942         (ctan_upward_test_data): Likewise.
17943         (ctanh_test_data): Likewise.
17944         (ctanh_tonearest_test_data): Likewise.
17945         (ctanh_towardzero_test_data): Likewise.
17946         (ctanh_downward_test_data): Likewise.
17947         (ctanh_upward_test_data): Likewise.
17948         (erf_test_data): Likewise.
17949         (erfc_test_data): Likewise.
17950         (exp_test_data): Likewise.
17951         (exp_tonearest_test_data): Likewise.
17952         (exp_towardzero_test_data): Likewise.
17953         (exp_downward_test_data): Likewise.
17954         (exp_upward_test_data): Likewise.
17955         (exp10_test_data): Likewise.
17956         (exp2_test_data): Likewise.
17957         (expm1_test_data): Likewise.
17958         (fabs_test_data): Likewise.
17959         (fdim_test_data): Likewise.
17960         (finite_test_data): Likewise.
17961         (floor_test_data): Likewise.
17962         (fma_test_data): Likewise.
17963         (fma_towardzero_test_data): Likewise.
17964         (fma_downward_test_data): Likewise.
17965         (fma_upward_test_data): Likewise.
17966         (fmax_test_data): Likewise.
17967         (fmin_test_data): Likewise.
17968         (fmod_test_data): Likewise.
17969         (fpclassify_test_data): Likewise.
17970         (frexp_test_data): Likewise.
17971         (gamma_test_data): Likewise.
17972         (hypot_test_data): Likewise.
17973         (ilogb_test_data): Likewise.
17974         (isfinite_test_data): Likewise.
17975         (isgreater_test_data): Likewise.
17976         (isgreaterequal_test_data): Likewise.
17977         (isinf_test_data): Likewise.
17978         (isless_test_data): Likewise.
17979         (islessequal_test_data): Likewise.
17980         (islessgreater_test_data): Likewise.
17981         (isnan_test_data): Likewise.
17982         (isnormal_test_data): Likewise.
17983         (issignaling_test_data): Likewise.
17984         (isunordered_test_data): Likewise.
17985         (j0_test_data): Likewise.
17986         (j1_test_data): Likewise.
17987         (jn_test_data): Likewise.
17988         (ldexp_test_data): Likewise.
17989         (lgamma_test_data): Likewise.
17990         (lrint_test_data): Likewise.
17991         (lrint_tonearest_test_data): Likewise.
17992         (lrint_towardzero_test_data): Likewise.
17993         (lrint_downward_test_data): Likewise.
17994         (lrint_upward_test_data): Likewise.
17995         (llrint_test_data): Likewise.
17996         (llrint_tonearest_test_data): Likewise.
17997         (llrint_towardzero_test_data): Likewise.
17998         (llrint_downward_test_data): Likewise.
17999         (llrint_upward_test_data): Likewise.
18000         (log_test_data): Likewise.
18001         (log10_test_data): Likewise.
18002         (log1p_test_data): Likewise.
18003         (log2_test_data): Likewise.
18004         (logb_test_data): Likewise.
18005         (logb_downward_test_data): Likewise.
18006         (lround_test_data): Likewise.
18007         (llround_test_data): Likewise.
18008         (modf_test_data): Likewise.
18009         (nearbyint_test_data): Likewise.
18010         (nextafter_test_data): Likewise.
18011         (nexttoward_test_data): Likewise.
18012         (pow_test_data): Likewise.
18013         (pow_tonearest_test_data): Likewise.
18014         (pow_towardzero_test_data): Likewise.
18015         (pow_downward_test_data): Likewise.
18016         (pow_upward_test_data): Likewise.
18017         (remainder_test_data): Likewise.
18018         (remainder_tonearest_test_data): Likewise.
18019         (remainder_towardzero_test_data): Likewise.
18020         (remainder_downward_test_data): Likewise.
18021         (remainder_upward_test_data): Likewise.
18022         (remquo_test_data): Likewise.
18023         (rint_test_data): Likewise.
18024         (rint_tonearest_test_data): Likewise.
18025         (rint_towardzero_test_data): Likewise.
18026         (rint_downward_test_data): Likewise.
18027         (rint_upward_test_data): Likewise.
18028         (round_test_data): Likewise.
18029         (scalb_test_data): Likewise.
18030         (scalbn_test_data): Likewise.
18031         (scalbln_test_data): Likewise.
18032         (signbit_test_data): Likewise.
18033         (sin_test_data): Likewise.
18034         (sin_tonearest_test_data): Likewise.
18035         (sin_towardzero_test_data): Likewise.
18036         (sin_downward_test_data): Likewise.
18037         (sin_upward_test_data): Likewise.
18038         (sincos_test_data): Likewise.
18039         (sinh_test_data): Likewise.
18040         (sinh_tonearest_test_data): Likewise.
18041         (sinh_towardzero_test_data): Likewise.
18042         (sinh_downward_test_data): Likewise.
18043         (sinh_upward_test_data): Likewise.
18044         (sqrt_test_data): Likewise.
18045         (tan_test_data): Likewise.
18046         (tan_tonearest_test_data): Likewise.
18047         (tan_towardzero_test_data): Likewise.
18048         (tan_downward_test_data): Likewise.
18049         (tan_upward_test_data): Likewise.
18050         (tanh_test_data): Likewise.
18051         (tgamma_test_data): Likewise.
18052         (trunc_test_data): Likewise.
18053         (y0_test_data): Likewise.
18054         (y1_test_data): Likewise.
18055         (yn_test_data): Likewise.
18056         (significand_test_data): Likewise.
18057
18058         * math/gen-libm-test.pl (@functions): Remove variable.
18059         (generate_testfile): Don't handle START and END lines.
18060         * math/libm-test.inc (START): New macro.
18061         (END): Likewise.
18062         (END_COMPLEX): Likewise.
18063         (acos_test): Use END macro without arguments.
18064         (acos_test_tonearest): Likewise.
18065         (acos_test_towardzero): Likewise.
18066         (acos_test_downward): Likewise.
18067         (acos_test_upward): Likewise.
18068         (acosh_test): Likewise.
18069         (asin_test): Likewise.
18070         (asin_test_tonearest): Likewise.
18071         (asin_test_towardzero): Likewise.
18072         (asin_test_downward): Likewise.
18073         (asin_test_upward): Likewise.
18074         (asinh_test): Likewise.
18075         (atan_test): Likewise.
18076         (atanh_test): Likewise.
18077         (atan2_test): Likewise.
18078         (cabs_test): Likewise.
18079         (cacos_test): Use END_COMPLEX macro without arguments.
18080         (cacosh_test): Likewise.
18081         (carg_test): Use END macro without arguments.
18082         (casin_test): Use END_COMPLEX macro without arguments.
18083         (casinh_test): Likewise.
18084         (catan_test): Likewise.
18085         (catanh_test): Likewise.
18086         (cbrt_test): Use END macro without arguments.
18087         (ccos_test): Use END_COMPLEX macro without arguments.
18088         (ccosh_test): Likewise.
18089         (ceil_test): Use END macro without arguments.
18090         (cexp_test): Use END_COMPLEX macro without arguments.
18091         (cimag_test): Use END macro without arguments.
18092         (clog_test): Use END_COMPLEX macro without arguments.
18093         (clog10_test): Likewise.
18094         (conj_test): Likewise.
18095         (copysign_test): Use END macro without arguments.
18096         (cos_test): Likewise.
18097         (cos_test_tonearest): Likewise.
18098         (cos_test_towardzero): Likewise.
18099         (cos_test_downward): Likewise.
18100         (cos_test_upward): Likewise.
18101         (cosh_test): Likewise.
18102         (cosh_test_tonearest): Likewise.
18103         (cosh_test_towardzero): Likewise.
18104         (cosh_test_downward): Likewise.
18105         (cosh_test_upward): Likewise.
18106         (cpow_test): Use END_COMPLEX macro without arguments.
18107         (cproj_test): Likewise.
18108         (creal_test): Use END macro without arguments.
18109         (csin_test): Use END_COMPLEX macro without arguments.
18110         (csinh_test): Likewise.
18111         (csqrt_test): Likewise.
18112         (ctan_test): Likewise.
18113         (ctan_test_tonearest): Likewise.
18114         (ctan_test_towardzero): Likewise.
18115         (ctan_test_downward): Likewise.
18116         (ctan_test_upward): Likewise.
18117         (ctanh_test): Likewise.
18118         (ctanh_test_tonearest): Likewise.
18119         (ctanh_test_towardzero): Likewise.
18120         (ctanh_test_downward): Likewise.
18121         (ctanh_test_upward): Likewise.
18122         (erf_test): Use END macro without arguments.
18123         (erfc_test): Likewise.
18124         (exp_test): Likewise.
18125         (exp_test_tonearest): Likewise.
18126         (exp_test_towardzero): Likewise.
18127         (exp_test_downward): Likewise.
18128         (exp_test_upward): Likewise.
18129         (exp10_test): Likewise.
18130         (exp2_test): Likewise.
18131         (expm1_test): Likewise.
18132         (fabs_test): Likewise.
18133         (fdim_test): Likewise.
18134         (finite_test): Likewise.
18135         (floor_test): Likewise.
18136         (fma_test): Likewise.
18137         (fma_test_towardzero): Likewise.
18138         (fma_test_downward): Likewise.
18139         (fma_test_upward): Likewise.
18140         (fmax_test): Likewise.
18141         (fmin_test): Likewise.
18142         (fmod_test): Likewise.
18143         (fpclassify_test): Likewise.
18144         (frexp_test): Likewise.
18145         (gamma_test): Likewise.
18146         (hypot_test): Likewise.
18147         (ilogb_test): Likewise.
18148         (isfinite_test): Likewise.
18149         (isgreater_test): Likewise.
18150         (isgreaterequal_test): Likewise.
18151         (isinf_test): Likewise.
18152         (isless_test): Likewise.
18153         (islessequal_test): Likewise.
18154         (islessgreater_test): Likewise.
18155         (isnan_test): Likewise.
18156         (isnormal_test): Likewise.
18157         (issignaling_test): Likewise.
18158         (isunordered_test): Likewise.
18159         (j0_test): Likewise.
18160         (j1_test): Likewise.
18161         (jn_test): Likewise.
18162         (ldexp_test): Likewise.
18163         (lgamma_test): Likewise.
18164         (lrint_test): Likewise.
18165         (lrint_test_tonearest): Likewise.
18166         (lrint_test_towardzero): Likewise.
18167         (lrint_test_downward): Likewise.
18168         (lrint_test_upward): Likewise.
18169         (llrint_test): Likewise.
18170         (llrint_test_tonearest): Likewise.
18171         (llrint_test_towardzero): Likewise.
18172         (llrint_test_downward): Likewise.
18173         (llrint_test_upward): Likewise.
18174         (log_test): Likewise.
18175         (log10_test): Likewise.
18176         (log1p_test): Likewise.
18177         (log2_test): Likewise.
18178         (logb_test): Likewise.
18179         (logb_test_downward): Likewise.
18180         (lround_test): Likewise.
18181         (llround_test): Likewise.
18182         (modf_test): Likewise.
18183         (nearbyint_test): Likewise.
18184         (nextafter_test): Likewise.
18185         (nexttoward_test): Likewise.
18186         (pow_test): Likewise.
18187         (pow_test_tonearest): Likewise.
18188         (pow_test_towardzero): Likewise.
18189         (pow_test_downward): Likewise.
18190         (pow_test_upward): Likewise.
18191         (remainder_test): Likewise.
18192         (remainder_test_tonearest): Likewise.
18193         (remainder_test_towardzero): Likewise.
18194         (remainder_test_downward): Likewise.
18195         (remainder_test_upward): Likewise.
18196         (remquo_test): Likewise.
18197         (rint_test): Likewise.
18198         (rint_test_tonearest): Likewise.
18199         (rint_test_towardzero): Likewise.
18200         (rint_test_downward): Likewise.
18201         (rint_test_upward): Likewise.
18202         (round_test): Likewise.
18203         (scalb_test): Likewise.
18204         (scalbn_test): Likewise.
18205         (scalbln_test): Likewise.
18206         (signbit_test): Likewise.
18207         (sin_test): Likewise.
18208         (sin_test_tonearest): Likewise.
18209         (sin_test_towardzero): Likewise.
18210         (sin_test_downward): Likewise.
18211         (sin_test_upward): Likewise.
18212         (sincos_test): Likewise.
18213         (sinh_test): Likewise.
18214         (sinh_test_tonearest): Likewise.
18215         (sinh_test_towardzero): Likewise.
18216         (sinh_test_downward): Likewise.
18217         (sinh_test_upward): Likewise.
18218         (sqrt_test): Likewise.
18219         (tan_test): Likewise.
18220         (tan_test_tonearest): Likewise.
18221         (tan_test_towardzero): Likewise.
18222         (tan_test_downward): Likewise.
18223         (tan_test_upward): Likewise.
18224         (tanh_test): Likewise.
18225         (tgamma_test): Likewise.
18226         (trunc_test): Likewise.
18227         (y0_test): Likewise.
18228         (y1_test): Likewise.
18229         (yn_test): Likewise.
18230         (significand_test): Likewise.
18231
18232 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18233
18234         [BZ #15381]
18235         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18236
18237 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18238
18239         [BZ #14894]
18240         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18241         __ppc_mdoio and __ppc_mdoom.
18242         * manual/platform.texi: Document new functions __ppc_yield,
18243         __ppc_mdoio and __ppc_mdoom.
18244
18245 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18246
18247         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18248         (main): Mention "tls" pseudo-hwcap is legacy.
18249         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18250
18251 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18252
18253         * math/gen-libm-test.pl (parse_args): Output only string of
18254         arguments as text for test name, not full call or descriptions of
18255         tests for extra outputs.
18256         (generate_testfile): Do not pass function name to parse_args.
18257         Generate this_func variable from START.
18258         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18259         field to arg_str.
18260         (struct test_ff_f_data): Likewise.
18261         (test_ff_f_data_nexttoward): Likewise.
18262         (struct test_fi_f_data): Likewise.
18263         (struct test_fl_f_data): Likewise.
18264         (struct test_if_f_data): Likewise.
18265         (struct test_fff_f_data): Likewise.
18266         (struct test_c_f_data): Likewise.
18267         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18268         (struct test_fF_f1_data): Likewise.
18269         (struct test_ffI_f1_data): Likewise.
18270         (struct test_c_c_data): Rename test_name field to arg_str.
18271         (struct test_cc_c_data): Likewise.
18272         (struct test_f_i_data): Likewise.
18273         (struct test_ff_i_data): Likewise.
18274         (struct test_f_l_data): Likewise.
18275         (struct test_f_L_data): Likewise.
18276         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18277         and extra2_name.
18278         (COMMON_TEST_SETUP): New macro.
18279         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18280         (COMMON_TEST_CLEANUP): Likewise.
18281         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18282         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18283         macros.
18284         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18285         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18286         macros.
18287         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18288         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18289         cleanup macros.
18290         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18291         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18292         macros.
18293         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18294         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18295         macros.
18296         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18297         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18298         cleanup macros.
18299         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18300         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18301         cleanup macros.
18302         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18303         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18304         cleanup macros.
18305         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18306         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18307         macros.
18308         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18309         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18310         macros.
18311         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18312         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18313         macros.
18314         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18315         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18316         cleanup macros.
18317         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18318         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18319         cleanup macros.
18320         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18321         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18322         macros.
18323         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18324         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18325         cleanup macros.
18326         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18327         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18328         macros.
18329         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18330         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18331         macros.
18332         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18333         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18334         cleanup macros.
18335         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18336
18337 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18338
18339         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18340         to _sifields.sigfault.
18341         (si_addr_lsb): Define new macro.
18342         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18343         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18344         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18345
18346 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18347
18348         [BZ #15441]
18349         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18350         returns -1.
18351         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18352         null return -1.
18353         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18354         loading the domain.
18355
18356 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18357
18358         * math/gen-libm-test.pl (parse_args): Do not include expected
18359         result in test name.
18360         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18361         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18362         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18363         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18364         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18366
18367 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18368
18369         * benchtests/Makefile: Sort function entries.
18370
18371         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18372         tanh, asinh, acosh, atanh.
18373         * benchtests/acos-inputs: New file.
18374         * benchtests/acosh-inputs: New file.
18375         * benchtests/asin-inputs: New file.
18376         * benchtests/asinh-inputs: New file.
18377         * benchtests/atanh-inputs: New file.
18378         * benchtests/cosh-inputs: New file.
18379         * benchtests/log-inputs: New file.
18380         * benchtests/sinh-inputs: New file.
18381         * benchtests/tanh-inputs: New file.
18382
18383 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18384
18385         [BZ #15339]
18386         * posix/tst-getaddrinfo4.c: New test.
18387         * posix/Makefile (tests): Add it.
18388
18389 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18390
18391         [BZ #15339]
18392         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18393         when no services were used.
18394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18395         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18396
18397 2013-05-21  Andreas Schwab  <schwab@suse.de>
18398
18399         [BZ #15014]
18400         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18401         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18402         successful.
18403         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18404         redundant variable declarations and reallocation of buffer when
18405         parsing as IPv6 address.  Always set NSS status when called from
18406         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18407         buffer too small.  Correct computation of needed size.
18408         * nss/Makefile (tests): Add test-digits-dots.
18409         * nss/test-digits-dots.c: New test.
18410
18411 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18412
18413         * benchtests/Makefile: Remove instructions for adding
18414         benchmark tests.
18415         * benchtests/README: New file to explain how to execute and
18416         enhance the benchmark tests.
18417
18418 2013-05-21  Andreas Schwab  <schwab@suse.de>
18419
18420         [BZ #15493]
18421         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18422         * setjmp/tst-sigsetjmp.c: New test.
18423
18424 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18425
18426         * sysdeps/x86_64/memset.S (memset): New implementation.
18427         (__bzero): Likewise.
18428         (__memset_tail): New function.
18429
18430 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18431
18432         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18433         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18434         __memcpy_sse2_unaligned ifunc selection.
18435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18436         Add memcpy-sse2-unaligned.S.
18437         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18438         Add: __memcpy_sse2_unaligned.
18439
18440 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18441
18442         [BZ #15490]
18443         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18444         math_force_eval before restoring floating-point envrionment.
18445         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18446         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18447         Likewise.
18448         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18449         <math_private.h>.
18450         (__nearbyintl): Use math_force_eval before restoring
18451         floating-point environment.
18452         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18453
18454         * math/gen-libm-test.pl (special_functions): Remove.
18455         (parse_args): Don't handle TEST_extra.  Handle functions with no
18456         return value.
18457         * math/libm-test.inc (struct test_sincos_data): Replace with
18458         struct test_fFF_11_data.
18459         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18460         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18461         (sincos_test_data): Change element type to struct
18462         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18463         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18464         RUN_TEST_LOOP_sincos.
18465         * math/README.libm-test: Don't mention special handling of
18466         individual functions.
18467         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18468         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18469         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18470         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18471         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18473
18474         * math/gen-libm-test.pl (get_variable): Remove function.
18475         (parse_args): Don't show pointer parameters to call in test
18476         names.  Use "extra output N" in test names for extra outputs
18477         rather than naming variables.
18478
18479 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18480
18481         [BZ #15488]
18482         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18483         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18484         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18485         double tests.
18486         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18487         disable.
18488         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18489         check_long_double.
18490
18491         * math/gen-libm-test.pl (@tests): Remove variable.
18492         ($count): Likewise.
18493         (new_test): Remove function.
18494         (show_exceptions): New function.
18495         (special_functions): Use show_exceptions instead of new_test.
18496         (parse_args): Likewise.
18497         (generate_testfile): Pass only function name in generated call to
18498         print_max_error or print_complex_max_error.
18499         (get_ulps): Do not handle complex tests specially.
18500         (output_test): Rename to ...
18501         (get_all_ulps_for_test): ... this.  Return a string rather than
18502         printing to a file.  Require ulps to be present.
18503         (output_ulps): Generate arrays rather than #defines.
18504         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18505         (struct ulp_data): New type.
18506         (BUILD_COMPLEX_ULP): Remove macro.
18507         (compare_ulp_data): New function.
18508         (find_ulps): Likewise.
18509         (find_test_ulps): Likewise.
18510         (find_function_ulps): Likewise.
18511         (find_complex_function_ulps): Likewise.
18512         (print_max_error): Determine allowed ulps using
18513         find_function_ulps.
18514         (print_complex_max_error): Determine allowed ulps using
18515         find_complex_function_ulps.
18516         (check_float_internal): Determine max ulps using find_test_ulps.
18517         (check_float): Do not take max_ulp parameter.  Update call to
18518         check_float_internal.
18519         (check_complex): Likewise.
18520         (check_int): Do not take max_ulp parameter.
18521         (check_long): Likewise.
18522         (check_bool): Likewise.
18523         (check_longlong): Likewise.
18524         (struct test_f_f_data): Remove max_ulp field.
18525         (struct test_ff_f_data): Likewise.
18526         (struct test_ff_f_data_nexttoward): Likewise.
18527         (struct test_fi_f_data): Likewise.
18528         (struct test_fl_f_data): Likewise.
18529         (struct test_if_f_data): Likewise.
18530         (struct test_fff_f_data): Likewise.
18531         (struct test_c_f_data): Likewise.
18532         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18533         (struct test_fF_f1_data): Likewise.
18534         (struct test_ffI_f1_data): Likewise.
18535         (struct test_c_c_data): Remove max_ulp field.
18536         (struct test_cc_c_data): Likewise.
18537         (struct test_f_i_data): Likewise.
18538         (struct test_ff_i_data): Likewise.
18539         (struct test_f_l_data): Likewise.
18540         (struct test_f_L_data): Likewise.
18541         (struct test_sincos_data): Likewise.
18542         (RUN_TEST_f_f): Do not handle ulps.
18543         (RUN_TEST_LOOP_f_f): Likewise.
18544         (RUN_TEST_2_f): Likewise.
18545         (RUN_TEST_LOOP_2_f): Likewise.
18546         (RUN_TEST_fff_f): Likewise.
18547         (RUN_TEST_LOOP_fff_f): Likewise.
18548         (RUN_TEST_c_f): Likewise.
18549         (RUN_TEST_LOOP_c_f): Likewise.
18550         (RUN_TEST_f_f1): Likewise.
18551         (RUN_TEST_LOOP_f_f1): Likewise.
18552         (RUN_TEST_fF_f1): Likewise.
18553         (RUN_TEST_LOOP_fF_f1): Likewise.
18554         (RUN_TEST_fI_f1): Likewise.
18555         (RUN_TEST_LOOP_fI_f1): Likewise.
18556         (RUN_TEST_ffI_f1): Likewise.
18557         (RUN_TEST_LOOP_ffI_f1): Likewise.
18558         (RUN_TEST_c_c): Likewise.
18559         (RUN_TEST_LOOP_c_c): Likewise.
18560         (RUN_TEST_cc_c): Likewise.
18561         (RUN_TEST_LOOP_cc_c): Likewise.
18562         (RUN_TEST_f_i): Likewise.
18563         (RUN_TEST_LOOP_f_i): Likewise.
18564         (RUN_TEST_f_i_tg): Likewise.
18565         (RUN_TEST_LOOP_f_i_tg): Likewise.
18566         (RUN_TEST_ff_i_tg): Likewise.
18567         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18568         (RUN_TEST_f_b): Likewise.
18569         (RUN_TEST_LOOP_f_b): Likewise.
18570         (RUN_TEST_f_b_tg): Likewise.
18571         (RUN_TEST_LOOP_f_b_tg): Likewise.
18572         (RUN_TEST_f_l): Likewise.
18573         (RUN_TEST_LOOP_f_l): Likewise.
18574         (RUN_TEST_f_L): Likewise.
18575         (RUN_TEST_LOOP_f_L): Likewise.
18576         (RUN_TEST_sincos): Likewise.
18577         (RUN_TEST_LOOP_sincos): Likewise.
18578
18579 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18580
18581         [BZ #15480]
18582         [BZ #15485]
18583         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18584         main case of finite arguments, set rounding mode to FE_TONEAREST
18585         and discard exceptions.
18586         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18587         exceptions.
18588         (remainder_tonearest_test_data): New variable.
18589         (remainder_test_tonearest): New function.
18590         (remainder_towardzero_test_data): New variable.
18591         (remainder_test_towardzero): New function.
18592         (remainder_downward_test_data): New variable.
18593         (remainder_test_downward): New function.
18594         (remainder_upward_test_data): New variable.
18595         (remainder_test_upward): New function.
18596         (main): Call the new test functions.
18597
18598         * math/libm-test.inc (struct test_f_f1_data): Remove field
18599         extra_init.
18600         (struct test_fF_f1_data): Likewise.
18601         (struct test_ffI_f1_data): Likewise.
18602         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18603         based on value of EXTRA_EXPECTED.
18604         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18605         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18606         EXTRA_VAR based on value of EXTRA_EXPECTED.
18607         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18608         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18609         EXTRA_VAR based on value of EXTRA_EXPECTED.
18610         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18611         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18612         EXTRA_VAR based on value of EXTRA_EXPECTED.
18613         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18614         * math/gen-libm-test.pl (parse_args): Don't output initializers
18615         for extra output values.
18616
18617         * math/libm-test.inc (check_int): Expect result to be exactly
18618         equal to expected value and do not handle ulps.
18619         (check_long): Likewise.
18620         (check_longlong): Likewise.
18621
18622         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18623         exceptions.
18624         (cimag_test_data): Likewise.
18625         (conj_test_data): Likewise.
18626         (copysign_test_data): Likewise.
18627         (cproj_test_data): Likewise.
18628         (creal_test_data): Likewise.
18629         (fabs_test_data): Likewise.
18630         (fdim_test_data): Likewise.
18631         (finite_test_data): Likewise.
18632         (floor_test_data): Likewise.
18633         (fmax_test_data): Likewise.
18634         (fmin_test_data): Likewise.
18635         (fmod_test_data): Likewise.
18636         (fpclassify_test_data): Likewise.
18637         (frexp_test_data): Likewise.
18638         (ilogb_test_data): Likewise.
18639         (isfinite_test_data): Likewise.
18640         (isgreater_test_data): Likewise.
18641         (isgreaterequal_test_data): Likewise.
18642         (isinf_test_data): Likewise.
18643         (isless_test_data): Likewise.
18644         (islessequal_test_data): Likewise.
18645         (islessgreater_test_data): Likewise.
18646         (isnan_test_data): Likewise.
18647         (isnormal_test_data): Likewise.
18648         (issignaling_test_data): Likewise.
18649         (isunordered_test_data): Likewise.
18650         (ldexp_test_data): Likewise.
18651         (lrint_test_data): Likewise.
18652         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18653         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18654         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18655         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18656         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18657         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18658         test input.
18659         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18660         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18661         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18662         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18663         that test input.
18664         (lrint_downward_test_data): Test for "inexact" exceptions.
18665         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18666         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18667         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18668         test input.
18669         (lrint_upward_test_data): Test for "inexact" exceptions.
18670         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18671         test input.
18672         (llrint_test_data): Test for "inexact" exceptions.
18673         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18674         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18675         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18676         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18677         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18678         (llrint_downward_test_data): Test for "inexact" exceptions.
18679         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18680         (llrint_upward_test_data): Test for "inexact" exceptions.
18681         (logb_test_data): Likewise.
18682         (logb_downward_test_data): Likewise.
18683         (nextafter_test_data): Likewise.
18684         (nexttoward_test_data): Likewise.
18685         (remainder_test_data): Likewise.
18686         (remquo_test_data): Likewise.
18687         (scalbn_test_data): Likewise.
18688         (scalbln_test_data): Likewise.
18689         (signbit_test_data): Likewise.
18690         (sqrt_test_data): Likewise.
18691         (significand_test_data): Likewise.
18692
18693 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18694
18695         [BZ #15424]
18696         * benchtests/bench-modf.c (struct args): Mark arg0 as
18697         volatile.
18698         * scripts/bench.pl: Mark members of struct args as volatile.
18699
18700 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18701
18702         [BZ # 15497]
18703         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18704         negative infinity on POWER6 or lower.
18705         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18706
18707 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18708
18709         [BZ #15442]
18710         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18711         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18712         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18713         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18714         (_FP_SETQNAN): New macro.
18715         (_FP_SETQNAN_SEMIRAW): Likewise.
18716         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18717         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18718         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18719         (FP_EXTEND): Use _FP_FRAC_SNANP.
18720         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18721         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18722         into account.
18723         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18724         New macro.
18725         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18726         Likewise.
18727
18728 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18729
18730         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18731         with DIVIDE_BY_ZERO_EXCEPTION.
18732         (gamma_test_data): Likewise.
18733         (lgamma_test_data): Likewise.
18734         (log_test_data): Likewise.
18735         (log10_test_data): Likewise.
18736         (log2_test_data): Likewise.
18737         (tgamma_test_data): Likewise.
18738
18739         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18740         (acos_test_tonearest): Likewise.
18741         (acos_test_towardzero): Likewise.
18742         (acos_test_downward): Likewise.
18743         (acos_test_upward): Likewise.
18744         (acosh_test): Likewise.
18745         (asin_test): Likewise.
18746         (asin_test_tonearest): Likewise.
18747         (asin_test_towardzero): Likewise.
18748         (asin_test_downward): Likewise.
18749         (asin_test_upward): Likewise.
18750         (asinh_test): Likewise.
18751         (atan_test): Likewise.
18752         (atanh_test): Likewise.
18753         (atan2_test): Likewise.
18754         (cabs_test): Likewise.
18755         (cacos_test): Likewise.
18756         (cacosh_test): Likewise.
18757         (casin_test): Likewise.
18758         (casinh_test): Likewise.
18759         (catan_test): Likewise.
18760         (catanh_test): Likewise.
18761         (cbrt_test): Likewise.
18762         (ccos_test): Likewise.
18763         (ccosh_test): Likewise.
18764         (cexp_test): Likewise.
18765         (clog_test): Likewise.
18766         (clog10_test): Likewise.
18767         (cos_test): Likewise.
18768         (cos_test_tonearest): Likewise.
18769         (cos_test_towardzero): Likewise.
18770         (cos_test_downward): Likewise.
18771         (cos_test_upward): Likewise.
18772         (cosh_test): Likewise.
18773         (cosh_test_tonearest): Likewise.
18774         (cosh_test_towardzero): Likewise.
18775         (cosh_test_downward): Likewise.
18776         (cosh_test_upward): Likewise.
18777         (cpow_test): Likewise.
18778         (csin_test): Likewise.
18779         (csinh_test): Likewise.
18780         (csqrt_test): Likewise.
18781         (ctan_test): Likewise.
18782         (ctan_test_tonearest): Likewise.
18783         (ctan_test_towardzero): Likewise.
18784         (ctan_test_downward): Likewise.
18785         (ctan_test_upward): Likewise.
18786         (ctanh_test): Likewise.
18787         (ctanh_test_tonearest): Likewise.
18788         (ctanh_test_towardzero): Likewise.
18789         (ctanh_test_downward): Likewise.
18790         (ctanh_test_upward): Likewise.
18791         (erf_test): Likewise.
18792         (erfc_test): Likewise.
18793         (exp_test): Likewise.
18794         (exp_test_tonearest): Likewise.
18795         (exp_test_towardzero): Likewise.
18796         (exp_test_downward): Likewise.
18797         (exp_test_upward): Likewise.
18798         (exp10_test): Likewise.
18799         (exp2_test): Likewise.
18800         (expm1_test): Likewise.
18801         (fmod_test): Likewise.
18802         (gamma_test): Likewise.
18803         (hypot_test): Likewise.
18804         (j0_test): Likewise.
18805         (j1_test): Likewise.
18806         (jn_test): Likewise.
18807         (lgamma_test): Likewise.
18808         (log_test): Likewise.
18809         (log10_test): Likewise.
18810         (log1p_test): Likewise.
18811         (log2_test): Likewise.
18812         (logb_test_downward): Likewise.
18813         (pow_test): Likewise.
18814         (pow_test_tonearest): Likewise.
18815         (pow_test_towardzero): Likewise.
18816         (pow_test_downward): Likewise.
18817         (pow_test_upward): Likewise.
18818         (remainder_test): Likewise.
18819         (remquo_test): Likewise.
18820         (sin_test): Likewise.
18821         (sin_test_tonearest): Likewise.
18822         (sin_test_towardzero): Likewise.
18823         (sin_test_downward): Likewise.
18824         (sin_test_upward): Likewise.
18825         (sincos_test): Likewise.
18826         (sinh_test): Likewise.
18827         (sinh_test_tonearest): Likewise.
18828         (sinh_test_towardzero): Likewise.
18829         (sinh_test_downward): Likewise.
18830         (sinh_test_upward): Likewise.
18831         (sqrt_test): Likewise.
18832         (tan_test): Likewise.
18833         (tan_test_tonearest): Likewise.
18834         (tan_test_towardzero): Likewise.
18835         (tan_test_downward): Likewise.
18836         (tan_test_upward): Likewise.
18837         (tanh_test): Likewise.
18838         (tgamma_test): Likewise.
18839         (y0_test): Likewise.
18840         (y1_test): Likewise.
18841         (yn_test): Likewise.
18842
18843         * math/gen-libm-test.pl (adjust_arg): Remove function.
18844         (special_function): Remove argument $in_func.  Only handle
18845         generating output for tables of tests, not inside functions.
18846         (parse_args): Likewise.
18847         (generate_testfile): Remove variable $in_func.  Update call to
18848         parse_args.
18849         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18850         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18851         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18852         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18853         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18854         (MAX_VALUE_INIT): Rename macro to max_value.
18855         (MIN_VALUE_INIT): Rename macro to min_value.
18856         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18857         (plus_zero): Remove variable.
18858         (minus_zero): Likewise.
18859         (plus_infty): Likewise.
18860         (minus_infty): Likewise.
18861         (qnan_value): Likewise.
18862         (max_value): Likewise.
18863         (min_value): Likewise.
18864         (min_subnorm_value): Likewise.
18865
18866 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18867
18868         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18869         uint64_t or uint32_t usage.
18870         * crypt/sha256-block.c: Likewise.
18871         * crypt/sha256-crypt.c: Likewise.
18872         * crypt/sha256.c: Likewise.
18873         * crypt/sha512-block.c: Likewise.
18874         * crypt/sha512-crypt.c: Likewise.
18875         * crypt/sha512.c: Likewise.
18876         * debug/backtrace-tst.c: Likewise.
18877         * debug/pcprofiledump.c: Likewise.
18878         * elf/cache.c: Likewise.
18879         * elf/dl-cache.c: Likewise.
18880         * elf/dl-misc.c: Likewise.
18881         * elf/dl-profile.c: Likewise.
18882         * elf/dl-support.c: Likewise.
18883         * elf/ldconfig.c: Likewise.
18884         * elf/sprof.c: Likewise.
18885         * iconv/dummy-repertoire.c: Likewise.
18886         * iconv/iconv_charmap.c: Likewise.
18887         * iconv/skeleton.c: Likewise.
18888         * iconvdata/8bit-generic.c: Likewise.
18889         * iconvdata/cp737.h: Likewise.
18890         * iconvdata/cp775.h: Likewise.
18891         * iconvdata/ibm1008.h: Likewise.
18892         * iconvdata/ibm1025.h: Likewise.
18893         * iconvdata/ibm1046.h: Likewise.
18894         * iconvdata/ibm1097.h: Likewise.
18895         * iconvdata/ibm1112.h: Likewise.
18896         * iconvdata/ibm1122.h: Likewise.
18897         * iconvdata/ibm1123.h: Likewise.
18898         * iconvdata/ibm1124.h: Likewise.
18899         * iconvdata/ibm1129.h: Likewise.
18900         * iconvdata/ibm1130.h: Likewise.
18901         * iconvdata/ibm1132.h: Likewise.
18902         * iconvdata/ibm1133.h: Likewise.
18903         * iconvdata/ibm1137.h: Likewise.
18904         * iconvdata/ibm1140.h: Likewise.
18905         * iconvdata/ibm1141.h: Likewise.
18906         * iconvdata/ibm1142.h: Likewise.
18907         * iconvdata/ibm1143.h: Likewise.
18908         * iconvdata/ibm1144.h: Likewise.
18909         * iconvdata/ibm1145.h: Likewise.
18910         * iconvdata/ibm1146.h: Likewise.
18911         * iconvdata/ibm1147.h: Likewise.
18912         * iconvdata/ibm1148.h: Likewise.
18913         * iconvdata/ibm1149.h: Likewise.
18914         * iconvdata/ibm1153.h: Likewise.
18915         * iconvdata/ibm1154.h: Likewise.
18916         * iconvdata/ibm1155.h: Likewise.
18917         * iconvdata/ibm1156.h: Likewise.
18918         * iconvdata/ibm1157.h: Likewise.
18919         * iconvdata/ibm1158.h: Likewise.
18920         * iconvdata/ibm1160.h: Likewise.
18921         * iconvdata/ibm1161.h: Likewise.
18922         * iconvdata/ibm1162.h: Likewise.
18923         * iconvdata/ibm1163.h: Likewise.
18924         * iconvdata/ibm1164.h: Likewise.
18925         * iconvdata/ibm1166.h: Likewise.
18926         * iconvdata/ibm1167.h: Likewise.
18927         * iconvdata/ibm12712.h: Likewise.
18928         * iconvdata/ibm1390.h: Likewise.
18929         * iconvdata/ibm1399.h: Likewise.
18930         * iconvdata/ibm16804.h: Likewise.
18931         * iconvdata/ibm4517.h: Likewise.
18932         * iconvdata/ibm4899.h: Likewise.
18933         * iconvdata/ibm4909.h: Likewise.
18934         * iconvdata/ibm4971.h: Likewise.
18935         * iconvdata/ibm5347.h: Likewise.
18936         * iconvdata/ibm803.h: Likewise.
18937         * iconvdata/ibm856.h: Likewise.
18938         * iconvdata/ibm901.h: Likewise.
18939         * iconvdata/ibm902.h: Likewise.
18940         * iconvdata/ibm9030.h: Likewise.
18941         * iconvdata/ibm9066.h: Likewise.
18942         * iconvdata/ibm921.h: Likewise.
18943         * iconvdata/ibm922.h: Likewise.
18944         * iconvdata/ibm9448.h: Likewise.
18945         * iconvdata/isiri-3342.h: Likewise.
18946         * iconvdata/jis0201.h: Likewise.
18947         * include/link.h: Likewise.
18948         * include/netdb.h: Likewise.
18949         * inet/check_native.c: Likewise.
18950         * inet/check_pf.c: Likewise.
18951         * inet/getipv4sourcefilter.c: Likewise.
18952         * inet/getnameinfo.c: Likewise.
18953         * inet/getsourcefilter.c: Likewise.
18954         * inet/htonl.c: Likewise.
18955         * inet/setipv4sourcefilter.c: Likewise.
18956         * inet/setsourcefilter.c: Likewise.
18957         * inet/test-inet6_opt.c: Likewise.
18958         * inet/tst-network.c: Likewise.
18959         * locale/C-collate.c: Likewise.
18960         * locale/C-ctype.c: Likewise.
18961         * locale/C-time.c: Likewise.
18962         * locale/C-translit.h: Likewise.
18963         * locale/loadarchive.c: Likewise.
18964         * locale/programs/3level.h: Likewise.
18965         * locale/programs/charmap.c: Likewise.
18966         * locale/programs/charmap.h: Likewise.
18967         * locale/programs/ld-address.c: Likewise.
18968         * locale/programs/ld-collate.c: Likewise.
18969         * locale/programs/ld-ctype.c: Likewise.
18970         * locale/programs/ld-identification.c: Likewise.
18971         * locale/programs/ld-measurement.c: Likewise.
18972         * locale/programs/ld-messages.c: Likewise.
18973         * locale/programs/ld-monetary.c: Likewise.
18974         * locale/programs/ld-name.c: Likewise.
18975         * locale/programs/ld-numeric.c: Likewise.
18976         * locale/programs/ld-paper.c: Likewise.
18977         * locale/programs/ld-telephone.c: Likewise.
18978         * locale/programs/ld-time.c: Likewise.
18979         * locale/programs/linereader.c: Likewise.
18980         * locale/programs/locale.c: Likewise.
18981         * locale/programs/locarchive.c: Likewise.
18982         * locale/programs/locfile.h: Likewise.
18983         * locale/programs/repertoire.c: Likewise.
18984         * locale/programs/simple-hash.c: Likewise.
18985         * locale/programs/simple-hash.h: Likewise.
18986         * malloc/memusage.c: Likewise.
18987         * malloc/memusagestat.c: Likewise.
18988         * nis/nis_defaults.c: Likewise.
18989         * nis/nis_hash.c: Likewise.
18990         * nis/nis_print.c: Likewise.
18991         * nis/nis_xdr.c: Likewise.
18992         * nscd/connections.c: Likewise.
18993         * nscd/hstcache.c: Likewise.
18994         * nscd/nscd_gethst_r.c: Likewise.
18995         * nscd/nscd_getserv_r.c: Likewise.
18996         * nscd/nscd_helper.c: Likewise.
18997         * nscd/servicescache.c: Likewise.
18998         * nss/makedb.c: Likewise.
18999         * nss/nss_db/db-XXX.c: Likewise.
19000         * nss/nss_db/db-initgroups.c: Likewise.
19001         * nss/nss_db/db-netgrp.c: Likewise.
19002         * nss/nss_files/files-network.c: Likewise.
19003         * nss/nss_files/files-parse.c: Likewise.
19004         * posix/bug-regex5.c: Likewise.
19005         * posix/fnmatch_loop.c: Likewise.
19006         * posix/regcomp.c: Likewise.
19007         * posix/regexec.c: Likewise.
19008         * posix/tst-rfc3484-2.c: Likewise.
19009         * posix/tst-rfc3484-3.c: Likewise.
19010         * posix/tst-rfc3484.c: Likewise.
19011         * resolv/nss_dns/dns-canon.c: Likewise.
19012         * resolv/nss_dns/dns-network.c: Likewise.
19013         * resolv/res_init.c: Likewise.
19014         * resolv/res_mkquery.c: Likewise.
19015         * resolv/tst-aton.c: Likewise.
19016         * stdlib/cxa_atexit.c: Likewise.
19017         * stdlib/cxa_finalize.c: Likewise.
19018         * stdlib/gen-fpioconst.c: Likewise.
19019         * stdlib/strtol_l.c: Likewise.
19020         * string/tst-endian.c: Likewise.
19021         * sunrpc/auth_des.c: Likewise.
19022         * sunrpc/clnt_udp.c: Likewise.
19023         * sunrpc/rtime.c: Likewise.
19024         * sunrpc/svcauth_des.c: Likewise.
19025         * sunrpc/xdr.c: Likewise.
19026         * sunrpc/xdr_intXX_t.c: Likewise.
19027         * sunrpc/xdr_rec.c: Likewise.
19028         * sysdeps/generic/ldconfig.h: Likewise.
19029         * sysdeps/generic/ldsodefs.h: Likewise.
19030         * sysdeps/generic/memusage.h: Likewise.
19031         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19032         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19033         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19034         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19035         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19036         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19037         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19038         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19039         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19040         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19041         * sysdeps/posix/getaddrinfo.c: Likewise.
19042         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19043         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19044         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19045         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19046         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19047         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19048         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19049         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19050         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19051         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19052         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19053         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19054         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19055         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19056         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19057         * sysdeps/x86_64/dl-tls.h: Likewise.
19058         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19059         * time/alt_digit.c: Likewise.
19060         * time/era.c: Likewise.
19061         * wcsmbs/tst-c16c32-1.c: Likewise.
19062
19063 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19064
19065         * math/libm-test.inc (struct test_sincos_data): New type.
19066         (RUN_TEST_LOOP_sincos): New macro.
19067         (sincos_test_data): New variable.
19068         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19069
19070 2013-05-16  Richard Henderson  <rth@redhat.com>
19071
19072         * math/atest-exp2.c (LIMB64): New macro.
19073         (CONSTSZ): New macro.
19074         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19075         (hexdig): Move ...
19076         (print_mpn_fp): ... to function scope.
19077         (read_mpn_hex): Remove.
19078         (get_log2): Remove.
19079         (exp2_mpn): Use mp_log2.
19080         (main): Use mp_exp1.
19081
19082 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19083
19084         * math/libm-test.inc: Remove comment about not testing "inexact"
19085         exceptions.
19086         (INEXACT_EXCEPTION): New macro.
19087         (NO_INEXACT_EXCEPTION): Likewise.
19088         (INVALID_EXCEPTION_OK): Update value.
19089         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19090         (OVERFLOW_EXCEPTION_OK): Likewise.
19091         (UNDERFLOW_EXCEPTION_OK): Likewise.
19092         (IGNORE_ZERO_INF_SIGN): Likewise.
19093         (ERRNO_UNCHANGED): Likewise.
19094         (ERRNO_EDOM): Likewise.
19095         (ERRNO_ERANGE): Likewise.
19096         (test_exceptions): Handle testing "inexact" exceptions.
19097         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19098         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19099         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19100         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19101         INEXACT_EXCEPTION.
19102         (rint_towardzero_test_data): Likewise.
19103         (rint_downward_test_data): Likewise.
19104         (rint_upward_test_data): Likewise.
19105
19106         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19107         with OVERFLOW_EXCEPTION.
19108         (exp10_test_data): Likewise.
19109         (exp2_test_data): Likewise.
19110         (expm1_test_data): Likewise.
19111         (lgamma_test_data): Likewise.
19112         (pow_test_data): Likewise.
19113         (tgamma_test_data): Likewise.
19114         (yn_test_data): Remove duplicate test of overflow.
19115
19116         * math/libm-test.inc (struct test_cc_c_data): New type.
19117         (RUN_TEST_LOOP_cc_c): New macro.
19118         (cpow_test_data): New variable.
19119         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19120
19121         * math/libm-test.inc (struct test_f_L_data): New type.
19122         (RUN_TEST_LOOP_f_L): New macro.
19123         (llrint_test_data): New variable.
19124         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19125         (llrint_tonearest_test_data): New variable.
19126         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19127         (llrint_towardzero_test_data): New variable.
19128         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19129         (llrint_downward_test_data): New variable.
19130         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19131         (llrint_upward_test_data): New variable.
19132         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19133         (llround_test_data): New variable.
19134         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19135
19136 2013-05-13  Peter Collingbourne  <pcc@google.com>
19137
19138         * math/atest-exp2.c (get_log2): Remove const attribute.
19139
19140 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19141
19142         * math/libm-test.inc (struct test_f_l_data): New type.
19143         (RUN_TEST_LOOP_f_l): New macro.
19144         (lrint_test_data): New variable.
19145         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19146         (lrint_tonearest_test_data): New variable.
19147         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19148         (lrint_towardzero_test_data): New variable.
19149         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19150         (lrint_downward_test_data): New variable.
19151         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19152         (lrint_upward_test_data): New variable.
19153         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19154         (lround_test_data): New variable.
19155         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19156
19157 2013-05-15  Peter Collingbourne  <pcc@google.com>
19158
19159         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19160         (EXTRACT_WORDS64) Use where appropriate.
19161         (INSERT_WORDS64) Likewise.
19162
19163         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19164         constraints with x constraints.
19165         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19166
19167         * malloc/obstack.c (_obstack_compat): Add initializer.
19168
19169 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19170
19171         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19172         si_trapno and add si_addr_lsb to _sifields.sigfault.
19173         (si_trapno): Remove macro.
19174         (si_addr_lsb): Define new macro.
19175         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19176
19177 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19178
19179         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19180         instead of TEST_f_l.
19181         (llrint_test_tonearest): Likewise.
19182         (llrint_test_towardzero): Likewise.
19183         (llrint_test_downward): Likewise.
19184         (llrint_test_upward): Likewise.
19185         (llround_test): Likewise.
19186
19187         * math/libm-test.inc (struct test_f_i_data): Add comment.
19188         (RUN_TEST_LOOP_f_b): New macro.
19189         (RUN_TEST_LOOP_f_b_tg): Likewise.
19190         (finite_test_data): New variable.
19191         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19192         (isfinite_test_data): New variable.
19193         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19194         (isinf_test_data): New variable.
19195         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19196         (isnan_test_data): New variable.
19197         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19198         (isnormal_test_data): New variable.
19199         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19200         (issignaling_test_data): New variable.
19201         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19202         (signbit_test_data): New variable.
19203         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19204
19205         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19206         with INVALID_EXCEPTION.
19207         (acosh_test_data): Likewise.
19208         (asin_test_data): Likewise.
19209         (atanh_test_data): Likewise.
19210         (fmod_test_data): Likewise.
19211         (log_test_data): Likewise.
19212         (log10_test_data): Likewise.
19213         (log2_test_data): Likewise.
19214         (pow_test_data): Likewise.
19215         (sqrt_test_data): Likewise.
19216         (y0_test_data): Likewise.
19217         (y1_test_data): Likewise.
19218         (yn_test_data): Likewise.
19219
19220         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19221         function contents.
19222
19223         * math/libm-test.inc (struct test_ff_i_data): New type.
19224         (RUN_TEST_LOOP_ff_i_tg): New macro.
19225         (isgreater_test_data): New variable.
19226         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19227         (isgreaterequal_test_data): New variable.
19228         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19229         (isless_test_data): New variable.
19230         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19231         (islessequal_test_data): New variable.
19232         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19233         (islessgreater_test_data): New variable.
19234         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19235         (isunordered_test_data): New variable.
19236         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19237
19238 2013-05-14  David S. Miller  <davem@davemloft.net>
19239
19240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19241
19242 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19243
19244         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19245
19246         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19247         extra_test to int.
19248         (struct test_f_i_data): Change type of max_ulp to int.
19249
19250         * math/libm-test.inc (test_ffI_f1_data): New type.
19251         (RUN_TEST_LOOP_ffI_f1): New macro.
19252         (remquo_test_data): New variable.
19253         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19254
19255         * setjmp/tst-setjmp-fp.c: New file.
19256         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19257         (link-libm): New variable.
19258         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19259
19260         * math/libm-test.inc (struct test_f_i_data): New type.
19261         (RUN_TEST_LOOP_f_i): New macro.
19262         (RUN_TEST_LOOP_f_i_tg): Likewise.
19263         (fpclassify_test_data): New variable.
19264         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19265         (ilogb_test_data): New variable.
19266         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19267
19268         * math/libm-test.inc (scalbln_test): Correct function name in END
19269         call.
19270
19271         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19272         (RUN_TEST_LOOP_fI_f1): New macro.
19273         (frexp_test_data): New variable.
19274         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19275
19276         * math/libm-test.inc (struct test_fF_f1_data): New type.
19277         (RUN_TEST_LOOP_fF_f1): New macro.
19278         (modf_test_data): New variable.
19279         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19280
19281         * math/libm-test.inc (struct test_f_f1_data): New type.
19282         (RUN_TEST_LOOP_f_f1): New macro.
19283         (gamma_test_data): New variable.
19284         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19285         (lgamma_test_data): New variable.
19286         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19287
19288 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19289
19290         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19291         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19292         (main): Comment "tls" pseudo-hwcap.
19293
19294 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19295
19296         * math/libm-test.inc (struct test_fl_f_data): New type.
19297         (RUN_TEST_LOOP_fl_f): New variable.
19298         (scalbln_test_data): New variable.
19299         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19300
19301         * math/libm-test.inc (struct test_fi_f_data): New type.
19302         (RUN_TEST_LOOP_fi_f): New macro.
19303         (ldexp_test_data): New variable.
19304         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19305         (scalbn_test_data): New variable.
19306         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19307
19308         * math/libm-test.inc (struct test_c_f_data): New type.
19309         (RUN_TEST_LOOP_c_f): New macro.
19310         (cabs_test_data): New variable.
19311         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19312         (carg_test_data): New variable.
19313         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19314         (cimag_test_data): New variable.
19315         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19316         (creal_test_data): New variable.
19317         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19318
19319         * math/libm-test.inc (struct test_if_f_data): New type.
19320         (RUN_TEST_LOOP_if_f): New macro.
19321         (jn_test_data): New variable.
19322         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19323         (yn_test_data): New variable.
19324         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19325
19326         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19327
19328 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19329
19330         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19331         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19332
19333 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19334
19335         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19336         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19337         (bench-deps): Add bench-timing.h.
19338         * benchtests-bench-skeleton.c: Include bench-timing.h.
19339         (main): Use TIMING_* macros instead of clock_gettime.
19340         * benchtests/bench-timing.h: New file.
19341
19342         [BZ #14582]
19343         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19344         Renamed from _LIB_VERSION.
19345         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19346
19347 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19348
19349         * math/libm-test.inc (struct test_fff_f_data): New type.
19350         (RUN_TEST_LOOP_fff_f): New macro.
19351         (fma_test_data): New variable.
19352         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19353         (fma_towardzero_test_data): New variable.
19354         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19355         (fma_downward_test_data): New variable.
19356         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19357         (fma_upward_test_data): New variable.
19358         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19359
19360         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19361         (struct test_c_c_data): New type.
19362         (RUN_TEST_LOOP_c_c): New macro.
19363         (cacos_test_data): New variable.
19364         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19365         (cacosh_test_data): New variable.
19366         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19367         (casin_test_data): New variable.
19368         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19369         (casinh_test_data): New variable.
19370         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19371         (catan_test_data): New variable.
19372         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19373         (catanh_test_data): New variable.
19374         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19375         (ccos_test_data): New variable.
19376         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19377         (ccosh_test_data): New variable.
19378         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19379         (cexp_test_data): New variable.
19380         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19381         (clog_test_data): New variable.
19382         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19383         (clog10_test_data): New variable.
19384         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19385         (conj_test_data): New variable.
19386         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19387         (cproj_test_data): New variable.
19388         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19389         (csin_test_data): New variable.
19390         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19391         (csinh_test_data): New variable.
19392         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19393         (csqrt_test_data): New variable.
19394         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19395         (ctan_test_data): New variable.
19396         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19397         (ctan_tonearest_test_data): New variable.
19398         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19399         (ctan_towardzero_test_data): New variable.
19400         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19401         (ctan_downward_test_data): New variable.
19402         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19403         (ctan_upward_test_data): New variable.
19404         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19405         (ctanh_test_data): New variable.
19406         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19407         (ctanh_tonearest_test_data): New variable.
19408         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19409         (ctanh_towardzero_test_data): New variable.
19410         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19411         (ctanh_downward_test_data): New variable.
19412         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19413         (ctanh_upward_test_data): New variable.
19414         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19415         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19416         of BUILD_COMPLEX.
19417
19418         * math/libm-test.inc (struct test_ff_f_data): New type.
19419         (struct test_ff_f_data_nexttoward): Likewise.
19420         (RUN_TEST_LOOP_2_f): New macro.
19421         (RUN_TEST_LOOP_ff_f): Likewise.
19422         (atan2_test_data): New variable.
19423         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19424         (copysign_test_data): New variable.
19425         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19426         (fdim_test_data): New variable.
19427         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19428         (fmax_test_data): New variable.
19429         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19430         (fmin_test_data): New variable.
19431         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19432         (fmod_test_data): New variable.
19433         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19434         (hypot_test_data): New variable.
19435         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19436         (nextafter_test_data): New variable.
19437         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19438         (nexttoward_test_data): New variable.
19439         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19440         (pow_test_data): New variable.
19441         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19442         (pow_tonearest_test_data): New variable.
19443         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19444         (pow_towardzero_test_data): New variable.
19445         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19446         (pow_downward_test_data): New variable.
19447         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19448         (pow_upward_test_data): New variable.
19449         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19450         (remainder_test_data): New variable.
19451         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19452         (scalb_test_data): New variable.
19453         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19454         * sysdeps/i386/fpu/libm-test-ulps: Update.
19455
19456 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19457
19458         * math/libm-test.inc (fma_test): Use max_value instead of local
19459         variable fltmax.
19460         (nextafter_test): Likewise.
19461
19462         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19463         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19464         (acos_downward_test_data): New variable.
19465         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19466         (acos_upward_test_data): New variable.
19467         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19468         (acosh_test_data): New variable.
19469         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19470         (asin_test_data): New variable.
19471         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19472         (asin_tonearest_test_data): New variable.
19473         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19474         (asin_towardzero_test_data): New variable.
19475         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19476         (asin_downward_test_data): New variable.
19477         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19478         (asin_upward_test_data): New variable.
19479         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19480         (asinh_test_data): New variable.
19481         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19482         (atan_test_data): New variable.
19483         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19484         (atanh_test_data): New variable.
19485         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19486         (cbrt_test_data): New variable.
19487         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19488         (ceil_test_data): New variable.
19489         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19490         (cos_test_data): New variable.
19491         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19492         (cos_tonearest_test_data): New variable.
19493         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19494         (cos_towardzero_test_data): New variable.
19495         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19496         (cos_downward_test_data): New variable.
19497         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19498         (cos_upward_test_data): New variable.
19499         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19500         (cosh_test_data): New variable.
19501         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19502         (cosh_tonearest_test_data): New variable.
19503         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19504         (cosh_towardzero_test_data): New variable.
19505         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19506         (cosh_downward_test_data): New variable.
19507         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19508         (cosh_upward_test_data): New variable.
19509         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19510         (erf_test_data): New variable.
19511         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19512         (erfc_test_data): New variable.
19513         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19514         (exp_test_data): New variable.
19515         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19516         (exp_tonearest_test_data): New variable.
19517         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19518         (exp_towardzero_test_data): New variable.
19519         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19520         (exp_downward_test_data): New variable.
19521         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19522         (exp_upward_test_data): New variable.
19523         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19524         (exp10_test_data): New variable.
19525         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19526         (exp2_test_data): New variable.
19527         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19528         (expm1_test_data): New variable.
19529         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19530         (fabs_test_data): New variable.
19531         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19532         (floor_test_data): New variable.
19533         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19534         (j0_test_data): New variable.
19535         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19536         (j1_test_data): New variable.
19537         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19538         (log_test_data): New variable.
19539         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19540         (log10_test_data): New variable.
19541         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19542         (log1p_test_data): New variable.
19543         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19544         (log2_test_data): New variable.
19545         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19546         (logb_test_data): New variable.
19547         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19548         (logb_downward_test_data): New variable.
19549         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19550         (nearbyint_test_data): New variable.
19551         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19552         (rint_test_data): New variable.
19553         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19554         (rint_tonearest_test_data): New variable.
19555         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19556         (rint_towardzero_test_data): New variable.
19557         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19558         (rint_downward_test_data): New variable.
19559         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19560         (rint_upward_test_data): New variable.
19561         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19562         (round_test_data): New variable.
19563         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19564         (sin_test_data): New variable.
19565         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19566         (sin_tonearest_test_data): New variable.
19567         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19568         (sin_towardzero_test_data): New variable.
19569         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19570         (sin_downward_test_data): New variable.
19571         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19572         (sin_upward_test_data): New variable.
19573         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19574         (sinh_test_data): New variable.
19575         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19576         (sinh_tonearest_test_data): New variable.
19577         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19578         (sinh_towardzero_test_data): New variable.
19579         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19580         (sinh_downward_test_data): New variable.
19581         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19582         (sinh_upward_test_data): New variable.
19583         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19584         (sqrt_test_data): New variable.
19585         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19586         (tan_test_data): New variable.
19587         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19588         (tan_tonearest_test_data): New variable.
19589         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19590         (tan_towardzero_test_data): New variable.
19591         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19592         (tan_downward_test_data): New variable.
19593         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19594         (tan_upward_test_data): New variable.
19595         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19596         (tanh_test_data): New variable.
19597         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19598         (tgamma_test_data): New variable.
19599         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19600         (trunc_test_data): New variable.
19601         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19602         (y0_test_data): New variable.
19603         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19604         (y1_test_data): New variable.
19605         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19606         (significand_test_data): New variable.
19607         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19608
19609 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19610
19611         [BZ #12387]
19612         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19613
19614 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19615
19616         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19617
19618 2013-05-10  Andreas Jaeger  <aj@suse.de>
19619
19620         [BZ #15448]
19621         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19622         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19623
19624 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19625
19626         * math/gen-libm-test.pl (adjust_arg): New function.
19627         (special_functions): Handle generating output in both functions
19628         and arrays.
19629         (parse_args): Likewise.
19630         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19631         $in_func argument to parse_args.
19632         * math/libm-test.inc (struct test_f_f_data): New type.
19633         (IF_ROUND_INIT_): New macro.
19634         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19635         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19636         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19637         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19638         (ROUND_RESTORE_): Likewise.
19639         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19640         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19641         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19642         (ROUND_RESTORE_FE_UPWARD): Likewise.
19643         (RUN_TEST_LOOP_f_f): New macro.
19644         (acos_test_data): New variable.
19645         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19646         (acos_tonearest_test_data): New variable.
19647         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19648
19649 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19650
19651         * benchtests/bench-skeleton.c (startup): Fix coding style.
19652
19653 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19654
19655         [BZ #6809]
19656         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19657         negative infinity argument.
19658         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19659         negative infinity argument.
19660         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19661         negative infinity argument.
19662         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19663         domain errors.
19664
19665 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19666
19667         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19668         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19669         * iconv/iconv_prog.c (main): Likewise.
19670         * locale/programs/charmap-dir.c (charmap_readdir)
19671         (fopen_uncompressed): Likewise.
19672         * locale/programs/locfile.c (siblings_uncached)
19673         (write_locale_data): Use lstat64 instead of lstat.
19674         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19675         stat.
19676
19677 2013-05-10  Andreas Jaeger  <aj@suse.de>
19678
19679         [BZ #15395]
19680         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19681         localization.
19682         Include <locale.h>.
19683
19684 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19685
19686         * elf/dl-close.c (_dl_close_worker): Add comments.
19687
19688 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19689
19690         [BZ #15359]
19691         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19692         high part of pi/2.
19693         (__ieee754_rem_pio2l): Update comments.
19694
19695         [BZ #15429]
19696         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19697         high part of pi/2.
19698         (__ieee754_rem_pio2l): Update comments.
19699
19700         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19701         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19702
19703         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19704         M_PI_4l.
19705
19706         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19707         (M_PI_34_LOG10El): Likewise.
19708         (M_PI2_LOG10El): Likewise.
19709         (M_PI4_LOG10El): Likewise.
19710         (M_PI_LOG10El): Likewise.
19711
19712 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19713
19714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19715
19716 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19717
19718         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19719         (MINUS_ZERO_INIT): Likewise.
19720         (PLUS_INFTY_INIT): Likewise.
19721         (MINUS_INFTY_INIT): Likewise.
19722         (QNAN_VALUE_INIT): Likewise.
19723         (MAX_VALUE_INIT): Likewise.
19724         (MIN_VALUE_INIT): Likewise.
19725         (MIN_SUBNORM_VALUE_INIT): Likewise.
19726         (plus_zero): Initialize with PLUS_ZERO_INIT.
19727         (minus_zero): Initialize with MINUS_ZERO_INIT.
19728         (plus_infty): Initialize with PLUS_INFTY_INIT.
19729         (minus_infty): Initialize with MINUS_INFTY_INIT.
19730         (qnan_value): Initialize with QNAN_VALUE_INIT.
19731         (max_value): Initialize with MAX_VALUE_INIT.
19732         (min_value): Initialize with MIN_VALUE_INIT.
19733         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19734
19735         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19736         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19737         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19738         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19739
19740         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19741         (RUN_TEST_2_f): Likewise.
19742         (RUN_TEST_ff_f): Likewise.
19743         (RUN_TEST_fi_f): Likewise.
19744         (RUN_TEST_fl_f): Likewise.
19745         (RUN_TEST_fff_f): Likewise.
19746         (RUN_TEST_c_f): Likewise.
19747         (RUN_TEST_f_f1): Likewise.
19748         (RUN_TEST_fF_f1): Likewise.
19749         (RUN_TEST_fI_f1): Likewise.
19750         (RUN_TEST_ffI_f1): Likewise.
19751         (RUN_TEST_c_c): Likewise.
19752         (RUN_TEST_cc_c): Likewise.
19753         (RUN_TEST_f_i): Likewise.
19754         (RUN_TEST_f_i_tg): Likewise.
19755         (RUN_TEST_ff_i_tg): Likewise.
19756         (RUN_TEST_f_b): Likewise.
19757         (RUN_TEST_f_b_tg): Likewise.
19758         (RUN_TEST_f_l): Likewise.
19759         (RUN_TEST_f_L): Likewise.
19760         (RUN_TEST_sincos): Likewise.
19761         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19762         whether to show exceptions.  Do not include ");\n" in return
19763         value.
19764         (special_functions): Output call to RUN_TEST_sincos instead of
19765         check_float calls.  Update calls to new_test.
19766         (parse_args): Output call to single RUN_TEST_* macro instead of
19767         check_* calls and other assignments.  Update calls to new_test.
19768
19769         [BZ #2546]
19770         [BZ #2560]
19771         [BZ #5159]
19772         [BZ #15426]
19773         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19774         input to result for tgamma overflow.
19775         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19776         (gamma_coeff): New variable.
19777         (NCOEFF): New macro.
19778         (gamma_positive): New function.
19779         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19780         underflow here.  Use gamma_positive instead of exp (lgamma) for
19781         other arguments.
19782         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19783         (gamma_coeff): New variable.
19784         (NCOEFF): New macro.
19785         (gammaf_positive): New function.
19786         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19787         underflow here.  Use gamma_positive instead of exp (lgamma) for
19788         other arguments.
19789         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19790         (gamma_coeff): New variable.
19791         (NCOEFF): New macro.
19792         (gammal_positive): New function.
19793         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19794         underflow here.  Use gamma_positive instead of exp (lgamma) for
19795         other arguments.
19796         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19797         (gamma_coeff): New variable.
19798         (NCOEFF): New macro.
19799         (gammal_positive): New function.
19800         (__ieee754_gammal_r): Handle positive infinity, overflow and
19801         underflow here.  Handle NaN the same as positive infinity.  Remove
19802         check x < 0xffffffff for negative integers.  Use gamma_positive
19803         instead of exp (lgamma) for other arguments.
19804         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19805         (gamma_coeff): New variable.
19806         (NCOEFF): New macro.
19807         (gammal_positive): New function.
19808         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19809         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19810         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19811         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19812         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19813         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19814         * sysdeps/generic/math_private.h (__gamma_productf): New
19815         prototype.
19816         (__gamma_product): Likewise.
19817         (__gamma_productl): Likewise.
19818         * math/Makefile (libm-calls): Add gamma_product.
19819         * math/libm-test.inc (tgamma_test): Add more tests.
19820         * sysdeps/i386/fpu/libm-test-ulps: Update.
19821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19822
19823 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19824
19825         * benchtests/bench-skeleton.c (main): Preheat CPU.
19826
19827 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19828
19829         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19830
19831 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19832
19833         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19834         and _dl_skip_args_internal.
19835
19836 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19837
19838         * manual/message.texi (Message Translation): Talk about users.
19839         Message to key mapping impacts design.
19840
19841 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19842
19843         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19844
19845         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19846
19847         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19848         * sysdeps/wordsize-64/glob64.c: ... here.
19849
19850         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19851         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19852         New macros.
19853
19854         * debug/getlogin_r_chk.c: Moved to ...
19855         * login/getlogin_r_chk.c: ... here.
19856         * debug/Makefile (routines): Move getlogin_r_chk to ...
19857         * login/Makefile (routines): ... here.
19858         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19859         * login/Versions (libc: GLIBC_2.4): ... here.
19860
19861         * io/poll.c (__poll): Renamed from poll.
19862         Add libc_hidden_def.
19863         (poll): Define as weak alias.
19864
19865         * debug/ptsname_r_chk.c: Moved to ...
19866         * login/ptsname_r_chk.c: ... here.
19867         * debug/Makefile (routines): Move ptsname_r_chk to ...
19868         * login/Makefile (routines): ... here.
19869         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19870         * login/Versions (libc: GLIBC_2.4): ... here.
19871
19872         * posix/getlogin.c: Moved to ...
19873         * login/getlogin.c: ... here.
19874         * posix/getlogin_r.c: Moved to ...
19875         * login/getlogin_r.c: ... here.
19876         * posix/getlogin_r.c: Moved to ...
19877         * login/getlogin_r.c: ... here.
19878         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19879         * login/Makefile (routines): ... here.
19880         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19881         * login/Versions (libc: GLIBC_2.0): ... here.
19882
19883         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19884         (setrlimit): Define as weak alias.
19885
19886         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19887         Call __ names for open, ftruncate, and close.
19888         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19889         (truncate): Define as weak alias.
19890
19891 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19892
19893         * math/gen-libm-test.pl (parse_args): Initialize x before each
19894         test of frexp, modf and remquo.
19895
19896         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19897         test signgam value.
19898
19899 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19900
19901         [BZ #15418]
19902         [BZ #15419]
19903         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19904         internal tests.
19905         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19906
19907 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19908
19909         * elf/dl-writev.h: New file.
19910         * elf/dl-misc.c: Include it.
19911         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19912         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19913
19914 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19915
19916         * math/libm-test.inc (noXFails): Remove variable.
19917         (noXPasses): Likewise.
19918         (BUILD_COMPLEX_INT): Remove macro.
19919         (print_screen): Remove xfail argument.
19920         (print_screen_max_error): Likewise.
19921         (update_stats): Likewise.
19922         (print_max_error): Likewise.  Update calls to other affected
19923         functions.
19924         (print_complex_max_error): Likewise.
19925         (test_single_exception): Update calls to print_screen.
19926         (test_single_errno): Likewise.
19927         (check_float_internal): Remove xfail argument.  Update calls to
19928         other affected functions.
19929         (check_float): Likewise.
19930         (check_complex): Likewise.
19931         (check_int): Likewise.
19932         (check_long): Likewise.
19933         (check_bool): Likewise.
19934         (check_longlong): Likewise.
19935         (main): Don't print noXFails and noXPasses.
19936         * math/gen-libm-test.pl (top level): Don't mention expected
19937         failure handling in comment.
19938         (new_test): Don't handle expected failures.
19939         (parse_args): Don't mention expected failure handling in comment.
19940         (generate_testfile): Don't handle expected failures.
19941         (parse_ulps): Likewise.
19942         (print_ulps_file): Likewise.
19943         (get_failure): Remove function.
19944         (output_test): Don't handle expected failures.
19945         * make/README.libm-test: Don't mention expected failure handling.
19946
19947         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19948         (minus_zero): Likewise.
19949         (plus_infty): Likewise.
19950         (minus_infty): Likewise.
19951         (qnan_value): Likewise.
19952         (max_value): Likewise.
19953         (min_value): Likewise.
19954         (min_subnorm_value): Likewise.
19955         (initialize): Do not initialize those variables dynamically.
19956
19957 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19958
19959         * io/open.c (__open_2): Moved to ...
19960         * io/open_2.c: ... this new file.
19961         * io/open64.c (__open64_2): Moved to ...
19962         * io/open64_2.c: ... this new file.
19963         * io/openat.c (__openat_2): Moved to ...
19964         * io/openat_2.c: ... this new file.
19965         * io/openat64.c (__openat64_2): Moved to ...
19966         * io/openat64_2.c: ... this new file.
19967         * io/Makefile (routines): Add them.
19968         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19969         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19970         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19971         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19972         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19973         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19974         (__openat64): Add hidden_ver.
19975         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19976         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19977
19978         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19979         Separately conditionalize setting of GLRO(dl_sysinfo) so
19980         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19981         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19982
19983 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19984
19985         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19986         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19987         definition.
19988         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19989         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19990         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19991         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19992         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19993
19994 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19995
19996         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19997         test signgam value.
19998
19999         * math/libm-test.inc (hypot_test): Do not use
20000         IGNORE_ZERO_INF_SIGN.
20001
20002 2013-05-03  Andreas Jaeger  <aj@suse.de>
20003
20004         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20005         Linux 3.9.
20006         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20007         (PF_MAX): Adjust for VSOCK change.
20008
20009 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20010
20011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20012
20013 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20014
20015         [BZ #15264]
20016         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20017         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20018         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20019
20020 2013-05-02  David S. Miller  <davem@davemloft.net>
20021
20022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20023
20024 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20025
20026         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20027
20028 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20029
20030         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20031
20032 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20033
20034         [BZ #14952]
20035         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20036         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20037         Use __attribute__ ((__gnu_inline__)).
20038         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20039         Don't use __attribute__ ((__gnu_inline__)).
20040
20041 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20042
20043         [BZ #15423]
20044         * math/s_catan.c (__catan): Handle small real or imaginary part of
20045         input specially to avoid spurious underflow.
20046         * math/s_catanf.c (__catanf): Likewise.
20047         * math/s_catanh.c (__catanh): Likewise.
20048         * math/s_catanhf.c (__catanhf): Likewise.
20049         * math/s_catanhl.c (__catanhl): Likewise.
20050         * math/s_catanl.c (__catanl): Likewise.
20051         * math/libm-test.inc (catan_test): Add more tests.
20052         (catanh_test): Likewise.
20053         * sysdeps/i386/fpu/libm-test-ulps: Update.
20054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20055
20056 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20057
20058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20059
20060 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20061
20062         [BZ #15416]
20063         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20064         accurately for denominator in atan2.
20065         * math/s_catanf.c (__catanf): Likewise.
20066         * math/s_catanh.c (__catanh): Likewise.
20067         * math/s_catanhf.c (__catanhf): Likewise.
20068         * math/s_catanhl.c (__catanhl): Likewise.
20069         * math/s_catanl.c (__catanl): Likewise.
20070         * math/libm-test.inc (catan_test): Add more tests.
20071         (catanh_test): Likewise.
20072         * sysdeps/i386/fpu/libm-test-ulps: Update.
20073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20074
20075 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20076
20077         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20078
20079         * benchtests/Makefile (bench): Remove slow benchmarks.
20080         * benchtests/atan-inputs: Add slow benchmark inputs.
20081         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20082         (BENCH_FUNC): Accept variant offset.
20083         (VARIANT): Define.
20084         * benchtests/bench-skeleton.c (main): Run benchmark for each
20085         variant.
20086         * benchtests/cos-inputs: Add slow benchmark inputs.
20087         * benchtests/exp-inputs: Likewise.
20088         * benchtests/pow-inputs: Likewise.
20089         * benchtests/sin-inputs: Likewise.
20090         * benchtests/slowatan-inputs: Remove.
20091         * benchtests/slowatan.c: Remove.
20092         * benchtests/slowcos-inputs: Remove.
20093         * benchtests/slowcos.c: Remove.
20094         * benchtests/slowexp-inputs: Remove.
20095         * benchtests/slowexp.c: Remove.
20096         * benchtests/slowpow-inputs: Remove.
20097         * benchtests/slowpow.c: Remove.
20098         * benchtests/slowsin-inputs: Remove.
20099         * benchtests/slowsin.c: Remove.
20100         * benchtests/slowtan-inputs: Remove.
20101         * benchtests/slowtan.c: Remove.
20102         * benchtests/tan-inputs: Add slow benchmark inputs.
20103         * scripts/bench.pl: Parse comments and directives.
20104
20105         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20106         in CPPFLAGS.
20107         ($(objpfx)bench-%.c): Remove *-ITER.
20108         * benchtests/bench-modf.c: Remove definition of ITER.
20109         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20110         (main): Loop for DURATION seconds instead of fixed number of
20111         iterations.
20112         * scripts/bench.pl: Don't expect iterations in parameters.
20113
20114 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20115
20116         * io/fchdir.c (__fchdir): Renamed from fchdir.
20117         (fchdir): Define as weak alias.
20118
20119 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20120
20121         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20122         (ERRNO_EDOM): Likewise.
20123         (ERRNO_ERANGE): Likewise.
20124         (noErrnoTests): New variable.
20125         (init_max_error): Set errno to 0.
20126         (test_single_errno): New function.
20127         (test_errno): Likewise.
20128         (check_float_internal): Call test_errno.  Set errno to 0.
20129         (check_complex): Refer to errno tests in comment.
20130         (check_int): Call test_errno.  Set errno to 0.
20131         (check_long): Likewise.
20132         (check_bool): Likewise.
20133         (check_longlong): Likewise.
20134         (cos_test): Use ERRNO_* flags for errno tests instead of
20135         check_int.
20136         (expm1_test): Likewise.
20137         (fmod_test): Likewise.
20138         (ilogb_test): Likewise.
20139         (lgamma_test): Likewise.
20140         (pow_test): Likewise.
20141         (remainder_test): Likewise.
20142         (sin_test): Likewise.
20143         (tan_test): Likewise.
20144         (yn_test): Likewise.
20145         (initialize): Set errno to 0.
20146         (main): Print number of errno tests.
20147         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20148
20149 2013-04-29  Andreas Jaeger  <aj@suse.de>
20150
20151         [BZ #15084]
20152         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20153         and RES_USEVC.
20154
20155         [BZ #15085]
20156         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20157         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20158         unimplemented.
20159
20160         [BZ #15380]
20161         * stdlib/random.c (__initstate): Return NULL if
20162         __initstate fails.
20163
20164         [BZ #15086]
20165         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20166         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20167         RES_SNGLKUPREOP.
20168
20169 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20170
20171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20172
20173 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20174
20175         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20176         of individual tests.
20177         (casin_test): Likewise.
20178         (casinh_test): Likewise.
20179
20180 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20181
20182         [BZ #15409]
20183         * math/s_catan.c (__catan): Handle arguments with large real or
20184         imaginary part separately without squaring.
20185         * math/s_catanf.c (__catanf): Likewise.
20186         * math/s_catanh.c (__catanh): Likewise.
20187         * math/s_catanhf.c (__catanhf): Likewise.
20188         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20189         and redefine.
20190         (__catanhl): Handle arguments with large real or imaginary part
20191         separately without squaring.
20192         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20193         and redefine.
20194         (__catanl): Handle arguments with large real or imaginary part
20195         separately without squaring.
20196         * math/libm-test.inc (catan_test): Add more tests.
20197         (catanh_test): Likewise.
20198         * sysdeps/i386/fpu/libm-test-ulps: Update.
20199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20200
20201 2013-04-27  Andreas Jaeger  <aj@suse.de>
20202
20203         [BZ #15007]
20204         * stdlib/stdlib.h: Update guards for qecvt.
20205         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20206         <stdlib.h>.
20207
20208 2013-04-27  Allan McRae  <allan@archlinux.org>
20209
20210         * sysdeps/i386/fpu/libm-test-ulps: Update.
20211
20212 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20213
20214         [BZ #15406]
20215         * math/s_catan.c: Include <float.h>.
20216         (__catan): Ensure underflow exception occurs for underflowed
20217         result.
20218         * math/s_catanf.c: Include <float.h>.
20219         (__catanf): Ensure underflow exception occurs for underflowed
20220         result.
20221         * math/s_catanh.c: Include <float.h>.
20222         (__catanh): Ensure underflow exception occurs for underflowed
20223         result.
20224         * math/s_catanhf.c: Include <float.h>.
20225         (__catanhf): Ensure underflow exception occurs for underflowed
20226         result.
20227         * math/s_catanhl.c: Include <float.h>.
20228         (__catanhl): Ensure underflow exception occurs for underflowed
20229         result.
20230         * math/s_catanl.c: Include <float.h>.
20231         (__catanl): Ensure underflow exception occurs for underflowed
20232         result.
20233         * math/libm-test.inc (catan_test): Add more tests.
20234         (catanh_test): Likewise.
20235
20236         [BZ #15405]
20237         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20238         underflowed result.
20239         * math/s_ccoshf.c (__ccoshf): Likewise.
20240         * math/s_ccoshl.c (__ccoshl): Likewise.
20241         * math/s_csin.c (__csin): Likewise.
20242         * math/s_csinf.c (__csinf): Likewise.
20243         * math/s_csinh.c (__csinh): Likewise.
20244         * math/s_csinhf.c (__csinhf): Likewise.
20245         * math/s_csinhl.c (__csinhl): Likewise.
20246         * math/s_csinl.c (__csinl): Likewise.
20247         * math/libm-test.inc (ccos_test): Add more tests.
20248         (ccosh_test): Likewise.
20249         (csin_test): Likewise.
20250         (csinh_test): Likewise.
20251
20252 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20253
20254         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20255         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20256         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20257         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20258         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20259         powerpc/power5+/fpu folders.
20260         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20261
20262
20263 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20264
20265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20266
20267 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20268
20269         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20270         additions to variable.
20271         [$(config-machine) = x86_64] (modules-names): Likewise.
20272         ($(objpfx)tst-audit3): Remove dependency.
20273         ($(objpfx)tst-audit3.out): Likewise.
20274         ($(objpfx)tst-audit4): Likewise.
20275         ($(objpfx)tst-audit4.out): Likewise.
20276         ($(objpfx)tst-audit5): Likewise.
20277         ($(objpfx)tst-audit5.out): Likewise.
20278         ($(objpfx)tst-audit6): Likewise.
20279         ($(objpfx)tst-audit6.out): Likewise.
20280         ($(objpfx)tst-audit7): Likewise.
20281         ($(objpfx)tst-audit7.out): Likewise.
20282         (tst-audit3-ENV): Remove variable.
20283         (tst-audit4-ENV): Likewise.
20284         (tst-audit5-ENV): Likewise.
20285         (tst-audit6-ENV): Likewise.
20286         (tst-audit7-ENV): Likewise.
20287         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20288         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20289         addition to variable.
20290         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20291         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20292         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20293         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20294         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20295         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20296         tst-audit3, tst-audit4 and tst-audit5.
20297         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20298         tst-audit6 and tst-audit7.
20299         [$(subdir) = elf] (modules-names): Add audit modules for those
20300         tests.
20301         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20302         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20303         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20304         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20305         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20306         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20307         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20308         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20309         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20310         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20311         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20312         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20313         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20314         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20315         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20316         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20317         Likewise.
20318         [$(subdir) = elf && $(config-cflags-avx) = yes]
20319         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20320         [$(subdir) = elf && $(config-cflags-avx) = yes]
20321         (CFLAGS-tst-auditmod4a.c): Likewise.
20322         [$(subdir) = elf && $(config-cflags-avx) = yes]
20323         (CFLAGS-tst-auditmod4b.c): Likewise.
20324         [$(subdir) = elf && $(config-cflags-avx) = yes]
20325         (CFLAGS-tst-auditmod6b.c): Likewise.
20326         [$(subdir) = elf && $(config-cflags-avx) = yes]
20327         (CFLAGS-tst-auditmod6c.c): Likewise.
20328         [$(subdir) = elf && $(config-cflags-avx) = yes]
20329         (CFLAGS-tst-auditmod7b.c): Likewise.
20330         * elf/tst-audit3.c: Move to ...
20331         * sysdeps/x86_64/tst-audit3.c: ... here.
20332         * elf/tst-audit4.c: Move to ...
20333         * sysdeps/x86_64/tst-audit4.c: ... here.
20334         * elf/tst-audit5.c: Move to ...
20335         * sysdeps/x86_64/tst-audit5.c: ... here.
20336         * elf/tst-audit6.c: Move to ...
20337         * sysdeps/x86_64/tst-audit6.c: ... here.
20338         * elf/tst-audit7.c: Move to ...
20339         * sysdeps/x86_64/tst-audit7.c: ... here.
20340         * elf/tst-auditmod3a.c: Move to ...
20341         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20342         * elf/tst-auditmod3b.c: Move to ...
20343         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20344         * elf/tst-auditmod4a.c: Move to ...
20345         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20346         * elf/tst-auditmod4b.c: Move to ...
20347         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20348         * elf/tst-auditmod5a.c: Move to ...
20349         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20350         * elf/tst-auditmod5b.c: Move to ...
20351         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20352         * elf/tst-auditmod6a.c: Move to ...
20353         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20354         * elf/tst-auditmod6b.c: Move to ...
20355         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20356         * elf/tst-auditmod6c.c: Move to ...
20357         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20358         * elf/tst-auditmod7a.c: Move to ...
20359         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20360         * elf/tst-auditmod7b.c: Move to ...
20361         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20362
20363 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20364
20365         [BZ #15366]
20366         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20367         define unconditionally.
20368         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20369         define unconditionally.
20370         (INT8_C, INT16_C, etc.): Likewise.
20371
20372 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20373
20374         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20375         __ehdr_start with hidden visibility.
20376
20377         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20378
20379 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20380
20381         * math/libm-test.inc (cos_test): Use accurate hex constants.
20382         (sincost_test): Likewise.
20383
20384 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20385
20386         * math/libm-test.inc (catan_test): Add more tests.
20387         (catanh_test): Likewise.
20388
20389         * math/s_catanf.c (__catanf): Use suffixed floating-point
20390         constants.
20391         * math/s_catanhf.c (__catanhf): Likewise.
20392         * math/s_catanhl.c (__catanhl): Likewise.
20393         * math/s_catanl.c (__catanl): Likewise.
20394
20395         [BZ #15394]
20396         * math/s_catan.c (__catan): Calculate imaginary part of result
20397         with log1p not log unless computing log of number close to 0.
20398         * math/s_catanf.c (__catanf): Likewise.
20399         * math/s_catanl.c (__catanl): Likewise.
20400         * math/s_catanh.c (__catanh): Calculate real part of result with
20401         log1p not log unless computing log of number close to 0.
20402         * math/s_catanhf.c (__catanhf): Likewise.
20403         * math/s_catanhl.c (__catanhl): Likewise.
20404         * math/libm-test.inc (catan_test): Add more tests.
20405         (catanh_test): Likewise.
20406         * sysdeps/i386/fpu/libm-test-ulps: Update.
20407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20408
20409 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20410
20411         * benchtests/Makefile: Mention files in which fast and slow
20412         paths of math functions are implemented.
20413
20414 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20415
20416         * sysdeps/posix/timespec_get.c: New file.
20417
20418 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20419
20420         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20421         POWER.
20422         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20423         for POWER.
20424         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20425         powerpc/power5/fpu folders.
20426         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20427         * benchtests/Makefile: Add modf testcase.
20428         * benchtests/bench-modf.c: New file: Benchmark test for mo
20429
20430 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20431
20432         [BZ #14888]
20433         * time/Makefile (tests): Add tst-strptime-whitespace.
20434         * time/strptime_l.c (get_number): Use ISSPACE.
20435         (__strptime_internal): Likewise.
20436         * time/tst-strptime-whitespace.c: New test case.
20437
20438 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20439
20440         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20441         member.
20442         (_nss_files_init): Set it here.
20443
20444 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20445
20446         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20447         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20448         unsigned.
20449
20450 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20451
20452         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20453
20454 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20455
20456         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20457         size just once.
20458
20459 2013-04-21  David S. Miller  <davem@davemloft.net>
20460
20461         * po/ru.po: Update Russion translation from translation project.
20462
20463 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20464
20465         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20466         and setfsgid.
20467
20468 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20469
20470         * configure.in: Remove i386 configure warning. Remove i386 case.
20471         * configure: Regenerate.
20472         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20473         Add example to error message.
20474         * sysdeps/i386/configure: Regenerate.
20475
20476 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20477
20478         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20479         slowtan.
20480         * benchtests/cos-inputs: New file.
20481         * benchtests/slowcos-inputs: New file.
20482         * benchtests/slowcos.c: New file.
20483         * benchtests/slowtan-inputs: New file.
20484         * benchtests/slowtan.c: New file.
20485         * benchtests/tan-inputs: New file.
20486
20487 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20488
20489         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20490         considered kosher.
20491
20492 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20493
20494         * benchtests/Makefile: Include cppflags-iterator.mk to add
20495         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20496
20497         * Makefile.in (bench-clean): New target.
20498         * benchtests/Makefile (bench-clean): Likewise.
20499
20500 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20501
20502         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20503
20504 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20505
20506         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20507
20508 2013-04-15  Andreas Schwab  <schwab@suse.de>
20509
20510         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20511         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20512         * nscd/pwdcache.c (cache_addpw): Likewise.
20513         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20514         more than recsize.
20515
20516 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20517
20518         * benchtests/Makefile (bench): Write all output to
20519         bench-out.tmp together.
20520
20521 2013-04-15  Andreas Schwab  <schwab@suse.de>
20522
20523         * nscd/nscd.c (main): Don't fork again after closing files.
20524
20525 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20526
20527         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20528
20529         * benchtests/Rules (bench-deps): Collect dependencies into a
20530         single variable.  Add Makefile to dependencies.
20531         ($(objpfx)bench-%.c): Depend on bench-deps.
20532
20533 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20534             Xavier Roche  <roche+kml2@exalead.com>
20535
20536         [BZ #15361]
20537         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20538         just that it's a file descriptor.
20539         * manual/llio.texi (Synchronizing AIO Operations): Update description
20540         for EBADF error from aio_fsync.
20541
20542 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20543
20544         * Rules (bench): Move target definition...
20545         * benchtests/Makefile: ... here.
20546
20547 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20548
20549         * math/libm-test.inc (cos_test): Fix PI/2 test.
20550         (sincos_test): Likewise.
20551         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20552         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20553
20554 2013-04-11  Andreas Schwab  <schwab@suse.de>
20555
20556         [BZ #13988]
20557         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20558         accept exponent character only when digits were seen.
20559         * stdio-common/Makefile (tests): Add bug26.
20560         * stdio-common/bug26.c: New file.
20561
20562         [BZ #14293]
20563         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20564         non-freeable.
20565
20566 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20567
20568         * Makeconfig (rtld-prefix): Define built linker prefix.
20569         * Rules (run-bench): Use it.
20570         * math/Makefile (run-regen-ulps): Likewise.
20571
20572         * Rules (bench): Remove eval.
20573
20574 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20575             Roland McGrath  <roland@hack.frob.com>
20576             Ondrej Bilka  <neleai@seznam.cz>
20577
20578         [BZ #15346]
20579         * time/getdate.c: Include ctype.h and alloca.h.
20580         (__getdate_r): Trim leading and trailing spaces of input.
20581         * time/tst-getdate.c (tests): Add tests with leading and
20582         trailing spaces.
20583
20584 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20585
20586         [BZ #14280]
20587         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20588         when computing value.
20589
20590 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20591
20592         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20593         Use testrun.sh to run libm tests.
20594
20595         [BZ #15309]
20596         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20597
20598 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20599
20600         [BZ #15264]
20601         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20602
20603 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20604
20605         * Makefile.in (regen-ulps): New target.
20606         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20607         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20608         [ifneq (no,$(PERL)] (regen-ulps): New target.
20609         [ifeq (no,$(PERL)] (regen-ulps): New target.
20610         * math/libm-test.inc (ulps_file_name): Define.
20611         (output_dir): New variable.
20612         (options): Add "output-dir" option.
20613         (parse_opt): Handle 'o' case.
20614         (main): If output_dir is non-NULL use it as a prefix
20615         otherwise use "".
20616         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20617
20618 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20619
20620         [BZ #10060, #10062]
20621         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20622         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20623         fail configure if __sync_val_compare_and_swap is not inlined.
20624         * sysdeps/i386/configure: Regenerate.
20625         * configure.in: Build for i686 when configured for i386.
20626         * configure: Regenerate.
20627         * README: Remove i386 reference.
20628
20629 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20630
20631         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20632         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20633
20634 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20635
20636         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20637         (lmsnanval): New variables.
20638         (F): Add conversion tests.
20639         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20640         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20641
20642         * stdio-common/tstdiomisc.c (F): Properly collect individual
20643         tests' results.
20644
20645         [BZ #14686, #15336]
20646         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20647         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20648         Instead, use input NaN values or generate a qNaN by arithmetic
20649         operation.  Also fix bugs to comply with the standard.
20650         * math/libm-test.inc (remainder_test): Add more tests.
20651
20652         [BZ #15335, #15342]
20653         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20654         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20655         input NaN values or generate a qNaN by arithmetic operation.
20656
20657         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20658         unreachable code.
20659
20660         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20661         definitions.
20662
20663 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20664
20665         [BZ #14478]
20666         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20667         underflowed result.
20668         * math/s_cexpf.c (__cexpf): Likewise.
20669         * math/s_cexpl.c (__cexpl): Likewise.
20670         * math/libm-test.inc (cexp_test): Add more tests.
20671
20672 2013-04-03  Andreas Schwab  <schwab@suse.de>
20673
20674         [BZ #15330]
20675         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20676         order arrays from heap if bigger than alloca cutoff.
20677
20678 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20679
20680         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20681         (SNAN_TESTS_double): Refer to GCC PR56831.
20682         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20683         GCC PR56828.
20684
20685 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20686
20687         * Rules (bench): Move bench.out after the run is complete.
20688
20689         * Rules (bench): Echo currently running benchmark.
20690
20691         * benchtests/Makefile (bench): Add atan and slowatan.
20692         * benchtests/atan-inputs: New file.
20693         * benchtests/slowatan-inputs: New file.
20694         * benchtests/slowatan.c: New file.
20695
20696         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20697         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20698         its value.
20699
20700         [BZ #15305]
20701         * sysdeps/unix/sysv/linux/kernel-features.h
20702         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20703         __ASSUME_XFS_RESTRICTED_CHOWN.
20704         * sysdeps/unix/sysv/linux/pathconf.c
20705         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20706         Save and restore errno.
20707
20708 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20709
20710         [BZ #15327]
20711         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20712         arguments using __kernel_casinh.
20713         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20714         arguments using __kernel_casinhf.
20715         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20716         arguments using __kernel_casinhl.
20717         * math/libm-test.inc (cacosh_test): Add more tests.
20718         * sysdeps/i386/fpu/libm-test-ulps: Update.
20719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20720
20721 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20722
20723         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20724         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20725
20726         * bench/Makefile (bench): Add sin and slowsin.
20727         * benchtests/sin-inputs: New file.
20728         * benchtests/slowsin-inputs: New file.
20729         * benchtests/slowsin.c: New file.
20730
20731         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20732         (bench): Add slowexp and slowpow.
20733         (exp-ITER): Increase iterations.
20734         (pow-ITER): Likewise.
20735         * benchtests/exp-inputs: Change input.
20736         * benchtests/pow-inputs: Likewise.
20737         * benchtests/slowexp-inputs: New file.
20738         * benchtests/slowexp.c: New file.
20739         * benchtests/slowpow-inputs: New file.
20740         * benchtests/slowpow.c: New file.
20741
20742 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20743
20744         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20745         instructions.
20746         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20747         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20748         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20749         * benchtests/Makefile: Add rint benchtest.
20750         * benchtests/rint-inputs: Input for rint benchtest.
20751
20752 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20753
20754         * Versions.def (libm): Add GLIBC_2.18.
20755         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20756         hidden libm prototypes.
20757         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20758         * math/Makefile (libm-calls): Add s_issignaling.
20759         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20760         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20761         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20762         declaration.
20763         * math/math.h [__USE_GNU] (issignaling): New macro.
20764         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20765         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20766         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20767         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20768         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20769         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20770         * manual/arith.texi (issignaling): New section.
20771         * manual/libm-err-tab.pl (@all_functions): Update comment.
20772         * math/gen-libm-test.pl (parse_args): Apply special handling for
20773         issignaling.
20774         * math/libm-test.inc (print_float, issignaling_test): New
20775         functions.
20776         (check_float_internal): Add issignaling checks.
20777         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20778         default definition.
20779         * sysdeps/powerpc/math-tests.h: New file.
20780         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20781         tests.
20782         * math/test-snan.c (TEST_FUNC): Likewise.
20783
20784 2013-03-30  David S. Miller  <davem@davemloft.net>
20785
20786         * po/de.po: Update from translation team.
20787
20788 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20789
20790         [BZ #10357]
20791         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20792         imaginary part less than 1.0 and real part less than 0.5
20793         specially.
20794         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20795         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20796         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20797         (cacos_test): Add more tests.
20798         (casin_test): Likewise.
20799         (casinh_test): Likewise.
20800         * sysdeps/i386/fpu/libm-test-ulps: Update.
20801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20802
20803 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20804
20805         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20806         ONE with its value.
20807
20808         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20809         (__pow_mp): Replace ONE and MONE with their values.
20810         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20811         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20812         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20813         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20814         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20815         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20816
20817         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20818
20819         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20820         (__pow_mp): Replace ZERO and MZERO with their values.
20821         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20822         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20823         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20824         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20825         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20826         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20827         (__sqr): Likewise.
20828
20829         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20830
20831         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20832
20833 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20834
20835         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20836         Declare with __attribute__ ((weak)).
20837         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20838         Call __call_tls_dtors only if it's not NULL.
20839
20840 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20841
20842         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20843         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20844         magic __ehdr_start linker symbol if it's defined.
20845         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20846         them up here if it was already done.
20847
20848         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20849         (_dl_aux_init): Use const in cast when setting it.
20850         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20851         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20852         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20853
20854         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20855         Declare them here.
20856         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20857         * csu/libc-tls.c: Nor here.
20858         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20859
20860         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20861         (__libc_message): Never call vsyslog.
20862
20863 2013-03-28  Alan Modra  <amodra@gmail.com>
20864
20865         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20866         Define as empty.
20867         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20868         Likewise.
20869
20870 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20871
20872         [BZ #15214]
20873         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20874         underflow.
20875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20876
20877 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20878
20879         [BZ #15304]
20880         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20881         Don't add gid passed as argument.
20882
20883         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20884
20885 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20886
20887         [BZ #15307]
20888         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20889         imaginary part between 1.0 and 1.5 and real part less than 0.5
20890         specially.
20891         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20892         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20893         * math/libm-test.inc (cacos_test): Add more tests.
20894         (casin_test): Likewise.
20895         (casinh_test): Likewise.
20896         * sysdeps/i386/fpu/libm-test-ulps: Update.
20897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20898
20899 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20900
20901         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20902         constants.
20903         (norm): Likewise.
20904         (denorm): Likewise.
20905         (__dbl_mp): Likewise.
20906         (add_magnitudes): Likewise.
20907         (sub_magnitudes): Likewise.
20908         (__add): Likewise.
20909         (__sub): Likewise.
20910         (__mul): Likewise.
20911         (__sqr): Likewise.
20912         (__inv): Likewise.
20913         (__dvd): Likewise.
20914
20915         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20916         commented code.
20917         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20918         (__dubcos): Likewise.
20919         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20920         (__ieee754_acos): Likewise.
20921         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20922         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20923         (__exp1): Likewise.
20924         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20925         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20926         (log1): Likewise.
20927         (my_log2): Likewise.
20928         (checkint): Likewise.
20929         * sysdeps/ieee754/dbl-64/e_remainder.c
20930         (__ieee754_remainder): Likewise.
20931         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20932         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20933         (bsloww): Likewise.
20934         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20935
20936         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20937         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20938         MANTISSA_STORE_T to store computations on mantissa.  Use
20939         macros for rounding and division.
20940         (denorm): Likewise.
20941         (__dbl_mp): Likewise.
20942         (add_magnitudes): Likewise.
20943         (sub_magnitudes): Likewise.
20944         (__mul): Likewise.
20945         (__sqr): Likewise.
20946         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20947         powers of two in terms of TWOPOW macro.
20948         (mp_no): Make type of mantissa as MANTISSA_T.
20949         [!RADIXI]: Define RADIXI.
20950         [!TWO52]: Define TWO52.
20951         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20952
20953 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20954
20955         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20956         llroundl symbol when building for PPC32.
20957
20958 2013-03-24  Mark H Weaver  <mhw@netris.org>
20959
20960         * manual/arith.texi (Normalization Functions): Fix prototypes for
20961         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20962
20963 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20964
20965         [BZ #13889]
20966         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20967         high value to check if expl overflow.
20968         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20969         to check for underflow and overflow.
20970         * math/libm-test.inc: Add exp test.
20971
20972 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20973
20974         [BZ #11120]
20975         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20976         with NOT_IN_libc.
20977
20978 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20979
20980         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20981         symbol.
20982
20983 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20984
20985         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20986         wrap blocks consisting of several statements.
20987
20988         * sysdeps/generic/math-tests.h: New file.
20989         * sysdeps/i386/fpu/math-tests.h: Likewise.
20990         * math/test-snan.c: Include it.
20991         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20992
20993 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20994
20995         [BZ #15285]
20996         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20997         (__ieee754_j0l): Do not improve calculations using cos of twice
20998         input for inputs above LDBL_MAX / 2.0L.
20999         (__ieee754_y0l): Likewise.
21000         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21001         (__ieee754_j1l): Do not improve calculations using cos of twice
21002         input for inputs above LDBL_MAX / 2.0L.
21003         (__ieee754_y1l): Likewise.
21004         * math/libm-test.inc (j0_test): Add another test.
21005         (j1_test): Likewise.
21006         (y0_test): Likewise.
21007         (y1_test): Likewise.
21008         * sysdeps/i386/fpu/libm-test-ulps: Update.
21009
21010 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21011
21012         * Rules ($(objpfx)bench-%.c): Include code from a C source
21013         file.
21014
21015 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21016
21017         [BZ #15287]
21018         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21019         imaginary part 1.0 and real part less than 0.5 specially.
21020         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21021         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21022         * math/libm-test.inc (cacos_test): Add more tests.
21023         (casin_test): Likewise.
21024         (casinh_test): Likewise.
21025         * sysdeps/i386/fpu/libm-test-ulps: Update.
21026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21027
21028 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21029
21030         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21031         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21032
21033 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21034
21035         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21036         * config.make.in (config-cflags-sse4): Remove variable.
21037         (config-cflags-avx): Likewise.
21038         (config-cflags-sse2avx): Likewise.
21039         (config-cflags-novzeroupper): Likewise.
21040         (config-asflags-i686): Likewise.
21041         (have-mfma4): Likewise.
21042         (have-as-vis3): Likewise.
21043         (MIG): Likewise.
21044         * configure.in (MIG): Do not AC_SUBST.
21045         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21046         (libc_cv_cc_sse4): Do not AC_SUBST.
21047         (libc_cv_cc_avx): Likewise.
21048         (libc_cv_cc_sse2avx): Likewise.
21049         (libc_cv_cc_novzeroupper): Likewise.
21050         (libc_cv_cc_fma4): Likewise.
21051         (libc_cv_as_i686): Likewise.
21052         (libc_cv_sparc_as_vis3): Likewise.
21053         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21054         LIBC_CONFIG_VAR.
21055         (config-asflags-i686): Likewise.
21056         (config-cflags-avx): Likewise.
21057         (config-cflags-sse2avx): Likewise.
21058         (have-mfma4): Likewise.
21059         (config-cflags-novzeroupper): Likewise.
21060         * sysdeps/mach/configure.in (MIG): Likewise.
21061         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21062         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21063         LIBC_CONFIG_VAR.
21064         (config-cflags-avx): Likewise.
21065         (config-cflags-sse2avx): Likewise.
21066         (have-mfma4): Likewise.
21067         (config-cflags-novzeroupper): Likewise.
21068         * configure: Regenerated.
21069         * sysdeps/i386/configure: Likewise.
21070         * sysdeps/mach/configure: Likewise.
21071         * sysdeps/sparc/configure: Likewise.
21072         * sysdeps/x86_64/configure: Likewise.
21073
21074 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21075
21076         [BZ #14812]
21077         * locale/programs/localedef.c (options): Put N_ translation marker
21078         on argument names, not just descriptions.
21079
21080 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21081
21082         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21083
21084 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21085
21086         [BZ #14176]
21087         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21088
21089 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21090
21091         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21092         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21093         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21094         [!BEFORE_ABORT] (before_abort): New function.
21095         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21096         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21097         (writev_for_fatal): New function.
21098         (WRITEV_FOR_FATAL): New macro; call that.
21099         (backtrace_and_maps): New function.
21100         (BEFORE_ABORT): New macro; call that.
21101         (struct str_list): Type removed.
21102         (__libc_message, __libc_fatal): Functions removed.
21103         Include <sysdeps/posix/libc_fatal.c> instead.
21104
21105 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21106
21107         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21108         constants.
21109         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21110         double constants.
21111
21112 2013-03-19  Andreas Schwab  <schwab@suse.de>
21113
21114         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21115         * sysdeps/gnu/configure: Regenerate.
21116
21117         * configure.in: Substitute libc_cv_rtlddir.
21118         * configure: Regenerate.
21119         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21120         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21121         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21122         * elf/Makefile (install-others, CFLAGS-interp.c)
21123         (ldso_install, common-ldd-rewrite): Likewise.
21124         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21125         $(inst_slibdir)/$(rtld-installed-name).
21126         * scripts/rellns-sh: Add -p option.
21127         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21128         for source.
21129
21130 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21131
21132         * manual/nptl.texi: Renamed to ...
21133         * manual/threads.texi: ... this.
21134         * manual/Makefile (chapters): Update.
21135
21136 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21137
21138         [BZ #14812]
21139         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21140         on argument names, not just descriptions.
21141         * malloc/memusagestat.c (options): Likewise.
21142         * nss/getent.c (options): Likewise.
21143
21144 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21145
21146         [BZ #14812]
21147         * iconv/iconv_prog.c (options): Put N_ translation marker
21148         on argument names, not just descriptions.
21149         * iconv/iconvconfig.c (options): Likewise.
21150
21151 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21152
21153         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21154         implementation which is faster on all x86_64 architectures.
21155         Tested on AMD, Intel Nehalem, SNB, IVB.
21156         * sysdeps/x86_64/strnlen.S: Likewise.
21157
21158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21159         Remove all multiarch strlen and strnlen versions.
21160         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21161         Remove strlen and strnlen related parts.
21162
21163         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21164         Inline strlen part.
21165         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21166
21167         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21168         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21169         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21170         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21171         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21172         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21173
21174 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21175
21176         * manual/memory.texi (Malloc Tunable Parameters):
21177         Sort parameters alphabetically. Add comments for missing entries.
21178
21179 2013-03-17  David S. Miller  <davem@davemloft.net>
21180
21181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21182
21183 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21184
21185         [BZ #15283]
21186         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21187         for arguments at most half maximum finite value.
21188         * math/libm-test.inc (j0_test): Add more tests.
21189         (j1_test): Likewise.
21190         (y0_test): Likewise.
21191         (y1_test): Likewise.
21192         * sysdeps/i386/fpu/libm-test-ulps: Update.
21193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21194
21195         [BZ #14155]
21196         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21197         1 / x and functions P and Q for arguments above 0x1p256L.
21198         (__ieee754_y0l): Likewise.
21199         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21200         (__ieee754_y1l): Likewise.
21201         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21202         (j1_test): Likewise.
21203         (y0_test): Likewise.
21204         (y1_test): Likewise.
21205
21206 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21207
21208         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21209         variable.
21210
21211 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21212
21213         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21214         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21215         zero since it's initialized to EXEC_PAGESIZE.
21216
21217         * sysdeps/unix/sysv/linux/ldsodefs.h
21218         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21219         * sysdeps/generic/ldsodefs.h: ... here.
21220
21221 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21222
21223         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21224
21225         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21226         math/test-snan.c.
21227         * math/test-snan.c: Renamed from
21228         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21229         * math/Makefile (tests): Add test-snan.
21230         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21231         test-powerpc-snan.
21232
21233         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21234         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21235         functions.
21236         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21237         __builtin_nan family of functions.
21238         * math/libm-test.inc (initialize): Initialize qnan_value with
21239         __builtin_nan family of functions.
21240         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21241         Remove variables.
21242         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21243         Remove functions.
21244         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21245         storage class.  Initialize qNaN_var and sNaN_var with
21246         __builtin_nan and __builtin_nans families of functions,
21247         respectively.
21248
21249         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21250         (sqrt_test): Remove duplicate test with qNaN input.
21251         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21252         (round_test, signbit_test, significand_test): Note missing +/-Inf
21253         as well as qNaN tests.
21254
21255         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21256         qNaN_var.  Fix a few strings, too.
21257         * math/libm-test.inc (nan_value): Rename to qnan_value.
21258         * math/gen-libm-test.pl (%beautify): Adjust to that.
21259         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21260         * math/test-misc.c (main): Likewise.
21261         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21262         to __qnan_bytes, and __qnan_union, respectively.
21263         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21264         Likewise.
21265         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21266         and lqnanval, respectively.
21267         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21268         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21269         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21270         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21271
21272         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21273         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21274         doubles.
21275
21276         * math/test-misc.c (main): Fix copy'n'pastos.
21277         * misc/tst-efgcvt.c (special): Likewise.
21278
21279         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21280         Remove declarations.
21281
21282 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21283
21284         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21285         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21286         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21287         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21288
21289 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21290
21291         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21292         macro to return vdso values correctly in IFUNC implementations.
21293         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21294         Optimization by using IFUNC.
21295
21296 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21297             Richard Henderson  <rth@redhat.com>
21298             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21299
21300         * Makefile.in (bench): New target.
21301         * NEWS: Mention the benchmark framework.
21302         * Rules (bench): Likewise.
21303         (binaries-bench): Generate binaries for functions to
21304         benchmark.
21305         * benchtests/Makefile: New makefile for benchmark tests.
21306         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21307         programs.
21308         * benchtests/exp-inputs: New input file for EXP function.
21309         * benchtests/pow-inputs: New input file for POW function.
21310         * scripts/bench.pl: New script to generate source files for
21311         benchmark programs.
21312
21313 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21314
21315         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21316         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21317         computations on mantissa.  Use macros for rounding and
21318         division.
21319         (denorm): Likewise.
21320         (__dbl_mp): Likewise.
21321         (add_magnitudes): Likewise.
21322         (sub_magnitudes): Likewise.
21323         (__mul): Likewise.
21324         (__sqr): Likewise.
21325         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21326         powers of two in terms of TWOPOW macro.
21327         (mp_no): Make type of mantissa as MANTISSA_T.
21328         [!RADIXI]: Define RADIXI.
21329         [!TWO52]: Define TWO52.
21330         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21331
21332         * manual/nptl.texi (cindex): Modify threads to pthreads.
21333
21334 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21335
21336         * sysdeps/x86_64/preconfigure: Regenerated.
21337
21338 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21339
21340         [BZ #14155]
21341         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21342         0x1p28 and above.
21343         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21344         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21345         0x1p28 and above.
21346         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21347         * math/libm-test.inc (j0_test): Do not allow one spurious
21348         underflow exception.
21349         (y1_test): Likewise.
21350
21351 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21352
21353         * manual/Makefile (chapters): Add nptl.
21354         * manual/debug.texi (Debugging Support): Add link to Threads
21355         chapter.
21356         * manual/nptl.texi: New file.
21357
21358         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21359
21360 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21361
21362         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21363         for non-NULL pointer before the memory validity test. Pointed
21364         out by Holger Brunck <holger.brunck@keymile.com>.
21365
21366 2013-03-13  Andreas Schwab  <schwab@suse.de>
21367
21368         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21369         instead of .os.
21370
21371 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21372
21373         * timezone/zic.c: Update from tzcode 2013b.
21374
21375 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21376
21377         * manual/install.texi (Configuring and compiling):
21378         Mention i686 and i586.
21379         * INSTALL: Regenerate.
21380
21381 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21382
21383         * sysdeps/init_array/elf-init.c: New file.
21384         * csu/elf-init.c
21385         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21386         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21387
21388         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21389         __gmon_start__ as global, but as static with a .preinit_array pointer.
21390         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21391         * sysdeps/init_array/crti.S: New file, empty except for comments.
21392         * sysdeps/init_array/crtn.S: Likewise.
21393
21394 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21395
21396         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21397         definining bcopy.
21398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21399         Remove Prefer_SSE_for_memop.
21400         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21401         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21402         HAS_PREFER_SSE_FOR_MEMOP.
21403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21404         memset-x86-64.
21405         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21406         Remove bzero, memset ifunc support.
21407         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21408         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21409         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21410         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21411
21412 2013-03-11  Andreas Schwab  <schwab@suse.de>
21413
21414         [BZ #15234]
21415         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21416         by SHLIB_COMPAT.
21417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21418         (GLIBC_2.16): Remove pthread_atfork.
21419
21420 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21421
21422         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21423         (ptestcases.h): Likewise.
21424
21425 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21426
21427         * Makeconfig ($(common-objpfx)config.status): Depend on
21428         sysdeps/*/preconfigure{,.in} too.
21429
21430 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21431
21432         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21433         (__free_hook): Use void * instead of __malloc_ptr_t.
21434         (__malloc_hook): Likewise.
21435         (__realloc_hook): Likewise.
21436         (__memalign_hook): Likewise.
21437         (__after_morecore_hook): Likewise.
21438         * malloc/arena.c (save_malloc_hook): Likewise.
21439         (save_free_hook): Likewise.
21440         * malloc/hooks.c (malloc_hook_ini): Likewise.
21441         (realloc_hook_ini): Likewise.
21442         (memalign_hook_ini): Likewise.
21443         * malloc/malloc.c (malloc_hook_ini): Likewise.
21444         (realloc_hook_ini): Likewise.
21445         (memalign_hook_ini): Likewise.
21446         (__free_hook): Likewise.
21447         (__malloc_hook): Likewise.
21448         (__realloc_hook): Likewise.
21449         (__memalign_hook): Likewise.
21450         (__libc_malloc): Likewise.
21451         (__libc_free): Likewise.
21452         (__libc_realloc): Likewise.
21453         (__libc_memalign): Likewise.
21454         (__libc_valloc): Likewise.
21455         (__libc_pvalloc): Likewise.
21456         (__libc_calloc): Likewise.
21457         (__posix_memalign): Likewise.
21458         * malloc/morecore.c (__sbrk): Likewise.
21459         (__default_morecore): Likewise.
21460
21461         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21462
21463         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21464         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21465         __malloc_ptrdiff_t.
21466
21467         * malloc/malloc.h (__malloc_size_t): Remove macro.
21468         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21469         __malloc_size_t.
21470         (old_memalign_hook): Likewise.
21471         (old_realloc_hook): Likewise.
21472         (struct hdr): Likewise.
21473         (flood): Likewise.
21474         (mallochook): Likewise.
21475         (memalignhook): Likewise.
21476         (reallochook): Likewise.
21477         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21478         (tr_old_realloc_hook): Likewise.
21479         (tr_old_memalign_hook): Likewise.
21480         (tr_mallochook): Likewise.
21481         (tr_reallochook): Likewise.
21482         (tr_memalignhook): Likewise.
21483
21484 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21485
21486         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21487         default_ldbl_pack and using as default implementation.
21488         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21489         implementation.
21490         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21491         redundant definition.
21492         (ldbl_insert_mantissa): Likewise.
21493         (ldbl_canonicalize): Likewise.
21494         (ldbl_nearbyint): Likewise.
21495         (ldbl_pack): Rename to ldbl_pack_ppc.
21496         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21497         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21498         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21499
21500 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21501
21502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21503         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21504         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21505         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21506         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21507         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21508         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21509         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21510
21511 2013-03-07  Andreas Jaeger  <aj@suse.de>
21512
21513         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21514         bits/mman-linux.h.
21515
21516 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21517
21518         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21519         Include mpa.h and declare __MPEXP.
21520         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21521         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21522         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21523         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21524         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21525         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21526         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21527
21528         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21529         (__slowpow): Use long double EXPL and LOGL functions to
21530         compute POW.
21531         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21532         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21533         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21534         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21535         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21536         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21537
21538         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21539         intermediate variable to calculate exponent.
21540         (__sqr): Likewise.
21541         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21542         Likewise.
21543         (__sqr): Likewise.
21544
21545         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21546         [!NO__SQR]: Define __sqr.
21547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21548         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21549         sysdeps/ieee754/dbl-64/mpa.c.
21550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21551
21552         [BZ #12723]
21553         * posix/Makefile (tests): Add tst-pathconf.
21554         * posix/tst-pathconf.c: New test case.
21555         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21556         _PC_PIPE_BUF.
21557         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21558
21559 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21560
21561         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21562
21563 2013-03-06  Andreas Jaeger  <aj@suse.de>
21564
21565         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21566         definition via __MAP_ANONYMOUS.
21567
21568         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21569         it's not part of Linux headers.
21570
21571         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21572         (MAP_HUGE_MASK): Define.
21573
21574         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21575         Define.
21576         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21577         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21578         Define.
21579         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21580         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21581         Define.
21582         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21583         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21584         Define.
21585         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21586
21587         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21588         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21589         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21590         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21591         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21592         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21593
21594         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21595         Handle f2fs.
21596
21597         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21598         Handle f2fs and efivarfs.
21599
21600         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21601         f2fs.
21602
21603         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21604         (EFIVARFS_MAGIC): Add.
21605         (F2FS_LINK_MAX): Add.
21606
21607 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21608
21609         * stdio-common/vfprintf.c: Replace __builtin_expect with
21610         __glibc_unlikely.
21611
21612 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21613
21614         [BZ #13550]
21615         * sysdeps/generic/bp-sym.h: Remove file.
21616         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21617         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21618         <bp-sym.h> and <bp-asm.h>.
21619         (__longjmp): Don't use BP_SYM.
21620         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21621         and <bp-asm.h>.
21622         (memcpy): Don't use BP_SYM.
21623         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21624         <bp-sym.h> and <bp-asm.h>.
21625         (memcpy): Don't use BP_SYM.
21626         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21627         <bp-asm.h>.
21628         (memcpy): Don't use BP_SYM.
21629         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21630         <bp-asm.h>.
21631         (memset): Don't use BP_SYM.
21632         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21633         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21634         (__bzero): Don't use BP_SYM.
21635         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21636         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21637         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21638         <bp-sym.h> and <bp-asm.h>.
21639         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21640         pointers.
21641         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21642         <bp-sym.h> and <bp-asm.h>.
21643         (memcpy): Don't use BP_SYM.
21644         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21645         <bp-sym.h> and <bp-asm.h>.
21646         (memset): Don't use BP_SYM.
21647         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21648         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21649         (__bzero): Don't use BP_SYM.
21650         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21651         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21652         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21653         <bp-sym.h> and <bp-asm.h>.
21654         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21655         pointers.
21656         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21657         <bp-sym.h> and <bp-asm.h>.
21658         (memcpy): Don't use BP_SYM.
21659         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21660         <bp-sym.h> and <bp-asm.h>.
21661         (memset): Don't use BP_SYM.
21662         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21663         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21664         (__bzero): Don't use BP_SYM.
21665         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21666         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21667         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21668         <bp-sym.h> and <bp-asm.h>.
21669         (__memchr): Don't use BP_SYM.
21670         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21671         <bp-sym.h> and <bp-asm.h>.
21672         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21673         pointers.
21674         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21675         <bp-sym.h> and <bp-asm.h>.
21676         (memcpy): Don't use BP_SYM.
21677         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21678         <bp-sym.h> and <bp-asm.h>.
21679         (__mempcpy): Don't use BP_SYM.
21680         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21681         <bp-sym.h> and <bp-asm.h>.
21682         (__memrchr): Don't use BP_SYM.
21683         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21684         <bp-sym.h> and <bp-asm.h>.
21685         (memset): Don't use BP_SYM.
21686         (__bzero): Likewise.
21687         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21688         <bp-sym.h> and <bp-asm.h>.
21689         (__rawmemchr): Don't use BP_SYM.
21690         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21691         <bp-sym.h> and <bp-asm.h>.
21692         (__STRCMP): Don't use BP_SYM.
21693         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21694         <bp-sym.h> and <bp-asm.h>.
21695         (strchr): Don't use BP_SYM.
21696         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21697         <bp-sym.h> and <bp-asm.h>.
21698         (__strchrnul): Don't use BP_SYM.
21699         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21700         <bp-sym.h> and <bp-asm.h>.
21701         (strlen): Don't use BP_SYM.
21702         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21703         <bp-sym.h> and <bp-asm.h>.
21704         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21705         pointers.
21706         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21707         <bp-sym.h> and <bp-asm.h>.
21708         (__strnlen): Don't use BP_SYM.
21709         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21710         <bp-sym.h> and <bp-asm.h>.
21711         (__GI__setjmp): Don't use BP_SYM.
21712         (_setjmp): Likewise.
21713         (__sigsetjmp): Likewise.
21714         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21715         (L(start_addresses)): Don't use BP_SYM.
21716         (_start): Likewise.
21717         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21718         <bp-asm.h>.
21719         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21720         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21721         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21722         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21723         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21724         <bp-asm.h>.
21725         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21726         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21727         about bounded pointers.
21728         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21729         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21730         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21731         <bp-asm.h>.
21732         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21733         about bounded pointers.  Remove GKM FIXME comments.
21734         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21735         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21736         <bp-asm.h>.
21737         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21738         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21739         Remove GKM FIXME comments.
21740         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21741         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21742         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21743         <bp-asm.h>.
21744         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21745         about bounded pointers.  Remove GKM FIXME comment.
21746         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21747         and <bp-asm.h>.
21748         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21749         pointers.
21750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21751         <bp-sym.h> and <bp-asm.h>.
21752         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21754         <bp-sym.h> and <bp-asm.h>.
21755         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21756         comment.
21757
21758 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21759
21760         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21761         call free(NULL).
21762
21763 2013-03-05  David S. Miller  <davem@davemloft.net>
21764
21765         * po/es.po: Update from translation team.
21766
21767 2013-03-05  Andreas Jaeger  <aj@suse.de>
21768
21769         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21770         <bits/mman-linux.h>.
21771         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21772         is fine.
21773         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21774         <bits/mman-linux.h> to end of file.
21775         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21776         is fine.
21777         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21778         <bits/mman-linux.h> to end of file.
21779         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21780         is fine.
21781         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21782         <bits/mman-linux.h> to end of file.
21783
21784         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21785         (MCL_CURRENT, MCL_FUTURE): Define here.
21786
21787 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21788
21789         [BZ #15232]
21790         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21791         attribute_hidden.
21792         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21793
21794 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21795
21796         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21797         fourth parameter needed for rt_sigprocmask syscall.
21798         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21799         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21800         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21801         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21802         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21803         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21804
21805 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21806
21807         [BZ #13550]
21808         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21809         comment about bounded pointers.
21810         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21811         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21812
21813 2013-03-04  Andreas Jaeger  <aj@suse.de>
21814
21815         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21816         common definitions.
21817
21818         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21819         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21820         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21821         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21822         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21823         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21824
21825 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21826
21827         [BZ #15055]
21828         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21829         __ieee754_sqrl instead of __sqrl.
21830
21831 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21832
21833         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21834         * sysdeps/powerpc/fpu_control.h: ... here.
21835         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21836         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21837         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21838         * sysdeps/powerpc/bits/mathinline.h: ... here.
21839
21840 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21841
21842         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21843         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21844         to just [NEED_DL_SYSINFO_DSO].
21845         * elf/dl-support.c: Likewise.
21846         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21847         * elf/rtld.c (dl_main): Likewise.
21848         * elf/setup-vdso.h (setup_vdso): Likewise.
21849         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21850         * sysdeps/unix/sysv/linux/dl-sysdep.c
21851         (_dl_discover_osversion): Likewise.
21852
21853 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21854
21855         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21856         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21857
21858 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21859
21860         * NEWS: Mention libm performance improvements and non-x86 PI
21861         futex support.
21862
21863         * csu/libc-start.c (__pthread_initialize_minimal): Change
21864         function arguments.
21865         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21866
21867 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21868
21869         [BZ #13550]
21870         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21871         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21872         <bp-sym.h> and <bp-asm.h>.
21873         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21874         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21875         and <bp-asm.h>.
21876         (memcpy): Don't use BP_SYM.
21877         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21878         <bp-asm.h>.
21879         (__mpn_add_n): Don't use BP_SYM.
21880         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21881         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21882         and <bp-asm.h>.
21883         (__mpn_addmul_1): Don't use BP_SYM.
21884         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21885         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21886         <bp-sym.h>.
21887         (_setjmp): Don't use BP_SYM.
21888         (__novmx_setjmp): Likewise.
21889         (__GI__setjmp): Likewise.
21890         (__vmx_setjmp): Likewise.
21891         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21892         <bp-sym.h>.
21893         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21894         (__bzero): Don't use BP_SYM.
21895         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21896         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21897         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21898         <bp-sym.h> and <bp-asm.h>.
21899         (memcpy): Don't use BP_SYM.
21900         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21901         <bp-sym.h> and <bp-asm.h>.
21902         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21903         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21904         <bp-sym.h> and <bp-asm.h>.
21905         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21906         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21907         <bp-asm.h>.
21908         (__mpn_lshift): Don't use BP_SYM.
21909         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21910         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21911         <bp-asm.h>.
21912         (memset): Don't use BP_SYM.
21913         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21914         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21915         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21916         <bp-asm.h>.
21917         (__mpn_mul_1): Don't use BP_SYM.
21918         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21919         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21920         <bp-sym.h> and <bp-asm.h>.
21921         (memcmp): Don't use BP_SYM.
21922         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21923         <bp-sym.h> and <bp-asm.h>.
21924         (memcpy): Don't use BP_SYM.
21925         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21926         <bp-sym.h> and <bp-asm.h>.
21927         (memset): Don't use BP_SYM.
21928         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21929         <bp-sym.h> and <bp-asm.h>.
21930         (strncmp): Don't use BP_SYM.
21931         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21932         <bp-sym.h> and <bp-asm.h>.
21933         (memcpy): Don't use BP_SYM.
21934         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21935         <bp-sym.h> and <bp-asm.h>.
21936         (memset): Don't use BP_SYM.
21937         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21938         <bp-sym.h> and <bp-asm.h>.
21939         (__memchr): Don't use BP_SYM.
21940         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21941         <bp-sym.h> and <bp-asm.h>.
21942         (memcmp): Don't use BP_SYM.
21943         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21944         <bp-sym.h> and <bp-asm.h>.
21945         (memcpy): Don't use BP_SYM.
21946         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21947         <bp-sym.h> and <bp-asm.h>.
21948         (__mempcpy): Don't use BP_SYM.
21949         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21950         <bp-sym.h> and <bp-asm.h>.
21951         (__memrchr): Don't use BP_SYM.
21952         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21953         <bp-sym.h> and <bp-asm.h>.
21954         (memset): Don't use BP_SYM.
21955         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21956         <bp-sym.h> and <bp-asm.h>.
21957         (__rawmemchr): Don't use BP_SYM.
21958         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21959         <bp-sym.h> and <bp-asm.h>.
21960         (__STRCMP): Don't use BP_SYM.
21961         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21962         <bp-sym.h> and <bp-asm.h>.
21963         (strchr): Don't use BP_SYM.
21964         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21965         <bp-sym.h> and <bp-asm.h>.
21966         (__strchrnul): Don't use BP_SYM.
21967         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21968         <bp-sym.h> and <bp-asm.h>.
21969         (strlen): Don't use BP_SYM.
21970         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21971         <bp-sym.h> and <bp-asm.h>.
21972         (strncmp): Don't use BP_SYM.
21973         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21974         <bp-sym.h> and <bp-asm.h>.
21975         (__strnlen): Don't use BP_SYM.
21976         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21977         <bp-asm.h>.
21978         (__mpn_rshift): Don't use BP_SYM.
21979         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21980         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21981         <bp-sym.h> and <bp-asm.h>.
21982         (__sigsetjmp): Don't use BP_SYM.
21983         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21984         (L(start_addresses)): Don't use BP_SYM.
21985         (_start): Likewise.
21986         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21987         <bp-asm.h>.
21988         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21989         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21990         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21991         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21992         <bp-asm.h>.
21993         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21994         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21995         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21996         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21997         <bp-asm.h>.
21998         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21999         comments.
22000         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22001         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22002         <bp-asm.h>.
22003         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22004         FIXME comments.
22005         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22006         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22007         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22008         <bp-asm.h>.
22009         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22010         comment.
22011         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22012         and <bp-asm.h>.
22013         (strncmp): Don't use BP_SYM,
22014         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22015         <bp-asm.h>.
22016         (__mpn_sub_n): Don't use BP_SYM.
22017         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22018         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22019         and <bp-asm.h>.
22020         (__mpn_submul_1): Don't use BP_SYM.
22021         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22023         <bp-sym.h> and <bp-asm.h>.
22024         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22026         <bp-sym.h> and <bp-asm.h>.
22027         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22028         comment.
22029
22030 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22031
22032         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22033         Use ZK to minimize writes to Z.
22034         (sub_magnitudes): Simplify code a bit.
22035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22036         Use ZK to minimize writes to Z.
22037         (sub_magnitudes): Simplify code a bit.
22038
22039 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22040
22041         * csu/gmon-start.c: Add special exception to license text.
22042
22043 2013-02-27  Richard Henderson  <rth@redhat.com>
22044
22045         * scripts/config.guess: Update from config.git.
22046         * scripts/config.sub: Likewise.
22047
22048 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22049
22050         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22051
22052         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22053
22054         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22055
22056         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22057
22058         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22059
22060 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22061
22062         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22063         [$(build-shared = yes].
22064
22065 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22066
22067         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22068         (__mul): Reduce iterations for calculating mantissa.
22069
22070         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22071         MPTWO.
22072         (__mpranred): Likewise.
22073
22074         [BZ #15160]
22075         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22076         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22077
22078 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22079
22080         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22081         Define __attribute__.
22082
22083 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22084
22085         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22086         unused.
22087         * posix/regex_internal.h (__attribute): Remove.
22088         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22089         (re_string_context_at): Likewise.
22090         (bitset_not): Use __attribute__ and mark function as possibly
22091         unused.
22092         (bitset_merge): Likewise.
22093         (bitset_mask): Likewise.
22094         (re_string_char_size_at): Likewise.
22095         (re_string_wchar_at): Likewise.
22096         (re_string_elem_size_at): Likewise.
22097
22098 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22099
22100         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22101         code.
22102         (cc32): Likewise.
22103
22104         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22105         (__acr): Likewise.
22106         (__cpy): Likewise.
22107         (norm): Likewise.
22108         (denorm): Likewise.
22109         (__dbl_mp): Likewise.
22110         (add_magnitudes): Likewise.
22111         (sub_magnitudes): Likewise.
22112         (__mul): Likewise.
22113         (__inv): Likewise.
22114
22115         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22116         style.
22117
22118         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22119         style.
22120
22121         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22122         code.
22123
22124         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22125         up changes with default code.
22126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22127         Likewise.
22128
22129 2013-02-24  Allan McRae  <allan@archlinux.org>
22130
22131         * manual/socket.texi (The Internet Namespace): Order menu items
22132         to match that in the file.
22133
22134         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22135         node listing of the info page menu.
22136
22137 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22138
22139         [BZ #13550]
22140         * sysdeps/i386/bp-asm.h: Remove file.
22141         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22142         (PARMS): Do not use macros from bp-asm.h.
22143         (S1): Likewise.
22144         (S2): Likewise.
22145         (SIZE): Likewise.
22146         (__mpn_add_n): Do not use BP_SYM
22147         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22148         "bp-asm.h".
22149         (PARMS): Do not use macros from bp-asm.h.
22150         (S1): Likewise.
22151         (SIZE): Likewise.
22152         (__mpn_addmul_1): Do not use BP_SYM
22153         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22154         "bp-asm.h".
22155         (PARMS): Do not use macros from bp-asm.h.
22156         (SIGMSK): Likewise.
22157         (_setjmp): Likewise.  Do not use BP_SYM.
22158         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22159         "bp-asm.h".
22160         (PARMS): Do not use macros from bp-asm.h.
22161         (SIGMSK): Likewise.
22162         (setjmp): Likewise.  Do not use BP_SYM.
22163         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22164         "bp-asm.h".
22165         (PARMS): Do not use macros from bp-asm.h.
22166         (__frexp): Do not use BP_SYM.
22167         (frexp): Likewise.
22168         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22169         "bp-asm.h".
22170         (PARMS): Do not use macros from bp-asm.h.
22171         (__frexpf): Do not use BP_SYM.
22172         (frexpf): Likewise.
22173         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22174         "bp-asm.h".
22175         (PARMS): Do not use macros from bp-asm.h.
22176         (__frexpl): Do not use BP_SYM.
22177         (frexpl): Likewise.
22178         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22179         "bp-asm.h".
22180         (PARMS): Do not use macros from bp-asm.h.
22181         (__remquo): Do not use BP_SYM.
22182         (remquo): Likewise.
22183         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22184         "bp-asm.h".
22185         (PARMS): Do not use macros from bp-asm.h.
22186         (__remquof): Do not use BP_SYM.
22187         (remquof): Likewise.
22188         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22189         "bp-asm.h".
22190         (PARMS): Do not use macros from bp-asm.h.
22191         (__remquol): Do not use BP_SYM.
22192         (remquol): Likewise.
22193         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22194         "bp-asm.h".
22195         (PARMS): Do not use macros from bp-asm.h.
22196         (DEST): Likewise.
22197         (SRC): Likewise.
22198         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22199         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22200         "bp-asm.h".
22201         (PARMS): Do not use macros from bp-asm.h.
22202         (strlen): Do not use BP_SYM.
22203         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22204         "bp-asm.h".
22205         (PARMS): Do not use macros from bp-asm.h.
22206         (S1): Likewise.
22207         (S2): Likewise.
22208         (SIZE): Likewise.
22209         (__mpn_add_n): Do not use BP_SYM.
22210         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22211         "bp-asm.h".
22212         (PARMS): Do not use macros from bp-asm.h.
22213         (S1): Likewise.
22214         (SIZE): Likewise.
22215         (__mpn_addmul_1): Do not use BP_SYM.
22216         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22217         weak_alias.
22218         (bzero): Likewise.
22219         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22220         "bp-asm.h".
22221         (PARMS): Do not use macros from bp-asm.h.
22222         (S): Likewise.
22223         (SIZE): Likewise.
22224         (__mpn_lshift): Do not use BP_SYM.
22225         * sysdeps/i386/i586/memcpy.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         (LEN): Likewise.
22231         (memcpy): Likewise.  Do not use BP_SYM.
22232         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22233         libc_hidden_def and weak_alias.
22234         (mempcpy): Do not use BP_SYM in weak_alias.
22235         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22236         "bp-asm.h".
22237         (PARMS): Do not use macros from bp-asm.h.
22238         (DEST): Likewise.
22239         (LEN): Likewise.
22240         [!BZERO_P] (CHR): Likewise.
22241         (memset): Likewise.  Do not use BP_SYM.
22242         * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
22248         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22249         "bp-asm.h".
22250         (PARMS): Do not use macros from bp-asm.h.
22251         (S): Likewise.
22252         (SIZE): Likewise.
22253         (__mpn_rshift): Do not use BP_SYM.
22254         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22255         "bp-asm.h".
22256         (PARMS): Do not use macros from bp-asm.h.
22257         (STR): Likewise.
22258         (CHR): Likewise.
22259         (strchr): Likewise.  Do not use BP_SYM.
22260         (index): Do not use BP_SYM in weak_alias.
22261         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22262         "bp-asm.h".
22263         (PARMS): Do not use macros from bp-asm.h.
22264         (DEST): Likewise.
22265         (SRC): Likewise.
22266         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22267         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22268         "bp-asm.h".
22269         (PARMS): Do not use macros from bp-asm.h.
22270         (strlen): Do not use BP_SYM.
22271         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22272         "bp-asm.h".
22273         (PARMS): Do not use macros from bp-asm.h.
22274         (S1): Likewise.
22275         (S2): Likewise.
22276         (SIZE): Likewise.
22277         (__mpn_sub_n): Do not use BP_SYM.
22278         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22279         "bp-asm.h".
22280         (PARMS): Do not use macros from bp-asm.h.
22281         (S1): Likewise.
22282         (SIZE): Likewise.
22283         (__mpn_submul_1): Do not use BP_SYM.
22284         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22285         "bp-asm.h".
22286         (PARMS): Do not use macros from bp-asm.h.
22287         (S1): Likewise.
22288         (S2): Likewise.
22289         (SIZE): Likewise.
22290         (__mpn_add_n): Do not use BP_SYM.
22291         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22292         weak_alias.
22293         (bzero): Likewise.
22294         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22295         "bp-asm.h".
22296         (PARMS): Do not use macros from bp-asm.h.
22297         (BLK2): Likewise.
22298         (LEN): Likewise.
22299         (memcmp): Do not use BP_SYM.
22300         (bcmp): Do not use BP_SYM in weak_alias.
22301         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22302         "bp-asm.h".
22303         (PARMS): Do not use macros from bp-asm.h.
22304         (DEST): Likewise.
22305         (SRC): Likewise.
22306         (LEN): Likewise.
22307         (memcpy): Likewise.  Do not use BP_SYM.
22308         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22309         "bp-asm.h".
22310         (PARMS): Do not use macros from bp-asm.h.
22311         (DEST): Likewise.
22312         (SRC): Likewise.
22313         (LEN): Likewise.
22314         (memmove): Likewise.  Do not use BP_SYM.
22315         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22316         "bp-asm.h".
22317         (PARMS): Do not use macros from bp-asm.h.
22318         (DEST): Likewise.
22319         (SRC): Likewise.
22320         (LEN): Likewise.
22321         (__mempcpy): Likewise.  Do not use BP_SYM.
22322         (mempcpy): Do not use BP_SYM in weak_alias.
22323         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22324         "bp-asm.h".
22325         (PARMS): Do not use macros from bp-asm.h.
22326         (DEST): Likewise.
22327         (LEN): Likewise.
22328         [!BZERO_P] (CHR): Likewise.
22329         (memset): Likewise.  Do not use BP_SYM.
22330         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22331         "bp-asm.h".
22332         (PARMS): Do not use macros from bp-asm.h.
22333         (STR2): Likewise.
22334         (strcmp): Do not use BP_SYM.
22335         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22336         "bp-asm.h".
22337         (PARMS): Do not use macros from bp-asm.h.
22338         (STR): Likewise.
22339         (DELIM): Likewise.
22340         [USE_AS_STRTOK_R] (SAVE): Likewise.
22341         (FUNCTION): Likewise.  Do not use BP_SYM.
22342         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22343         aliases.
22344         (strtok_r): Likewise.
22345         (__GI___strtok_r): Likewise.
22346         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22347         (PARMS): Do not use macros from bp-asm.h.
22348         (S): Likewise.
22349         (SIZE): Likewise.
22350         (__mpn_lshift): Do not use BP_SYM.
22351         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22352         (PARMS): Do not use macros from bp-asm.h.
22353         (STR): Likewise.
22354         (CHR): Likewise.
22355         (__memchr): Do not use BP_SYM.
22356         (memchr): Do not use BP_SYM in weak_alias.
22357         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22358         (PARMS): Do not use macros from bp-asm.h.
22359         (BLK2): Likewise.
22360         (LEN): Likewise.
22361         (memcmp): Do not use BP_SYM.
22362         (bcmp): Do not use BP_SYM in weak_alias.
22363         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22364         (PARMS): Do not use macros from bp-asm.h.
22365         (S1): Likewise.
22366         (SIZE): Likewise.
22367         (__mpn_mul_1): Do not use BP_SYM.
22368         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22369         "bp-asm.h".
22370         (PARMS): Do not use macros from bp-asm.h.
22371         (STR): Likewise.
22372         (CHR): Likewise.
22373         (__rawmemchr): Do not use BP_SYM.
22374         (rawmemchr): Do not use BP_SYM in weak_alias.
22375         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22376         (PARMS): Do not use macros from bp-asm.h.
22377         (S): Likewise.
22378         (SIZE): Likewise.
22379         (__mpn_rshift): Do not use BP_SYM.
22380         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22381         (PARMS): Do not use macros from bp-asm.h.
22382         (SIGMSK): Likewise.
22383         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22384         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22385         (_start): Do not use BP_SYM.
22386         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22387         (PARMS): Do not use macros from bp-asm.h.
22388         (DEST): Likewise.
22389         (SRC): Likewise.
22390         (__stpcpy): Likewise.  Do not use BP_SYM.
22391         (stpcpy): Do not use BP_SYM in weak_alias.
22392         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22393         "bp-asm.h".
22394         (PARMS): Do not use macros from bp-asm.h.
22395         (DEST): Likewise.
22396         (SRC): Likewise.
22397         (LEN): Likewise.
22398         (__stpncpy): Likewise.  Do not use BP_SYM.
22399         (stpncpy): Do not use BP_SYM in weak_alias.
22400         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22401         (PARMS): Do not use macros from bp-asm.h.
22402         (STR): Likewise.
22403         (CHR): Likewise.
22404         (strchr): Likewise.  Do not use BP_SYM.
22405         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22406         "bp-asm.h".
22407         (PARMS): Do not use macros from bp-asm.h.
22408         (STR): Likewise.
22409         (CHR): Likewise.
22410         (__strchrnul): Likewise.  Do not use BP_SYM.
22411         (strchrnul): Do not use BP_SYM in weak_alias.
22412         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22413         "bp-asm.h".
22414         (PARMS): Do not use macros from bp-asm.h.
22415         (STOP): Likewise.
22416         (strcspn): Do not use BP_SYM.
22417         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22418         "bp-asm.h".
22419         (PARMS): Do not use macros from bp-asm.h.
22420         (STR): Likewise.
22421         (STOP): Likewise.
22422         (strpbrk): Likewise.  Do not use BP_SYM.
22423         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22424         "bp-asm.h".
22425         (PARMS): Do not use macros from bp-asm.h.
22426         (STR): Likewise.
22427         (CHR): Likewise.
22428         (strrchr): Likewise.  Do not use BP_SYM.
22429         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22430         (PARMS): Do not use macros from bp-asm.h.
22431         (SKIP): Likewise.
22432         (strspn): Do not use BP_SYM.
22433         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22434         (PARMS): Do not use macros from bp-asm.h.
22435         (STR): Likewise.
22436         (DELIM): Likewise.
22437         (SAVE): Likewise.
22438         (FUNCTION): Likewise.  Do not use BP_SYM.
22439         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22440         aliases.
22441         (strtok_r): Likewise.
22442         (__GI___strtok_r): Likewise.
22443         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22444         (PARMS): Do not use macros from bp-asm.h.
22445         (S1): Likewise.
22446         (S2): Likewise.
22447         (SIZE): Likewise.
22448         (__mpn_sub_n): Do not use BP_SYM.
22449         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22450         "bp-asm.h".
22451         (PARMS): Do not use macros from bp-asm.h.
22452         (S1): Likewise.
22453         (SIZE): Likewise.
22454         (__mpn_submul_1): Do not use BP_SYM.
22455         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22456         <bp-sym.h>.
22457         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22458         and <bp-asm.h>.
22459         (PARMS): Do not use macros from bp-asm.h.
22460         (FLAGS): Likewise.
22461         (PTID): Likewise.
22462         (TLS): Likewise.
22463         (CTID): Likewise.
22464         (__clone): Do not use BP_SYM.
22465         (clone): Do not use BP_SYM in weak_alias.
22466         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22467         and <bp-asm.h>.
22468         (PARMS): Do not use macros from bp-asm.h.
22469         (LEN): Likewise.
22470         (__mmap64): Do not use BP_SYM.
22471         (mmap64): Do not use BP_SYM in weak_alias.
22472         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22473         <bp-sym.h> and <bp-asm.h>.
22474         (PARMS): Do not use macros from bp-asm.h.
22475         (__posix_fadvise64_l64): Do not use BP_SYM.
22476         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22477         (PARMS): Do not use macros from bp-asm.h.
22478         (NSOPS): Likewise.
22479         (semtimedop): Do not use BP_SYM.
22480         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22481         and <bp-asm.h>.
22482
22483 2013-02-21  Allan McRae  <allan@archlinux.org>
22484
22485         * manual/message.texi (Charset conversion in gettext):
22486         Move @end statement to beginning of line.
22487
22488 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22489
22490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22491         static.
22492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22493         Likewise.
22494
22495         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22496         (denorm): Likewise.
22497         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22499
22500 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22501
22502         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22503         tail-call to the resolved function if pltexit isn't needed.
22504
22505 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22506
22507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22508         or Y being zero as being unlikely.
22509         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22510         Likewise.
22511
22512 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22513
22514         * manual/nss.texi (System Databases and Name Service Switch):
22515         Remove frobnicate @pxref.
22516
22517 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22518
22519         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22520         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22521
22522 2013-02-20  Petr Machata  <pmachata@redhat.com>
22523
22524         * elf/elf.h (R_ARM_TARGET1): New macro.
22525         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22526         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22527         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22528         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22529         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22530         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22531         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22532         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22533         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22534         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22535         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22536         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22537         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22538         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22539         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22540         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22541         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22542         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22543         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22544         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22545         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22546         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22547         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22548         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22549         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22550         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22551         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22552         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22553         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22554         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22555         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22556         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22557         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22558         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22559         (R_ARM_THM_GOT_BREL12): Likewise.
22560         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22561         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22562         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22563         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22564         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22565         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22566         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22567         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22568         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22569
22570 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22571
22572         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22573         __attribute_used__ to __attribute__ ((unused)).
22574
22575 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22576
22577         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22578         powerpc mpa.c.
22579         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22580         comment formatting.
22581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22582
22583 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22584
22585         [BZ #13550]
22586         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22587         Remove macro.
22588         (ENTER): Remove both macro definitions.
22589         (LEAVE): Likewise.
22590         (CHECK_BOUNDS_LOW): Likewise.
22591         (CHECK_BOUNDS_HIGH): Likewise.
22592         (CHECK_BOUNDS_BOTH): Likewise.
22593         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22594         (RETURN_BOUNDED_POINTER): Likewise.
22595         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22596         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22597         (POP_ERRNO_LOCATION_RETURN): Likewise.
22598         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22599         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22600         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22601         macros.
22602         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22603         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22604         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22605         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22606         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22607         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22608         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22609         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22610         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22611         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22612         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22613         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22614         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22615         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22616         removed macros.
22617         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22618         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22619         macros.
22620         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22621         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22622         * sysdeps/i386/i586/memset.S (memset): Likewise.
22623         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22624         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22625         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22626         macros.
22627         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22628         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22629         Change uses of L(2) to L(out).
22630         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22631         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22632         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22633         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22634         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22635         removed macros.
22636         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22637         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22638         macros.
22639         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22640         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22641         (RETURN): Do not use macro LEAVE.
22642         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22643         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22644         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22645         * sysdeps/i386/i686/memset.S (memset): Likewise.
22646         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22647         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22648         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22649         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22650         Likewise.
22651         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22652         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22653         L(1_2) and L(1_3) into L(1).
22654         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22655         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22656         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22657         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22658         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22659         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22660         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22661         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22662         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22663         macros.
22664         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22665         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22666         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22667         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22668         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22669         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22670         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22671         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22672         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22673         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22674         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22675         * sysdeps/i386/strspn.S (strspn): Likewise.
22676         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22677         conditional code.
22678         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22679         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22680         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22681         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22682         L(1_3) into L(1_1).
22683         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22684         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22685         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22686         macros.
22687         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22688
22689 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22690
22691         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22692         macro.
22693
22694 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22695
22696         * math/atest-exp.c (exp_mpn): Remove ROUND.
22697         * math/atest-exp2.c (exp_mpn): Likewise.
22698         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22699
22700         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22701         * stdlib/tst-tls-atexit-lib.c: Likewise.
22702         * stdlib/tst-tls-atexit.c: Likewise.
22703
22704 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22705
22706         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22707         and __attribute_alloc_size__.
22708
22709 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22710
22711         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22712         __attribute_alloc_size__.
22713         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22714         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22715
22716 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22717
22718         * include/programs/xmalloc.h: New file.
22719         * catgets/gencat.c: Include it.
22720         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22721         * elf/pldd.c: Likewise.
22722         * iconv/iconv_charmap.c: Likewise.
22723         * iconv/iconvconfig.c: Likewise.
22724         * iconv/strtab.c: Likewise.
22725         * locale/programs/locale.c: Likewise.
22726         * locale/programs/localedef.h: Likewise.
22727         * locale/programs/simple-hash.c: Likewise.
22728         * nscd/nscd.h: Likewise.
22729         * nss/makedb.c: Likewise.
22730         * sysdeps/generic/ldconfig.h: Likewise.
22731
22732 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22733
22734         * Versions.def: Add GLIBC_2.18.
22735         * include/link.h (struct link_map): New member l_tls_dtor_count.
22736         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22737         (__call_tls_dtors): Likewise.
22738         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22739         __cxa_thread_atexit_impl.
22740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22741         Likewise.
22742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22743         Likewise.
22744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22745         Likewise.
22746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22747         Likewise.
22748         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22750         Likewise.
22751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22752         Likewise.
22753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22755         Likewise.
22756         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22757         (tests): Add test case tst-tls-atexit.
22758         (modules-names): Add shared library for tst-tls-atexit.
22759         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22760         (GLIBC_PRIVATE): Add __call_tls_dtors.
22761         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22762         for libstdc++.
22763         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22764         * stdlib/tst-tls-atexit.c: New test case.
22765         * stdlib/tst-tls-atexit-lib.c: New test case.
22766
22767         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22768
22769         * elf/Versions (ld): Add _dl_find_dso_for_object.
22770         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22771         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22772         (dl_open_worker): Use _dl_find_dso_for_object.
22773         * elf/dl-sym.c (do_sym): Likewise.
22774         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22775
22776 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22777
22778         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22779         Syntactic changes only.
22780         (_dl_runtime_profile): Do a tail-call to the resolved function.
22781
22782 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22783
22784         [BZ #13550]
22785         * sysdeps/x86_64/bp-asm.h: Remove file.
22786         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22787         <bp-sym.h> and <bp-asm.h>.
22788         (__clone): Do not use BP_SYM.
22789         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22790         <bp-sym.h> and <bp-asm.h>.
22791         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22792         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22793         "bp-asm.h".
22794         (_setjmp): Do not use BP_SYM.
22795         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22796         "bp-asm.h".
22797         (setjmp): Do not use BP_SYM.
22798         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22799         libc_hidden_def.
22800         (mempcpy): Do not use BP_SYM in weak_alias.
22801         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22802         "bp-asm.h".
22803         (strchr): Do not use BP_SYM.
22804         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22805         "bp-asm.h".
22806         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22807         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22808         (_start): Do not use BP_SYM.
22809         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22810         "bp-asm.h".
22811         (strcat): Do not use BP_SYM.
22812         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22813         "bp-asm.h".
22814         (STRCMP): Do not use BP_SYM.
22815         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22816         "bp-asm.h".
22817         (STRCPY): Do not use BP_SYM.
22818         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22819         "bp-asm.h".
22820         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22821         "bp-asm.h".
22822         (FUNCTION): Do not use BP_SYM.
22823         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22824         weak_alias.
22825         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22826
22827 2013-02-17  Andreas Jaeger  <aj@suse.de>
22828
22829         * time/Versions: Sort entries.
22830         * string/Versions: Likewise.
22831         * resolv/Versions: Likewise.
22832         * posix/Versions: Likewise.
22833         * iconv/Versions: Likewise.
22834         * elf/Versions: Likewise.
22835         * wcsmbs/Versions: Likewise.
22836
22837 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22838
22839         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22840         loop termination condition.
22841
22842         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22843         variable to calculate EZ.
22844         (__sqr): Likewise.
22845
22846         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22847         the lower precision input.
22848
22849 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22850
22851         [BZ #13550]
22852         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22853         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22854         (run-via-rtld-prefix): Do not handle %-bp tests.
22855         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22856         (all-object-suffixes): Remove .ob.
22857         (bppfx): Remove variable.
22858         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22859         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22860         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22861         [$(build-bounded) = yes] (libtype.ob): Likewise.
22862         * Makerules (elide-routines.ob): Remove variable.
22863         (do-tests-clean): Do not handle *-bp.out.
22864         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22865         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22866         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22867         (tests): Do not include $(tests-bp.out).
22868         (xtests): Do not include $(xtests-bp.out).
22869         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22870         [$(build-bounded) = yes] ($(addprefix
22871         $(objpfx),$(binaries-bounded))): Remove rule.
22872         ($(objpfx)%-bp.out): Remove rule.
22873         * config.make.in (build-bounded): Remove variable.
22874         * crypt/Makefile [$(build-bounded) = yes]
22875         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22876         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22877         append to variable.
22878         [$(build-bounded) = yes] (install-lib): Likewise.
22879         [$(build-bounded) = yes] (generated): Likewise.
22880         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22881         Remove rule.
22882         * intl/Makefile [$(build-bounded) = yes]
22883         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22884         * math/Makefile [$(build-bounded) = yes]
22885         ($(tests:%=$(objpfx)%-bp): Likewise.
22886         * misc/Makefile [$(build-bounded) = yes]
22887         ($(objpfx)tst-tsearch-bp): Likewise.
22888         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22889         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22890         Remove dependency.
22891         * string/Makefile (o-objects.ob): Remove variable.
22892         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22893         (CFLAGS-.ob): Remove variable.
22894         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22895         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22896         both definitions of variable.
22897         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22898         (ASFLAGS-.ob): Remove variable.
22899
22900 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22901
22902         [BZ #13550]
22903         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22904         Remove __BOUNDED_POINTERS__ from condition.
22905         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22906         * string/bits/string2.h [!__NO_STRING_INLINES &&
22907         !__BOUNDED_POINTERS__]: Likewise.
22908         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22909         Likewise.
22910         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22911         Remove conditional code.
22912         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22913         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22914         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22915         condition.
22916
22917         [BZ #13550]
22918         * csu/libc-start.c: Do not include <bp-sym.h>.
22919         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22920         * elf/dl-open.c: Do not include <bp-sym.h>.
22921         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22922         * math/fegetenv.c: Do not include <bp-sym.h>.
22923         (fegetenv): Do not use BP_SYM in versioned symbols.
22924         * nptl/sysdeps/pthread/bits/libc-lockP.h
22925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22926         <bp-sym.h>.
22927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22928         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22930         (__pthread_mutex_destroy): Likewise.
22931         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22932         (__pthread_mutex_lock): Likewise.
22933         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22934         (__pthread_mutex_trylock): Likewise.
22935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22936         (__pthread_mutex_unlock): Likewise.
22937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22938         (__pthread_mutexattr_init): Likewise.
22939         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22940         (__pthread_mutexattr_destroy): Likewise.
22941         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22942         (__pthread_mutexattr_settype): Likewise.
22943         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22944         (__pthread_rwlock_init): Likewise.
22945         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22946         (__pthread_rwlock_destroy): Likewise.
22947         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22948         (__pthread_rwlock_rdlock): Likewise.
22949         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22950         (__pthread_rwlock_tryrdlock): Likewise.
22951         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22952         (__pthread_rwlock_wrlock): Likewise.
22953         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22954         (__pthread_rwlock_trywrlock): Likewise.
22955         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22956         (__pthread_rwlock_unlock): Likewise.
22957         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22958         (__pthread_key_create): Likewise.
22959         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22960         (__pthread_setspecific): Likewise.
22961         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22962         (__pthread_getspecific): Likewise.
22963         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22964         Likewise.
22965         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22966         (_pthread_cleanup_push_defer): Likewise.
22967         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22968         (_pthread_cleanup_pop_restore): Likewise.
22969         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22970         (pthread_setcancelstate): Likewise.
22971         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22972         <bp-sym.h>.
22973         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22974         (memchr): Do not use BP_SYM in weak_alias.
22975         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22976         (fegetenv): Do not use BP_SYM in versioned symbols.
22977         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22978         (fesetenv): Do not use BP_SYM in versioned symbols.
22979         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22980         (feupdateenv): Do not use BP_SYM in versioned symbols.
22981         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22982         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22983         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22984         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22985         (open64): Do not use BP_SYM in weak_alias.
22986         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22987         (fegetenv): Do not use BP_SYM in versioned symbols.
22988         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22989         (fesetenv): Do not use BP_SYM in versioned symbols.
22990         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22991         (feupdateenv): Do not use BP_SYM in versioned symbols.
22992         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22993         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22994         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22995         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22996         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22997         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22998         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22999         <bp-sym.h>.
23000         (__libc_start_main): Do not use BP_SYM.
23001
23002 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23003
23004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23005         redundant return line.
23006         (norm): Likewise.
23007         (denorm): Likewise.
23008         (dbl_mp): Likewise.
23009         (sub_magnitudes): Likewise.
23010         (__add): Likewise.
23011         (__sub): Likewise.
23012         (__mul): Likewise.
23013         (__inv): Likewise.
23014         (__dvd): Likewise.
23015         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23016         (norm): Likewise.
23017         (denorm): Likewise.
23018         (dbl_mp): Likewise.
23019         (sub_magnitudes): Likewise.
23020         (__add): Likewise.
23021         (__sub): Likewise.
23022         (__mul): Likewise.
23023         (__inv): Likewise.
23024         (__dvd): Likewise.
23025
23026         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23027         instead of __mul.
23028         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23029         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23030         (cc32): Likewise.
23031
23032         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23033         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23034         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23035         of __mul for squares.
23036         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23037         function
23038         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23039         Likewise.
23040         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23041         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23042
23043 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23044
23045         [BZ #13550]
23046         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23047         code.
23048         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23049         prototype or function definition.  Rename ubp_* variables and
23050         parameters.  Remove argv definitions conditional on
23051         [__BOUNDED_POINTERS__].
23052         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23053         * elf/dl-runtime.c (_dl_fixup): Likewise.
23054         * include/set-hooks.h (RUN_HOOK): Likewise.
23055         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23056         definition.
23057         * string/strcpy.c (strcpy): Do not use __unbounded.
23058         * sysdeps/generic/frame.h (struct layout): Likewise.
23059         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23060         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23061         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23062         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23063         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23064         (__backtrace): Likewise.
23065         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23066         use __ptrvalue.
23067         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23068         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23069         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23070         Likewise.
23071         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23072         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23073         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23074         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23075         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23076         Do not use __unbounded.
23077         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23078         Rename __unboundedrlimits parameter to rlimits in prototype.
23079         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23080         Do not use __unbounded.
23081         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23082         not use __ptrvalue.
23083         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23084         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23085         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23086         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23087         __ptrvalue or __unbounded.
23088         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23089         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23090         use __unbounded.
23091         (__new_msgctl): Do not use __ptrvalue.
23092         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23093         __unbounded.
23094         (__libc_msgrcv): Do not use __ptrvalue.
23095         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23096         startup_info): Do not use __unbounded.
23097         (__libc_start_main): Likewise.  Rename ubp_* variables and
23098         parameters.  Remove argv definitions conditional on
23099         [__BOUNDED_POINTERS__].
23100         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23101         __ptrvalue.
23102         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23103         use __unbounded.
23104         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23105         or __ptrvalue.
23106         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23107         use __unbounded.
23108         (__new_shmctl): Do not use __ptrvalue.
23109         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23110         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23111         Likewise.
23112         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23113         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23114         (__libc_sigaction): Likewise.
23115         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23116         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23117         Likewise.
23118         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23119
23120 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23121
23122         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23123
23124         * string/mempcpy.c: Implement by calling memcpy.
23125
23126 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23127
23128         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23129
23130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23131         evaluation.
23132
23133         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23134         values in the mantissa.
23135
23136         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23137         minimize writes to Z.
23138         (sub_magnitudes): Simplify code a bit.
23139
23140 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23141
23142         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23143         from the message.  The linker prefixes all warnings with that already.
23144
23145 2013-02-12  Andreas Schwab  <schwab@suse.de>
23146
23147         [BZ #15078]
23148         * posix/regexec.c (extend_buffers): Add parameter min_len.
23149         (check_matching): Pass minimum needed length.
23150         (clean_state_log_if_needed): Likewise.
23151         (get_subexp): Likewise.
23152         * posix/Makefile (tests): Add bug-regex34.
23153         (bug-regex34-ENV): Define.
23154         * posix/bug-regex34.c: New file.
23155
23156         [BZ #11561]
23157         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23158         elements compare against the byte sequence of it, not its name.
23159         * posix/Makefile (tests): Add bug-regex35.
23160         (bug-regex35-ENV): Define.
23161         * posix/bug-regex35.c: New file.
23162
23163 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23164
23165         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23166         comment.
23167         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23168         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23169         (CHECK_EOL): Add undef.
23170
23171 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23172
23173         * bits/stdlib-bsearch.h: New file.
23174         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23175         * stdlib/stdlib.h: Likewise.
23176
23177 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23178
23179         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23180         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23181         declaration.
23182         * manual/search.texi (Array Search Function): Add missing const in
23183         lfind prototype.
23184         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23185         declaration to use rlim_t.
23186         (Basic Scheduling Functions): Remove erroneous const from
23187         sched_getparam prototype.  Remove erroneous * from
23188         sched_get_priority_max and sched_get_priority_min prototypes.
23189         (Resource Usage): Fix summary @comment on vtimes to refer to
23190         sys/vtimes.h rather than vtimes.h.
23191         Add missing *s in vtimes prototype.
23192         (Limits on Resources): Fix ulimit prototype to return long int.
23193         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23194         prototypes to use long int rather than double.
23195         (BSD Random): Fix initstate and setstate to use char *, not void *.
23196         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23197         prototype to make second argument 'struct aiocb64 *const[]'.
23198         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23199         (Status of AIO Operations): Remove erroneous const in aio_return and
23200         aio_return64 prototypes.
23201         (Synchronizing I/O): Fix sync prototype to return void.
23202         * manual/startup.texi (Suboptions): Remove an erroneous const in
23203         getsubopt prototype.
23204         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23205         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23206         use size_t rather than int.
23207         (Scanning All Users): Likewise for getpwent_r.
23208         (Setting Groups): Add missing const to setgroups prototype.
23209         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23210         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23211         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23212         'const void *' rather than 'const char *'.
23213         (Host Address Functions): Likewise for inet_ntop.
23214         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23215         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23216         ssize_t for return value.
23217         (Sending Data): Likewise for send, sendto, sendmsg.
23218         (Socket Option Functions): Add a missing const in setsockopt prototype.
23219         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23220         use wchar_t for the argument.
23221         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23222         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23223         take no arguments.
23224         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23225         double/float/long double for second argument.
23226         Fix return types of significand, significandf, significandl.
23227         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23228         argument in fchmod prototype.
23229         (File Owner): Use uid_t and gid_t in fchown prototype.
23230         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23231         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23232         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23233         use 'const struct dirent **' as argument types to CMP function pointer
23234         argument.
23235         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23236         (File Times): Fix summary magic @comment for struct utimbuf and utime
23237         to refer to utime.h, not time.h.
23238         * manual/string.texi (Argz Functions): Add missing const in
23239         argz_extract and argz_next prototypes.
23240         (Finding Tokens in a String): Likewise for basename.
23241         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23242         (Copying and Concatenation): Fix typo in wmemmove prototype.
23243         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23244         (Signal Stack): Remove erroneous const in sigstack prototype.
23245         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23246         prototype.
23247         (Simple Calendar Time): Likewise for stime.
23248         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23249         prototype.
23250         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23251         say sys/sysctl.h instead.
23252         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23253         and vsyslog prototypes.
23254
23255 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23256
23257         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23258         Remove.
23259
23260 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23261
23262         * misc/sys/mman.h: Fix typo in mremap comment.
23263
23264 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23265
23266         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23267         the '\0' terminator.
23268
23269 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23270
23271         [BZ #13550]
23272         * debug/segfault.c: Don't include <bp-checks.h>.
23273         * sysdeps/generic/bp-checks.h: Remove file.
23274         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23275         (__GETDENTS): Don't use CHECK_N.
23276         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23277         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23278         (__getgroups): Don't use CHECK_N.
23279         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23280         (setgroups): Don't use CHECK_N.
23281         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23282         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23283         (__libc_msgrcv): Don't use CHECK_N.
23284         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23285         (__libc_msgsnd): Don't use CHECK_N.
23286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23287         <bp-checks.h>.
23288         (__libc_pread): Don't use CHECK_N.
23289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23290         include <bp-checks.h>.
23291         (__libc_pread64): Don't use CHECK_N.
23292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23293         include <bp-checks.h>.
23294         (__libc_pwrite): Don't use CHECK_N.
23295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23296         include <bp-checks.h>.
23297         (__libc_pwrite64): Don't use CHECK_N.
23298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23299         <bp-checks.h>.
23300         (__libc_pread): Don't use CHECK_N.
23301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23302         include <bp-checks.h>.
23303         (__libc_pread64): Don't use CHECK_N.
23304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23305         include <bp-checks.h>.
23306         (__libc_pwrite): Don't use CHECK_N.
23307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23308         include <bp-checks.h>.
23309         (__libc_pwrite64): Don't use CHECK_N.
23310         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23311         (do_pread): Don't use CHECK_N.
23312         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23313         (do_pread64): Don't use CHECK_N.
23314         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23315         (do_pwrite): Don't use CHECK_N.
23316         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23317         (do_pwrite64): Don't use CHECK_N.
23318         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23319         (__libc_readv): Don't use CHECK_N.
23320         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23321         (semop): Don't use CHECK_N.
23322         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23323         <bp-checks.h>.
23324         (semtimedop): Don't use CHECK_N.
23325         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23326         (__libc_pread): Don't use CHECK_N.
23327         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23328         <bp-checks.h>.
23329         (__libc_pread64): Don't use CHECK_N.
23330         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23331         <bp-checks.h>.
23332         (__libc_pwrite): Don't use CHECK_N.
23333         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23334         <bp-checks.h>.
23335         (__libc_pwrite64): Don't use CHECK_N.
23336         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23337         <bp-checks.h>.
23338         (__libc_msgrcv): Don't use CHECK_N.
23339         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23340         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23341         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23342         (__libc_writev): Don't use CHECK_N.
23343
23344 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23345
23346         * string/strcpy.c: Removed unused variable.
23347
23348         * Makeconfig (+sysdep-includes): Define with := rather than =.
23349         Use an existing include/ subdir of each sysdeps dir before it.
23350
23351 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23352
23353         * nscd/connection.c (register_traced_file): Comment function.
23354         [HAVE_INOTIFY] (union __inev): Define.
23355         [HAVE_INOTIFY] (inotify_check_files): New function.
23356         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23357         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23358         clear_db_cache.
23359         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23360
23361 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23362
23363         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23364         loaded if not already and that a failure is permanent.
23365
23366 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23367
23368         [BZ #15006]
23369         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23370         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23371
23372 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23373
23374         [BZ #13550]
23375         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23376         (CHECK_1_NULL_OK): Likewise.
23377         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23378         (__fxstat): Do not use CHECK_1.
23379         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23380         <bp-checks.h>.
23381         (___fxstat64): Do not use CHECK_1.
23382         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23383         <bp-checks.h>.
23384         (__fxstatat): Do not use CHECK_1.
23385         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23386         <bp-checks.h>.
23387         (__fxstatat64): Do not use CHECK_1.
23388         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23389         <bp-checks.h>.
23390         (__fxstat): Do not use CHECK_1.
23391         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23392         <bp-checks.h>.
23393         (__fxstatat): Do not use CHECK_1.
23394         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23395         <bp-checks.h>.
23396         (__getresgid): Do not use CHECK_1.
23397         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23398         <bp-checks.h>.
23399         (__getresuid): Do not use CHECK_1.
23400         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23401         <bp-checks.h>.
23402         (__lxstat): Do not use CHECK_1.
23403         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23404         <bp-checks.h>.
23405         (__old_msgctl): Do not use CHECK_1.
23406         (__new_msgctl): Likewise.
23407         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23408         <bp-checks.h>.
23409         (__new_setrlimit): Do not use CHECK_1.
23410         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23411         <bp-checks.h>.
23412         (__old_shmctl): Do not use CHECK_1.
23413         (__new_shmctl): Likewise.
23414         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23415         <bp-checks.h>.
23416         (__xstat): Do not use CHECK_1.
23417         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23418         (__lxstat): Do not use CHECK_1.
23419         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23420         <bp-checks.h>.
23421         (___lxstat64): Do not use CHECK_1.
23422         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23423         (__old_msgctl): Do not use CHECK_1.
23424         (__new_msgctl): Likewise.
23425         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23426         <bp-checks.h>.
23427         (__gettimeofday): Do not use CHECK_1.
23428         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23429         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23430         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23431         <bp-checks.h>.
23432         (__gettimeofday): Do not use CHECK_1.
23433         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23434         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23435         (__new_shmctl): Do not use CHECK_1.
23436         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23437         <bp-checks.h>.
23438         (do_sigtimedwait): Do not use CHECK_1.
23439         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23440         <bp-checks.h>.
23441         (do_sigwaitinfo): Do not use CHECK_1.
23442         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23443         <bp-checks.h>.
23444         (msgctl): Do not use CHECK_1.
23445         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23446         <bp-checks.h>.
23447         (shmctl): Do not use CHECK_1.
23448         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23449         (ustat): Do not use CHECK_1.
23450         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23451         <bp-checks.h>.
23452         (__fxstat): Do not use CHECK_1.
23453         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23454         <bp-checks.h>.
23455         (__fxstatat): Do not use CHECK_1.
23456         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23457         <bp-checks.h>.
23458         (__lxstat): Do not use CHECK_1.
23459         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23460         <bp-checks.h>.
23461         (__xstat): Do not use CHECK_1.
23462         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23463         (__xstat): Do not use CHECK_1.
23464         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23465         (___xstat64): Do not use CHECK_1.
23466
23467         [BZ #13550]
23468         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23469         definitions.
23470         (CHECK_BOUNDS_HIGH): Likewise.
23471         * string/strcpy.c: Do not include <bp-checks.h>.
23472         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23473
23474 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23475
23476         * nscd/nscd-client.h (__nscd_drop_map_ref):
23477         Add __attribute__ ((unused)).
23478         * nis/nss-nisplus.h (niserr2nss): Likewise.
23479
23480         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23481         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23482
23483         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23484         Remove inline keyword.
23485         * include/rounding-mode.h (round_away): Likewise.
23486         * libio/wfileops.c (adjust_wide_data): Likewise.
23487         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23488         (__m128i_strloadu_tolower): Likewise.
23489         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23490         (__m128i_strloadu_tolower): Likewise.
23491         * time/mktime.c (ydhms_diff): Likewise.
23492         * locale/elem-hash.h (elem_hash): Likewise.
23493         * locale/setlocale.c (setdata): Likewise.
23494         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23495         (re_string_wchar_at): Likewise.
23496         (bitset_not, bitset_merge, bitset_mask): Likewise.
23497         [!(__GNUC__ > 3)] (inline): Remove macro.
23498         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23499         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23500         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23501         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23502         * string/memcmp.c (memcmp_bytes): Likewise.
23503         * locale/programs/locarchive.c (compute_hashval): Likewise.
23504         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23505         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23506         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23507         * nss/getent.c (print_rpc, print_protocols): Likewise.
23508         (print_passwd, print_group, print_aliases): Likewise.
23509         * nis/nss-nisplus.h (niserr2nss): Likewise.
23510         * nscd/connections.c (restart_p): Likewise.
23511         Change return type to bool.
23512
23513 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23514
23515         * Makeconfig (all-Depend-files): Add existing
23516         $(sorted-subdirs:=/Depend) files.
23517         (all-subdirs): Remove nss.
23518         * sysdeps/unix/inet/Subdirs: Add it here instead.
23519         * hesiod/Depend: New file.
23520
23521         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23522         instead of calling alloca.
23523
23524         * io/lseek.c (__lseek): Rename to __libc_lseek.
23525         Define __lseek as an alias.
23526
23527         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23528
23529 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23530
23531         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23532         else clause and remove check for non-standard endianness.
23533
23534 2013-02-04  David S. Miller  <davem@davemloft.net>
23535
23536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23537
23538 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23539
23540         [BZ #13550]
23541         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23542         (__ubp_memchr): Remove prototype.
23543         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23544         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23545         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23546         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23547         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23548         Remove alias.
23549         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23550         (__ubp_memchr): Likewise.
23551         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23552         (__ubp_memchr): Likewise.
23553         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23554         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23555         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23556         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23557         CHECK_STRING.
23558         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23559         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23560         (__getcwd): Do not use CHECK_STRING.
23561         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23562         <bp-checks.h>.
23563         (__real_chown): Do not use CHECK_STRING.
23564         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23565         <bp-checks.h>.
23566         (fchownat): Do not use CHECK_STRING.
23567         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23568         CHECK_STRING.
23569         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23570         <bp-checks.h>.
23571         (__lchown): Do not use CHECK_STRING.
23572         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23573         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23574         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23575         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23577         include <bp-checks.h>.
23578         (truncate64): Do not use CHECK_STRING.
23579         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23580         <bp-checks.h>.
23581         (__real_chown): Do not use CHECK_STRING.
23582         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23583         <bp-checks.h>.
23584         (__lchown): Do not use CHECK_STRING.
23585         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23586         <bp-checks.h>.
23587         (__chown): Do not use CHECK_STRING.
23588         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23589         <bp-checks.h>.
23590         (truncate64): Do not use CHECK_STRING.
23591         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23592         Likewise.
23593         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23594         (__xmknod): Do not use CHECK_STRING.
23595         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23596         <bp-checks.h>.
23597         (__xmknodat): Do not use CHECK_STRING.
23598         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23599         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23600
23601 2013-02-04  Andreas Schwab  <schwab@suse.de>
23602
23603         [BZ #14142]
23604         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23605         * include/netdb.h: Likewise for h_errno.
23606         * elf/tst-stackguard1.c: Include <tls.h>.
23607
23608 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23609
23610         * elf/link.h (struct link_map): Extend the l_addr comment.
23611         * include/link.h (struct link_map): Likewise.
23612
23613 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23614
23615         [BZ #13550]
23616         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23617         (BOUNDED_1): Remove macro.
23618         * debug/backtrace.c: Don't include <bp-checks.h>.
23619         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23620         (__backtrace): Likewise.
23621         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23622         <bp-checks.h>.
23623         (__backtrace): Don't use BOUNDED_1.
23624         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23625         <bp-checks.h>.
23626         (__backtrace): Don't use BOUNDED_1.
23627         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23628         (__backtrace): Don't use BOUNDED_1.
23629         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23630         (shmat): Don't use BOUNDED_N.
23631
23632 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23633
23634         [BZ #13550]
23635         * sysdeps/generic/bp-start.h: Remove file.
23636         * csu/libc-start.c: Don't include <bp-start.h>.
23637         (LIBC_START_MAIN): Set up __environ directly instead of using
23638         INIT_ARGV_and_ENVIRON.
23639         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23640         <bp-start.h>.
23641
23642         [BZ #13550]
23643         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23644         definitions.
23645         (CHECK_FCNTL): Likewise.
23646         (CHECK_N_PAGES): Likewise.
23647
23648         [BZ #13550]
23649         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23650         definitions.
23651         (CHECK_SIGSET_NULL_OK): Likewise.
23652         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23653         <bp-checks.h>.
23654         (sigpending): Don't use CHECK_SIGSET.
23655         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23656         <bp-checks.h>.
23657         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23658         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23659         <bp-checks.h>.
23660         (do_sigsuspend): Don't use CHECK_SIGSET.
23661         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23662         use CHECK_SIGSET.
23663         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23664         (do_sigwait): Don't use CHECK_SIGSET.
23665         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23666         use CHECK_SIGSET.
23667         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23668         include <bp-checks.h>.
23669         (sigpending): Don't use CHECK_SIGSET.
23670         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23671         include <bp-checks.h>.
23672         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23673         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23674         <bp-checks.h>.
23675         (sigpending): Don't use CHECK_SIGSET.
23676         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23677         <bp-checks.h>.
23678         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23679
23680         [BZ #13550]
23681         * sysdeps/generic/bp-semctl.h: Remove file.
23682         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23683         <bp-checks.h> and <bp-semctl.h>.
23684         (__old_semctl): Don't use CHECK_SEMCTL.
23685         (__new_semctl): Likewise.
23686         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23687         and <bp-semctl.h>.
23688         (__old_semctl): Don't use CHECK_SEMCTL.
23689         (__new_semctl): Likewise.
23690         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23691         <bp-checks.h> and <bp-semctl.h>.
23692         (__old_semctl): Don't use CHECK_SEMCTL.
23693         (__new_semctl): Likewise.
23694         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23695         <bp-checks.h> and <bp-semctl.h>.
23696         (semctl): Don't use CHECK_SEMCTL.
23697
23698         [BZ #13550]
23699         * Makerules (elide-bp-thunks): Remove variable.
23700         (elide-routines.oS): Don't use $(elide-bp-thunks).
23701         (elide-routines.os): Likewise.
23702         (elide-routines.o): Likewise.
23703         (elide-routines.op): Likewise.
23704         (elide-routines.og): Likewise.
23705         (objects): Don't use $(bp-thunks).
23706         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23707         include.
23708         (common-generated): Do not add s-proto-bp.d.
23709         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23710         (int): Likewise.
23711         (typ): Likewise.
23712         Do not generate makefile rules for bounded-pointer thunks.
23713         * sysdeps/generic/bp-thunks.h: Remove file.
23714         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23715         * sysdeps/unix/s-proto-bp.S: Likewise.
23716
23717         [BZ #15062]
23718         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23719         parts of result separately when argument is not close to line from
23720         -i to i and one part of argument is small.
23721         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23722         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23723         * math/libm-test.inc (cacos_test): Add more tests.
23724         (casin_test): Likewise.
23725         (casinh_test): Likewise.
23726         * sysdeps/i386/fpu/libm-test-ulps: Update.
23727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23728
23729 2013-01-31  David S. Miller  <davem@davemloft.net>
23730
23731         * po/de.po: Update from translation team.
23732
23733 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23734
23735         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23736
23737 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23738
23739         * configure.in (_AC_PROG_CC_C89): New definition.
23740         * configure: Regenerate.
23741
23742         * configure.in (AC_PROG_CPP): New definition.
23743         * configure: Regenerate.
23744
23745 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23746
23747         * debug/tst-backtrace.h: New file.
23748         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23749         (ret): Remove variable.
23750         (x): Likewise.
23751         (FAIL): Remove macro.
23752         (NO_INLINE): Likewise.
23753         (fn1): Use match function instead of strstr.
23754         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23755         (ret): Remove variable.
23756         (x): Likewise.
23757         (FAIL): Remove macro.
23758         (NO_INLINE): Likewise.
23759         (fn): Use match function instead of strstr.
23760         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23761         (ret): Remove variable.
23762         (x): Likewise.
23763         (FAIL): Remove macro.
23764         (NO_INLINE): Likewise.
23765         (handle_signal): Use match function instead of strstr.
23766         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23767         (ret): Remove variable.
23768         (x): Likewise.
23769         (FAIL): Remove macro.
23770         (NO_INLINE): Likewise.
23771         (handle_signal): Use match function instead of strstr.
23772
23773 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23774
23775         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23776
23777 2013-01-23  David S. Miller  <davem@davemloft.net>
23778
23779         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23780         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23781         argument of CAS if possible.
23782         * sysdeps/sparc/sparc64/bits/atomic.h
23783         (__arch_compare_and_exchange_val_32_acq): Likewise.
23784         (__arch_compare_and_exchange_val_64_acq): Likewise.
23785
23786 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23787
23788         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23789         * sysdeps/posix/ulimit.c: ... this.
23790         Include <limits.h>.
23791         * sysdeps/unix/bsd/ulimit.c: Remove file.
23792
23793 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23794
23795         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23796         (LDFLAGS-tst-array5): Likewise.
23797
23798 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23799
23800         [BZ #15036]
23801         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23802         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23803         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23804         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23805
23806 2013-01-21  David S. Miller  <davem@davemloft.net>
23807
23808         * sysdeps/sparc/backtrace.c: New file.
23809         * sysdeps/sparc/sparc32/backtrace.h: New file.
23810         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23811         * sysdeps/sparc/sparc64/backtrace.h: New file.
23812         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23813         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23814         -funwind-tables.
23815
23816 2013-01-21  Andreas Schwab  <schwab@suse.de>
23817
23818         [BZ #15020]
23819         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23820         closed its stdout.
23821
23822 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23823
23824         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23825         "mpa2.h".
23826         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23827
23828 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23829             Mark Mitchell  <mark@codesourcery.com>
23830             Tom de Vries  <tom@codesourcery.com>
23831             Paul Pluzhnikov  <ppluzhnikov@google.com>
23832
23833         * debug/tst-backtrace2.c: New file.
23834         * debug/tst-backtrace3.c: Likewise.
23835         * debug/tst-backtrace4.c: Likewise.
23836         * debug/tst-backtrace5.c: Likewise.
23837         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23838         (CFLAGS-tst-backtrace3.c): Likewise.
23839         (CFLAGS-tst-backtrace4.c): Likewise.
23840         (CFLAGS-tst-backtrace5.c): Likewise.
23841         (LDFLAGS-tst-backtrace2): Likewise.
23842         (LDFLAGS-tst-backtrace3): Likewise.
23843         (LDFLAGS-tst-backtrace4): Likewise.
23844         (LDFLAGS-tst-backtrace5): Likewise.
23845         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23846         tst-backtrace4 and tst-backtrace5.
23847
23848 2013-01-18  Anton Blanchard  <anton@samba.org>
23849             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23850
23851         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23852         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23853         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23854         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23856         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23857         "+r" and remove output regs list as redundant.  Add explicit inline
23858         asm to specify register of return val to work around compiler codegen
23859         bug.  Remove (int) cast on return value.  Add return type parameter to
23860         use in macro so that this macro does not truncate return value for
23861         64-bit values.
23862         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23863         pass to INTERNAL_VSYSCALL_NCS.
23864         (INLINE_VSYSCALL): Add 'long int' as return type to
23865         INTERNAL_VSYSCALL_NCS macro invocation.
23866         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23867         INTERNAL_VSYSCALL_NCS macro invocation.
23868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23869
23870 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23871
23872         [BZ #14496]
23873         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23874         Fix application of SIMD FP exception mask.
23875
23876         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23877         mp_no from a power of two.
23878         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23879         __mpexp_twomm1.  Use __pow_mp.
23880
23881         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23882         multiplication.
23883
23884 2013-01-17  David S. Miller  <davem@davemloft.net>
23885
23886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23887
23888 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23889
23890         [BZ #15023]
23891         * include/complex.h: Condition contents on [!_COMPLEX_H].
23892         (__kernel_casinhf): New prototype.
23893         (__kernel_casinh): Likewise.
23894         (__kernel_casinhl): Likewise.
23895         * math/Makefile (libm_calls): Add k_casinh.
23896         * math/k_casinh.c: New file.
23897         * math/k_casinhf.c: Likewise.
23898         * math/k_casinhl.c: Likewise.
23899         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23900         finite nonzero arguments.
23901         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23902         finite nonzero arguments.
23903         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23904         finite nonzero arguments.
23905         * math/s_casinh.c: Do not include <float.h>.
23906         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23907         * math/s_casinhf.c: Do not include <float.h>.
23908         (__casinhf): Move code for finite nonzero arguments to
23909         k_casinhf.c.
23910         * math/s_casinhl.c: Do not include <float.h>.
23911         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23912         redefine.
23913         (__casinhl): Move code for finite nonzero arguments to
23914         k_casinhl.c.
23915         * math/libm-test.inc (cacos_test): Add more tests.
23916         * sysdeps/i386/fpu/libm-test-ulps: Update.
23917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23918
23919 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23920
23921         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23922         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23923         [!HAVE_MREMAP]: Remove [defined linux] case.
23924         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23925
23926 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23927
23928         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23929
23930 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23931
23932         * elf/elf.h (R_386_SIZE32): New relocation.
23933         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23934         R_386_SIZE32.
23935         (elf_machine_rela): Likewise.
23936         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23937         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23938
23939 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23940
23941         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23942         (FP_FAST_FMA): Do not define.
23943         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23944         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23945         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23946         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23947         !_SOFT_FLOAT]: Likewise.
23948         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23949         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23950         value.
23951         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23952         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23953         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23954         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23955         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23956         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23957         file.
23958
23959 2013-01-16  Andreas Schwab  <schwab@suse.de>
23960
23961         [BZ #14327]
23962         * include/stdlib.h (__mktemp): Add declaration.
23963         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23964         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23965
23966 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23967
23968         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23969         definitions.
23970         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23971         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23972         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23973         definitions here.
23974         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23975         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23976         definitions.
23977         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23978         and ONE.
23979         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23980         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23981         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23982         definitions.
23983         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23984         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23985         definitions.
23986         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23987
23988         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23989
23990 2013-01-15  David S. Miller  <davem@davemloft.net>
23991
23992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23993         trunc{,f} to libm-sysdep_routes.
23994         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23996         file.
23997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23999         file.
24000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24001         file.
24002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24004         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24005         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24006         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24007         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24008         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24009         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24010
24011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24012         nearbyint{,f} to libm-sysdep_routes.
24013         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24015         New file.
24016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24017         file.
24018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24019         New file.
24020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24021         file.
24022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24024         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24025         file.
24026         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24027         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24028         file.
24029         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24030         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24031         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24032
24033         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24034         libc_feholdexcept and libc_fesetenv.
24035
24036 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24037
24038         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24039
24040 2013-01-14  David S. Miller  <davem@davemloft.net>
24041
24042         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24043         (SPARC_ASM_VIS2_IFUNC): Likewise.
24044         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24046         use of 'siam' instruction.
24047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24048         Likewise.
24049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24050         Likewise.
24051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24052         Likewise.
24053         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24054         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24055         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24056         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24058         file.
24059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24060         file.
24061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24062         file.
24063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24064         file.
24065         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24066         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24067         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24068         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24070         new VIS2 routines.
24071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24074         Likewise.
24075         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24076         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24077         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24078         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24080         routines to libm-sysdep_routines.
24081         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24082
24083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24084         fdim/fdimf to libm-sysdep_routines.
24085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24086         file.
24087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24089         file.
24090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24093         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24094         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24095         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24096         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24097
24098 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24099
24100         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24101         to optimize copies.
24102
24103         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24104         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24105         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24106
24107         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24108         local variable MPTWO.
24109         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24110         Likewise.
24111
24112 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24113
24114         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24115         GLOB_NOESCAPE.
24116
24117 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24118
24119         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24120
24121 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24122
24123         * manual/pattern.texi (glob_t): Document gl_flags.
24124         (glob64_t): Likewise.
24125
24126 2013-01-11  David S. Miller  <davem@davemloft.net>
24127
24128         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24129         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24130         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24131         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24132         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24133         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24134         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24135         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24136         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24137         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24138         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24139         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24140         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24141
24142         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24143         sparc V9 rather than using V8 code.
24144         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24145         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24146
24147         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24148         Move to...
24149         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24150         Here.
24151
24152 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24153
24154         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24155         not in the main loop.
24156         * configure: Regenerated.
24157
24158 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24159
24160         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24161         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24162         to just #else.
24163         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24164         [!__GLIBC_HAVE_LONG_LONG] case.
24165         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24166         condition to just #else.
24167         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24168         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24169         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24170         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24171         unconditional.
24172         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24173         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24174         #elif condition to just #else.
24175         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24176         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24177         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24178         #elif condition to just #else.
24179
24180 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24181
24182         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24183         (EF_MIPS_ARCH_64): Fix value.
24184         (EF_MIPS_ARCH_32R2): New.
24185         (EF_MIPS_ARCH_64R2): New.
24186
24187 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24188
24189         * Makeconfig (+link-pie-before-libc): New.
24190         (+link-pie-after-libc): Likewise.
24191         (+link-pie-tests): Likewise.
24192         (+link-pie): Rewritten.
24193         (link-before-libc): Remove $(config-LDFLAGS).
24194         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24195         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24196         (config-LDFLAGS): Renamed to ...
24197         (rtld-LDFLAGS): This.
24198         (rtld-tests-LDFLAGS): New macro.
24199         (link-libc-rpath-link): Likewise.
24200         (link-libc-tests-rpath-link): Likewise.
24201         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24202         (link-libc): Prepand $(link-libc-rpath-link).
24203         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24204         (test-program-prefix): New macro.
24205         (test-via-rtld-prefix): Likewise.
24206         (test-program-cmd): Likewise.
24207         (host-test-program-cmd): Likewise.
24208         * Makefile ($(common-objpfx)testrun.sh): Replace
24209         $(run-program-prefix) with $(test-program-prefix).
24210         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24211         $(rtld-LDFLAGS).
24212         ($(common-objpfx)shlib.lds): Likewise.
24213         (build-module-helper): Likewise.
24214         ($(common-objpfx)format.lds): Likewise.
24215         * Rules (binaries-pie-tests): New.
24216         (binaries-pie-notests): Likewise.
24217         (binaries-pie): Rewritten.
24218         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24219         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24220         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24221         (make-test-out): Replace $(host-built-program-cmd) with
24222         $(host-test-program-cmd).
24223         * config.make.in (build-hardcoded-path-in-tests): New variable.
24224         * configure.in (--enable-hardcoded-path-in-tests): New configure
24225         option.
24226         (hardcoded_path_in_tests): New AC_SUBST.
24227         * configure: Regenerated.
24228         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24229         $(built-program-cmd) with $(test-program-cmd).
24230         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24231         (test_program_cmd): This.
24232         * elf/Makefile ($(objpfx)order.out): Run test with
24233         $(test-program-prefix).
24234         ($(objpfx)order2.out): Likewise.
24235         ($(objpfx)tst-initorder.out): Likewise.
24236         ($(objpfx)tst-initorder2.out): Likewise.
24237         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24238         $(test-program-cmd).
24239         ($(objpfx)tst-array1-static.out): Likewise.
24240         ($(objpfx)tst-array2.out): Likewise.
24241         ($(objpfx)tst-array3.out): Likewise.
24242         ($(objpfx)tst-array4.out): Likewise.
24243         ($(objpfx)tst-array5.out): Likewise.
24244         ($(objpfx)tst-array5-static.out): Likewise.
24245         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24246         $(test-program-cmd).
24247         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24248         $(run-program-prefix) with $(test-program-prefix).
24249         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24250         (test_program_prefix): This.
24251         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24252         $(run-program-prefix) with $(test-program-prefix).
24253         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24254         (test_program_prefix): This.
24255         * iconvdata/tst-tables.sh: Likewise.
24256         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24257         $(run-program-prefix) with $(test-program-prefix).
24258         ($(objpfx)tst-translit.out): Likewise.
24259         ($(objpfx)tst-gettext2.out): Likewise.
24260         ($(objpfx)tst-gettext4.out): Likewise.
24261         ($(objpfx)tst-gettext6.out): Likewise.
24262         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24263         (test_program_prefix): This.
24264         * intl/tst-gettext2.sh: Likewise.
24265         * intl/tst-gettext4.sh  Likewise.
24266         * intl/tst-gettext6.sh: Likewise.
24267         * intl/tst-translit.sh: Likewise.
24268         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24269         with $(test-program-cmd).
24270         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24271         $(run-program-prefix) with $(test-program-prefix).
24272         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24273         (test_program_prefix): This.
24274         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24275         $(run-program-prefix) with $(test-program-prefix).
24276         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24277         (test_program_prefix): This.
24278         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24279         * posix/Makefile ($(objpfx)globtest.out): Replace
24280         $(run-via-rtld-prefix) and $(test-wrapper) with
24281         $(test-program-prefix) and $(test-via-rtld-prefix).
24282         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24283         $(test-program-prefix).
24284         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24285         $(host-test-program-cmd).
24286         (tst-spawn-ARGS): Likewise.
24287         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24288         $(test-program-prefix).
24289         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24290         (test_via_rtld_prefix): This.
24291         (test_wrapper): Renamed to ...
24292         (test_program_prefix): This.
24293         (run_program_prefix): Replaced by test_program_prefix.
24294         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24295         (test_program_prefix): This.
24296         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24297         with $(host-test-program-cmd).
24298         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24299         $(run-program-prefix) with $(test-program-prefix).
24300         ($(objpfx)tst-printf.out): Likewise.
24301         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24302         $(test-program-cmd).
24303         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24304         (test_program_prefix): This.
24305         * stdio-common/tst-unbputc.sh: Likewise.
24306         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24307         $(run-program-prefix) with $(test-program-prefix).
24308         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24309         (test_program_prefix): This.
24310         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24311         $(built-program-cmd) with $(test-program-cmd).
24312
24313 2013-01-11  Andreas Jaeger  <aj@suse.de>
24314
24315         [BZ #15003]
24316         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24317         value. Sync with Linux 3.7.
24318
24319 2013-01-10  David S. Miller  <davem@davemloft.net>
24320
24321         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24322         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24323         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24324
24325 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24326
24327         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24328         never set.
24329         * configure: Regenerated.
24330
24331 2013-01-10  David S. Miller  <davem@davemloft.net>
24332
24333         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24334         sparc V9 rather than using V8 code.
24335         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24336         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24337
24338 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24339
24340         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24341         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24342         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24343         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24344         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24345         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24346         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24347         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24348         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24349         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24350         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24351         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24352         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24353         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24354         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24355         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24356         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24357         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24358         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24359         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24360         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24361         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24362         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24363         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24364         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24365         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24366         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24367
24368 2013-01-10  David S. Miller  <davem@davemloft.net>
24369
24370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24371
24372 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24373
24374         * posix/Makefile (tests-static): New variable.
24375         (tests): Add $(tests-static).
24376         (tst-exec-static-ARGS): New variable.
24377         (tst-spawn-static-ARGS): Likewise.
24378         * posix/tst-exec-static.c: New file.
24379         * posix/tst-spawn-static.c: Likewise.
24380         * posix/tst-exec.c: Support run directly.
24381         * posix/tst-spawn.c: Likewise.
24382
24383 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24384
24385         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24386         long.
24387         * math/bits/mathcalls.h (llrint): Likewise.
24388         (llround): Likewise.
24389         * stdlib/stdlib.h (struct drand48_data): Likewise.
24390         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24391         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24392         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24393         Likewise.
24394         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24395         Likewise.
24396         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24397         (elf_greg_t): Likewise.
24398         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24399         (__jmp_buf): Likewise.
24400         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24401         definitions.
24402         (llrint): Likewise, for all definitions.
24403         (llrintl): Likewise.
24404
24405         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24406         Remove [__GNUC__] condition.
24407         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24408         condition to just [__USE_ISOC99].
24409         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24410
24411 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24412
24413         [BZ #14200]
24414         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24415         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24416         defined.
24417         (_POSIX_V6_ILP32_OFF32): Likewise.
24418         (_XBS5_ILP32_OFF32): Likewise.
24419         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24420         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24421
24422 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24423
24424         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24425
24426         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24427         doubles __mpexp_twomm1.  Adjust usage.
24428         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24429         Remove.
24430
24431 2013-01-10  Andreas Schwab  <schwab@suse.de>
24432
24433         [BZ #14964]
24434         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24435         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24436
24437 2013-01-09  David S. Miller  <davem@davemloft.net>
24438
24439         [BZ #15003]
24440         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24441         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24442         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24443         (TCP_FASTOPEN): Define.
24444         (tcp_repair_opt): New structure.
24445         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24446         enum values.
24447         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24448         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24449         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24450         (tcp_cookie_transactions): New structure.
24451
24452 2013-01-09  Anton Blanchard  <anton@samba.org>
24453
24454         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24455         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24456         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24457         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24458
24459 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24460
24461         * include/features.h (__USE_ANSI): Remove.
24462
24463 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24464
24465         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24466
24467         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24468
24469 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24470
24471         * sysdeps/s390/fpu/libm-test-ulps: Update.
24472
24473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24474
24475         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24476         (__acr): Likewise.
24477         (__cpy): Likewise.
24478         (norm): Likewise.
24479         (denorm): Likewise.
24480         (__mp_dbl): Likewise.
24481         (__dbl_mp): Likewise.
24482         (add_magnitudes): Likewise.
24483         (sub_magnitudes): Likewise.
24484         (__add): Likewise.
24485         (__sub): Likewise.
24486         (__mul): Likewise.
24487         (__inv): Likewise.
24488         (__dvd): Likewise.
24489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24490         (__acr): Likewise.
24491         (__cpy): Likewise.
24492         (norm): Likewise.
24493         (denorm): Likewise.
24494         (__mp_dbl): Likewise.
24495         (__dbl_mp): Likewise.
24496         (add_magnitudes): Likewise.
24497         (sub_magnitudes): Likewise.
24498         (__add): Likewise.
24499         (__sub): Likewise.
24500         (__mul): Likewise.
24501         (__inv): Likewise.
24502         (__dvd): Likewise.
24503         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24504         (__acr): Likewise.
24505         (__cpy): Likewise.
24506         (norm): Likewise.
24507         (denorm): Likewise.
24508         (__mp_dbl): Likewise.
24509         (__dbl_mp): Likewise.
24510         (add_magnitudes): Likewise.
24511         (sub_magnitudes): Likewise.
24512         (__add): Likewise.
24513         (__sub): Likewise.
24514         (__mul): Likewise.
24515         (__inv): Likewise.
24516         (__dvd): Likewise.
24517
24518 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24519
24520         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24521         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24522         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24523         2 && __USE_EXTERN_INLINES]: Likewise.
24524
24525 2013-01-08  Andreas Jaeger  <aj@suse.de>
24526
24527         [BZ# 14985]
24528         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24529         Remove.
24530         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24531         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24532
24533 2013-01-07  Anton Blanchard  <anton@samba.org>
24534
24535         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24536         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24537         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24538         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24539         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24540         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24541         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24542         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24543         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24544         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24545         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24546         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24547         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24548         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24549         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24550         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24551         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24552         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24553         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24554         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24555         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24556         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24557         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24558         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24559         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24560         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24561         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24562         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24563         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24564         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24565         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24567         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24568         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24569         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24570         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24571         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24572         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24573         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24574         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24575         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24576         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24577         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24578
24579 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24580
24581         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24582         (__MALLOC_PMT): Likewise.
24583         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24584         [__GNUC__], only on [_LIBC].
24585         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24586         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24587         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24588         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24589         forward declaration.
24590         (realloc_hook_ini): Likewise.
24591         (memalign_hook_ini): Likewise.
24592         (__libc_memalign): Do not use __MALLOC_PMT in variable
24593         declaration.
24594         (__libc_valloc): Likewise.
24595         (__libc_pvalloc): Likewise.
24596         (__libc_calloc): Likewise.
24597         (__posix_memalign): Likewise.
24598
24599         [BZ #14996]
24600         * math/s_casinh.c: Include <float.h>.
24601         (__casinh): Do not do computation with squaring and square root
24602         for large arguments.
24603         * math/s_casinhf.c: Include <float.h>.
24604         (__casinhf): Do not do computation with squaring and square root
24605         for large arguments.
24606         * math/s_casinhl.c: Include <float.h>.
24607         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24608         (__casinhl): Do not do computation with squaring and square root
24609         for large arguments.
24610         * math/libm-test.inc (casin_test): Add more tests.
24611         (casinh_test): Likewise.
24612         * sysdeps/i386/fpu/libm-test-ulps: Update.
24613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24614
24615 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24616
24617         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24618         (__x86_64_raw_data_cache_size): Likewise.
24619         (__x86_64_data_cache_size_half): Likewise.
24620         (__x86_64_raw_data_cache_size_half): Likewise.
24621         (__x86_64_shared_cache_size): Likewise.
24622         (__x86_64_raw_shared_cache_size): Likewise.
24623         (__x86_64_shared_cache_size_half): Likewise.
24624         (__x86_64_raw_shared_cache_size_half): Likewise.
24625         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24626         to ...
24627         (__x86_data_cache_size): This.
24628         (__x86_64_raw_data_cache_size): Renamed to ...
24629         (__x86_raw_data_cache_size): This.
24630         (__x86_64_data_cache_size_half): Renamed to ...
24631         (__x86_data_cache_size_half): This.
24632         (__x86_64_raw_data_cache_size_half): Renamed to ...
24633         (__x86_raw_data_cache_size_half): This.
24634         (__x86_64_shared_cache_size): Renamed to ...
24635         (__x86_shared_cache_size): This.
24636         (__x86_64_raw_shared_cache_size): Renamed to ...
24637         (__x86_raw_shared_cache_size): This.
24638         (__x86_64_shared_cache_size_half): Renamed to ...
24639         (__x86_shared_cache_size_half): This.
24640         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24641         (__x86_raw_shared_cache_size_half): This.
24642         * sysdeps/x86_64/memcpy.S: Updated.
24643         * sysdeps/x86_64/memset.S: Likewise.
24644         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24645         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24646         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24647
24648 2013-01-04  David S. Miller  <davem@davemloft.net>
24649
24650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24651
24652 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24653
24654         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24655         1 to avoid redefinition warning.
24656         (__USE_GNU): Don't define.
24657         (init_signaling_nan): Protoize.
24658
24659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24660
24661 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24662
24663         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24665         (__cpymn): Likewise.
24666         (norm): Remove commented code.
24667         (denorm): Likewise.
24668         (__mp_dbl): Likewise.
24669         (__inv): Likewise.
24670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24671         (__cpymn): Likewise.
24672         (norm): Remove commented code.
24673         (denorm): Likewise.
24674         (__mp_dbl): Likewise.
24675         (__inv): Likewise.
24676
24677         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24678         mp_no value for 1.0 and 2.0.
24679         (norm): Use RADIXI instead of radixi.d.
24680         (denorm): Likewise.
24681         (__mul): Use 0.0 instead of zero.d.
24682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24683         mp_no value for 1.0 and 2.0.
24684         (norm): Use RADIXI instead of radixi.d.
24685         (denorm): Likewise.
24686         (__mul): Use 0.0 instead of zero.d.
24687
24688 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24689
24690         [BZ #14994]
24691         * math/s_casinh.c (__casinh): Reduce finite argument to first
24692         quadrant then set signs of results at the end.
24693         * math/s_casinhf.c (__casinhf): Likewise.
24694         * math/s_casinhl.c (__casinhl): Likewise.
24695         * math/libm-test.inc (casin_test): Add more tests.
24696         (casinh_test): Likewise.
24697         * sysdeps/i386/fpu/libm-test-ulps: Update.
24698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24699
24700 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24701
24702         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24703
24704         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24705
24706         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24707         declarations.
24708         (denorm): Likewise.
24709         (__mp_dbl): Likewise.
24710         (__inv): Likewise.
24711
24712         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24713         and adjust the header comment.
24714
24715         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24716         variable name from declaration.
24717
24718 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24719
24720         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24721         Initialize COMMON_CPUID_INDEX_7 element.
24722         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24723         (CPUID_RTM): Likewise.
24724         (HAS_RTM): Likewise.
24725         (COMMON_CPUID_INDEX_7): New enum.
24726
24727 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24728
24729         [BZ #14981]
24730         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24731         size is zero, record memory as freed.
24732
24733 2013-01-03  Andreas Jaeger  <aj@suse.de>
24734
24735         * po/ia.po: Add new Interlingua translation.
24736
24737 2012-01-03  Allan McRae  <allan@archlinux.org>
24738
24739         * locale/programs/localedef.c: Fix description of '--posix' flag.
24740
24741 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24742
24743         * NEWS: Update dates in second copyright notice.
24744         * README: Update copyright dates in example.
24745         * manual/libc.texinfo: Update copyright dates.
24746         * scripts/test-installation.pl: Update copyright date in --version
24747         output.
24748
24749         * hurd/ctty-input.c: Fix copyright notice formatting.
24750         * hurd/ctty-output.c: Likewise.
24751         * hurd/dtable.c: Likewise.
24752         * hurd/hurd-raise.c: Likewise.
24753         * hurd/hurdprio.c: Likewise.
24754         * hurd/msgportdemux.c: Likewise.
24755         * misc/sys/file.h: Likewise.
24756         * misc/sys/ioctl.h: Likewise.
24757         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24758         * sysdeps/mach/hurd/chdir.c: Likewise.
24759         * sysdeps/mach/hurd/fchdir.c: Likewise.
24760         * sysdeps/mach/hurd/rename.c: Likewise.
24761         * sysdeps/mach/hurd/rmdir.c: Likewise.
24762         * sysdeps/mach/hurd/seekdir.c: Likewise.
24763         * sysdeps/mach/hurd/setsid.c: Likewise.
24764         * sysdeps/posix/wait3.c: Likewise.
24765
24766         * All files with FSF copyright notices: Update copyright dates
24767         using scripts/update-copyrights.
24768         * intl/plural.c: Regenerated.
24769         * locale/programs/charmap-kw.h: Likewise.
24770         * locale/programs/locfile-kw.h: Likewise.
24771
24772 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24773
24774         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24775         four values.
24776
24777         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24778         calculation loop and add branch prediction.
24779
24780         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24781         check access beyond bounds of m1np.
24782
24783         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24784         MPTWO.
24785         (__inv): Remove local variable MPTWO to use the global
24786         constant.
24787         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24788         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24789         variable MPTWO.
24790         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24791         MP3HALFS static const.
24792
24793 2013-01-01  David S. Miller  <davem@davemloft.net>
24794
24795         * po/ca.po: Update from translation team.
24796
24797 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24798
24799         * scripts/update-copyrights: New file.
24800         * Makeconfig: Reformat copyright notice.
24801         * ctype/ctype.h: Likewise.
24802         * debug/swprintf_chk.c: Likewise.
24803         * elf/dl-cache.c: Likewise.
24804         * elf/dl-debug.c: Likewise.
24805         * elf/dl-object.c: Likewise.
24806         * grp/initgroups.c: Likewise.
24807         * hurd/Makefile: Likewise.
24808         * hurd/hurd/signal.h: Likewise.
24809         * hurd/hurdfault.c: Likewise.
24810         * hurd/hurdioctl.c: Likewise.
24811         * hurd/hurdlookup.c: Likewise.
24812         * hurd/intr-msg.c: Likewise.
24813         * iconv/gconv_open.c: Likewise.
24814         * libio/swprintf.c: Likewise.
24815         * locale/lc-ctype.c: Likewise.
24816         * locale/nl_langinfo.c: Likewise.
24817         * mach/Machrules: Likewise.
24818         * mach/Makefile: Likewise.
24819         * malloc/obstack.h: Likewise.
24820         * manual/Makefile: Likewise.
24821         * manual/tsort.awk: Likewise.
24822         * misc/bits/stab.def: Likewise.
24823         * nis/nis_print_group_entry.c: Likewise.
24824         * nis/nis_table.c: Likewise.
24825         * nis/nss_compat/compat-pwd.c: Likewise.
24826         * nis/nss_compat/compat-spwd.c: Likewise.
24827         * po/Makefile: Likewise.
24828         * posix/fnmatch.c: Likewise.
24829         * posix/regex.h: Likewise.
24830         * resolv/Makefile: Likewise.
24831         * resolv/nss_dns/dns-network.c: Likewise.
24832         * resolv/res_hconf.c: Likewise.
24833         * scripts/gen-sorted.awk: Likewise.
24834         * soft-fp/soft-fp.h: Likewise.
24835         * stdio-common/printf.h: Likewise.
24836         * stdlib/monetary.h: Likewise.
24837         * stdlib/random.c: Likewise.
24838         * stdlib/random_r.c: Likewise.
24839         * sysdeps/generic/Makefile: Likewise.
24840         * sysdeps/gnu/Makefile: Likewise.
24841         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24842         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24843         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24844         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24845         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24846         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24847         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24848         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24849         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24850         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24851         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24852         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24853         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24854         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24855         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24856         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24857         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24858         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24859         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24860         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24861         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24862         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24863         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24864         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24865         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24866         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24867         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24868         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24869         * sysdeps/mach/hurd/errnos.awk: Likewise.
24870         * sysdeps/mach/hurd/fork.c: Likewise.
24871         * sysdeps/mach/hurd/getcwd.c: Likewise.
24872         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24873         * sysdeps/mach/hurd/mmap.c: Likewise.
24874         * sysdeps/mach/hurd/utimes.c: Likewise.
24875         * sysdeps/mach/hurd/xmknod.c: Likewise.
24876         * sysdeps/posix/profil.c: Likewise.
24877         * sysdeps/posix/readdir_r.c: Likewise.
24878         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24879         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24880         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24881         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24883         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24884         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24885         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24886         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24887         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24888         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24889         * sysdeps/pthread/lio_listio.c: Likewise.
24890         * sysdeps/sparc/dl-procinfo.h: Likewise.
24891         * sysdeps/unix/i386/sysdep.S: Likewise.
24892         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24893         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24894         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24895         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24897         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24898         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24899         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24900         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24901         * sysdeps/wordsize-32/divdi3.c: Likewise.
24902         * time/sys/time.h: Likewise.
24903         * wcsmbs/Makefile: Likewise.
24904
24905 2013-01-01  David S. Miller  <davem@davemloft.net>
24906
24907         * po/fr.po: Update from translation team.
24908
24909         * catgets/gencat.c: Update copyright year.
24910         * csu/version.c: Likewise.
24911         * debug/catchsegv.sh: Likewise.
24912         * debug/pcprofiledump.c: Likewise.
24913         * debug/xtrace.sh: Likewise.
24914         * elf/ldconfig.c: Likewise.
24915         * elf/ldd.bash.in: Likewise.
24916         * elf/pldd.c: Likewise.
24917         * elf/sotruss.ksh: Likewise.
24918         * elf/sprof.c: Likewise.
24919         * iconv/iconv_prog.c: Likewise.
24920         * iconv/iconvconfig.c: Likewise.
24921         * locale/programs/locale.c: Likewise.
24922         * locale/programs/localedef.c: Likewise.
24923         * login/programs/pt_chown.c: Likewise.
24924         * malloc/memusage.sh: Likewise.
24925         * malloc/memusagestat.c: Likewise.
24926         * malloc/mtrace.pl: Likewise.
24927         * nscd/nscd.c: Likewise.
24928         * nss/getent.c: Likewise.
24929         * nss/makedb.c: Likewise.
24930         * posix/getconf.c: Likewise.
24931
24932 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24933
24934         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24935         numbers.
24936
24937 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24938
24939         * math/bits/mathcalls.h (modf): Use __nonnull.
24940
24941 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24942
24943         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24944         (split): Use macro CN instead of the bare value.
24945         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24946         could be used.
24947         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24948         instead of the bare value.
24949         (power1): Likewise.
24950
24951 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24952
24953         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24954         __ATAN_TWOM.
24955         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24956
24957         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24958         their values.
24959         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24960         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24961         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24962         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24963
24964 2012-12-28  Andreas Jaeger  <aj@suse.de>
24965
24966         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24967         values are from Linux 3.7.
24968
24969         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24970         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24971
24972 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24973
24974         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24975         TRUE case.
24976
24977         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24978         (norm): Likewise.
24979         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24980         variables with preprocessor constants.
24981         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24982         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24983         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24984
24985 2012-12-27  Bruno Haible  <bruno@clisp.org>
24986
24987         [BZ #14317]
24988         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24989         only if needed.
24990
24991 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24992
24993         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24994         and use variable directly.
24995         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24996
24997         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24998         MPONE.
24999         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25000         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25001         variable MPONE.
25002         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25003         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25004         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25005         include directive.  Remove local variable MPONE.
25006         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25007         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25008         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25009
25010 2012-12-25  David S. Miller  <davem@davemloft.net>
25011
25012         * version.h (RELEASE): Set to "development".
25013         (VERSION): Set to "2.17.90".
25014         * NEWS: Add 2.18 section.
25015
25016 2012-12-21  David S. Miller  <davem@davemloft.net>
25017
25018         * po/hr.po: Update from translation team.
25019
25020 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25021
25022         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25023
25024 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25025
25026         * NEWS:  Mention new memcpy for MIPS.
25027
25028 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25029
25030         * manual/contrib.texi (Contributors): Spelling correction.
25031
25032 2012-12-15  David S. Miller  <davem@davemloft.net>
25033
25034         * po/ru.po: Update from translation team.
25035
25036 2012-12-13  David S. Miller  <davem@davemloft.net>
25037
25038         * NEWS: Mention IFUNC testsuite enhancements.
25039
25040         * po/pl.po: Update from translation team.
25041         * po/bg.po: Likewise.
25042
25043         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25044         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25045
25046 2012-12-11  David S. Miller  <davem@davemloft.net>
25047
25048         * po/sv.po: Update from translation team.
25049
25050         * po/vi.po: Update from translation team.
25051
25052         * po/cs.po: Update from translation team.
25053
25054         * po/de.po: Update from translation team.
25055         * po/eo.po: Likewise.
25056         * po/nl.po: Likewise.
25057
25058 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25059
25060         [BZ #14246]
25061         * manual/argp.texi (Argp Helper Functions): Move node to follow
25062         Argp Parsing State.
25063
25064         [BZ #14872]
25065         * manual/conf.texi (Limits on File System Capacity): Mention if
25066         terminating null is included in the max size.
25067
25068 2012-12-10  Andreas Jaeger  <aj@suse.de>
25069
25070         * po/cs.po: Update from translation team.
25071
25072 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25073
25074         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25075         void pointer and cast to uintptr_t.
25076         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25077         path.
25078         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25079         * sysdeps/s390/s390-64/memset.S: Likewise.
25080
25081 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25082
25083         [BZ #14833]
25084         * menual/message.texi (Message Translation): Fix typos.
25085         (Helper programs for gettext): Likewise.
25086
25087 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25088
25089         [BZ #14898]
25090         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25091         Change to -1.
25092
25093 2012-12-07  David S. Miller  <davem@davemloft.net>
25094
25095         * po/libc.pot: Update.
25096
25097 2012-12-07  Richard Henderson  <rth@redhat.com>
25098
25099         [BZ #10114]
25100         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25101         normal/normal case to before the switch.
25102         (_FP_DIV): Likewise.
25103
25104 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25105             Mike Frysinger  <vapier@gentoo.org>
25106
25107         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25108         check for __NR_fadvise64_64.
25109
25110 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25111
25112         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25113         0, not just to plain "0" as a statement.
25114         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25115         with cw.
25116
25117 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25118
25119         * NEWS: Use sourceware.org in Bugzilla URL.
25120
25121 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25122
25123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25124         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25125
25126         * stdio-common/tst-put-error.c (do_test): Add newline to the
25127         padded test to ensure flush.
25128
25129 2012-12-05  Jeff Law  <law@redhat.com>
25130
25131         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25132
25133 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25134
25135         * README: Don't refer to ports add-on as distributed separately.
25136         Mention AArch64 in list of systems supported in the ports add-on.
25137
25138         * LICENSES: Add more non-FSF copyright and license notices.
25139
25140         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25141         ((unused)).
25142
25143         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25144
25145         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25146         10000 as width of padded output.
25147
25148 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25149
25150         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25151
25152         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25153         variable LX with __attribute__ ((unused)).
25154         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25155         Likewise.
25156         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25157         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25158         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25159         with __attribute__ ((unused)).
25160
25161 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25162
25163         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25164
25165 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25166
25167         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25168         (CFLAGS-nldbl-acos.c): New variable.
25169         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25170         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25171         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25172         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25173         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25174         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25175         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25176         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25177         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25178         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25179         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25180         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25181         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25182         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25183         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25184         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25185         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25186         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25187         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25188         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25189         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25190         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25191         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25192         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25193         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25194         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25195         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25196         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25197         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25198         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25199         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25200         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25201         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25202         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25203         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25204         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25205         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25206         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25207         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25208         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25209         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25210         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25211         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25212         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25213         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25214         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25215         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25216         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25217         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25218         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25219         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25220         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25221         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25222         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25223         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25224         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25225         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25226         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25227         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25228         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25229         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25230         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25231         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25232         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25233         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25234         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25235         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25236         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25237         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25238         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25239         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25240         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25241         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25242         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25243         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25244         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25245         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25246         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25247         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25248         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25249         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25250         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25251         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25252         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25253         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25254         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25255         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25256         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25257         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25258         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25259         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25260         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25261         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25262         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25263         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25264         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25265         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25266
25267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25268         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25269
25270         [BZ #14914]
25271         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25272         whole low double instead of just low 47 bits when splitting values
25273         into two parts.
25274
25275 2012-12-03  Allan McRae  <allan@archlinux.org>
25276
25277         * manual/stdio.texi (Predefined Printf Handlers): Remove
25278         @hsep and @vsep usage.
25279
25280 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25281
25282         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25283         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25284
25285 2012-12-03  Jeff Law  <law@redhat.com>
25286
25287         * time/sys/time.h (settimeofday): Do not mark TV argument
25288         as __nonnull.
25289
25290 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25291
25292         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25293         when currently writing and seek to current position when not.
25294         * libio/Makefile (tests): Remove bug-fclose1.
25295         * libio/bug-fclose1.c: Delete.
25296
25297 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25298
25299         * manual/arith.texi (feenableexcept): Fix typo.
25300         (fedisableexcept): Likewise.
25301
25302 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25303
25304         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25305         second, differently-typed declaration, rather than a cast.
25306
25307 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25308
25309         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25310         * include/rpc/svc.h: ... here.
25311
25312 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25313
25314         [BZ #13013]
25315         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25316         depending n and resplen2 to catch cases where answer
25317         equals answerp2.
25318
25319 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25320
25321         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25322         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25323
25324 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25325
25326         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25327
25328 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25329
25330         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25331
25332 2012-11-28  Jeff Law  <law@redhat.com>
25333
25334         [BZ #13761]
25335         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25336         dataset_temporary.  Track alloca usage into alloca_used.
25337         If dataset is large allocate and release it via malloc/free.
25338
25339 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25340
25341         [BZ #14197]
25342         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25343
25344 2012-11-28  David S. Miller  <davem@davemloft.net>
25345
25346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25347
25348 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25349
25350         [BZ #14803]
25351         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25352         of pi/2 rounded to nearest to 64 bits.
25353         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25354         nearest to 64 bits.
25355         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25356         bits.
25357
25358 2012-11-28  Jeff Law <law@redhat.com>
25359             Martin Osvald <mosvald@redhat.com>
25360
25361         [BZ #14889]
25362         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25363         * sunrpc/svc.c: Include time.h.
25364         (__svc_accept_failed): New function.
25365         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25366         any reason other than EINTR, call __svc_accept_failed.
25367         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25368         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25369
25370 2012-11-28  Andreas Schwab  <schwab@suse.de>
25371
25372         * scripts/abilist.awk: Also handle indirect functions in .opd
25373         section.
25374
25375 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25376
25377         [BZ #13881]
25378         * sysdeps/x86/fpu/powl_helper.c: New file.
25379         * sysdeps/x86/fpu/Makefile: Likewise.
25380         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25381         (p3): New object.
25382         (__ieee754_powl): Use __powl_helper for finite arguments except
25383         integer exponents below 8.
25384         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25385         (p3): New object.
25386         (__ieee754_powl): Use __powl_helper for finite arguments except
25387         integer exponents below 8.
25388         * math/libm-test.inc (pow_test): Add more tests and enable some
25389         previously disabled tests.
25390         * sysdeps/i386/fpu/libm-test-ulps: Update.
25391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25392
25393 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25394             Carlos O'Donell  <carlos_odonell@mentor.com>
25395
25396         * nss/makedb.c (is_prime): Assert that input is odd and greater
25397         than 4.  Note that fact in a comment too.
25398         (next_prime): Add 4 to input.
25399
25400 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25401
25402         [BZ #11741]
25403         * libio/Makefile (tests): Add test case tst-fwrite-error.
25404         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25405         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25406         * libio/tst-fwrite-error.c: New test case.
25407
25408 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25409
25410         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25411         before casting to void *.
25412         * include/libc-internal.h (__pointer_type): New macro.
25413         (__integer_if_pointer_type_sub): Likewise.
25414         (__integer_if_pointer_type): Likewise.
25415         (cast_to_integer): Likewise.
25416         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25417         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25418         before casting to atomic64_t.
25419         (atomic_exchange_acq): Likewise.
25420         (__arch_exchange_and_add_body): Likewise.
25421         (__arch_add_body): Likewise.
25422         (atomic_add_negative): Likewise.
25423         (atomic_add_zero): Likewise.
25424
25425 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25426
25427         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25428         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25429         (add_fdes): Likewise.
25430         (linear_search_fdes): Likewise.
25431         (binary_search_unencoded_fdes): Likewise.
25432
25433 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25434
25435         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25436
25437 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25438
25439         * configure.in: Autodetect C++ header directories.
25440         * configure: Regenerated.
25441
25442 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25443
25444         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25445
25446 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25447
25448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25449
25450 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25451
25452         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25453         LDBL_MANT_DIG == 106]: Disable some tests.
25454         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25455         Likewise.
25456         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25457         Likewise.
25458
25459         [BZ #14871]
25460         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25461         input for small inputs.  Return +/- pi/2 for large inputs.
25462         * math/libm-test.inc (atan_test): Add more tests.
25463
25464         * sysdeps/generic/unwind-dw2-fde-glibc.c
25465         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25466         __attribute__ ((unused)).
25467
25468         [BZ #14645]
25469         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25470         x * y if x and y are nonzero and z is zero.
25471
25472         [BZ #14811]
25473         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25474         nonzero exponents with absolute value below 0x1p-117 to +/-
25475         0x1p-117.
25476
25477         [BZ #14869]
25478         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25479         up arguments below 2**-450, not just those below 2**-500.
25480         * math/libm-test.inc (hypot_test): Add another test.
25481
25482         [BZ #14868]
25483         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25484         Return a+b for ratio over 2**120, not 2**60.
25485         * math/libm-test.inc (hypot_test): Add another test.
25486
25487         * math/libm-test.inc (clog_test): Use
25488         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25489         (clog10_test): Likewise.
25490
25491         [BZ #6778]
25492         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25493
25494 2012-11-22  Andreas Schwab  <schwab@suse.de>
25495
25496         * sysdeps/i386/fpu/libm-test-ulps: Update.
25497
25498 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25499
25500         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25501         printf output with newline.
25502
25503 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25504
25505         [BZ #14865]
25506         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25507         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25508         -z nodlopen, -z initfirst and -z execstack support.
25509         * configure: Regenerated.
25510
25511         * elf/elf.h (DF_1_NODIRECT): New macro.
25512         (DF_1_IGNMULDEF): Likewise.
25513         (DF_1_NOKSYMS): Likewise.
25514         (DF_1_NOHDR): Likewise.
25515         (DF_1_EDITED): Likewise.
25516         (DF_1_NORELOC): Likewise.
25517         (DF_1_SYMINTPOSE): Likewise.
25518         (DF_1_GLOBAUDIT): Likewise.
25519         (DF_1_SINGLETON): Likewise.
25520         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25521         DT_1_SUPPORTED_MASK bits.
25522         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25523
25524 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25525
25526         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25527
25528 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25529
25530         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25531         macro.
25532
25533         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25534         (sendmmsg): Move declarations...
25535         * socket/sys/socket.h: ... here.
25536         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25537         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25538         include it from...
25539         * socket/recvmmsg.c: ... this new file.
25540         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25541         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25542         definition of __sendmmsg hidden.
25543         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25544         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25545         Move ENOSYS stub into and include it from...
25546         * socket/sendmmsg.c: ... this new file.
25547         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25548         (sysdep_routines): Move recvmmsg and sendmmsg...
25549         * socket/Makefile (routines): ... here.
25550         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25551         (GLIBC_PRIVATE): Add __sendmmsg.
25552         * include/sys/socket.h (__sendmmsg): Add declarations.
25553         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25554         sendmmsg.
25555
25556 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25557
25558         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25559         variable I1 with __attribute__ ((unused)).
25560         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25561
25562 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25563
25564         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25565         DUMMY variables with __attribute__ ((unused)).
25566
25567         * bits/byteswap.h: Include <bits/types.h>.
25568         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25569
25570 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25571
25572         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25573         string_t.  Do not manually set errno.
25574         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25575         length with __strnlen.  Make sure to both set errno and return it on
25576         failure.
25577
25578 2012-11-19  David S. Miller  <davem@davemloft.net>
25579
25580         With help from Joseph Myers.
25581         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25582         very large arguments properly.
25583         * math/libm-test.inc (atan_test): New tests.
25584         (atan2_test): New tests.
25585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25587
25588 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25589
25590         [BZ #14856]
25591         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25592         Define to 3.
25593
25594         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25595         [POSIX] (EADDRNOTAVAIL): Likewise.
25596         [POSIX] (EAFNOSUPPORT): Likewise.
25597         [POSIX] (EALREADY): Likewise.
25598         [POSIX] (ECONNABORTED): Likewise.
25599         [POSIX] (ECONNREFUSED): Likewise.
25600         [POSIX] (ECONNRESET): Likewise.
25601         [POSIX] (EDESTADDRREQ): Likewise.
25602         [POSIX] (EDQUOT): Likewise.
25603         [POSIX] (EHOSTUNREACH): Likewise.
25604         [POSIX] (EIDRM): Likewise.
25605         [POSIX] (EISCONN): Likewise.
25606         [POSIX] (ELOOP): Likewise.
25607         [POSIX] (EMULTIHOP): Likewise.
25608         [POSIX] (ENETDOWN): Likewise.
25609         [POSIX] (ENETUNREACH): Likewise.
25610         [POSIX] (ENOBUFS): Likewise.
25611         [POSIX] (ENODATA): Likewise.
25612         [POSIX] (ENOLINK): Likewise.
25613         [POSIX] (ENOMSG): Likewise.
25614         [POSIX] (ENOPROTOOPT): Likewise.
25615         [POSIX] (ENOSR): Likewise.
25616         [POSIX] (ENOSTR): Likewise.
25617         [POSIX] (ENOTCONN): Likewise.
25618         [POSIX] (ENOTSOCK): Likewise.
25619         [POSIX] (EOPNOTSUPP): Likewise.
25620         [POSIX] (EOVERFLOW): Likewise.
25621         [POSIX] (EPROTO): Likewise.
25622         [POSIX] (EPROTONOSUPPORT): Likewise.
25623         [POSIX] (EPROTOTYPE): Likewise.
25624         [POSIX] (ESTALE): Likewise.
25625         [POSIX] (ETIME): Likewise.
25626         [POSIX] (ETXTBSY): Likewise.
25627         [POSIX] (EWOULDBLOCK): Likewise.
25628         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25629         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25630         [POSIX] (SEEK_CUR): Likewise.
25631         [POSIX] (SEEK_END): Likewise.
25632         [POSIX || UNIX98] (mode_t): Do not require.
25633         [POSIX] (off_t): Likewise.
25634         [POSIX] (pid_t): Likewise.
25635         [POSIX] (sys/stat.h): Do not allow header.
25636         [POSIX] (unistd.h): Likewise.
25637         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25638         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25639         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25640         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25641         require.
25642         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25643         sigevent): Specify elements.
25644         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25645         entry.
25646         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25647         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25648
25649         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25650         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25651         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25652         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25653         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25654         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25655         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25656         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25657         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25658         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25659         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25660         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25661         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25662         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25663         Likewise.
25664         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25665         Likewise.
25666         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25667         Likewise.
25668         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25669         Likewise.
25670         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25671         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25672         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25673         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25674         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25675         Specify lower bound on value.
25676         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25677         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25678         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25679         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25680         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25681         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25682         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25683         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25684         value.
25685         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25686         as optional.
25687         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25688         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25689         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25690         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25691         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25692         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25693         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25694         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25695         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25696         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25697         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25698         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25699         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25700         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25701         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25702         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25703         entry.
25704         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25705         optional.
25706         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25707         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25708         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25709         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25710         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25711         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25712         Likewise.
25713         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25714         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25715         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25716         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25717         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25718         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25719         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25720         as optional.
25721         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25722         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25723         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25724         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25725         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25726         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25727         specify as optional.
25728         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25729         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25730         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25731         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25732         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25733         [XPG3] (NL_LANGMAX): Likewise.
25734         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25735         [POSIX || XPG3] (NL_NMAX): Likewise.
25736         [POSIX || XPG3] (NL_SETMAX): Likewise.
25737         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25738         [XPG3] (NZERO): Likewise.
25739         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25740         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25741         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25742         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25743         (REG_ERANGE): Expect.
25744         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25745         optional-constant.
25746         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25747         Use (void) in prototype.
25748         [POSIX] (*_t): Allow.
25749         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25750         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25751         (WRDE_BADVAL): Expect.
25752
25753         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25754         expect.
25755         [XPG3 || XPG4] (O_RSYNC): Likewise.
25756         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25757         Likewise.
25758         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25759         [XPG3 || XPG4] (sigqueue): Likewise.
25760         [XPG3 || XPG4] (sigtimedwait): Likewise.
25761         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25762         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25763         [XPG3 || XPG4] (vsnprintf): Likewise.
25764         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25765         Likewise.
25766         [XPG3 || XPG4] (blksize_t): Likewise.
25767         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25768         Likewise.
25769         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25770         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25771         [XPG3 || XPG4] (struct itimerspec): Likewise.
25772         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25773         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25774         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25775         [XPG3 || XPG4] (clockid_t): Likewise.
25776         [XPG3 || XPG4] (timer_t): Likewise.
25777         [XPG3 || XPG4] (clock_getres): Likewise.
25778         [XPG3 || XPG4] (clock_gettime): Likewise.
25779         [XPG3 || XPG4] (clock_settime): Likewise.
25780         [XPG3 || XPG4] (nanosleep): Likewise.
25781         [XPG3 || XPG4] (timer_create): Likewise.
25782         [XPG3 || XPG4] (timer_delete): Likewise.
25783         [XPG3 || XPG4] (timer_gettime): Likewise.
25784         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25785         [XPG3 || XPG4] (timer_settime): Likewise.
25786         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25787         [XPG3 || XPG4] (getlogin_r): Likewise.
25788         [XPG3 || XPG4] (pread): Likewise.
25789         [XPG3 || XPG4] (pthread_atfork): Likewise.
25790         [XPG3 || XPG4] (pwrite): Likewise.
25791
25792         [BZ #14835]
25793         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25794         <bits/siginfo.h>.
25795
25796 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25797
25798         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25799         finalizing MALLSTREAM.
25800
25801         * sysdeps/mach/hurd/syncfs.c: New file.
25802
25803 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25804
25805         [BZ #14719]
25806         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25807         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25808         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25809         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25810         (_nss_dns_gethostbyname4_r): Likewise.
25811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25812         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25813
25814 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25815
25816         [BZ #13763]
25817         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25818
25819 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25820
25821         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25822         * elf/cache.c (print_entry): Print ",AArch64" for
25823         FLAG_AARCH64_LIB64
25824
25825         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25826         * elf/cache.c (print_entry): Print ",hard-float" for
25827         FLAG_ARM_LIBHF.
25828
25829 2012-11-18  David S. Miller  <davem@davemloft.net>
25830
25831         With help from Joseph Myers.
25832         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25833         cutoff to 2**-13.
25834         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25835         cutoff to 2**-25.
25836         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25837         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25838         small.
25839         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25840         * math/libm-test.inc (y0_test): New tests.
25841         (y1_test): New tests.
25842         * sysdeps/i386/fpu/libm-test-ulps: Update.
25843         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25845
25846 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25847
25848         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25849         64-bit targets.
25850         * configure: Regenerated.
25851
25852 2012-11-17  David S. Miller  <davem@davemloft.net>
25853
25854         [BZ #14811]
25855         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25856         nonzero exponents with absolute value below 0x1p-128 to +/-
25857         0x1p-128.
25858
25859 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25860
25861         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25862
25863         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25864
25865         * posix/getconf-speclist.c: New file.
25866         * posix/posix-envs.def: Likewise.
25867         * posix/confstr.c (START_ENV_GROUP): New macro.
25868         (END_ENV_GROUP): Likewise.
25869         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25870         (KNOWN_PRESENT_ENV_STRING): Likewise.
25871         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25872         (UNKNOWN_ENVIRONMENT): Likewise.
25873         (confstr): Include posix-envs.def instead of handling
25874         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25875         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25876         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25877         (END_ENV_GROUP): Likewise.
25878         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25879         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25880         (UNKNOWN_ENVIRONMENT): Likewise.
25881         (__sysconf): Include posix-envs.def instead of handling associated
25882         cases directly here.
25883         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25884         preprocessing getconf-speclist.c rather than running getconf or
25885         generating empty file.
25886
25887 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25888
25889         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25890
25891 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25892
25893         [BZ #14672]
25894         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25895
25896 2012-11-16  David S. Miller  <davem@davemloft.net>
25897
25898         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25899         smaller than LDBL_EPSILON/2.0L, just return xm1.
25900
25901 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25902
25903         * elf/tst-array1.c (init): Set constructor priority to 1000.
25904         (fini): Set destructor priority to 1000.
25905         * elf/tst-array2dep.c: Likewise.
25906
25907 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25908
25909         [BZ #11741]
25910         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25911         (_IO_new_file_xsputn): Also return EOF if none of the input
25912         data was written when overflow failed.
25913         * libio/iopadn.c (_IO_padn): Likewise.
25914         * libio/iowpadn.c (_IO_wpadn): Likewise.
25915         * stdio-common/tst-put-error.c: Add copyright notice.
25916         (do_test): Add case for printing padded string.
25917         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25918         _IO_padn returned error.
25919         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25920         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25921         return EOF.
25922
25923 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25924
25925         * libio/libioP.h: Add comment note that the references to C++
25926         bits are now obsolete.
25927
25928 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25929
25930         * math/libm-test.inc (check_complex): Use asprintf.
25931
25932 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25933
25934         * debug/pcprofiledump.c (print_version): Update copyright year.
25935         * malloc/memusagestat.c (print_version): Likewise.
25936
25937 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25938
25939         [BZ #14831]
25940         * elf/Makefile (tests): Add tst-audit8.
25941         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25942         ($(objpfx)tst-audit8.out): New target.
25943         (tst-audit8-ENV): New variable.
25944         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25945         audit if l_reloc_result is NULL.
25946         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25947         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25948         * elf/tst-audit8.c: New file.
25949
25950 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25951
25952         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25953         * misc/Makefile (CFLAGS-select.c): Define.
25954         * posix/Makefile (CFLAGS-pause.c): Define.
25955
25956 2012-11-13  David S. Miller  <davem@davemloft.net>
25957
25958         * crypt/Makefile: Move test targets after toplevel Rules
25959         inclusion.  Grab any necessary sysdep routines when linking.
25960         * crypt/md5.c (md5_process_block): Remove define, we will always
25961         name it __md5_process_block.
25962         (md5_finish_ctx): Update md5_process_block call.
25963         (md5_stream): Likewise.
25964         (md5_process_bytes): Likewise.
25965         (md5_process_block): Rename to __md5_process_block and move to ...
25966         * crypt/md5-block.c: ... here.
25967         * crypt/sha256.c (sha256_process_block): Move to ...
25968         * crypt/sha256-block.c: ... here.
25969         * crypt/sha512.c (sha512_process_block): Move to ...
25970         * crypt/sha512-block.c: ... here.
25971         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25972         path.
25973         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25974         * sysdeps/sparc/sparc64/multiarch/Makefile
25975         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25976         crypt subdir.
25977         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25978         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25979         multiarch changes.
25980         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25981         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25982         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25983         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25984         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25985         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25986         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25987         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25988         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25989         file.
25990         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25991         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25992         file.
25993         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25994
25995 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25996
25997         * timezone/tzselect.ksh: Update from tzcode git revision
25998         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25999         * timezone/zdump.c: Likewise.
26000         * timezone/zic.c: Likewise.
26001         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26002         in TZVERSION setting, not $(PKGVERSION).
26003         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26004         REPORT_BUGS_TO settings.
26005
26006         [BZ #14838]
26007         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26008         macro.
26009
26010 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26011
26012         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26013         detection to immediately after _FP_ROUND().
26014         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26015         bits are 0.
26016
26017 2012-11-11  David S. Miller  <davem@davemloft.net>
26018
26019         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26020         inttypes.h
26021         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26022         __close rather than their public counterparts.
26023
26024 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26025
26026         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26027         file.
26028         [UNIX98] (sem_timedwait): Do not expect.
26029         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26030         [XPG4 || UNIX98] (sockatmark): Do not expect.
26031         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26032         (clock_getcpuclockid): Do not expect.
26033         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26034         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26035         Do not expect.
26036         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26037         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26038         [UNIX98] (vwscanf): Likewise.
26039         [UNIX98] (vswscanf): Likewise.
26040
26041 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26042
26043         * timezone/version.h: Remove file.
26044         * timezone/README: Do not refer to version.h.
26045         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26046         $(objpfx)version.h.
26047         ($(objpfx)zdump.o): Likewise.
26048         ($(objpfx)version.h): New target.
26049
26050         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26051         2012i.
26052         * timezone/README: Don't mention modification to tzselect.ksh.
26053         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26054         work on unmodified tzselect.ksh.  Substitute version numbers in
26055         tzselect.ksh.
26056
26057         * Makefile (format-me): Remove.
26058         (INSTALL): Adjust indentation.  Use commands directly instead of
26059         using $(format-me).
26060
26061         * aclocal.m4 (ACX_PKGVERSION): New macro.
26062         (ACX_BUGURL): Likewise.
26063         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26064         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26065         (REPORT_BUGS_TO): Likewise.
26066         * configure: Regenerated.
26067         * config.h.in (PKGVERSION): New macro.
26068         (REPORT_BUGS_TO): Likewise.
26069         * config.make.in (PKGVERSION): New variable.
26070         (PKGVERSION_TEXI): Likewise.
26071         (REPORT_BUGS_TO): Likewise.
26072         (REPORT_BUGS_TEXI): Likewise.
26073         * Makefile (format-me): Use -I$(common-objpfx)manual.
26074         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26075         ($(common-objpfx)manual/%): New target.
26076         (manual/%): Remove target.
26077         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26078         (print_version): Use PKGVERSION.
26079         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26080         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26081         and REPORT_BUGS_TO.
26082         ($(objpfx)xtrace): Likewise.
26083         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26084         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26085         (print_version): Use PKGVERSION.
26086         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26087         (do_version): Use PKGVERSION.
26088         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26089         REPORT_BUGS_TO.
26090         (common-ldd-rewrite): Likewise.
26091         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26092         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26093         (print_version): Use PKGVERSION.
26094         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26095         * elf/pldd.c (argp_program_bug_address): Remove variable.
26096         (more_help): New function.
26097         (argp): Use more_help.
26098         (print_version): Use PKGVERSION.
26099         * elf/sln.c (main): Use PKGVERSION.
26100         (usage): Use REPORT_BUGS_TO.
26101         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26102         (top level): Use PKGVERSION.
26103         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26104         (print_version): Use PKGVERSION.
26105         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26106         (print_version): Use PKGVERSION.
26107         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26108         (print_version): Use PKGVERSION.
26109         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26110         (print_version): Use PKGVERSION.
26111         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26112         (print_version): Use PKGVERSION.
26113         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26114         (print_version): Use PKGVERSION.
26115         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26116         and BUGURL.
26117         ($(objpfx)memusage): Likewise.
26118         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26119         (do_version): Use PKGVERSION.
26120         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26121         (print_version): Use PKGVERSION.
26122         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26123         ($PKGVERSION): New variable.
26124         ($REPORT_BUGS_TO): Likewise.
26125         (usage): Use $REPORT_BUGS_TO.
26126         (top level): Use $PKGVERSION.
26127         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26128         ($(objpfx)pkgvers.texi): New rule.
26129         ($(objpfx)stamp-pkgvers): Likewise.
26130         * manual/install.texi: Include pkgvers.texi.
26131         (--with-pkgversion): Document new configure option.
26132         (--with-bugurl): Likewise.
26133         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26134         than necessarily for this particular distribution.  Use
26135         REPORT_BUGS_TO for where to report bugs.
26136         * INSTALL: Regenerated.
26137         * manual/libc.texinfo: Include pkgvers.texi.
26138         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26139         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26140         (print_version): Use PKGVERSION.
26141         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26142         (print_version): Use PKGVERSION.
26143         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26144         (print_version): Use PKGVERSION.
26145         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26146         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26147         macro.
26148         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26149         (print_version): Use PKGVERSION.
26150         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26151         (print_version): Use PKGVERSION.
26152         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26153         and PKGVERSION.
26154
26155         * timezone/checktab.awk: Update from tzcode 2012i.
26156         * timezone/ialloc.c: Likewise.
26157         * timezone/private.h: Likewise.
26158         * timezone/scheck.c: Likewise.
26159         * timezone/tzfile.h: Likewise.
26160         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26161         (TZVERSION): Hardcode tzcode version number.
26162         * timezone/zdump.c: Update from tzcode 2012i.
26163         * timezone/zic.c: Likewise.
26164         * timezone/version.h: New file.
26165         * timezone/README: Describe version.h.  Update upstream location.
26166
26167         [BZ #14824]
26168         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26169         (mktemp): Enable declaration.
26170         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26171         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26172         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26173         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26174         Likewise.
26175         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26176         Likewise.
26177         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26178         Likewise.
26179         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26180         Likewise.
26181         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26182         Likewise.
26183         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26184         Likewise.
26185
26186         [BZ #14821]
26187         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26188         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26189         for copies of such integer values.
26190         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26191         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26192
26193 2012-11-09  Andreas Jaeger  <aj@suse.de>
26194
26195         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26196         definitions and declarations that are provided by
26197         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26198
26199 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26200
26201         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26202         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26203         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26204         definition.
26205
26206 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26207
26208         * elf/elf.h: Update comment before AArch64 relocations.
26209
26210 2012-11-07  David S. Miller  <davem@davemloft.net>
26211
26212         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26213         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26214         (__start_context): Declare.
26215         (__makecontext_ret): Delete.
26216         (__makecontext): Hook up __start_context instead of
26217         __makecontext_ret.
26218         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26219         (sysdep_routines): Add __start_context when in stdlib.
26220
26221 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26222
26223         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26224         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26225         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26226         hardcoded "nm".
26227         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26228         (READELF): New variable.  Use it instead of hardcoded "readelf".
26229
26230 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26231
26232         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26233         * sysdeps/x86/Makefile: Here.
26234         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26235         * sysdeps/x86/tst-xmmymm.sh: This.
26236
26237 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26238
26239         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26240         expectations.
26241         [UNIX98] (pthread_barrier_t): Do not expect.
26242         [UNIX98] (pthread_barrierattr_t): Likewise.
26243         [UNIX98] (pthread_spinlock_t): Likewise.
26244         [UNIX98] (pthread_barrier_destroy): Likewise.
26245         [UNIX98] (pthread_barrier_init): Likewise.
26246         [UNIX98] (pthread_barrier_wait): Likewise.
26247         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26248         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26249         [UNIX98] (pthread_barrierattr_init): Likewise.
26250         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26251         [UNIX98] (pthread_getcpuclockid): Likewise.
26252         [UNIX98] (pthread_mutex_timedlock): Likewise.
26253         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26254         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26255         [UNIX98] (pthread_sigmask): Likewise.
26256         [UNIX98] (pthread_spin_destroy): Likewise.
26257         [UNIX98] (pthread_spin_init): Likewise.
26258         [UNIX98] (pthread_spin_lock): Likewise.
26259         [UNIX98] (pthread_spin_trylock): Likewise.
26260         [UNIX98] (pthread_spin_unlock): Likewise.
26261         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26262         Do not expect.
26263         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26264         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26265         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26266         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26267         [XPG3 || XPG4] (pthread_key_t): Likewise.
26268         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26269         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26270         [XPG3 || XPG4] (pthread_once_t): Likewise.
26271         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26272         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26273         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26274         [XPG3 || XPG4] (pthread_t): Likewise.
26275
26276         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26277         not expect.
26278         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26279
26280         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26281         Change function return type to int.
26282
26283         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26284         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26285         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26286         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26287         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26288         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26289         [!POSIX] (posix_madvise): Likewise.
26290         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26291         && !UNIX98].
26292         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26293         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26294         (mode_t): Likewise.
26295         (posix_mem_offset): Likewise.
26296         (posix_typed_mem_get_info): Likewise.
26297         (posix_typed_mem_open): Likewise.
26298
26299         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26300         Change condition to [XOPEN2K8].
26301
26302         * conform/conformtest.pl: Preprocess allow-header data with -x c
26303         instead of from stdin.
26304         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26305         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26306         [C99-based standards] (cerfc): Likewise.
26307         [C99-based standards] (cexp2): Likewise.
26308         [C99-based standards] (cexpm1): Likewise.
26309         [C99-based standards] (clog10): Likewise.
26310         [C99-based standards] (clog1p): Likewise.
26311         [C99-based standards] (clog2): Likewise.
26312         [C99-based standards] (clgamma): Likewise.
26313         [C99-based standards] (ctgamma): Likewise.
26314         [C99-based standards] (cerff): Likewise.
26315         [C99-based standards] (cerfcf): Likewise.
26316         [C99-based standards] (cexp2f): Likewise.
26317         [C99-based standards] (cexpm1f): Likewise.
26318         [C99-based standards] (clog10f): Likewise.
26319         [C99-based standards] (clog1pf): Likewise.
26320         [C99-based standards] (clog2f): Likewise.
26321         [C99-based standards] (clgammaf): Likewise.
26322         [C99-based standards] (ctgammaf): Likewise.
26323         [C99-based standards] (cerfl): Likewise.
26324         [C99-based standards] (cerfcl): Likewise.
26325         [C99-based standards] (cexp2l): Likewise.
26326         [C99-based standards] (cexpm1l): Likewise.
26327         [C99-based standards] (clog10l): Likewise.
26328         [C99-based standards] (clog1pl): Likewise.
26329         [C99-based standards] (clog2l): Likewise.
26330         [C99-based standards] (clgammal): Likewise.
26331         [C99-based standards] (ctgammal): Likewise.
26332         * conform/data/inttypes.h-data [C99-based standards]: Include
26333         stdint.h-data.  Remove all expectations for stdint.h contents.
26334         [C99-based standards] (PRI*): Do not allow.
26335         [C99-based standards] (SCN*): Likewise.
26336         [C99-based standards] (*_t): Likewise.
26337         [C99-based-standards] (PRId8): Expect macro.
26338         [C99-based-standards] (PRIi8): Likewise.
26339         [C99-based-standards] (PRIo8): Likewise.
26340         [C99-based-standards] (PRIu8): Likewise.
26341         [C99-based-standards] (PRIx8): Likewise.
26342         [C99-based-standards] (PRIX8): Likewise.
26343         [C99-based-standards] (SCNd8): Likewise.
26344         [C99-based-standards] (SCNi8): Likewise.
26345         [C99-based-standards] (SCNo8): Likewise.
26346         [C99-based-standards] (SCNu8): Likewise.
26347         [C99-based-standards] (SCNx8): Likewise.
26348         [C99-based-standards] (PRIdLEAST8): Likewise.
26349         [C99-based-standards] (PRIiLEAST8): Likewise.
26350         [C99-based-standards] (PRIoLEAST8): Likewise.
26351         [C99-based-standards] (PRIuLEAST8): Likewise.
26352         [C99-based-standards] (PRIxLEAST8): Likewise.
26353         [C99-based-standards] (PRIXLEAST8): Likewise.
26354         [C99-based-standards] (SCNdLEAST8): Likewise.
26355         [C99-based-standards] (SCNiLEAST8): Likewise.
26356         [C99-based-standards] (SCNoLEAST8): Likewise.
26357         [C99-based-standards] (SCNuLEAST8): Likewise.
26358         [C99-based-standards] (SCNxLEAST8): Likewise.
26359         [C99-based-standards] (PRIdFAST8): Likewise.
26360         [C99-based-standards] (PRIiFAST8): Likewise.
26361         [C99-based-standards] (PRIoFAST8): Likewise.
26362         [C99-based-standards] (PRIuFAST8): Likewise.
26363         [C99-based-standards] (PRIxFAST8): Likewise.
26364         [C99-based-standards] (PRIXFAST8): Likewise.
26365         [C99-based-standards] (SCNdFAST8): Likewise.
26366         [C99-based-standards] (SCNiFAST8): Likewise.
26367         [C99-based-standards] (SCNoFAST8): Likewise.
26368         [C99-based-standards] (SCNuFAST8): Likewise.
26369         [C99-based-standards] (SCNxFAST8): Likewise.
26370         [C99-based-standards] (PRId16): Likewise.
26371         [C99-based-standards] (PRIi16): Likewise.
26372         [C99-based-standards] (PRIo16): Likewise.
26373         [C99-based-standards] (PRIu16): Likewise.
26374         [C99-based-standards] (PRIx16): Likewise.
26375         [C99-based-standards] (PRIX16): Likewise.
26376         [C99-based-standards] (SCNd16): Likewise.
26377         [C99-based-standards] (SCNi16): Likewise.
26378         [C99-based-standards] (SCNo16): Likewise.
26379         [C99-based-standards] (SCNu16): Likewise.
26380         [C99-based-standards] (SCNx16): Likewise.
26381         [C99-based-standards] (PRIdLEAST16): Likewise.
26382         [C99-based-standards] (PRIiLEAST16): Likewise.
26383         [C99-based-standards] (PRIoLEAST16): Likewise.
26384         [C99-based-standards] (PRIuLEAST16): Likewise.
26385         [C99-based-standards] (PRIxLEAST16): Likewise.
26386         [C99-based-standards] (PRIXLEAST16): Likewise.
26387         [C99-based-standards] (SCNdLEAST16): Likewise.
26388         [C99-based-standards] (SCNiLEAST16): Likewise.
26389         [C99-based-standards] (SCNoLEAST16): Likewise.
26390         [C99-based-standards] (SCNuLEAST16): Likewise.
26391         [C99-based-standards] (SCNxLEAST16): Likewise.
26392         [C99-based-standards] (PRIdFAST16): Likewise.
26393         [C99-based-standards] (PRIiFAST16): Likewise.
26394         [C99-based-standards] (PRIoFAST16): Likewise.
26395         [C99-based-standards] (PRIuFAST16): Likewise.
26396         [C99-based-standards] (PRIxFAST16): Likewise.
26397         [C99-based-standards] (PRIXFAST16): Likewise.
26398         [C99-based-standards] (SCNdFAST16): Likewise.
26399         [C99-based-standards] (SCNiFAST16): Likewise.
26400         [C99-based-standards] (SCNoFAST16): Likewise.
26401         [C99-based-standards] (SCNuFAST16): Likewise.
26402         [C99-based-standards] (SCNxFAST16): Likewise.
26403         [C99-based-standards] (PRId32): Likewise.
26404         [C99-based-standards] (PRIi32): Likewise.
26405         [C99-based-standards] (PRIo32): Likewise.
26406         [C99-based-standards] (PRIu32): Likewise.
26407         [C99-based-standards] (PRIx32): Likewise.
26408         [C99-based-standards] (PRIX32): Likewise.
26409         [C99-based-standards] (SCNd32): Likewise.
26410         [C99-based-standards] (SCNi32): Likewise.
26411         [C99-based-standards] (SCNo32): Likewise.
26412         [C99-based-standards] (SCNu32): Likewise.
26413         [C99-based-standards] (SCNx32): Likewise.
26414         [C99-based-standards] (PRIdLEAST32): Likewise.
26415         [C99-based-standards] (PRIiLEAST32): Likewise.
26416         [C99-based-standards] (PRIoLEAST32): Likewise.
26417         [C99-based-standards] (PRIuLEAST32): Likewise.
26418         [C99-based-standards] (PRIxLEAST32): Likewise.
26419         [C99-based-standards] (PRIXLEAST32): Likewise.
26420         [C99-based-standards] (SCNdLEAST32): Likewise.
26421         [C99-based-standards] (SCNiLEAST32): Likewise.
26422         [C99-based-standards] (SCNoLEAST32): Likewise.
26423         [C99-based-standards] (SCNuLEAST32): Likewise.
26424         [C99-based-standards] (SCNxLEAST32): Likewise.
26425         [C99-based-standards] (PRIdFAST32): Likewise.
26426         [C99-based-standards] (PRIiFAST32): Likewise.
26427         [C99-based-standards] (PRIoFAST32): Likewise.
26428         [C99-based-standards] (PRIuFAST32): Likewise.
26429         [C99-based-standards] (PRIxFAST32): Likewise.
26430         [C99-based-standards] (PRIXFAST32): Likewise.
26431         [C99-based-standards] (SCNdFAST32): Likewise.
26432         [C99-based-standards] (SCNiFAST32): Likewise.
26433         [C99-based-standards] (SCNoFAST32): Likewise.
26434         [C99-based-standards] (SCNuFAST32): Likewise.
26435         [C99-based-standards] (SCNxFAST32): Likewise.
26436         [C99-based-standards] (PRId64): Likewise.
26437         [C99-based-standards] (PRIi64): Likewise.
26438         [C99-based-standards] (PRIo64): Likewise.
26439         [C99-based-standards] (PRIu64): Likewise.
26440         [C99-based-standards] (PRIx64): Likewise.
26441         [C99-based-standards] (PRIX64): Likewise.
26442         [C99-based-standards] (SCNd64): Likewise.
26443         [C99-based-standards] (SCNi64): Likewise.
26444         [C99-based-standards] (SCNo64): Likewise.
26445         [C99-based-standards] (SCNu64): Likewise.
26446         [C99-based-standards] (SCNx64): Likewise.
26447         [C99-based-standards] (PRIdLEAST64): Likewise.
26448         [C99-based-standards] (PRIiLEAST64): Likewise.
26449         [C99-based-standards] (PRIoLEAST64): Likewise.
26450         [C99-based-standards] (PRIuLEAST64): Likewise.
26451         [C99-based-standards] (PRIxLEAST64): Likewise.
26452         [C99-based-standards] (PRIXLEAST64): Likewise.
26453         [C99-based-standards] (SCNdLEAST64): Likewise.
26454         [C99-based-standards] (SCNiLEAST64): Likewise.
26455         [C99-based-standards] (SCNoLEAST64): Likewise.
26456         [C99-based-standards] (SCNuLEAST64): Likewise.
26457         [C99-based-standards] (SCNxLEAST64): Likewise.
26458         [C99-based-standards] (PRIdFAST64): Likewise.
26459         [C99-based-standards] (PRIiFAST64): Likewise.
26460         [C99-based-standards] (PRIoFAST64): Likewise.
26461         [C99-based-standards] (PRIuFAST64): Likewise.
26462         [C99-based-standards] (PRIxFAST64): Likewise.
26463         [C99-based-standards] (PRIXFAST64): Likewise.
26464         [C99-based-standards] (SCNdFAST64): Likewise.
26465         [C99-based-standards] (SCNiFAST64): Likewise.
26466         [C99-based-standards] (SCNoFAST64): Likewise.
26467         [C99-based-standards] (SCNuFAST64): Likewise.
26468         [C99-based-standards] (SCNxFAST64): Likewise.
26469         [C99-based-standards] (PRIdMAX): Likewise.
26470         [C99-based-standards] (PRIiMAX): Likewise.
26471         [C99-based-standards] (PRIoMAX): Likewise.
26472         [C99-based-standards] (PRIuMAX): Likewise.
26473         [C99-based-standards] (PRIxMAX): Likewise.
26474         [C99-based-standards] (PRIXMAX): Likewise.
26475         [C99-based-standards] (SCNdMAX): Likewise.
26476         [C99-based-standards] (SCNiMAX): Likewise.
26477         [C99-based-standards] (SCNoMAX): Likewise.
26478         [C99-based-standards] (SCNuMAX): Likewise.
26479         [C99-based-standards] (SCNxMAX): Likewise.
26480         [C99-based-standards] (PRIdPTR): Likewise.
26481         [C99-based-standards] (PRIiPTR): Likewise.
26482         [C99-based-standards] (PRIoPTR): Likewise.
26483         [C99-based-standards] (PRIuPTR): Likewise.
26484         [C99-based-standards] (PRIxPTR): Likewise.
26485         [C99-based-standards] (PRIXPTR): Likewise.
26486         [C99-based-standards] (SCNdPTR): Likewise.
26487         [C99-based-standards] (SCNiPTR): Likewise.
26488         [C99-based-standards] (SCNoPTR): Likewise.
26489         [C99-based-standards] (SCNuPTR): Likewise.
26490         [C99-based-standards] (SCNxPTR): Likewise.
26491         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26492         allow.
26493         * conform/data/stdint.h-data: Update comments to clarify
26494         requirements.
26495         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26496         type.
26497         [C99-based standards] (INT8_MAX): Likewise.
26498         [C99-based standards] (INT16_MIN): Likewise.
26499         [C99-based standards] (INT16_MAX): Likewise.
26500         [C99-based standards] (INT32_MIN): Likewise.
26501         [C99-based standards] (INT32_MAX): Likewise.
26502         [C99-based standards] (INT64_MIN): Likewise.
26503         [C99-based standards] (INT64_MAX): Likewise.
26504         [C99-based standards] (UINT8_MAX): Likewise.
26505         [C99-based standards] (UINT16_MAX): Likewise.
26506         [C99-based standards] (UINT32_MAX): Likewise.
26507         [C99-based standards] (UINT64_MAX): Likewise.
26508         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26509         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26510         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26511         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26512         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26513         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26514         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26515         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26516         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26517         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26518         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26519         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26520         [C99-based standards] (INT_FAST8_MIN): Likewise.
26521         [C99-based standards] (INT_FAST8_MAX): Likewise.
26522         [C99-based standards] (INT_FAST16_MIN): Likewise.
26523         [C99-based standards] (INT_FAST16_MAX): Likewise.
26524         [C99-based standards] (INT_FAST32_MIN): Likewise.
26525         [C99-based standards] (INT_FAST32_MAX): Likewise.
26526         [C99-based standards] (INT_FAST64_MIN): Likewise.
26527         [C99-based standards] (INT_FAST64_MAX): Likewise.
26528         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26529         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26530         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26531         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26532         [C99-based standards] (INTPTR_MIN): Likewise.
26533         [C99-based standards] (INTPTR_MAX): Likewise.
26534         [C99-based standards] (UINTPTR_MAX): Likewise.
26535         [C99-based standards] (INTMAX_MIN): Likewise.
26536         [C99-based standards] (INTMAX_MAX): Likewise.
26537         [C99-based standards] (UINTMAX_MAX): Likewise.
26538         [C99-based standards] (PTRDIFF_MIN): Likewise.
26539         [C99-based standards] (PTRDIFF_MAX): Likewise.
26540         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26541         [C99-based standards] (SIZE_MAX): Likewise.
26542         [C99-based standards] (WCHAR_MAX): Likewise.
26543         [C99-based standards] (WINT_MAX): Likewise.
26544         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26545         constraint on value.
26546         [C99-based standards] (WCHAR_MIN): Likewise.
26547         [C99-based standards] (WINT_MIN): Likewise.
26548         [C99-based standards] (*_t): Allow.
26549         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26550         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26551         Include math.h-data and complex.h-data.  Remove all expectations
26552         of math.h and complex.h contents.
26553         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26554         at end of line.
26555         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26556         (struct tm): Expect tag.
26557         [C99-based-standards] (wcstof): Expect function.
26558         [C99-based-standards] (wcstold): Likewise.
26559         [C99-based-standards] (wcstoll): Likewise.
26560         [C99-based-standards] (wcstoull): Likewise.
26561         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26562         macro-int-constant.  Specify type.
26563         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26564         constraint on value.
26565         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26566         Specify type.
26567         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26568         Specify value.
26569         [ISO C standards]: Do not allow headers.
26570         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26571         wcs[abcdefghijklmnopqrstuvwxyz]*.
26572         [ISO C standards] (*_t): Do not allow.
26573         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26574         Expect function.
26575         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26576         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26577         Specify type.
26578         [ISO C standards]: Do not allow headers.
26579         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26580         is[abcdefghijklmnopqrstuvwxyz]*.
26581         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26582         to[abcdefghijklmnopqrstuvwxyz]*.
26583         [ISO C standards] (*_t): Do not allow.
26584         * conform/data/stdalign.h-data: New file.
26585         * conform/data/stdbool.h-data: Likewise.
26586         * conform/data/stdnoreturn.h-data: Likewise.
26587
26588 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26589
26590         [BZ #14815]
26591         * manual/filesys.texi (Directory Entries): Typo fix.
26592         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26593
26594 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26595
26596         * elf/elf.h (EM_AARCH64): New macro.
26597         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26598         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26599         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26600         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26601         (R_AARCH64_TLSDESC): Likewise.
26602         (NT_ARM_TLS): Likewise.
26603         (NT_ARM_HW_BREAK): Likewise.
26604         (NT_ARM_HW_WATCH): Likewise.
26605
26606 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26607
26608         [BZ #14811]
26609         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26610         (__ieee754_powl): Saturate nonzero exponents with absolute value
26611         below 0x1p-79 to +/- 0x1p-79.
26612         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26613         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26614         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26615         nonzero exponents with absolute value below 0x1p-32 to +/-
26616         0x1p-32.
26617         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26618         (__ieee754_powl): Saturate nonzero exponents with absolute value
26619         below 0x1p-79 to +/- 0x1p-79.
26620         * math/libm-test.inc (pow_test): Add more tests.
26621
26622 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26623
26624         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26625         _dl_s390_cap_flags with kernel. Increase string length.
26626         (_dl_s390_platforms): Add z196 and zEC12.
26627
26628 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26629
26630         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26631         Change XOPEN21K to XOPEN2K.
26632
26633 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26634
26635         * string/memmove.c: Use memcpy when possible.
26636
26637 2012-11-06  Andreas Jaeger  <aj@suse.de>
26638
26639         * po/eo.po: Update from translation team.
26640
26641 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26642
26643         [BZ #14793]
26644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26645         exponent and small x and y exponents, scale x or y up.  Increase
26646         by 2 the exponent used in scaling up.
26647         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26648         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26649         * math/libm-test.inc (fma_test): Add more tests.
26650         (fma_test_towardzero): Likewise.
26651         (fma_test_downward): Likewise.
26652         (fma_test_upward): Likewise.
26653
26654 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26655
26656         [BZ #14805]
26657         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26658         fenv_t *.
26659
26660         [BZ #14801]
26661         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26662         namespace for names of struct fields.
26663         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26664         fenv_t fields.
26665         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26666         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26667
26668 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26669
26670         [BZ #3665]
26671         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26672
26673 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26674
26675         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26676         PTR_DEMANGLE.
26677
26678         [BZ #5246]
26679         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26680         PTR_DEMANGLE.
26681
26682 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26683
26684         [BZ #14797]
26685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26686         definitely overflow as x * y not x * y + z.
26687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26688         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26689         * math/libm-test.inc (fma_test): Add more tests.
26690         (fma_test_towardzero): Likewise.
26691         (fma_test_downward): Likewise.
26692         (fma_test_upward): Likewise.
26693
26694 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26695
26696         [BZ #157]
26697
26698         * include/stub-tag.h: Remove file.
26699         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26700         '#include' of it.
26701         * manual/maint.texi (Porting): Don't reference it.
26702         * Makerules ($(objpfx)stubs): Likewise.
26703         * dirent/closedir.c: Don't include <stub-tag.h>.
26704         * dirent/dirfd.c: Likewise.
26705         * dirent/fdopendir.c: Likewise.
26706         * dirent/getdents.c: Likewise.
26707         * dirent/getdents64.c: Likewise.
26708         * dirent/opendir.c: Likewise.
26709         * dirent/readdir.c: Likewise.
26710         * dirent/readdir64.c: Likewise.
26711         * dirent/readdir64_r.c: Likewise.
26712         * dirent/readdir_r.c: Likewise.
26713         * dirent/rewinddir.c: Likewise.
26714         * dirent/seekdir.c: Likewise.
26715         * dirent/telldir.c: Likewise.
26716         * gmon/profil.c: Likewise.
26717         * grp/setgroups.c: Likewise.
26718         * inet/if_index.c: Likewise.
26719         * io/access.c: Likewise.
26720         * io/chdir.c: Likewise.
26721         * io/chmod.c: Likewise.
26722         * io/chown.c: Likewise.
26723         * io/close.c: Likewise.
26724         * io/dup.c: Likewise.
26725         * io/dup2.c: Likewise.
26726         * io/dup3.c: Likewise.
26727         * io/euidaccess.c: Likewise.
26728         * io/faccessat.c: Likewise.
26729         * io/fchdir.c: Likewise.
26730         * io/fchmod.c: Likewise.
26731         * io/fchmodat.c: Likewise.
26732         * io/fchown.c: Likewise.
26733         * io/fchownat.c: Likewise.
26734         * io/fcntl.c: Likewise.
26735         * io/flock.c: Likewise.
26736         * io/fstatfs.c: Likewise.
26737         * io/fstatfs64.c: Likewise.
26738         * io/fstatvfs.c: Likewise.
26739         * io/fstatvfs64.c: Likewise.
26740         * io/futimens.c: Likewise.
26741         * io/fxstat.c: Likewise.
26742         * io/fxstat64.c: Likewise.
26743         * io/fxstatat.c: Likewise.
26744         * io/fxstatat64.c: Likewise.
26745         * io/getcwd.c: Likewise.
26746         * io/isatty.c: Likewise.
26747         * io/lchmod.c: Likewise.
26748         * io/lchown.c: Likewise.
26749         * io/link.c: Likewise.
26750         * io/linkat.c: Likewise.
26751         * io/lseek.c: Likewise.
26752         * io/lseek64.c: Likewise.
26753         * io/lxstat64.c: Likewise.
26754         * io/mkdir.c: Likewise.
26755         * io/mkdirat.c: Likewise.
26756         * io/mkfifo.c: Likewise.
26757         * io/mkfifoat.c: Likewise.
26758         * io/open.c: Likewise.
26759         * io/open64.c: Likewise.
26760         * io/openat.c: Likewise.
26761         * io/openat64.c: Likewise.
26762         * io/pipe.c: Likewise.
26763         * io/pipe2.c: Likewise.
26764         * io/poll.c: Likewise.
26765         * io/posix_fadvise.c: Likewise.
26766         * io/posix_fadvise64.c: Likewise.
26767         * io/posix_fallocate.c: Likewise.
26768         * io/posix_fallocate64.c: Likewise.
26769         * io/read.c: Likewise.
26770         * io/readlink.c: Likewise.
26771         * io/readlinkat.c: Likewise.
26772         * io/rmdir.c: Likewise.
26773         * io/sendfile.c: Likewise.
26774         * io/sendfile64.c: Likewise.
26775         * io/statfs.c: Likewise.
26776         * io/statfs64.c: Likewise.
26777         * io/statvfs.c: Likewise.
26778         * io/statvfs64.c: Likewise.
26779         * io/symlink.c: Likewise.
26780         * io/symlinkat.c: Likewise.
26781         * io/ttyname.c: Likewise.
26782         * io/ttyname_r.c: Likewise.
26783         * io/umask.c: Likewise.
26784         * io/unlink.c: Likewise.
26785         * io/unlinkat.c: Likewise.
26786         * io/utime.c: Likewise.
26787         * io/utimensat.c: Likewise.
26788         * io/write.c: Likewise.
26789         * io/xmknod.c: Likewise.
26790         * io/xmknodat.c: Likewise.
26791         * io/xstat.c: Likewise.
26792         * io/xstat64.c: Likewise.
26793         * login/getpt.c: Likewise.
26794         * login/grantpt.c: Likewise.
26795         * login/unlockpt.c: Likewise.
26796         * math/e_acoshl.c: Likewise.
26797         * math/e_acosl.c: Likewise.
26798         * math/e_asinl.c: Likewise.
26799         * math/e_atan2l.c: Likewise.
26800         * math/e_atanhl.c: Likewise.
26801         * math/e_coshl.c: Likewise.
26802         * math/e_expl.c: Likewise.
26803         * math/e_fmodl.c: Likewise.
26804         * math/e_gammal_r.c: Likewise.
26805         * math/e_hypotl.c: Likewise.
26806         * math/e_j0l.c: Likewise.
26807         * math/e_j1l.c: Likewise.
26808         * math/e_jnl.c: Likewise.
26809         * math/e_lgammal_r.c: Likewise.
26810         * math/e_log10l.c: Likewise.
26811         * math/e_log2l.c: Likewise.
26812         * math/e_logl.c: Likewise.
26813         * math/e_powl.c: Likewise.
26814         * math/e_rem_pio2l.c: Likewise.
26815         * math/e_sinhl.c: Likewise.
26816         * math/e_sqrtl.c: Likewise.
26817         * math/fclrexcpt.c: Likewise.
26818         * math/fedisblxcpt.c: Likewise.
26819         * math/feenablxcpt.c: Likewise.
26820         * math/fegetenv.c: Likewise.
26821         * math/fegetexcept.c: Likewise.
26822         * math/fegetround.c: Likewise.
26823         * math/feholdexcpt.c: Likewise.
26824         * math/fesetenv.c: Likewise.
26825         * math/fesetround.c: Likewise.
26826         * math/feupdateenv.c: Likewise.
26827         * math/fgetexcptflg.c: Likewise.
26828         * math/fraiseexcpt.c: Likewise.
26829         * math/fsetexcptflg.c: Likewise.
26830         * math/ftestexcept.c: Likewise.
26831         * math/k_cosl.c: Likewise.
26832         * math/k_rem_pio2l.c: Likewise.
26833         * math/k_sinl.c: Likewise.
26834         * math/k_tanl.c: Likewise.
26835         * math/s_asinhl.c: Likewise.
26836         * math/s_atanl.c: Likewise.
26837         * math/s_cbrtl.c: Likewise.
26838         * math/s_erfl.c: Likewise.
26839         * math/s_expm1l.c: Likewise.
26840         * math/s_log1pl.c: Likewise.
26841         * math/s_tanhl.c: Likewise.
26842         * misc/acct.c: Likewise.
26843         * misc/brk.c: Likewise.
26844         * misc/chflags.c: Likewise.
26845         * misc/chroot.c: Likewise.
26846         * misc/fchflags.c: Likewise.
26847         * misc/fgetxattr.c: Likewise.
26848         * misc/flistxattr.c: Likewise.
26849         * misc/fremovexattr.c: Likewise.
26850         * misc/fsetxattr.c: Likewise.
26851         * misc/fsync.c: Likewise.
26852         * misc/ftruncate.c: Likewise.
26853         * misc/futimes.c: Likewise.
26854         * misc/futimesat.c: Likewise.
26855         * misc/getdomain.c: Likewise.
26856         * misc/getdtsz.c: Likewise.
26857         * misc/gethostid.c: Likewise.
26858         * misc/gethostname.c: Likewise.
26859         * misc/getloadavg.c: Likewise.
26860         * misc/getpagesize.c: Likewise.
26861         * misc/getsysstats.c: Likewise.
26862         * misc/getxattr.c: Likewise.
26863         * misc/gtty.c: Likewise.
26864         * misc/ioctl.c: Likewise.
26865         * misc/lgetxattr.c: Likewise.
26866         * misc/listxattr.c: Likewise.
26867         * misc/llistxattr.c: Likewise.
26868         * misc/lremovexattr.c: Likewise.
26869         * misc/lsetxattr.c: Likewise.
26870         * misc/lutimes.c: Likewise.
26871         * misc/madvise.c: Likewise.
26872         * misc/mincore.c: Likewise.
26873         * misc/mlock.c: Likewise.
26874         * misc/mlockall.c: Likewise.
26875         * misc/mmap.c: Likewise.
26876         * misc/mprotect.c: Likewise.
26877         * misc/msync.c: Likewise.
26878         * misc/munlock.c: Likewise.
26879         * misc/munlockall.c: Likewise.
26880         * misc/munmap.c: Likewise.
26881         * misc/preadv.c: Likewise.
26882         * misc/preadv64.c: Likewise.
26883         * misc/ptrace.c: Likewise.
26884         * misc/pwritev.c: Likewise.
26885         * misc/pwritev64.c: Likewise.
26886         * misc/readv.c: Likewise.
26887         * misc/reboot.c: Likewise.
26888         * misc/remap_file_pages.c: Likewise.
26889         * misc/removexattr.c: Likewise.
26890         * misc/revoke.c: Likewise.
26891         * misc/select.c: Likewise.
26892         * misc/setdomain.c: Likewise.
26893         * misc/setegid.c: Likewise.
26894         * misc/seteuid.c: Likewise.
26895         * misc/sethostid.c: Likewise.
26896         * misc/sethostname.c: Likewise.
26897         * misc/setregid.c: Likewise.
26898         * misc/setreuid.c: Likewise.
26899         * misc/setxattr.c: Likewise.
26900         * misc/sstk.c: Likewise.
26901         * misc/stty.c: Likewise.
26902         * misc/swapoff.c: Likewise.
26903         * misc/swapon.c: Likewise.
26904         * misc/sync.c: Likewise.
26905         * misc/syncfs.c: Likewise.
26906         * misc/syscall.c: Likewise.
26907         * misc/truncate.c: Likewise.
26908         * misc/ualarm.c: Likewise.
26909         * misc/usleep.c: Likewise.
26910         * misc/ustat.c: Likewise.
26911         * misc/utimes.c: Likewise.
26912         * misc/vhangup.c: Likewise.
26913         * misc/writev.c: Likewise.
26914         * posix/_exit.c: Likewise.
26915         * posix/alarm.c: Likewise.
26916         * posix/execve.c: Likewise.
26917         * posix/fexecve.c: Likewise.
26918         * posix/fork.c: Likewise.
26919         * posix/fpathconf.c: Likewise.
26920         * posix/getaddrinfo.c: Likewise.
26921         * posix/getegid.c: Likewise.
26922         * posix/geteuid.c: Likewise.
26923         * posix/getgid.c: Likewise.
26924         * posix/getgroups.c: Likewise.
26925         * posix/getlogin.c: Likewise.
26926         * posix/getlogin_r.c: Likewise.
26927         * posix/getpgid.c: Likewise.
26928         * posix/getpid.c: Likewise.
26929         * posix/getppid.c: Likewise.
26930         * posix/getresgid.c: Likewise.
26931         * posix/getresuid.c: Likewise.
26932         * posix/getsid.c: Likewise.
26933         * posix/getuid.c: Likewise.
26934         * posix/glob64.c: Likewise.
26935         * posix/nanosleep.c: Likewise.
26936         * posix/pathconf.c: Likewise.
26937         * posix/pause.c: Likewise.
26938         * posix/posix_madvise.c: Likewise.
26939         * posix/pread.c: Likewise.
26940         * posix/pread64.c: Likewise.
26941         * posix/pwrite.c: Likewise.
26942         * posix/pwrite64.c: Likewise.
26943         * posix/sched_getaffinity.c: Likewise.
26944         * posix/sched_getp.c: Likewise.
26945         * posix/sched_gets.c: Likewise.
26946         * posix/sched_primax.c: Likewise.
26947         * posix/sched_primin.c: Likewise.
26948         * posix/sched_rr_gi.c: Likewise.
26949         * posix/sched_setaffinity.c: Likewise.
26950         * posix/sched_setp.c: Likewise.
26951         * posix/sched_sets.c: Likewise.
26952         * posix/sched_yield.c: Likewise.
26953         * posix/setgid.c: Likewise.
26954         * posix/setlogin.c: Likewise.
26955         * posix/setpgid.c: Likewise.
26956         * posix/setresgid.c: Likewise.
26957         * posix/setresuid.c: Likewise.
26958         * posix/setsid.c: Likewise.
26959         * posix/setuid.c: Likewise.
26960         * posix/sleep.c: Likewise.
26961         * posix/spawni.c: Likewise.
26962         * posix/sysconf.c: Likewise.
26963         * posix/times.c: Likewise.
26964         * posix/wait.c: Likewise.
26965         * posix/wait3.c: Likewise.
26966         * posix/wait4.c: Likewise.
26967         * posix/waitpid.c: Likewise.
26968         * resolv/gai_sigqueue.c: Likewise.
26969         * resource/getpriority.c: Likewise.
26970         * resource/getrlimit.c: Likewise.
26971         * resource/getrusage.c: Likewise.
26972         * resource/nice.c: Likewise.
26973         * resource/setpriority.c: Likewise.
26974         * resource/setrlimit.c: Likewise.
26975         * resource/ulimit.c: Likewise.
26976         * rt/aio_cancel.c: Likewise.
26977         * rt/aio_fsync.c: Likewise.
26978         * rt/aio_read.c: Likewise.
26979         * rt/aio_sigqueue.c: Likewise.
26980         * rt/aio_suspend.c: Likewise.
26981         * rt/aio_write.c: Likewise.
26982         * rt/clock_getres.c: Likewise.
26983         * rt/clock_gettime.c: Likewise.
26984         * rt/clock_nanosleep.c: Likewise.
26985         * rt/clock_settime.c: Likewise.
26986         * rt/lio_listio.c: Likewise.
26987         * rt/mq_close.c: Likewise.
26988         * rt/mq_getattr.c: Likewise.
26989         * rt/mq_notify.c: Likewise.
26990         * rt/mq_open.c: Likewise.
26991         * rt/mq_receive.c: Likewise.
26992         * rt/mq_send.c: Likewise.
26993         * rt/mq_setattr.c: Likewise.
26994         * rt/mq_timedreceive.c: Likewise.
26995         * rt/mq_timedsend.c: Likewise.
26996         * rt/mq_unlink.c: Likewise.
26997         * rt/shm_open.c: Likewise.
26998         * rt/shm_unlink.c: Likewise.
26999         * rt/timer_create.c: Likewise.
27000         * rt/timer_delete.c: Likewise.
27001         * rt/timer_getoverr.c: Likewise.
27002         * rt/timer_gettime.c: Likewise.
27003         * rt/timer_settime.c: Likewise.
27004         * setjmp/__longjmp.c: Likewise.
27005         * setjmp/setjmp.c: Likewise.
27006         * signal/kill.c: Likewise.
27007         * signal/killpg.c: Likewise.
27008         * signal/raise.c: Likewise.
27009         * signal/sigaction.c: Likewise.
27010         * signal/sigaltstack.c: Likewise.
27011         * signal/sigblock.c: Likewise.
27012         * signal/sigignore.c: Likewise.
27013         * signal/sigintr.c: Likewise.
27014         * signal/signal.c: Likewise.
27015         * signal/sigpause.c: Likewise.
27016         * signal/sigpending.c: Likewise.
27017         * signal/sigqueue.c: Likewise.
27018         * signal/sigreturn.c: Likewise.
27019         * signal/sigset.c: Likewise.
27020         * signal/sigsetmask.c: Likewise.
27021         * signal/sigstack.c: Likewise.
27022         * signal/sigsuspend.c: Likewise.
27023         * signal/sigtimedwait.c: Likewise.
27024         * signal/sigvec.c: Likewise.
27025         * signal/sigwait.c: Likewise.
27026         * signal/sigwaitinfo.c: Likewise.
27027         * signal/sysv_signal.c: Likewise.
27028         * socket/accept.c: Likewise.
27029         * socket/accept4.c: Likewise.
27030         * socket/bind.c: Likewise.
27031         * socket/connect.c: Likewise.
27032         * socket/getpeername.c: Likewise.
27033         * socket/getsockname.c: Likewise.
27034         * socket/getsockopt.c: Likewise.
27035         * socket/isfdtype.c: Likewise.
27036         * socket/listen.c: Likewise.
27037         * socket/recv.c: Likewise.
27038         * socket/recvfrom.c: Likewise.
27039         * socket/recvmsg.c: Likewise.
27040         * socket/send.c: Likewise.
27041         * socket/sendmsg.c: Likewise.
27042         * socket/sendto.c: Likewise.
27043         * socket/setsockopt.c: Likewise.
27044         * socket/shutdown.c: Likewise.
27045         * socket/sockatmark.c: Likewise.
27046         * socket/socket.c: Likewise.
27047         * socket/socketpair.c: Likewise.
27048         * stdio-common/ctermid.c: Likewise.
27049         * stdio-common/cuserid.c: Likewise.
27050         * stdio-common/remove.c: Likewise.
27051         * stdio-common/rename.c: Likewise.
27052         * stdio-common/renameat.c: Likewise.
27053         * stdio-common/tempname.c: Likewise.
27054         * stdlib/getcontext.c: Likewise.
27055         * stdlib/makecontext.c: Likewise.
27056         * stdlib/setcontext.c: Likewise.
27057         * stdlib/swapcontext.c: Likewise.
27058         * stdlib/system.c: Likewise.
27059         * streams/fattach.c: Likewise.
27060         * streams/fdetach.c: Likewise.
27061         * streams/getmsg.c: Likewise.
27062         * streams/getpmsg.c: Likewise.
27063         * streams/putmsg.c: Likewise.
27064         * streams/putpmsg.c: Likewise.
27065         * sysdeps/unix/bsd/getpt.c: Likewise.
27066         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27067         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27068         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27070         Likewise.
27071         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27072         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27073         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27074         * sysvipc/msgctl.c: Likewise.
27075         * sysvipc/msgget.c: Likewise.
27076         * sysvipc/msgrcv.c: Likewise.
27077         * sysvipc/msgsnd.c: Likewise.
27078         * sysvipc/semctl.c: Likewise.
27079         * sysvipc/semget.c: Likewise.
27080         * sysvipc/semop.c: Likewise.
27081         * sysvipc/semtimedop.c: Likewise.
27082         * sysvipc/shmat.c: Likewise.
27083         * sysvipc/shmctl.c: Likewise.
27084         * sysvipc/shmdt.c: Likewise.
27085         * sysvipc/shmget.c: Likewise.
27086         * termios/tcdrain.c: Likewise.
27087         * termios/tcflow.c: Likewise.
27088         * termios/tcflush.c: Likewise.
27089         * termios/tcgetattr.c: Likewise.
27090         * termios/tcgetpgrp.c: Likewise.
27091         * termios/tcsendbrk.c: Likewise.
27092         * termios/tcsetattr.c: Likewise.
27093         * termios/tcsetpgrp.c: Likewise.
27094         * time/adjtime.c: Likewise.
27095         * time/clock.c: Likewise.
27096         * time/getitimer.c: Likewise.
27097         * time/gettimeofday.c: Likewise.
27098         * time/setitimer.c: Likewise.
27099         * time/settimeofday.c: Likewise.
27100         * time/stime.c: Likewise.
27101         * time/time.c: Likewise.
27102
27103 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27104
27105         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27106         /usr/old/bin.
27107
27108         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27109         instead of spaces.
27110         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27111
27112 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27113
27114         [BZ #14796]
27115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27116         FE_TONEAREST before applying Dekker multiplication and Knuth
27117         addition.  Clear inexact exceptions and check for exact zero
27118         results afterwards.
27119         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27120         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27121         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27122         * math/libm-test.inc (fma_test): Add more tests.
27123         (fma_test_towardzero): Likewise.
27124         (fma_test_downward): Likewise.
27125         (fma_test_upward): Likewise.
27126         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27127         function.
27128         (libc_fesetround): New macro.
27129         (libc_fesetroundf): Likewise.
27130         (libc_fesetroundl): Likewise.
27131         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27132         function.
27133         (libc_fesetround_387): Likewise.
27134         (libc_fesetroundf): New macro.
27135         (libc_fesetround): Likewise.
27136         (libc_fesetroundl): Likewise.
27137         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27138         function.
27139         (libc_fesetroundf): New macro.
27140         (libc_fesetround): Likewise.
27141         (libc_fesetroundl): Likewise.
27142         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27143         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27144         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27145         libm_hidden_ver.
27146         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27147         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27148         libm_hidden_def.
27149         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27150         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27151         libm_hidden_ver.
27152         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27153         libm_hidden_def.
27154
27155         [BZ #3439]
27156         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27157         integer constant usable in #if and use that to give value to enum
27158         constant.
27159         (FE_DIVBYZERO): Likewise.
27160         (FE_UNDERFLOW): Likewise.
27161         (FE_OVERFLOW): Likewise.
27162         (FE_INVALID): Likewise.
27163         (FE_INVALID_SNAN): Likewise.
27164         (FE_INVALID_ISI): Likewise.
27165         (FE_INVALID_IDI): Likewise.
27166         (FE_INVALID_ZDZ): Likewise.
27167         (FE_INVALID_IMZ): Likewise.
27168         (FE_INVALID_COMPARE): Likewise.
27169         (FE_INVALID_SOFTWARE): Likewise.
27170         (FE_INVALID_SQRT): Likewise.
27171         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27172         (FE_TONEAREST): Likewise.
27173         (FE_TOWARDZERO): Likewise.
27174         (FE_UPWARD): Likewise.
27175         (FE_DOWNWARD): Likewise.
27176         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27177         (FE_DIVBYZERO): Likewise.
27178         (FE_OVERFLOW): Likewise.
27179         (FE_UNDERFLOW): Likewise.
27180         (FE_INEXACT): Likewise.
27181         (FE_TONEAREST): Likewise.
27182         (FE_DOWNWARD): Likewise.
27183         (FE_UPWARD): Likewise.
27184         (FE_TOWARDZERO): Likewise.
27185         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27186         (FE_UNDERFLOW): Likewise.
27187         (FE_OVERFLOW): Likewise.
27188         (FE_DIVBYZERO): Likewise.
27189         (FE_INVALID): Likewise.
27190         (FE_TONEAREST): Likewise.
27191         (FE_TOWARDZERO): Likewise.
27192         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27193         (FE_OVERFLOW): Likewise.
27194         (FE_UNDERFLOW): Likewise.
27195         (FE_DIVBYZERO): Likewise.
27196         (FE_INEXACT): Likewise.
27197         (FE_TONEAREST): Likewise.
27198         (FE_TOWARDZERO): Likewise.
27199         (FE_UPWARD): Likewise.
27200         (FE_DOWNWARD): Likewise.
27201         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27202         (FE_DIVBYZERO): Likewise.
27203         (FE_OVERFLOW): Likewise.
27204         (FE_UNDERFLOW): Likewise.
27205         (FE_INEXACT): Likewise.
27206         (FE_TONEAREST): Likewise.
27207         (FE_DOWNWARD): Likewise.
27208         (FE_UPWARD): Likewise.
27209         (FE_TOWARDZERO): Likewise.
27210
27211 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27212
27213         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27214
27215 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27216
27217         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27218         commands.  Quote $PWD.
27219         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27220         -x" by "export".
27221         (remove_newlines): Remove.
27222
27223 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27224
27225         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27226         * stdlib/stdlib.h (atof): Moved to ...
27227         * include/bits/stdlib-float.h: Here.  New file.
27228         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27229         * stdlib/bits/stdlib-float.h: New file.
27230         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27231         -mno-sse -mno-mmx.
27232         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27233         <xmmintrin.h>.
27234
27235 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27236
27237         * conform/conformtest.pl (@headers): Add fenv.h.
27238         * conform/data/fenv.h-data: New file.
27239         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27240         include of <math/fenv.h>.
27241
27242         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27243         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27244         && !UNIX98].  Enables tests for XOPEN2K8.
27245         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27246         POSIX2008]: Likewise.
27247
27248         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27249         (struct rusage): Do not expect type or its members.
27250
27251         [BZ #3439]
27252         * math/math.h (FP_NAN): Define macro to integer constant usable in
27253         #if and use that to give value to enum constant.
27254         (FP_INFINITE): Likewise.
27255         (FP_ZERO): Likewise.
27256         (FP_SUBNORMAL): Likewise.
27257         (FP_NORMAL): Likewise.
27258
27259 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27260
27261         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27262         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27263         arguments.
27264
27265 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27266
27267         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27268         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27269         autoconf-time if not.
27270         * configure.in: Remove AC_PREREQ.
27271
27272 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27273
27274         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27275         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27276         of the internal implementation.
27277
27278 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27279
27280         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27281         except include of <misc/sys/syslog.h>.
27282
27283 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27284
27285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27286         function returns with a NULL context exit with zero.
27287
27288 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27289
27290         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27291
27292 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27293
27294         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27295         (run_program_cmd): This.
27296         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27297         (tst_langinfo): New variable.  Use it.
27298
27299 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27300
27301         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27302         floating point opcodes.
27303
27304 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27305
27306         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27307         variable.
27308
27309         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27310
27311         * sysdeps/mach/hurd/powerpc: Remove directory.
27312         * sysdeps/mach/powerpc: Likewise.
27313
27314 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27315
27316         * scripts/check-local-headers.sh: Ignore c++ headers.
27317
27318 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27319
27320         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27321         __libc_cleanup_region_start argument.
27322
27323 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27324
27325         [BZ #14784]
27326         [BZ #14785]
27327         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27328         x * y using scaling, not as x * y + z.
27329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27330         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27331         * math/libm-test.inc (fma_test): Add more tests.
27332         (fma_test_towardzero): Likewise.
27333         (fma_test_downward): Likewise.
27334         (fma_test_upward): Likewise.
27335
27336 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27337
27338         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27339
27340 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27341
27342         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27343         New variable.
27344
27345 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27346
27347         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27348
27349 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27350
27351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27352         Fix sort order.
27353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27354         Likewise.
27355
27356 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27357
27358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27359         Fix the order of the list for glibc 2.17.
27360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27361         Likewise.
27362
27363 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27364
27365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27366
27367 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27368
27369         [BZ #14610]
27370         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27371         for low part of x being zero before using __atanl (y).
27372         * math/libm-test.inc (atan2_test): Add another test.
27373
27374         * manual/install.texi (Configuring and compiling): Document
27375         general use of test-wrapper and test-wrapper-env.
27376         * INSTALL: Regenerated.
27377
27378         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27379         (__fma): Do not extract and scale down low bits on after-rounding
27380         systems when result rounded to normal precision would have normal
27381         exponent.
27382         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27383         (__fmal): Do not extract and scale down low bits on after-rounding
27384         systems when result rounded to normal precision would have normal
27385         exponent.
27386         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27387         (__fmal): Do not extract and scale down low bits on after-rounding
27388         systems when result rounded to normal precision would have normal
27389         exponent.
27390         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27391         macro.
27392         (fma_test): Add more tests.
27393         (fma_test_towardzero): Likewise.
27394         (fma_test_downward): Likewise.
27395         (fma_test_upward): Likewise.
27396
27397 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27398
27399         * sysdeps/i386/tininess.h: Renamed to ...
27400         * sysdeps/x86/tininess.h: This.
27401         * sysdeps/x86_64/tininess.h: Removed.
27402
27403 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27404
27405         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27406         input.  Use $(build-program-cmd).
27407         ($(objpfx)tst-array1-static.out): Likewise.
27408         ($(objpfx)tst-array2.out): Likewise.
27409         ($(objpfx)tst-array3.out): Likewise.
27410         ($(objpfx)tst-array4.out): Likewise.
27411         ($(objpfx)tst-array5.out): Likewise.
27412         ($(objpfx)tst-array5-static.out): Likewise.
27413
27414 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27415
27416         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27417         if defined.
27418
27419         * nss/nsswitch.h (nss_interface_function): Provide new
27420         macro for use with NSS functions.
27421         * grp/initgroups.c: Use new macro.
27422         * nss/getXXbyYY.c: Likewise.
27423         * nss/getXXbyYY_r.c: Likewise.
27424         * nss/getXXent.c: Likewise.
27425         * nss/getXXent_r.c: Likewise.
27426         * sysdeps/posix/getaddrinfo.c: Likewise.
27427
27428 2012-10-30  Andreas Jaeger  <aj@suse.de>
27429
27430         * po/ru.po: Update Russion translation from translation project.
27431
27432 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27433
27434         [BZ #14152]
27435         [BZ #14783]
27436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27437         result and shift together with sticky bit instead of replicating
27438         round-to-nearest rounding.
27439         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27440         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27441         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27442         missing underflow exceptions.
27443         (fma_test_towardzero): Add more tests.
27444         (fma_test_downward): Likewise.
27445         (fma_test_upward): Likewise.
27446
27447         [BZ #14047]
27448         * sysdeps/generic/tininess.h: New file.
27449         * sysdeps/i386/tininess.h: Likewise.
27450         * sysdeps/sh/tininess.h: Likewise.
27451         * sysdeps/x86_64/tininess.h: Likewise.
27452         * stdlib/tst-strtod-underflow.c: Likewise.
27453         * stdlib/tst-tininess.c: Likewise.
27454         * stdlib/strtod_l.c: Include <tininess.h>.
27455         (round_and_return): Do not set errno for exact underflow cases.
27456         Force an underflow exception when setting errno for underflow.
27457         Determine underflow based on rounding to normal precision if
27458         TININESS_AFTER_ROUNDING.
27459         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27460         ERANGE for exact underflow cases.
27461         * stdlib/Makefile (tests): Add tst-tininess and
27462         tst-strtod-underflow.
27463         ($(objpfx)tst-tininess): Use $(link-libm).
27464         ($(objpfx)tst-strtod-underflow): Likewise.
27465
27466 2012-10-30  Andreas Jaeger  <aj@suse.de>
27467
27468         [BZ#14767]
27469         * elf/Makefile (tests): Remove conditional for have-initfini-array
27470         since this is now always required and the variable does not exist
27471         anymore.
27472         (tests-static): Likewise.
27473         (modules-names): Likewise.
27474
27475         * po/eo.po: Add Esperanto translation from translation project.
27476
27477         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27478         merged with constructor/destructor.
27479         (init_array): Likewise.
27480         * elf/tst-array2dep.c (fini_array): Likewise.
27481         (init_array): Likewise.
27482
27483 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27484
27485         * manual/message.texi: Delete @cartouche tags.
27486
27487 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27488
27489         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27490         EOPNOTSUPP.
27491         * sysdeps/mach/hurd/fsync.c: Likewise.
27492
27493         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27494         [_POSIX_REALTIME_SIGNALS]: Change condition to
27495         [_POSIX_REALTIME_SIGNALS > 0].
27496
27497 2012-10-27  Andreas Jaeger  <aj@suse.de>
27498
27499         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27500         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27501         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27502         [__WORDSIZE != 64]: Likewise.
27503
27504 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27505
27506         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27507         *  iconvdata/tst-tables.sh: Likewise.
27508
27509 2012-10-25  David S. Miller  <davem@davemloft.net>
27510
27511         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27512         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27513         of strtoull.
27514
27515         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27516         ifunc-impl-list.c
27517         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27518         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27519         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27520         file.
27521
27522 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27523
27524         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27525         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27526         __getdirentries.
27527
27528 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27529             Jim Blandy  <jimb@codesourcery.com>
27530
27531         * scripts/cross-test-ssh.sh: New file.
27532         * manual/install.texi (Configuring and compiling): Document use of
27533         cross-test-ssh.sh.
27534         * INSTALL: Regenerated.
27535
27536 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27537
27538         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27539         EOPNOTSUPP.
27540
27541 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27542
27543         * Makeconfig (run-program-prefix): Fix comment.
27544
27545 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27546             Jim Blandy  <jimb@codesourcery.com>
27547
27548         * Makeconfig (test-wrapper): New variable,
27549         (test-wrapper-env): Likewise.
27550         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27551         (run-built-tests): Define to yes.
27552         (run-program-prefix): Use $(test-wrapper).
27553         (built-program-cmd): Likewise.
27554         * Rules (make-test-out): Use $(test-wrapper-env) and
27555         $(host-built-program-cmd).
27556         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27557         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27558         tst-pathopt.sh.
27559         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27560         $(test-wrapper-env) to tst-rtld-load-self.sh.
27561         ($(objpfx)order2.out): Use $(test-wrapper).
27562         ($(objpfx)tst-initorder.out): Likewise.
27563         ($(objpfx)tst-initorder2.out): Likewise.
27564         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27565         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27566         (test_wrapper_env): New variable.  Use it to run ld.so.
27567         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27568         Use it to run ld.so.
27569         (test_wrapper_env): Likewise.
27570         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27571         $(test-wrapper) to run-iconv-test.sh.
27572         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27573         (ICONV): Use $test_wrapper.
27574         * posix/Makefile ($(objpfx)globtest.out): Pass
27575         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27576         globtest.sh, not $(run-program-prefix).
27577         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27578         (test_wrapper): Likewise.
27579         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27580         set together with run_via_rtld_prefix.
27581         (run_program_prefix): Define in terms of test_wrapper and
27582         run_via_rtld_prefix.
27583
27584 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27585
27586         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27587         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27588         Targets removed.
27589
27590         [BZ #14743]
27591         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27592         Declare __clock_getres, __clock_gettime, __clock_settime,
27593         __clock_nanosleep, and __clock_getcpuclockid.
27594         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27595         Remove librt_hidden_def (clock_gettime).
27596         * sysdeps/unix/clock_gettime.c: Likewise.
27597         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27598         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27599         * rt/clock_getres.c: Define __clock_getres as an alias.
27600         * sysdeps/posix/clock_getres.c: Likewise.
27601         * rt/clock_settime.c: Define __clock_settime as an alias.
27602         * sysdeps/unix/clock_settime.c: Likewise.
27603         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27604         * sysdeps/unix/clock_nanosleep.c: Likewise.
27605         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27606         * rt/clock-compat.c: New file.
27607         * rt/Makefile (librt-routines): Add clock-compat and move
27608         $(clock-routines) to ...
27609         (routines): ... here, new variable.
27610         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27611         Don't add get_clockfreq here.
27612         * rt/Versions (libc: GLIBC_2.17): New version set.
27613         Add clock_* symbols here.
27614         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27615         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27616         (GLIBC_2.17): Add clock_* symbols.
27617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27619         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27621         Likewise.
27622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27623         Likewise.
27624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27628         * NEWS: Mention the move.
27629
27630         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27631         Use __open, __read, __close rather than their public counterparts.
27632         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27633         (__get_clockfreq_via_cpuinfo): Likewise.
27634         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27635         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27636
27637         * config.h.in (HAVE_IFUNC): New #undef.
27638         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27639         was successful.
27640         * configure: Regenerated.
27641
27642 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27643
27644         * configure.in: Move READELF check to start of file.
27645         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27646         libc_cv_asm_gnu_indirect_function in the process.
27647         * configure: Regenerated.
27648
27649 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27650
27651         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27652         send the output to /dev/null.
27653         (libc_cv_cc_with_libunwind): Likewise.
27654         (libc_cv_as_noexecstack): Likewise.
27655         * configure: Regenerate.
27656
27657 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27658
27659         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27660
27661         * posix/globtest.sh (TMPDIR): Do not set.
27662         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27663         (testout): Likewise.
27664
27665 2012-10-24  Andreas Jaeger  <aj@suse.de>
27666
27667         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27668         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27669         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27670         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27671         posix_fadvise64, posix_fallocate64.
27672
27673         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27674         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27675         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27676         Likewise.
27677         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27678         Likewise.
27679         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27680
27681         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27682         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27683         <bits/fcntl-linux.h>.
27684         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27685
27686         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27687         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27688         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27689         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27690         [__WORDSIZE != 64]: Likewise.
27691
27692 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27693
27694         * Makeconfig (run-built-tests): New variable.
27695         * Rules [$(cross-compiling) = yes]: Change condition to
27696         [$(run-built-tests) = no].
27697         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27698         to [$(run-built-tests) = yes].
27699         * elf/Makefile [$(cross-compiling) = no]: Likewise
27700         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27701         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27702         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27703         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27704         * io/Makefile [$(cross-compiling) = no]: Likewise.
27705         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27706         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27707         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27708         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27709         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27710         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27711         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27712         * string/Makefile [$(cross-compiling) = no]: Likewise.
27713
27714         * posix/Makefile ($(objpfx)globtest.out): Pass
27715         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27716         $(rtld-installed-name).
27717         * posix/globtest.sh (elf_objpfx): Remove variable.
27718         (rtld_installed_name): Likewise.
27719         (library_path): Likewise.
27720         (run_program_prefix): New variable.  Use for running globtest
27721         binary.
27722
27723 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27724             Joseph Myers  <joseph@codesourcery.com>
27725
27726         * Makeconfig (host-built-program-cmd): New variable.
27727         * elf/Makefile (tst-stackguard1-ARGS): Use
27728         $(host-built-program-cmd).
27729         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27730         (tst-spawn-ARGS): Likewise.
27731         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27732
27733 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27734             Jim Blandy  <jimb@codesourcery.com>
27735
27736         * Makeconfig (run-via-rtld-prefix): New variable.
27737         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27738         (built-program-cmd): Likewise.
27739
27740 2012-10-22  Andreas Jaeger  <aj@suse.de>
27741
27742         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27743         __O_RSYNC if it exists, otherwise to O_SYNC.
27744
27745 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27746             Joseph Myers  <joseph@codesourcery.com>
27747
27748         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27749         /dev/null.
27750         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27751         from /dev/null
27752         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27753         /dev/null.
27754
27755 2012-10-22  Andreas Jaeger  <aj@suse.de>
27756
27757         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27758         Define always.
27759         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27760
27761         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27762         bits/fcntl-linux.h.
27763
27764         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27765         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27766
27767         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27768         to __O_LARGEFILE.
27769         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27770         to __O_LARGEFILE.
27771
27772 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27773             Joseph Myers  <joseph@codesourcery.com>
27774
27775         * config.make.in (NM): New variable.
27776
27777 2012-10-21  Andreas Jaeger  <aj@suse.de>
27778
27779         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27780         definitions and declarations that are provided by
27781         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27782
27783 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27784
27785         [BZ #14683]
27786         * elf/Makefile (tests-static): Add tst-leaks1-static.
27787         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27788         ($(objpfx)tst-leaks1-static): New rule.
27789         ($(objpfx)tst-leaks1-static-mem): Likewise.
27790         (tst-leaks1-static-ENV): New macro.
27791         * elf/dl-open.c (dl_open_worker): Check the main application
27792         only if SHARED is defined.
27793         * elf/tst-leaks1-static.c: New file.
27794
27795 2012-10-20  Andreas Jaeger  <aj@suse.de>
27796
27797         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27798         generic values for Linux.
27799         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27800         and declarations that are provided by <bits/fcntl-linux.h> and
27801         include <bits/fcntl-linux.h>.
27802         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27803         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27804
27805 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27806
27807         * io/fcntl.h: Move include of <bits/types.h> to the top and
27808         include it unconditionally.
27809
27810 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27811
27812         * wcsmbs/Makefile (tests-ifunc): New variable.
27813         (tests): Add $(tests-ifunc).
27814         * wcsmbs/test-wcschr-ifunc.c: New file.
27815         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27816         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27817         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27818         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27819         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27820
27821         * string/Makefile (tests-ifunc): New variable.
27822         (tests): Add $(tests-ifunc).
27823         * string/test-memccpy.c (TEST_NAME): New macro.
27824         * string/test-memchr.c (TEST_NAME): Likewise.
27825         * string/test-memcmp.c (TEST_NAME): Likewise.
27826         * string/test-memcpy.c (TEST_NAME): Likewise.
27827         * string/test-memmem.c (TEST_NAME): Likewise.
27828         * string/test-memmove.c (TEST_NAME): Likewise.
27829         * string/test-memset.c (TEST_NAME): Likewise.
27830         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27831         * string/test-stpcpy.c (TEST_NAME): Likewise.
27832         * string/test-stpncpy.c (TEST_NAME): Likewise.
27833         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27834         * string/test-strcasestr.c (TEST_NAME): Likewise.
27835         * string/test-strcat.c (TEST_NAME): Likewise.
27836         * string/test-strchr.c (TEST_NAME): Likewise.
27837         * string/test-strcmp.c(TEST_NAME): Likewise.
27838         * string/test-strcpy.c (TEST_NAME): Likewise.
27839         * string/test-strcspn.c (TEST_NAME): Likewise.
27840         * string/test-strlen.c (TEST_NAME): Likewise.
27841         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27842         * string/test-strncmp.c (TEST_NAME): Likewise.
27843         * string/test-strncpy.c (TEST_NAME): Likewise.
27844         * string/test-strnlen.c (TEST_NAME): Likewise.
27845         * string/test-strpbrk.c (TEST_NAME): Likewise.
27846         * string/test-strrchr.c (TEST_NAME): Likewise.
27847         * string/test-strspn.c (TEST_NAME): Likewise.
27848         * string/test-strstr.c (TEST_NAME): Likewise.
27849         * string/test-bcopy-ifunc.c: New file.
27850         * string/test-bzero-ifunc.c: Likewise.
27851         * string/test-memccpy-ifunc.c: Likewise.
27852         * string/test-memchr-ifunc.c: Likewise.
27853         * string/test-memcmp-ifunc.c: Likewise.
27854         * string/test-memcpy-ifunc.c: Likewise.
27855         * string/test-memmem-ifunc.c: Likewise.
27856         * string/test-memmove-ifunc.c: Likewise.
27857         * string/test-mempcpy-ifunc.c: Likewise.
27858         * string/test-memset-ifunc.c: Likewise.
27859         * string/test-rawmemchr-ifunc.c: Likewise.
27860         * string/test-stpcpy-ifunc.c: Likewise.
27861         * string/test-stpncpy-ifunc.c: Likewise.
27862         * string/test-strcasecmp-ifunc.c: Likewise.
27863         * string/test-strcasestr-ifunc.c: Likewise.
27864         * string/test-strcat-ifunc.c: Likewise.
27865         * string/test-strchr-ifunc.c: Likewise.
27866         * string/test-strchrnul-ifunc.c: Likewise.
27867         * string/test-strcmp-ifunc.c: Likewise.
27868         * string/test-strcpy-ifunc.c: Likewise.
27869         * string/test-strcspn-ifunc.c: Likewise.
27870         * string/test-strlen-ifunc.c: Likewise.
27871         * string/test-strncasecmp-ifunc.c: Likewise.
27872         * string/test-strncat-ifunc.c: Likewise.
27873         * string/test-strncmp-ifunc.c: Likewise.
27874         * string/test-strncpy-ifunc.c: Likewise.
27875         * string/test-strnlen-ifunc.c: Likewise.
27876         * string/test-strpbrk-ifunc.c: Likewise.
27877         * string/test-strrchr-ifunc.c: Likewise.
27878         * string/test-strspn-ifunc.c: Likewise.
27879         * string/test-strstr-ifunc.c: Likewise.
27880
27881         * debug/Makefile (tests-ifunc): New variable.
27882         (tests): Add $(tests-ifunc).
27883         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27884         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27885         * debug/test-stpcpy_chk-ifunc.c: New file.
27886         * debug/test-strcpy_chk-ifunc.c: Likewise.
27887
27888 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27889
27890         [BZ #13601]
27891         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27892         header is not read in.
27893
27894 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27895
27896         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27897         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27898         directly.  Pass built executable to script as
27899         $(built-program-cmd).
27900         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27901         $testprogram without using LD_LIBRARY_PATH and $ldso.
27902
27903         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27904         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27905         $(rtld-installed-name).
27906         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27907         (rtld_installed_name): Likewise.
27908         (library_path): Likewise.
27909         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27910         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27911         $(run-program-prefix) to tst-tables.sh.
27912         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27913         it to run tst-table-from and tst-table-to.
27914         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27915         Pass it to tst-table.sh.
27916         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27917         $(run-program-prefix) to tst-gettext.sh.
27918         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27919         tst-translit.sh.
27920         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27921         tst-gettext2.sh.
27922         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27923         to run tst-gettext.
27924         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27925         to run tst-gettext2.
27926         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27927         to run tst-translit.
27928         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27929         $(run-program-prefix) to tst-mtrace.sh.
27930         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27931         to run tst-mtrace.
27932         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27933         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27934         $(rtld-installed-name).
27935         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27936         (rtld_installed_name): Likewise.
27937         (run_program_prefix): New variable.  Use it to run wordexp-test.
27938
27939         * Makeconfig (ARCH): Remove all definitions.
27940         (machine): Likewise.
27941         [ARCH]: Remove conditional code.
27942         [!objdir]: Give error.
27943         [!objdir] (objpfx): Remove.
27944         [!objdir] (common-objpfx): Likewise.
27945         [!objdir] (common-objdir): Likewise.
27946         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27947         AC_CONFIG_FILES call.
27948         * configure: Regenerated.
27949
27950         [BZ #13888]
27951         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27952         or TMPDIR.
27953         (testout): Likewise.
27954
27955         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27956         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27957         $(rtld-installed-name).
27958         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27959         (rtld_installed_name): Likwise.
27960         (runit): Remove function.
27961         (run_getconf): New variable,  Use it for running getconf binary.
27962
27963 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27964
27965         [BZ #14716]
27966         * string/test-memmem.c (check_result): New function.
27967         (do_one_test): Use it.
27968         (check1): New function.
27969         (test_main): Use it.
27970
27971 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27972
27973         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27974
27975 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27976
27977         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27978         (_G_LSEEK64): Likewise.
27979         (_G_MMAP64): Likewise.
27980         (_G_FSTAT64): Likewise.
27981         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27982         (_G_LSEEK64): Likewise.
27983         (_G_MMAP64): Likewise.
27984         (_G_FSTAT64): Likewise.
27985         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27986         unconditional.  Call __mmap64 directly.
27987         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27988         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27989         __lseek64 directly.
27990         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27991         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27992         __mmap64 directly.
27993         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27994         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27995         __lseek64 directly.
27996         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27997         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27998         __lseek64 directly.
27999         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28000         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28001         __lseek64 directly.
28002         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28003         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28004         __fxstat64 directly.
28005         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28006         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28007         unconditional.
28008         (freopen64) [!_G_OPEN64]: Remove conditional code.
28009         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28010         unconditional.
28011         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28012         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28013         unconditional.
28014         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28015         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28016         unconditional.
28017         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28018         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28019         unconditional.
28020         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28021         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28022         unconditional.
28023         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28024         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28025         unconditional.
28026         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28027         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28028         unconditional.
28029         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28030
28031 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28032
28033         [BZ #12140]
28034         * manual/memory.texi (Malloc Tunable Parameters): Add note
28035         about free list pointers overwriting some perturb bytes.
28036         Wording suggested by Roland McGrath.
28037
28038 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28039
28040         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28041         (lgamma_test): Likewise.
28042         (tgamma_test): Likewise.
28043
28044 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28045
28046         [BZ #14700]
28047         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28048         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28049
28050 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28051
28052         * NEWS: Mention BZ #14716.
28053         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28054         when removing AVAILABLE1_USES_J macro.
28055
28056 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28057
28058         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28059         (__bswap_64): __uint64_t for unsigned 64-bit int.
28060
28061 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28062
28063         * include/string.h (memmem): Declare libc hidden alias.
28064         * string/memmem.c (memmem): Define libc hidden alias.
28065         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28066         __read, __close instead of open, read, close.
28067
28068 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28069
28070         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28071         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28072         global and hidden.
28073         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28074         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28075         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28076         Likewise.
28077         (__rawmemchr_sse2): Likewise.
28078         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28079         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28080         (__strchr_sse2): Likewise.
28081         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28082         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28083         (__strcasecmp_sse2): Likewise.
28084         (__strncasecmp_sse2): Likewise.
28085         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28086         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28087         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28088         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28089         (__strrchr_sse2): Likewise.
28090         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28091         ifunc-impl-list.c.
28092         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28093         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28094         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28095         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28096         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28097         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28098         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28099         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28100         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28101         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28102         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28103         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28104         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28105         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28106         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28107         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28108         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28109         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28110         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28111         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28112         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28113         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28114         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28115         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28116         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28117         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28118         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28119         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28120         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28121         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28122
28123         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28124         global and hidden.
28125         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28126         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28127         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28128         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28129         Likewise.
28130         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28131         Likewise.
28132         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28133         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28134         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28135         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28136         ifunc-impl-list.c.
28137         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28138         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28139         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28140         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28141         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28142         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28143         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28144         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28145         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28146         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28147         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28148         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28149         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28150         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28151         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28152         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28153         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28154         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28155         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28156         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28157         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28158         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28159         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28160         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28161         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28162         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28163         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28164         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28165         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28166         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28167         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28168         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28169         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28170         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28171         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28172         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28173         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28174         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28175         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28176         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28177         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28178
28179         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28180         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28181         * include/ifunc-impl-list.h: New file.
28182         * misc/ifunc-impl-list.c: Likewise.
28183         * misc/Makefile (routines): Add ifunc-impl-list.
28184         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28185         * string/test-string.h: Include <ifunc-impl-list.h>.
28186         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28187         TEST_NAME]: New variables.
28188         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28189         are defined.
28190         (test_init): Call __libc_ifunc_impl_list to initialize
28191         func_list if TEST_IFUNC and TEST_NAME are defined.
28192
28193         * string/Makefile (strop-tests): Add bcopy and bzero.
28194         * string/test-bcopy.c: New file.
28195         * string/test-bzero.c: Likewise.
28196         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28197         defined.
28198         * string/test-memset.c: Support bzero test if TEST_BZERO is
28199         defined.
28200         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28201         __libc_memmove.
28202         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28203         __libc_memset.
28204         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28205         of memset.
28206
28207 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28208
28209         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28210         * configure: Regenerated.
28211
28212         * Makeconfig (+link-static-before-libc): Don't include
28213         $(link-static-libc).
28214
28215         * libio/libio.h (_IO_pos_t): Remove.
28216
28217 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28218
28219         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28220         McGrath.
28221
28222 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28223
28224         * crypt/crypt-entry.c: Include fips-private.h.
28225         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28226         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28227         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28228         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28229
28230 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28231
28232         * crypt/crypt-private.h: Include stdbool.h.
28233         (_ufc_setup_salt_r): Return bool.
28234         * crypt/crypt-entry.c: Include errno.h.
28235         (__crypt_r): Return NULL with EINVAL for bad salt.
28236         * crypt/crypt_util.c (bad_for_salt): New.
28237         (_ufc_setup_salt_r): Check that salt is long enough and within
28238         the specified alphabet.
28239         * crypt/badsalttest.c: New file.
28240         * crypt/Makefile (tests): Add it.
28241         ($(objpfx)badsalttest): New.
28242
28243 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28244
28245         * NEWS: Add entry for BZ #14602.
28246
28247 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28248
28249         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28250         type-generic.
28251         * math/libm-test.inc: Update comment listing what functions and
28252         macros are tested.
28253         (isgreater_test): New function.
28254         (isgreaterequal_test): Likewise.
28255         (isless_test): Likewise.
28256         (islessequal_test): Likewise.
28257         (islessgreater_test): Likewise.
28258         (isunordered_test): Likewise.
28259         (main): Call the new functions.
28260
28261 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28262
28263         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28264         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28265         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28266         * sysdeps/i386/configure: Regenerated.
28267         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28268         * sysdeps/mach/configure: Regenerated.
28269         * sysdeps/mach/hurd/configure: Regenerated.
28270         * sysdeps/powerpc/configure: Regenerated.
28271         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28272         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28273         * sysdeps/s390/s390-32/configure: Regenerated.
28274         * sysdeps/s390/s390-64/configure: Regenerated.
28275         * sysdeps/sh/configure: Regenerated.
28276         * sysdeps/sparc/configure: Regenerated.
28277         * sysdeps/unix/sysv/linux/configure: Regenerated.
28278         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28279         * sysdeps/x86_64/configure: Regenerated.
28280
28281         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28282         defined.  Don't check if MAP is NULL.
28283
28284 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28285
28286         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28287         (_G_stat64): Likewise.
28288         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28289         (_G_stat64): Likewise.
28290         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28291         instead of struct _G_stat64.
28292         * libio/fileops.c (mmap_remap_check): Likewise.
28293         (decide_maybe_mmap): Likewise.
28294         (_IO_new_file_seekoff): Likewise.
28295         (_IO_file_stat): Likewise.
28296         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28297         _G_off64_t.
28298         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28299         instead of struct _G_stat64.
28300         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28301
28302 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28303
28304         [BZ #14602]
28305         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28306         Replace with ...
28307         (CHECK_EOL): New macro.
28308         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28309         CHECK_EOL.
28310         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28311         Replace with CHECK_EOL.
28312         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28313         Replace with CHECK_EOL.
28314
28315 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28316
28317         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28318         type-generic.
28319         * math/libm-test.inc: Update comment listing what functions and
28320         macros are tested.
28321         (finite_test): New function.
28322         (isinf_test): Likewise.
28323         (isnan_test): Likewise.
28324         (fpclassify_test): Test subnormal input.
28325         (isfinite_test): Likewise.
28326         (isnormal_test): Likewise.
28327         (main): Call the new functions.
28328
28329 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28330
28331         [BZ #14660]
28332         * Makerules (%.dynsym): Force C locale when running
28333         $(OBJDUMP) --dynamic-syms.
28334
28335 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28336
28337         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28338         <stdint.h>.
28339
28340 2012-10-06  David S. Miller  <davem@davemloft.net>
28341
28342         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28343         upper 32-bits of the length value in %o2 since we use branch-on-register
28344         tests which consider the entire 64-bit register.
28345
28346 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28347
28348         * string/test-strstr.c (check2): Add a test for page boundary.
28349
28350 2012-10-05  David S. Miller  <davem@davemloft.net>
28351
28352         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28353         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28354         file.
28355         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28356         sysdep_routines.
28357         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28358         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28359         and bzero when HWCAP_SPARC_CRYPTO is present.
28360
28361 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28362
28363         [BZ #14602]
28364         * string/test-strstr.c (check2): New function.
28365         (test_main): Call check2.
28366
28367         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28368         and bug-strchr1.
28369         * string/bug-strcasestr1.c (do_test): Moved to ...
28370         * string/test-strcasestr.c (check1): Here.  New function.
28371         (do_one_test): Break out result checking code into ...
28372         (check_result): This.  New function.
28373         (do_one_test): Call check_result.
28374         (test_main): Call check1.
28375         * string/bug-strchr1.c (do_test): Moved to ...
28376         * string/test-strchr.c (check1): Here.  New function.
28377         (do_one_test): Break out result checking code into ...
28378         (check_result): This.  New function.
28379         (do_one_test): Call check_result.
28380         (test_main): Call check1.
28381         * string/bug-strstr1.c (main): Moved to ...
28382         * string/test-strstr.c (check1): Here.  New function.
28383         (do_one_test): Break out result checking code into ...
28384         (check_result): This.  New function.
28385         (do_one_test): Call check_result.
28386         (test_main): Call check1.
28387         * string/bug-strcasestr1.c: Removed.
28388         * string/bug-strchr1.c: Likewise.
28389         * string/bug-strstr1.c: Likewise.
28390
28391         * elf/Makefile (dl-routines): Add hwcaps.
28392         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28393         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28394         (_dl_important_hwcaps): Moved to ...
28395         * elf/dl-hwcaps.c: Here.  New file.
28396         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28397
28398         [BZ #14557]
28399         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28400         if IS_IN_rtld isn't defined.
28401
28402         * elf/dl-support.c (_dl_sysinfo_map): New.
28403         Include "get-dynamic-info.h" and "setup-vdso.h".
28404         (_dl_non_dynamic_init): Call setup_vdso.
28405         * elf/dynamic-link.h: Don't include <assert.h>.
28406         (elf_get_dynamic_info): Moved to ...
28407         * elf/get-dynamic-info.h: Here.  New file.
28408         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28409         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28410         * elf/setup-vdso.h: Here.  New file.
28411         * elf/rtld.c: Include "setup-vdso.h".
28412         (dl_main): Call setup_vdso.
28413
28414 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28415
28416         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28417         creal in comment listing functions tested.  List finite, isinf,
28418         isnan, isless, islessequal, isgreater, isgreaterequal,
28419         islessgreater, isunordered, lgamma_r and pow10 as functions and
28420         macros not tested.  Mention which functions not tested are aliases
28421         for other functions.  Fix typo.  Note that signs of NaNs are not
28422         tested.
28423
28424         * scripts/config.guess: Update from config.git.
28425         * scripts/config.sub: Likewise.
28426
28427 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28428
28429         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28430         * misc/madvise.c (madvise): Renamed to __madvise.
28431         Make madvise a weak alias.
28432         * include/sys/mman.h: Declare __madvise.
28433         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28434         * sysdeps/unix/syscalls.list
28435         (madvise): Make __madvise the strong name, and madvise a weak alias.
28436         * sysdeps/unix/sysv/linux/syscalls.list
28437         (madvise, mmap): Remove redundant entries.
28438         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28439         * malloc/malloc.c (mtrim): Likewise.
28440         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28441
28442 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28443
28444         * sysdeps/mach/hurd/dl-cache.c: File removed.
28445         * config.h.in (USE_LDCONFIG): New #undef.
28446         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28447         * configure: Regenerated.
28448         * elf/Makefile (dl-routines): Add dl-cache only under
28449         [$(use-ldconfig) = yes].
28450         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28451         cache on [USE_LDCONFIG].
28452         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28453         [USE_LDCONFIG].
28454         * elf/rtld.c (dl_main): Likewise.
28455
28456 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28457
28458         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28459         _SC_LEVEL4_CACHE_LINESIZE.
28460
28461 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28462
28463         * sysdeps/unix/bsd/confstr.h: File removed.
28464
28465 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28466
28467         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28468         sys/sdt-config.h.
28469
28470 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28471
28472         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28473         Make 'mapoff' field ElfW(Off) rather than off_t.
28474
28475 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28476
28477         * nscd/Makefile: Remove nscd-cflags and all its users.
28478         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28479         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28480
28481         [BZ #10631]
28482         * malloc.c (malloc_printerr): Clarify error message.
28483
28484 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28485
28486         [BZ #14648]
28487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28488         Set bit_FMA_Usable if FMA is supported.
28489         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28490         macro.
28491         (bit_FMA4_Usable): Updated.
28492         (index_FMA_Usable): New macro.
28493         (CPUID_FMA): Likewise
28494         (HAS_FMA): Defined with bit_FMA_Usable.
28495
28496 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28497
28498         * bits/types.h (__swblk_t): Type removed.
28499         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28500         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28501         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28502         (__SWBLK_T_TYPE): Likewise.
28503         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28504         (__SWBLK_T_TYPE): Likewise.
28505         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28506         (__SWBLK_T_TYPE): Likewise.
28507         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28508         (__SWBLK_T_TYPE): Likewise.
28509
28510 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28511             Honza Horak <hhorak@redhat.com>
28512
28513         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28514         (xdr_mapname): Use YPMAXMAP as maxsize.
28515         (xdr_peername): Use YPMAXPEER as maxsize.
28516         (xdr_keydat): Use YPAXRECORD as maxsize.
28517         (xdr_valdat): Use YPMAXRECORD as maxsize.
28518
28519 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28520
28521         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28522
28523         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28524         * csu/init-first.c: ... here.
28525         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28526         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28527         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28528         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28529         * sysdeps/i386/init-first.c: File removed.
28530         * sysdeps/sh/init-first.c: File removed.
28531
28532 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28533
28534         [BZ #14645]
28535         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28536         if x * y might underflow to zero and z is zero.
28537         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28538         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28539         * math/libm-test.inc (min_subnorm_value): New variable.
28540         (fma_test): Add more tests.
28541         (fma_test_towardzero): Likewise.
28542         (fma_test_downward): Likewise
28543         (fma_test_upward): Likewise.
28544         (initialize): Set min_subnorm_value.
28545
28546 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28547
28548         [BZ #14638]
28549         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28550         0 + 0.
28551         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28552         mode for addition resulting in exact zero.
28553         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28554         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28555         exact 0 + 0.
28556         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28558         * math/libm-test.inc (fma_test): Add more tests.
28559         (fma_test_towardzero): New function.
28560         (fma_test_downward): Likewise.
28561         (fma_test_upward): Likewise.
28562         (main): Call the new functions.
28563
28564 2012-09-28  David S. Miller  <davem@davemloft.net>
28565
28566         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28567
28568 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28569
28570         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28571         instead of SIGALRM.
28572
28573         * sysdeps/gnu/_G_config.h: Moved to ...
28574         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28575         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28576         * sysdeps/generic/_G_config.h: ... here.
28577
28578         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28579
28580         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28581
28582         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28583         Conditionalize target on [libnss_test1.so-version].
28584
28585         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28586
28587         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28588         (elfobjdir): Move out of conditionals.
28589
28590         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28591         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28592         (__nss_lookup_function): Conditionalize label remove_from_tree on
28593         [!DO_STATIC_NSS || SHARED], matching its only use.
28594
28595 2012-09-28  David S. Miller  <davem@davemloft.net>
28596
28597         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28598         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28599         file.
28600         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28601         sysdep_routines.
28602         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28603         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28604         when HWCAP_SPARC_CRYPTO is present.
28605
28606 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28607
28608         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28609
28610 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28611
28612         [BZ #6530]
28613         * stdio-common/vfprintf.c (process_string_arg): Revert
28614         2000-07-22 change.
28615
28616 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28617
28618         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28619         for testcase.
28620         * stdio-common/tst-sprintf.c: Include <locale.h>
28621         (main): Test sprintf's handling of incomplete multibyte
28622         characters.
28623
28624 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28625
28626         * elf/dl-runtime.c (VERSYMIDX): Removed.
28627         * elf/dl-version.c (VERSYMIDX): Likewise.
28628         * elf/do-rel.h (VERSYMIDX): Likewise.
28629         (VALIDX): Likewise.
28630         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28631         * elf/rtld.c (VALIDX): Likewise.
28632         (ADDRIDX): Likewise.
28633         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28634         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28635         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28636         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28637         (VALIDX): Likewise.
28638         (ADDRIDX): Likewise.
28639
28640 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28641
28642         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28643
28644 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28645
28646         [BZ #11438]
28647         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28648         to global scope.
28649         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28650         addresses are in the same scope as 192.0.2/24.
28651         * posix/gai.conf: Document new scope table defaults.
28652
28653 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28654
28655         [BZ #5298]
28656         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28657         for ftell.  Compute offsets from write pointers instead.
28658         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28659
28660 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28661
28662         [BZ #14543]
28663         * libio/Makefile (tests): New test case tst-fseek.
28664         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28665         combination works in wide mode.
28666         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28667         state when the external buffer state changes.
28668
28669 2012-09-27  David S. Miller  <davem@davemloft.net>
28670
28671         [BZ #14376]
28672         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28673         pass reloc->r_addend in as the 'high' argument to
28674         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28675
28676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28677
28678 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28679
28680         * rt/tst-aio2.c: Include <pthread.h>.
28681         * rt/tst-aio3.c: Likewise.
28682
28683 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28684
28685         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28686
28687 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28688
28689         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28690         contents on [SHARED].
28691
28692 2012-09-26  Marek Polacek  <polacek@redhat.com>
28693
28694         [BZ #14530]
28695         [BZ #13741]
28696         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28697         for C++ and GCC <4.3 as well as for non GCC compilers.
28698
28699 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28700
28701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28702
28703 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28704
28705         * Makefile.in (all, install): Declare with .PHONY.
28706         Reported by Michael Hope <michael.hope@linaro.org>.
28707
28708 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28709
28710         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28711         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28712         system header.
28713         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28714         Likewise.
28715         (sydep_routines): Add the new and the internal functions.
28716         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28717         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28719         (GLIBC_2.17): Add the new function.
28720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28721         (GLIBC_2.17): Likewise.
28722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28723         (GLIBC_2.17): Likewise.
28724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28725         (GLIBC_2.17): Likewise.
28726         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28727
28728 2012-09-25  Alan Modra  <amodra@gmail.com>
28729
28730         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28731         Add release barrier before setting once_control to say
28732         initialisation is done.  Add hints on lwarx.  Use macro in
28733         place of isync.
28734         (clear_once_control): Add release barrier.
28735
28736 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28737
28738         [BZ #13629]
28739         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28740         specially.
28741         * math/s_clog10.c (__clog10): Likewise.
28742         * math/s_clog10f.c (__clog10f): Likewise.
28743         * math/s_clog10l.c (__clog10l): Likewise.
28744         * math/s_clogf.c (__clogf): Likewise.
28745         * math/s_clogl.c (__clogl): Likewise.
28746         * math/Makefile (libm-calls): Add x2y2m1.
28747         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28748         (__x2y2m1): Likewise.
28749         (__x2y2m1l): Likewise.
28750         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28751         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28752         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28753         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28754         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28755         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28756         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28757         * sysdeps/i386/fpu/libm-test-ulps: Update.
28758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28759
28760         [BZ #14621]
28761         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28762         int as type of variable DEPTH.
28763         (glob): Use size_t instead of int as type of variables NEWCOUNT
28764         and OLD_PATHC.
28765
28766 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28767
28768         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28769         Add s_sincosf-sse2.
28770         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28771         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28772         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28773         macros for using routine as __sincosf_ia32.
28774         Use macro for function declaration and weak_alias.
28775         * sysdeps/i386/fpu/libm-test-ulps: Update.
28776
28777         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28779
28780         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28781         subnormal argument.
28782         * math/s_cexpf.c (__cexpf): Likewise.
28783         * math/s_csinf.c (__csinf): Likewise.
28784         * math/s_csinhf.c (__csinhf): Likewise.
28785         * math/s_ctanf.c (__ctanf): Likewise.
28786         * math/s_ctanhf.c (__ctanhf): Likewise.
28787         * math/s_ccosh.c (__ccoshf): Likewise.
28788         * math/s_cexp.c (__cexpl): Likewise.
28789         * math/s_csin.c (__csin): Likewise.
28790         * math/s_csinh.c (__csinh): Likewise.
28791         * math/s_ctan.c (__ctan): Likewise.
28792         * math/s_ctanh.c (ctanh): Likewise.
28793         * math/s_ccoshl.c (__ccoshl): Likewise.
28794         * math/s_cexpl.c (__cexpl): Likewise.
28795         * math/s_csinl.c (__csinl): Likewise.
28796         * math/s_csinhl.c (__csinhl): Likewise.
28797         * math/s_ctanl.c (__ctanl): Likewise.
28798         * math/s_ctanhl.c (__ctanhl): Likewise.
28799
28800 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28801
28802         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28803         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28804         (_IO_off_t): Define to __off_t, not _G_off_t.
28805         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28806         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28807         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28808         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28809         type of __dummy and __dummy2 fields.
28810         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28811         (_G_ssize_t): Likewise.
28812         (_G_off_t): Likewise.
28813         (_G_pid_t): Likewise.
28814         (_G_uid_t): Likewise.
28815         (_G_wchar_t): Likewise.
28816         (_G_wint_t): Likewise.
28817         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28818         (_G_ssize_t): Likewise.
28819         (_G_off_t): Likewise.
28820         (_G_pid_t): Likewise.
28821         (_G_uid_t): Likewise.
28822         (_G_wchar_t): Likewise.
28823         (_G_wint_t): Likewise.
28824         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28825         (_G_ssize_t): Likewise.
28826         (_G_off_t): Likewise.
28827         (_G_pid_t): Likewise.
28828         (_G_uid_t): Likewise.
28829         (_G_wchar_t): Likewise.
28830         (_G_wint_t): Likewise.
28831
28832 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28833
28834         * malloc/arena.c: Include malloc-sysdep.h.
28835         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28836         is sufficient to shrink the heap or an unmap is needed.
28837         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28838         new function check_may_shrink_heap.
28839         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28840         new function check_may_shrink_heap.
28841
28842 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28843
28844         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28845         comments.
28846
28847 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28848
28849         * catgets/test-gencat.sh: Add "set -e".
28850         * elf/tst-pathopt.sh: Likewise.
28851         * grp/tst_fgetgrent.sh: Likewise.
28852         * iconvdata/run-iconv-test.sh: Likewise.
28853         * intl/tst-gettext.sh: Likewise.
28854         * intl/tst-gettext2.sh: Likewise.
28855         * intl/tst-gettext4.sh: Likewise.
28856         * intl/tst-gettext6.sh: Likewise.
28857         * intl/tst-translit.sh: Likewise.
28858         * io/ftwtest-sh: Likewise.
28859         * libio/test-freopen.sh: Likewise.
28860         * malloc/tst-mtrace.sh: Likewise.
28861         * posix/globtest.sh: Likewise.
28862         * posix/tst-getconf.sh: Likewise.
28863         * posix/wordexp-tst.sh: Likewise.
28864         * stdio-common/tst-printf.sh: Likewise.
28865         * stdio-common/tst-unbputc.sh: Likewise.
28866         * stdlib/tst-fmtmsg.sh: Likewise.
28867         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28868         * catgets/Makefile: Do not specify -e option when running
28869         testsuite shell scripts.
28870         * elf/Makefile: Likewise.
28871         * grp/Makefile: Likewise.
28872         * iconvdata/Makefile: Likewise.
28873         * intl/Makefile: Likewise.
28874         * io/Makefile: Likewise.
28875         * libio/Makefile: Likewise.
28876         * malloc/Makefile: Likewise.
28877         * posix/Makefile: Likewise.
28878         * stdio-common/Makefile: Likewise.
28879         * stdlib/Makefile: Likewise.
28880         * sysdeps/x86_64/Makefile: Likewise.
28881
28882         * io/ftwtest-sh: Add copyright header.
28883         * posix/globtest.sh: Likewise.
28884         * posix/tst-getconf.sh: Likewise.
28885         * posix/wordexp-tst.sh: Likewise.
28886         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28887
28888 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28889
28890         [BZ #13679]
28891         * Makeconfig (+link): Defined as $(+link-static) if
28892         $(build-shared) isn't yes.
28893         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28894         isn't yes.
28895         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28896
28897         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28898
28899         [BZ #14562]
28900         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28901         new chunk size with MALLOC_ALIGN_MASK.
28902
28903 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28904
28905         [BZ #5044]
28906         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28907         <rounding-mode.h>.
28908         (__printf_fphex): Determine rounding using get_rounding_mode and
28909         round_away.
28910         * stdio-common/tst-printf-round.c (struct hex_test): New
28911         structure.
28912         (hex_tests): New variable.
28913         (test_hex_in_one_mode): New function.
28914         (do_test): Also run tests for hex float output.
28915
28916 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28917
28918         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28919         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28920         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28921         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28922         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28923         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28924         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28925         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28926
28927 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28928
28929         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28930         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28931         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28932         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28933
28934 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28935
28936         [BZ #14579]
28937         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28938         mode only.
28939         * elf/tst-rtld-load-self.sh: New test.
28940         * elf/Makefile: Run it.
28941
28942 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28943
28944         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28945         (tst-writev-ENV): Remove.
28946         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28947
28948 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28949
28950         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28951
28952 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28953
28954         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28955         unconditional.
28956         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28957         Likewise.
28958         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28959         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28960         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28961         Likewise.
28962
28963 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28964
28965         [BZ #14587]
28966         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28967         * config.make.in (have-cpp-asm-debuginfo): Removed.
28968         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28969         * configure: Regenerated.
28970
28971 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28972
28973         [BZ #5044]
28974         * stdio-common/printf_fp.c: Include <stdbool.h> and
28975         <rounding-mode.h>.
28976         (___printf_fp): Determine rounding using get_rounding_mode and
28977         round_away.
28978         * stdio-common/tst-printf-round.c: New file.
28979         * stdio-common/Makefile (tests): Add tst-printf-round.
28980         (link-libm): New variable.
28981         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28982
28983 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28984
28985         [BZ #14576]
28986         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28987         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28988         Likewise.
28989         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28990         Likewise.
28991
28992 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28993
28994         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28995         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28996         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28997         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28998
28999 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29000
29001         [BZ #14518]
29002         * include/rounding-mode.h: New file.
29003         * sysdeps/generic/get-rounding-mode.h: Likewise.
29004         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29005         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29006         (MAX_VALUE): New macro.
29007         (MIN_VALUE): Likewise.
29008         (overflow_value): New function.
29009         (underflow_value): Likewise.
29010         (round_and_return): Use overflow_value and underflow_value to
29011         determine return values in overflow and underflow cases.  Use
29012         round_away to determine rounding depending on rounding mode.
29013         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29014         determine return values in overflow and underflow cases.
29015         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29016         (struct test_results): New structure.
29017         (struct test): Use struct test_results to store expected results
29018         for all rounding modes.
29019         (TEST): Include expected results for all rounding modes.
29020         (test_in_one_mode): New function.
29021         (do_test): Use test_in_one_mode to compute and check results.
29022         Check results for all rounding modes.
29023         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29024         $(link-libm).
29025
29026 2012-12-09  Allan McRae  <allan@archlinux.org>
29027
29028         * sysdeps/i386/fpu/libm-test-ulps: Update
29029
29030 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29031
29032         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29033         (_G_int32_t): Likewise.
29034         (_G_uint16_t): Likewise.
29035         (_G_uint32_t): Likewise.
29036         (_G_HAVE_BOOL): Likewise.
29037         (_G_HAVE_ATEXIT): Likewise.
29038         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29039         (_G_HAVE_IO_FILE_OPEN): Likewise.
29040         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29041         (_G_int32_t): Likewise.
29042         (_G_uint16_t): Likewise.
29043         (_G_uint32_t): Likewise.
29044         (_G_HAVE_BOOL): Likewise.
29045         (_G_HAVE_ATEXIT): Likewise.
29046         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29047         (_G_HAVE_IO_FILE_OPEN): Likewise.
29048         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29049         (_G_int32_t): Likewise.
29050         (_G_uint16_t): Likewise.
29051         (_G_uint32_t): Likewise.
29052         (_G_HAVE_BOOL): Likewise.
29053         (_G_HAVE_ATEXIT): Likewise.
29054         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29055         (_G_HAVE_IO_FILE_OPEN): Likewise.
29056
29057 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29058
29059         * csu/libc-tls.c: Update copyright years.
29060
29061 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29062
29063         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29064         [!_G_USING_THUNKS]: Remove conditional code.
29065         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29066         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29067
29068         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29069         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29070         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29071         (_G_VTABLE_LABEL_PREFIX): Likewise.
29072         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29073         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29074         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29075         (_G_VTABLE_LABEL_PREFIX): Likewise.
29076         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29077         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29078         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29079         (_G_VTABLE_LABEL_PREFIX): Likewise.
29080         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29081
29082 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29083
29084         * libio/Makefile: Include ../Makeconfig before tests.
29085         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29086         only if $(build-shared) is yes.
29087
29088         * iconv/gconv_db.c: Update copyright years.
29089
29090 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29091
29092         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29093         unwind info if defined PIC. Fix special cases description.
29094         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29095
29096         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29097         DP_HI_MASK entry.
29098         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29099
29100 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29101
29102         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29103
29104         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29105         is NULL.
29106
29107         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29108         (LDLIBS-tst-chk4): This.
29109         (LDFLAGS-tst-chk5): Renamed to ...
29110         (LDLIBS-tst-chk5): This.
29111         (LDFLAGS-tst-chk6): Renamed to ...
29112         (LDLIBS-tst-chk6): This.
29113         (LDFLAGS-tst-lfschk4): Renamed to ...
29114         (LDLIBS-tst-lfschk4): This.
29115         (LDFLAGS-tst-lfschk5): Renamed to ...
29116         (LDLIBS-tst-lfschk5): This.
29117         (LDFLAGS-tst-lfschk6): Renamed to ...
29118         (LDLIBS-tst-lfschk6): This.
29119
29120         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29121         on $(common-objpfx)soversions.mk.
29122
29123 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29124
29125         [BZ #10014]
29126         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29127         example host name.
29128
29129 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29130
29131         * malloc/arena.c (arena_get_retry): New function that gets
29132         another arena for the caller to try its request on.
29133         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29134         current arena cannot fulfill the request.
29135         (__libc_memalign): Likewise.
29136         (__libc_memalign): Likewise.
29137         (__libc_pvalloc): Likewise.
29138         (__libc_calloc): Likewise.
29139
29140 2012-09-05  John Tobey  <john.tobey@gmail.com>
29141
29142         [BZ #13542]
29143         * manual/arith.texi (Operations on Complex): Fix description
29144         of carg branch cut.
29145
29146 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29147
29148         [BZ #10014]
29149         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29150         host name.
29151
29152         [BZ #10038]
29153         * manual/memory.texi (Memory): Make order of menu items match
29154         order of sections.
29155
29156 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29157
29158         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29159         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29160         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29161
29162 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29163
29164         * csu/libc-tls.c (static_dtv): Renamed to ...
29165         (_dl_static_dtv): This.  Make it global.
29166         (_dl_initial_dtv): Removed.
29167         (__libc_setup_tls): Updated.
29168         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29169         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29170         DL_INITIAL_DTV.
29171
29172 2012-09-06  Petr Machata  <pmachata@redhat.com>
29173
29174         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29175         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29176         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29177         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29178
29179 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29180
29181         [BZ #14545]
29182         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29183         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29184         freeing dtv[-1].
29185
29186 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29187
29188         [BZ #14544]
29189         * Makeconfig (link-static-before-libc): Replace $(+prector)
29190         with $(+prectorT).
29191         (link-static-after-libc): Replace $(+postctor) with
29192         $(+postctorT).
29193         (link-bounded): Replace $(+prector)/$(+postctor) with
29194         $(+prectorT)/$(+postctorT).
29195         (+prectorT): New macro.
29196         (+postctorT): Likewise.
29197
29198 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29199
29200         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29201         (round_str): Handle values above the maximum for IBM long double
29202         as inexact.
29203         * stdlib/tst-strtod-round.c (tests): Regenerated.
29204
29205 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29206
29207         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29208         assembler flag.
29209         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29210         zarch_nohighgprs around the zarch optimized routines.
29211         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29212         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29213         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29214         for zarch.
29215
29216 2012-09-05  David S. Miller  <davem@davemloft.net>
29217
29218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29219
29220         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29221         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29222         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29223         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29224         entries.
29225
29226 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29227
29228         * malloc/arena.c: Fold copyright years.
29229         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29230
29231 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29232
29233         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29234
29235 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29236
29237         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29238
29239 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29240
29241         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29242         change internal state upon failure.
29243
29244 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29245
29246         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29247         * malloc/memusage.c (mmap): Likewise.
29248         (mmap64, mremap): Likewise.  Adjust name in comment.
29249
29250 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29251
29252         * libio/fileops.c: Fix typos in comments.
29253         * libio/oldfileops.c: Likewise.
29254         * libio/wfileops.c: Likewise.
29255
29256 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29257
29258         [BZ #1349]
29259         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29260         (tst-malloc-usable-ENV): Set environment for test case.
29261         * malloc/hooks.c (malloc_check_get_size): New function to get
29262         requested size.
29263         * malloc/malloc.c (musable): Use malloc_check_get_size.
29264         * malloc/tst-malloc-usable.c: New test case.
29265
29266 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29267
29268         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29269
29270 2012-09-05  Allan McRae  <allan@archlinux.org>
29271
29272         [BZ #13966]
29273         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29274         determine header location.
29275         * configure: Regenerated.
29276
29277 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29278
29279         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29280         float format.
29281         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29282         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29283         format.
29284         (test): Regenerate.
29285
29286 2012-09-04  David S. Miller  <davem@davemloft.net>
29287
29288         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29289         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29290         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29291
29292 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29293
29294         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29295         failures.
29296
29297         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29298
29299 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29300
29301         [BZ #9914]
29302         * libio/iogetdelim.c: Include <limits.h>.
29303         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29304         + len + 1 would overflow.
29305
29306 2012-09-03  Andreas Jaeger  <aj@suse.de>
29307
29308         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29309         * sysdeps/i386/fpu/libm-test-ulps: Update.
29310
29311 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29312
29313         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29314         Add s_sinf-sse2, s_conf-sse2.
29315
29316         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29317         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29318         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29319         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29320
29321         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29322         for using routine as __sinf_ia32.
29323         Use macro for function declaration and weak_alias.
29324         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29325         for using routine as __cosf_ia32.
29326         Use macro for function declaration and weak_alias.
29327
29328         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29329         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29330
29331         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29332         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29334
29335         * math/libm-test.inc (cos_test): Add more test cases.
29336         (sin_test): Likewise.
29337         (sincos_test): Likewise.
29338
29339 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29340
29341         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29342         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29343         hidden.
29344         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29345
29346 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29347
29348         [BZ #14538]
29349         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29350         first element of the GOT.
29351         (elf_machine_load_address): Return the difference between
29352         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29353
29354 2012-09-01  Allan McRae  <allan@archlinux.org>
29355
29356         [BZ #13412]
29357         * configure.in (AWK): Require gawk version 3.0 or later.
29358         * configure: Regenerated.
29359
29360 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29361
29362         * sysdeps/unix/sysv/linux/kernel-features.h
29363         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29364         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29365         [__NR_clock_getres]: Make code unconditional.
29366         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29367         (clock_getcpuclockid): Remove code left unreachable by removal of
29368         conditionals.
29369         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29370         code unconditional.
29371         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29372         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29373         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29374         Make code unconditional.
29375         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29376         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29377         * sysdeps/unix/sysv/linux/clock_settime.c
29378         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29379         conditional code.
29380         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29381         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29382
29383 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29384
29385         [BZ #14476]
29386         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29387         scripts/test-installation.pl.
29388
29389         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29390         and $ld_so_version if it is set.
29391
29392 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29393
29394         [BZ #14516]
29395         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29396         failure if reading from procfs failed.
29397         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29398
29399 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29400
29401         * sysdeps/unix/sysv/linux/kernel-features.h
29402         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29403         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29404         Remove conditional code.
29405         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29406         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29407         Remove conditional code.
29408         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29409         * sysdeps/unix/sysv/linux/i386/fxstat.c
29410         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29411         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29412         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29413         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29414         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29415         * sysdeps/unix/sysv/linux/i386/lxstat.c
29416         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29417         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29418         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29419         Remove conditional code.
29420         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29421         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29422         Remove conditional code.
29423         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29424         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29425         <kernel-features.h>.
29426         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29427         Remove.
29428         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29429         Remove conditional code.
29430         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29431         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29432         Remove conditional.
29433
29434 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29435
29436         [BZ #5400]
29437         * NEWS: Add fixed bug number.
29438
29439 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29440
29441         [BZ #14519]
29442         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29443         underflowing exponent in case of negative sign.
29444         * stdlib/tst-strtod-round-data: Add more tests.
29445         * stdlib/tst-strtod-round.c (tests): Regenerated.
29446
29447         [BZ #3479]
29448         * stdlib/strtod_l.c (NDIG): Remove.
29449         (HEXNDIG): Likewise.
29450         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29451         smallest representable value.
29452         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29453         lie within an exact representation of 1/2 ulp of the result.
29454         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29455         unconditionally.
29456         (TENS_P9_IDX): Define unconditionally.
29457         (TENS_P9_SIZE): Likewise.
29458         (TENS_P10_IDX): Likewise.
29459         (TENS_P10_SIZE): Likewise.
29460         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29461         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29462         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29463         entries for 10^2^13 and 10^2^14.
29464         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29465         (TENS_P13_IDX): Define.
29466         (TENS_P13_SIZE): Likewise.
29467         (TENS_P14_IDX): Likewise.
29468         (TENS_P14_SIZE): Likewise.
29469         (_fpioconst_pow10): Change array size to
29470         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29471         unconditional.
29472         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29473         1024]: Add entries for 10^2^13 and 10^2^14.
29474         [LAST_POW10 > _LAST_POW10]: Remove #error.
29475         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29476         (_fpioconst_pow10): Change array size to
29477         FPIOCONST_POW10_ARRAY_SIZE.
29478         * stdlib/gen-fpioconst.c: New file.
29479         * stdlib/gen-tst-strtod-round.c: Likewise.
29480         * stdlib/tst-strtod-round-data: Likewise.
29481         * stdlib/tst-strtod-round.c: Likewise.
29482         * stdlib/Makefile (tests): Add tst-strtod-round.
29483
29484         [BZ #14459]
29485         * stdlib/strtod_l.c: Include <stdint.h>.
29486         (NDEBUG): Do not define.
29487         (round_and_return): Change EXPONENT parameter to type intmax_t.
29488         Rearrange calculations to avoid internal overflow possibilities.
29489         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29490         Rearrange calculations to avoid internal overflow possibilities.
29491         Assert that number fits inside MPNSIZE limbs.
29492         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29493         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29494         calculations and add assertions to avoid internal overflow
29495         possibilities.  Add casts to avoid signed/unsigned operations.
29496         * stdlib/tst-strtod-overflow.c: New file.
29497         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29498
29499 2012-08-25  Marek Polacek  <polacek@redhat.com>
29500
29501         * time/time.h: Fix some typos in comments.
29502
29503 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29504
29505         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29506         * posix/tst-rfc3484-2.c: Likewise.
29507         * posix/tst-rfc3484-3.c: Likewise.
29508
29509 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29510
29511         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29512         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29513
29514 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29515
29516         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29517         #include of fxstatat64.c.
29518
29519 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29520
29521         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29522         * shadow/getspent_r.c: Likewise.
29523         * shadow/getspnam.c: Likewise.
29524         * shadow/getspnam_r.c: Likewise.
29525         * gshadow/getsgent.c: Likewise.
29526         * gshadow/getsgent_r.c: Likewise.
29527         * gshadow/getsgnam.c: Likewise.
29528         * gshadow/getsgnam_r.c: Likewise.
29529         * inet/getnetbyad.c: Likewise.
29530         * inet/getnetbyad_r.c: Likewise.
29531         * inet/getnetbynm.c: Likewise.
29532         * inet/getnetbynm_r.c: Likewise.
29533         * inet/getnetent.c: Likewise.
29534         * inet/getnetent_r.c: Likewise.
29535         * inet/getproto.c: Likewise.
29536         * inet/getproto_r.c: Likewise.
29537         * inet/getprtent.c: Likewise.
29538         * inet/getprtent_r.c: Likewise.
29539         * inet/getprtname.c: Likewise.
29540         * inet/getprtname_r.c: Likewise.
29541         * inet/getrpcbyname.c: Likewise.
29542         * inet/getrpcbyname_r.c: Likewise.
29543         * inet/getrpcbynumber.c: Likewise.
29544         * inet/getrpcbynumber_r.c: Likewise.
29545         * inet/getrpcent.c: Likewise.
29546         * inet/getrpcent_r.c: Likewise.
29547         * inet/getaliasent.c: Likewise.
29548         * inet/getaliasent_r.c: Likewise.
29549         * inet/getaliasname.c: Likewise.
29550         * inet/getaliasname_r.c: Likewise.
29551         * nscd/getgrgid_r.c: Likewise.
29552         * nscd/getgrnam_r.c: Likewise.
29553         * nscd/gethstbyad_r.c: Likewise.
29554         * nscd/gethstbynm3_r.c: Likewise.
29555         * nscd/getpwnam_r.c: Likewise.
29556         * nscd/getpwuid_r.c: Likewise.
29557         * nscd/getsrvbynm_r.c: Likewise.
29558         * nscd/getsrvbypt_r.c: Likewise.
29559         * nscd/gai.c: Likewise.
29560
29561         * configure.in (build_nscd): New substituted variable, set
29562         by --disable-build-nscd and defaults to $use_nscd.
29563         * configure: Regenerated.
29564         * config.make.in (build-nscd): New substituted variable.
29565         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29566         Change conditional to require [$(build-nscd) = yes] as well.
29567         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29568
29569         [BZ# 13696]
29570         * configure.in (use_nscd): New substituted variable, set by
29571         --disable-nscd.  If enabled, define USE_NSCD.
29572         * configure: Regenerated.
29573         * config.h.in: Add USE_NSCD.
29574         * config.make.in (use-nscd): New substituted variable.
29575         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29576         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29577         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29578         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29579         (CFLAGS-getgrnam_r.c): Likewise.
29580         (CFLAGS-initgroups.c): Likewise.
29581         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29582         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29583         Variables removed.
29584         * inet/getnetgrent_r.c
29585         (nscd_setnetgrent): New function, broken out of ...
29586         (setnetgrent): ... here.  Call it.
29587         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29588         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29589         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29590         * nscd/Makefile (routines, aux): Move definitions after include of
29591         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29592         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29593         Conditionalize on [USE_NSCD].
29594         (is_nscd, nscd_init_cb): Likewise.
29595         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29596         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29597         * nss/nss_db/db-init.c: Likewise.
29598         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29599         [USE_NSCD].
29600         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29601         (make_request): Use it.
29602         (cache_valid_p): New function.
29603         (__check_pf): Use it.
29604         * NEWS: Add item for --disable-nscd.
29605
29606 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29607
29608         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29609         to support sed >= 4.2.1-20-ga9bf076.
29610         * configure: Regenerated.
29611
29612 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29613
29614         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29615         Conditionalize whole body on [IREL].
29616
29617 2012-08-22  Jeff Law <law@redhat.com>
29618
29619         [BZ #14505]
29620         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29621         if the family is PF_UNSPEC.
29622
29623 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29624
29625         * Makerules (lib-version): Rename from V.
29626         (install-lib-nosubdir): Change V to lib-version.
29627
29628 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29629
29630         [BZ #14252]
29631         * powerpc32/power6/wcschr.c: New file.
29632         * powerpc32/power6/wcscpy.c: New file.
29633         * powerpc32/power6/wcsrchr.c: New file.
29634         * powerpc64/power6/wcschr.c: New file.
29635         * powerpc64/power6/wcscpy.c: New file.
29636         * powerpc64/power6/wcsrchr.c: New file.
29637
29638 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29639
29640         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29641         (two_way_short_needle): Use it.
29642         * string/strstr.c (AVAILABLE1_USES_J): Define.
29643         * string/strcasestr.c: Likewise.
29644
29645         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29646         array references.
29647         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29648
29649         [BZ #11607]
29650         * NEWS: Add an entry.
29651         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29652         define their defaults.
29653         (two_way_short_needle): Detect end-of-string on-the-fly.
29654         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29655         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29656         * string/bug-strcasestr1.c: New test.
29657         * string/Makefile: Run it.
29658
29659 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29660
29661         [BZ #11607]
29662         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29663         the first character.
29664
29665 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29666
29667         * csu/elf-init.c (__libc_csu_irel): Function removed.
29668         * csu/libc-start.c (apply_irel): New function.
29669         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29670
29671 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29672
29673         * sysdeps/unix/sysv/linux/kernel-features.h
29674         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29675         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29676         <kernel-features.h>.
29677         [__NR_fadvise64_64]: Make code unconditional.
29678         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29679         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29680         !__NR_fadvise64_64)]: Likewise.
29681         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29682         !__NR_fadvise64_64))]: Likewise.
29683         [__NR_fadvise64]: Make code unconditional.
29684         [!__NR_fadvise64]: Remove conditional code.
29685         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29686         <kernel-features.h>.
29687         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29688         unconditional.
29689         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29690         conditional code.
29691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29692         not include <kernel-features.h>.
29693         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29694         unconditional.
29695         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29696         conditional code.
29697         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29698         include <kernel-features.h>.
29699         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29700         unconditional.
29701         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29702         conditional code.
29703
29704 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29705
29706         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29707         slight instruction rearrangements per scrollpipe analysis.
29708         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29709
29710 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29711
29712         * manual/syslog.texi (syslog; vsyslog, closelog):
29713         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29714         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29715
29716         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29717         DSOCAPS to match condition on defining it.
29718
29719 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29720
29721         * sysdeps/unix/sysv/linux/kernel-features.h
29722         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29724         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29725         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29727         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29728         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29730         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29731         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29732
29733         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29734         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29735
29736         * sysdeps/unix/sysv/linux/kernel-features.h
29737         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29738         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29739         unconditional.
29740         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29741         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29742         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29743         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29744         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29745         Make code unconditional.
29746         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29747         (__mmap64) [!__NR_mmap2]: Likewise.
29748         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29749         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29750         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29751         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29752         [__NR_mmap2]: Make code unconditional.
29753         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29754         (__mmap64) [!__NR_mmap2]: Likewise.
29755
29756 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29757
29758         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29759
29760 2012-08-18  Andreas Jaeger  <aj@suse.de>
29761
29762         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29763
29764 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29765
29766         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29767         * include/unistd.h (__have_sock_cloexec): Likewise.
29768         (__have_pipe2): Likewise.
29769         (__have_dup3): Likewise.
29770
29771 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29772
29773         [BZ #9685]
29774         * include/unistd.h (__have_pipe2): Change define into an extern int.
29775         (__have_dup3): Likewise.
29776         * socket/have_sock_cloexec.c: Include fcntl.h.
29777         (__have_pipe2): New variable.
29778         (__have_dup3): Likewise.
29779
29780 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29781
29782         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29783
29784 2012-08-17  Marek Polacek  <polacek@redhat.com>
29785
29786         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29787         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29788
29789 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29790
29791         * configure.in: Add AC_SUBST for sysheaders.
29792         * configure: Regenerated.
29793         * config.make.in (sysheaders): New substituted variable.
29794
29795         * sysdeps/unix/mkfifo.c: Moved ...
29796         * sysdeps/posix/mkfifo.c: ... here.
29797         * sysdeps/unix/mkfifoat.c: Moved ...
29798         * sysdeps/posix/mkfifoat.c: ... here.
29799
29800         * sysdeps/unix/utime.c: Moved ...
29801         * sysdeps/posix/utime.c: ... here.
29802
29803         * sysdeps/unix/time.c: Moved ...
29804         * sysdeps/posix/time.c: ... here.
29805         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29806         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29807
29808         * sysdeps/unix/nice.c: Moved ...
29809         * sysdeps/posix/nice.c: ... here.
29810
29811         * sysdeps/unix/alarm.c: Moved ...
29812         * sysdeps/posix/alarm.c: ... here.
29813
29814         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29815
29816 2012-08-17  Jeff Law <law@redhat.com>
29817
29818         * intl/Makefile (codeset_mo): New variable.
29819         ($(codeset_mo)): New target.
29820         (tst-codeset.out): Depend on that.  Remove explicit rule.
29821         (tst-gettext3.out, tst-gettext5.out): Likewise.
29822         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29823         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29824         * intl/tst-codeset.sh: Remove.
29825         * intl/tst-gettext3.sh: Likewise.
29826         * intl/tst-gettext5.sh: Likewise.
29827
29828 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29829
29830         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29831         * sysdeps/unix/syscalls.list: ... here.
29832
29833         * sysdeps/posix/getaddrinfo.c
29834         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29835         (gaiconf_init, gaiconf_reload): Use them.
29836         [!_STATBUF_ST_NSEC]
29837         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29838         Define using time_t rather than struct timespec.
29839
29840         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29841         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29842         Macros removed.
29843         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29844         [!NO_THREADS].
29845         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29846         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29847         Likewise.
29848
29849         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29850         __libc_cleanup_push argument.
29851
29852         * bits/param.h: New file.
29853         * misc/sys/param.h: New file.
29854         * include/sys/param.h: New file.
29855         * misc/Makefile (headers): Add bits/param.h.
29856         * sysdeps/generic/sys/param.h: File removed.
29857         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29858         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29859         * sysdeps/mach/hurd/bits/param.h: New file.
29860         * sysdeps/mach/hurd/sys/param.h: File removed.
29861
29862         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29863         last change.
29864
29865         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29866         [_IO_MTSAFE_IO].
29867         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29868         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29869         New macros.
29870
29871         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29872         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29873         rather than -D_IO_MTSAFE_IO conditionally.
29874         * stdio-common/Makefile (CPPFLAGS): Likewise.
29875         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29876         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29877         Use $(libio-mtsafe).
29878         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29879         of -D_IO_MTSAFE_IO.
29880         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29881         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29882         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29883         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29884         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29885         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29886         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29887         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29888         (CFLAGS-fread_u_chk.c): Likewise.
29889         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29890         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29891         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29892         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29893         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29894         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29895         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29896         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29897         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29898
29899         * libio/Makefile: Test [$(libc-reentrant) = yes]
29900         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29901
29902         * Makeconfig
29903         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29904         * sysdeps/pthread/configure: File removed.
29905         * sysdeps/pthread/Makeconfig: New file.
29906         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29907         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29908
29909 2012-08-16  Gary Benson  <gbenson@redhat.com>
29910
29911         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29912         unmapping the first object in a namespace.
29913
29914 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29915
29916         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29917         (__internal_setnetgrent): ... this.  Add internal_function to
29918         definition.  Add libc_hidden_def.
29919         (setnetgrent): Update caller.
29920         (internal_endnetgrent): Renamed to ...
29921         (__internal_endnetgrent): ... this.  Add internal_function to
29922         definition.  Add libc_hidden_def.
29923         (endnetgrent): Update caller.
29924         (internal_getnetgrent_r): Renamed to ...
29925         (__internal_getnetgrent_r): ... this.  Add internal_function to
29926         definition.  Add libc_hidden_def.
29927         (__getnetgrent_r): Update caller.
29928         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29929
29930 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29931
29932         * stdlib/longlong.h: Update from GCC.
29933
29934 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29935
29936         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29937         on _QL, which is set by umul_ppmm but never used.
29938         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29939         variables, which are set by GMP macros but never used.
29940         * stdio-common/_itowa.c (_itowa): Likewise.
29941         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29942         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29943
29944 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29945
29946         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29947         struct La_sh_regs is not constant.
29948         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29949         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29950         and struct La_sparc64_regs are not constant.
29951
29952 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29953
29954         * sysdeps/unix/sysv/linux/kernel-features.h
29955         (__ASSUME_POSIX_TIMERS): Remove.
29956         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29957         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29958         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29959         Make code unconditional.
29960         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29961         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29962         Make code unconditional.
29963         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29964         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29965         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29966         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29967         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29968         Make code unconditional.
29969         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29970         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29971         (__libc_missing_posix_timers): Remove.
29972
29973 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29974
29975         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29976         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29977
29978         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29979
29980         * elf/dl-sym.c: Include <stdlib.h>.
29981
29982         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29983         constants, which avoids warnings in 32-bit builds.
29984
29985         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29986         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29987
29988         * misc/lseek.c: File moved to ...
29989         * io/lseek.c: ... here.
29990
29991         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29992
29993         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29994         shifting LEN more than 31 bits at once.
29995
29996 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29997
29998         [BZ #14195]
29999         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30000         segmentation fault for a case of two empty input strings.
30001         * string/test-strncasecmp.c (check1): Renamed to...
30002         (bz12205): ...this.
30003         (bz14195): Add new testcase for two empty input strings and N > 0.
30004         (test_main): Call new testcase, adapt for renamed function.
30005
30006 2012-08-15  Andreas Jaeger  <aj@suse.de>
30007
30008         [BZ #14090]
30009         * crypt/md5test2.c: New test, based on test supplied by Serge
30010         Belyshev <belyshev@depni.sinp.msu.ru>.
30011         * crypt/Makefile (xtests): Add md5test-giant..
30012         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30013
30014 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30015
30016         [BZ #14090]
30017         * crypt/md5.c (md5_process_block): Don't assume the buffer
30018         length is less than 2**32.
30019         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30020         length is less than 2**64.
30021
30022 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30023
30024         * string/str-two-way.h: Include <sys/param.h>.
30025         (MAX): Macro removed.
30026
30027         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30028         Move #define and #undef of memmove to just before and after
30029         including <string.h>.
30030
30031         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30032         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30033         and after including <string.h>.  Move declarations of
30034         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30035         to before #include "string/memmove.c".
30036
30037         * include/dirent.h: Declare __getdirentries.
30038
30039         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30040         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30041
30042 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30043
30044         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30045         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30046         * sysdeps/i386/configure: Regenerated.
30047         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30048         STABS_CURRENT_FILE, and STABS_FUN.
30049         (END): Remove call to STABS_FUN_END.
30050         (STABS_CURRENT_FILE1): Delete.
30051         (STABS_CURRENT_FILE): Likewise.
30052         (STABS_FUN): Likewise.
30053         (STABS_FUN_END): Likewise.
30054         (STABS_FUN2): Likewise.
30055         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30056         * sysdeps/x86_64/configure: Regenerated.
30057
30058 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30059
30060         * elf/dl-open.c: Include <atomic.h>.
30061         * elf/dl-lookup.c: Likewise.
30062
30063 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30064
30065         * sysdeps/unix/sysv/linux/kernel-features.h
30066         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30067         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30068         unconditionally.
30069         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30070         unconditionally.
30071         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30072         condition on __ASSUME_CLONE_THREAD_FLAGS.
30073
30074 2012-08-14  Andreas Jaeger  <aj@suse.de>
30075
30076         * sysdeps/i386/fpu/libm-test-ulps: Update.
30077
30078 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30079
30080         * include/atomic.h (atomic_exchange_and_add): Split into ...
30081         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30082         New atomic macros.
30083
30084 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30085
30086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30087
30088 2012-08-13  Jeff Law <law@redhat.com>
30089
30090         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30091         null byte in the output string.
30092
30093 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30094
30095         * sysdeps/unix/sysv/linux/kernel-features.h
30096         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30097         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30098         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30099         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30100         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30101         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30102         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30103
30104 2012-08-09  Jeff Law <law@redhat.com>
30105
30106         [BZ #13939]
30107         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30108         When avoid_arena is set, don't retry in the that arena.  Pick the
30109         next one, whatever it might be.
30110         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30111         (arena_lock): Pass in new parameter to arena_get2.
30112         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30113         arena_get2.
30114         (__libc_malloc): Unify retrying after main arena failure with
30115         __libc_memalign version.
30116         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30117
30118 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30119
30120         [BZ #14166]
30121         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30122         to __redirect_strstr.
30123         (__strstr_sse42): Use typeof __redirect_strstr.
30124         (__strstr_ia32): Likewise.
30125         (__libc_strstr): New prototype.
30126         (strstr): Renamed to ...
30127         (__libc_strstr): This.
30128         (strstr): New strong alias of __libc_strstr.
30129         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30130         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30131         __redirect_time.
30132         Include <time.h>.
30133         (__libc_time): New prototype.
30134         (time_ifunc): Replace time with __libc_time.
30135         (time): New strong alias and hidden definition of __libc_time.
30136         (__GI_time): Remove strong alias.
30137         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30138         Include <stddef.h>.
30139         (memmove): Redefined to __redirect_memmove.
30140         (__memmove_sse2): Use typeof __redirect_memmove.
30141         (__memmove_ssse3): Likewise.
30142         (__memmove_ssse3_back): Likewise.
30143         (__libc_memmove): New prototype.
30144         (memmove): Renamed to ...
30145         (__libc_memmove): This.
30146         (memmove): New strong alias of __libc_memmove.
30147
30148 2012-08-08  Mark Salter  <msalter@redhat.com>
30149
30150         * elf/elf.h
30151         (R_MN10300_TLS_GD): Define.
30152         (R_MN10300_TLS_LD): Likewise.
30153         (R_MN10300_TLS_LDO): Likewise.
30154         (R_MN10300_TLS_GOTIE): Likewise.
30155         (R_MN10300_TLS_IE): Likewise.
30156         (R_MN10300_TLS_LE): Likewise.
30157         (R_MN10300_TLS_DTPMOD): Likewise.
30158         (R_MN10300_TLS_DTPOFF): Likewise.
30159         (R_MN10300_TLS_TPOFF): Likewise.
30160         (R_MN10300_SYM_DIFF): Likewise.
30161         (R_MN10300_ALIGN): Likewise.
30162         (R_MN10300_NUM): Update.
30163
30164 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30165
30166         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30167         Remove.
30168
30169 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30170
30171         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30172
30173         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30174         sysdeps/unix -> sysdeps/posix move.
30175         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30176
30177 2012-08-07      Allan McRae     <allan@archlinux.org>
30178
30179         [BZ #14303]
30180         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30181         (SUNOS_CPP): Likewise.
30182         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30183         not found.
30184         (open_input): Call CPP using execvp.
30185
30186 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30187
30188         * sysdeps/unix/sysv/linux/kernel-features.h
30189         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30190         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30191         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30192         (__ASSUME_WAITID_SYSCALL): Likewise.
30193         * sysdeps/unix/sysv/linux/dl-execstack.c
30194         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30195         code unconditional.
30196         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30197         conditional code.
30198         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30199         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30200         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30201         code.
30202         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30203         unconditional.
30204         [__ASSUME_WAITID_SYSCALL]: Likewise.
30205         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30206
30207 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30208
30209         * sysdeps/unix/closedir.c: Renamed to ...
30210         * sysdeps/posix/closedir.c: ... here.
30211         * sysdeps/unix/dirfd.c: Renamed to ...
30212         * sysdeps/posix/dirfd.c: ... here.
30213         * sysdeps/unix/dirstream.h: Renamed to ...
30214         * sysdeps/posix/dirstream.h: ... here.
30215         * sysdeps/unix/fdopendir.c: Renamed to ...
30216         * sysdeps/posix/fdopendir.c: ... here.
30217         * sysdeps/unix/opendir.c: Renamed to ...
30218         * sysdeps/posix/opendir.c: ... here.
30219         * sysdeps/unix/readdir.c: Renamed to ...
30220         * sysdeps/posix/readdir.c: ... here.
30221         * sysdeps/unix/readdir_r.c: Renamed to ...
30222         * sysdeps/posix/readdir_r.c: ... here.
30223         * sysdeps/unix/rewinddir.c: Renamed to ...
30224         * sysdeps/posix/rewinddir.c: ... here.
30225         * sysdeps/unix/seekdir.c: Renamed to ...
30226         * sysdeps/posix/seekdir.c: ... here.
30227         * sysdeps/unix/telldir.c: Renamed to ...
30228         * sysdeps/posix/telldir.c: ... here.
30229         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30230         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30231         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30232         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30233
30234         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30235         * bits/fcntl.h: ... here.
30236
30237         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30238         not 0.
30239         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30240         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30241         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30242         (struct flock): Move l_start, l_len to the beginning.
30243         Use __pid_t for l_pid.
30244         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30245         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30246         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30247         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30248         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30249         [__USE_LARGEFILE64] (struct flock64): New type.
30250         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30251
30252         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30253         * bits/dirent.h: ... here.
30254
30255         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30256         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30257
30258 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30259
30260         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30261         Change from 2.6.0 to 2.6.16.
30262         * sysdeps/unix/sysv/linux/configure: Regenerated.
30263         * sysdeps/unix/sysv/linux/kernel-features.h
30264         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30265         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30266         version.
30267         (__ASSUME_UTIMES): Likewise.
30268         (__ASSUME_CLONE_STOPPED): Remove.
30269         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30270         architectures, not kernel version.
30271         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30272         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30273         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30274         (__ASSUME_WAITID_SYSCALL): Likewise.
30275         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30276         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30277         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30278         refer to older versions.
30279
30280 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30281
30282         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30283         Define alphasort64 as an alias.
30284         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30285         Define versionsort64 as an alias.
30286         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30287         Define scandir64 as an alias.
30288         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30289         Define scandirat64 as an alias.
30290         * dirent/alphasort64.c (alphasort64):
30291         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30292         * dirent/versionsort64.c: Likewise.
30293         * dirent/scandir64.c: Likewise.
30294         * dirent/scandirat64.c: Likewise.
30295         * sysdeps/wordsize-64/alphasort.c: File removed.
30296         * sysdeps/wordsize-64/alphasort64.c: File removed.
30297         * sysdeps/wordsize-64/scandir.c: File removed.
30298         * sysdeps/wordsize-64/scandir64.c: File removed.
30299         * sysdeps/wordsize-64/scandirat.c: File removed.
30300         * sysdeps/wordsize-64/scandirat64.c: File removed.
30301         * sysdeps/wordsize-64/versionsort.c: File removed.
30302         * sysdeps/wordsize-64/versionsort64.c: File removed.
30303         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30304         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30305         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30306         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30307         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30308         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30309         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30310         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30311
30312         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30313         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30314         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30315         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30316         [defined __arch64__ || defined __sparcv9]
30317         (__INO_T_MATCHES_INO64_T): New macro.
30318         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30319         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30320         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30321         * sysdeps/unix/sysv/linux/bits/dirent.h
30322         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30323         (_DIRENT_MATCHES_DIRENT64): New macro.
30324
30325         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30326         Define lockf64 as an alias.
30327         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30328         Define fseeko64 as an alias.
30329         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30330         Define ftello64 as an alias.
30331         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30332         Define _IO_fgetpos64 and fgetpos64 as aliases.
30333         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30334         Define _IO_fsetpos64 and fsetpos64 as aliases.
30335         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30336         Conditionalize body on this.
30337         * libio/fseeko64.c: Likewise.
30338         * libio/ftello64.c: Likewise.
30339         * libio/iofgetpos64.c: Likewise.
30340         * libio/iofsetpos64.c: Likewise.
30341         * sysdeps/wordsize-64/lockf.c: File removed.
30342         * sysdeps/wordsize-64/lockf64.c: File removed.
30343         * sysdeps/wordsize-64/fseeko.c: File removed.
30344         * sysdeps/wordsize-64/fseeko64.c: File removed.
30345         * sysdeps/wordsize-64/ftello.c: File removed.
30346         * sysdeps/wordsize-64/ftello64.c: File removed.
30347         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30348         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30349         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30350         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30351         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30352         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30353         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30354         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30355         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30356         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30357         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30358         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30359         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30360         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30361
30362         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30363         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30364         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30365         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30366         [defined __arch64__ || defined __sparcv9]
30367         (__OFF_T_MATCHES_OFF64_T): New macro.
30368         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30369         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30370         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30371         (__OFF_T_MATCHES_OFF64_T): New macro.
30372
30373 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30374
30375         * stdlib/secure-getenv.c (__secure_getenv): Replace
30376         GLIBC_2_16 with GLIBC_2_17.
30377
30378 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30379
30380         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30381         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30382
30383 2012-08-03  David S. Miller  <davem@davemloft.net>
30384
30385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30386
30387 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30388
30389         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30390         Remove.
30391         (__ASSUME_CORRECT_SI_PID): Likewise.
30392         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30393         (__ASSUME_TMPFS_NAME): Likewise.
30394         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30395         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30396         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30397         (HAVE_AUX_SECURE): Make definition unconditional.
30398         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30399         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30400
30401 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30402
30403         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30404         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30405         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30406         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30407         __eloop_threshold instead of SYMLOOP_MAX.
30408
30409         * sysdeps/generic/eloop-threshold.h: New file.
30410         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30411         of MAXSYMLINKS.
30412         * elf/chroot_canon.c (chroot_canon): Likewise.
30413
30414 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30415
30416         [BZ #13717]
30417         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30418         Change to 2.6.0 everywhere.
30419         * sysdeps/unix/sysv/linux/configure: Regenerated.
30420         * sysdeps/unix/sysv/linux/kernel-features.h
30421         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30422         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30423         kernel versions.
30424         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30425         (__ASSUME_FUTEX_REQUEUE): Remove.
30426         (__ASSUME_STATFS64): Define unconditionally.
30427         (__ASSUME_AT_SECURE): Likewise.
30428         (__ASSUME_CORRECT_SI_PID): Likewise.
30429         (__ASSUME_TGKILL): Define without depending on kernel version for
30430         i386.
30431         (__ASSUME_UTIMES): Likewise.
30432         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30433         kernel version.
30434         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30435         (__ASSUME_TMPFS_NAME): Likewise.
30436         * README: Update reference to Linux kernel versions.
30437
30438 2012-08-02  Marek Polacek  <polacek@redhat.com>
30439
30440         [BZ# 14150]
30441         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30442         libc_cv_asm_type_prefix with %.
30443         * configure: Regenerated.
30444         * include/libc-symbols.h: Remove comment about
30445         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30446         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30447         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30448         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30449         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30450         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30451         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30452         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30453         * elf/tst-unique2mod1.c: Likewise.
30454         * elf/tst-unique1mod2.c: Likewise.
30455         * elf/tst-unique1mod1.c: Likewise.
30456         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30457         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30458         Replace ASM_TYPE_DIRECTIVE with .type.
30459         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30460         * sysdeps/i386/sysdep.h: Likewise.
30461         * sysdeps/x86_64/sysdep.h: Likewise.
30462         * sysdeps/sh/sysdep.h: Likewise.
30463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30464         Do not define ASM_TYPE_DIRECTIVE.
30465         * sysdeps/powerpc/sysdep.h: Likewise.
30466         * sysdeps/powerpc/powerpc32/sysdep.h:
30467         Replace ASM_TYPE_DIRECTIVE with .type.
30468         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30469         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30470         * sysdeps/i386/fpu/e_powf.S: Likewise.
30471         * sysdeps/i386/fpu/e_expl.S: Likewise.
30472         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30473         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30474         * sysdeps/i386/fpu/e_pow.S: Likewise.
30475         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30476         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30477         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30478         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30479         * sysdeps/i386/fpu/e_log2.S: Likewise.
30480         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30481         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30482         * sysdeps/i386/fpu/e_powl.S: Likewise.
30483         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30484         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30485         * sysdeps/i386/fpu/e_logl.S: Likewise.
30486         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30487         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30488         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30489         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30490         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30491         * sysdeps/i386/fpu/e_log.S: Likewise.
30492         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30493         * sysdeps/i386/fpu/e_logf.S: Likewise.
30494         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30495         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30496         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30497         * sysdeps/i386/fpu/e_log10.S: Likewise.
30498         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30499         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30500         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30501         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30502         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30503         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30504         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30505         * sysdeps/i386/i686/strtok.S: Likewise.
30506         * sysdeps/i386/i386-mcount.S: Likewise.
30507         * sysdeps/i386/strtok.S: Likewise.
30508         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30509         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30510         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30511         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30512         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30513         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30514         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30515         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30516         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30517         * sysdeps/x86_64/_mcount.S: Likewise.
30518         * sysdeps/x86_64/strtok.S: Likewise.
30519         * sysdeps/sh/_mcount.S: Likewise.
30520
30521 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30522
30523         * libio/iofopen.c: Include <fcntl.h>.
30524         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30525         (_IO_fopen64, fopen64): Define as aliases.
30526         * libio/iofopen64.c: Include <fcntl.h>.
30527         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30528         Conditionalize body on this.
30529         * sysdeps/wordsize-64/iofopen.c: File removed.
30530         * sysdeps/wordsize-64/iofopen64.c: File removed.
30531
30532 2012-08-01  Marek Polacek  <polacek@redhat.com>
30533
30534         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30535         Use dlfcn directly instead of a variable.
30536         (binfmt-subdir): Do not define.
30537         (dlfcn): Likewise.
30538
30539 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30540
30541         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30542         Remove all definitions.
30543         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30544         <kernel-features.h>.
30545         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30546         (miss_F_GETOWN_EX): Remove all definitions.
30547         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30548         macro definition.
30549         [!__ASSUME_FCNTL64]: Remove conditional code.
30550         [__ASSUME_FCNTL64]: Make code unconditional.
30551         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30552         <kernel-features.h>.
30553         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30554         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30555         (lockf64) [__NR_fcntl64]: Make code unconditional.
30556         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30557
30558         * sysdeps/unix/sysv/linux/kernel-features.h
30559         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30560         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30561         Make code unconditional.
30562         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30563         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30565         [__NR_vfork]: Make code unconditional.
30566         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30567         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30569         [__NR_vfork]: Make code unconditional.
30570         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30571         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30572
30573 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30574
30575         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30576         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30577
30578         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30579         Define mkstemp64 as an alias.
30580         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30581         Define mkstemps64 as an alias.
30582         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30583         Define mkostemp64 as an alias.
30584         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30585         Define mkostemps64 as an alias.
30586         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30587         Conditionalize body on this.
30588         * misc/mkostemp64.c: Likewise.
30589         * misc/mkostemps64.c: Likewise.
30590         * misc/mkstemps64.c: Likewise.
30591         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30592         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30593         * sysdeps/wordsize-64/mkostemp.c: File removed.
30594         * sysdeps/wordsize-64/mkstemp.c: File removed.
30595         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30596         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30597         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30598         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30599
30600         [BZ #14138]
30601         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30602         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30603         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30604         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30605
30606         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30607         compat_symbol macros from <shlib-compat.h> rather than the underlying
30608         default_symbol_version and symbol_version macros, so that DEFAULT
30609         lines in shlib-versions are respected.
30610         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30611
30612 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30613
30614         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30615         Declare with warn_unused_result.
30616         (setgid, setregid, setegid, setresgid): Likewise.
30617         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30618         Likewise.
30619         * WUR-REPORT: Remove set*id functions.
30620
30621 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30622
30623         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30624
30625 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30626
30627         [BZ #10191]
30628         * include/sys/socket.h (__libc_accept, __libc_accept4):
30629         Add attribute_hidden.
30630         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30631
30632         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30633         use of PTR_MANGLE.
30634         * inet/getnetgrent_r.c (setup): Likewise.
30635
30636         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30637
30638 2012-07-31  David S. Miller  <davem@davemloft.net>
30639
30640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30641
30642 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30643
30644         [BZ #13629]
30645         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30646         value between 1.0 and 2.0 and smaller part has absolute value less
30647         than 1.0.
30648         * math/s_clog10.c (__clog10): Likewise.
30649         * math/s_clog10f.c (__clog10f): Likewise.
30650         * math/s_clog10l.c (__clog10l): Likewise.
30651         * math/s_clogf.c (__clogf): Likewise.
30652         * math/s_clogl.c (__clogl): Likewise.
30653         * math/libm-test.inc (clog_test): Add more tests.
30654         (clog10_test): Likewise.
30655         * sysdeps/i386/fpu/libm-test-ulps: Update.
30656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30657
30658 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30659
30660         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30661         Exit with zero in case no suitable GID is found, and write a
30662         message to standard error.
30663
30664 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30665
30666         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30667         rather than to 1.
30668         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30669         (MAXPATHLEN): Removed.
30670         (NOGROUP, NODEV): New macros.
30671         (setbit, clrbit, isset, isclr): New macros.
30672         (howmany, roundup, powerof2): New macros.
30673         (DEV_BSIZE): New macro.
30674
30675         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30676         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30677
30678         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30679         definition on [!__NO_LONG_DOUBLE_MATH].
30680
30681         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30682         PTR_MANGLE and PTR_DEMANGLE.
30683
30684         * socket/accept4.c (accept4): Rename to __libc_accept4.
30685         Define accept4 as a weak alias.
30686
30687         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30688         on [_DIRENT_HAVE_D_TYPE].
30689         * io/ftw.c (ftw_dir): Likewise.
30690
30691         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30692
30693         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30694
30695         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30696         Use the BSD numbers rather than the arbitrary ones we had.
30697         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30698         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30699         (SIGXCPU, SIGXFSZ): New macros.
30700         (_NSIG): Now 32.
30701
30702         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30703         initializer on [_LIBC_REENTRANT].
30704
30705         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30706         definitions inside [_POSIX_MAPPED_FILES].
30707
30708         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30709
30710         * dirent/opendir.c: Include <fcntl.h>.
30711
30712         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30713         (__libc_getspecific): Likewise.
30714         (__libc_key_create): Likewise.
30715
30716         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30717         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30718         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30719         (tmpfile64): Define as alias.
30720         * sysdeps/wordsize-64/tmpfile.c: File removed.
30721         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30722         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30723         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30724
30725         * stdio-common/vfscanf.c: Include <stdbool.h>.
30726         * nss/makedb.c: Likewise.
30727         * stdio-common/_i18n_number.h: Likewise.
30728         * argp/argp-help.c: Likewise.
30729         * posix/wordexp.c: Likewise.
30730         * sysdeps/posix/spawni.c: Likewise.
30731         * nss/nss_files/files-initgroups.c: Likewise.
30732         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30733         * nss/nss_files/files-initgroups.c: Likewise.
30734         * nss/nss_db/db-netgrp.c: Likewise.
30735         * nss/nss_db/db-initgroups.c: Likewise.
30736         * io/fchmodat.c: Include <sys/stat.h>.
30737
30738         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30739         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30740
30741         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30742         [HAVE_MMAP].
30743
30744         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30745         Add multiple inclusion protection.
30746
30747 2012-07-27  David S. Miller  <davem@davemloft.net>
30748
30749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30750
30751 2012-07-27  Gary Benson  <gbenson@redhat.com>
30752
30753         [BZ #14298]
30754         * elf/rtld.c: Include <stap-probe.h>.
30755         (dl_main): Added static probes "init_start" and "init_complete".
30756         * elf/dl-load.c: Include <stap-probe.h>.
30757         (lose): Take new parameter "nsid".
30758         Added static probe "map_failed".
30759         (_dl_map_object_from_fd): Pass namespace id to lose.
30760         Added static probe "map_start".
30761         (open_verify): Pass namespace id to lose.
30762         * elf/dl-open.c: Include <stap-probe.h>.
30763         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30764         and "reloc_complete".
30765         * elf/dl-close.c: Include <stap-probe.h>.
30766         (_dl_close_worker): Added static probes "unmap_start" and
30767         "unmap_complete".
30768         * elf/rtld-debugger-interface.txt: New file documenting the above.
30769
30770 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30771
30772         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30773         rather than a string variable.
30774         * sunrpc/rpc_main.c (h_output): Likewise.
30775         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30776
30777 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30778
30779         * inet/check_native.c: New file.
30780
30781 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30782
30783         [BZ #13629]
30784         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30785         if larger part has absolute value 1.0.
30786         * math/s_clog10.c (__clog10): Likewise.
30787         * math/s_clog10f.c (__clog10f): Likewise.
30788         * math/s_clog10l.c (__clog10l): Likewise.
30789         * math/s_clogf.c (__clogf): Likewise.
30790         * math/s_clogl.c (__clogl): Likewise.
30791         * math/libm-test.inc (clog_test): Add more tests.
30792         (clog10_test): Likewise.
30793         * sysdeps/i386/fpu/libm-test-ulps: Update.
30794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30795
30796         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30797         (pltexit): Likewise.
30798         (La_regs): Likewise.
30799         (La_retval): Likewise.
30800         (int_retval): Likewise.
30801         Update #error for removed macros to refer only to definitions in
30802         tst-audit.h.
30803         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30804         macro.
30805         (pltexit): Likewise.
30806         (La_regs): Likewise.
30807         (La_retval): Likewise.
30808         (int_retval): Likewise.
30809         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30810         macro.
30811         (pltexit): Likewise.
30812         (La_regs): Likewise.
30813         (La_retval): Likewise.
30814         (int_retval): Likewise.
30815         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30816         macro.
30817         (pltexit): Likewise.
30818         (La_regs): Likewise.
30819         (La_retval): Likewise.
30820         (int_retval): Likewise.
30821         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30822         macro.
30823         (pltexit): Likewise.
30824         (La_regs): Likewise.
30825         (La_retval): Likewise.
30826         (int_retval): Likewise.
30827         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30828         macro.
30829         (pltexit): Likewise.
30830         (La_regs): Likewise.
30831         (La_retval): Likewise.
30832         (int_retval): Likewise.
30833         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30834         macro.
30835         (pltexit): Likewise.
30836         (La_regs): Likewise.
30837         (La_retval): Likewise.
30838         (int_retval): Likewise.
30839         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30840         macro definitions in tst-audit.h.
30841         * sysdeps/i386/tst-audit.h: New file.
30842         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30843         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30844         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30845         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30846         * sysdeps/sh/tst-audit.h: Likewise.
30847         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30848         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30849         * sysdeps/x86_64/tst-audit.h: Likewise.
30850
30851 2012-07-26  Andreas Jaeger  <aj@suse.de>
30852
30853         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30854         ptrace.
30855
30856         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30857         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30858         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30859         PTRACE_O_MASK.
30860         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30861         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30862         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30863
30864         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30865         value.
30866
30867         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30868         _sigsys.
30869         (si_call_addr, si_syscall, si_arch): Define new macro.
30870         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30871         _sigsys.
30872         (si_call_addr, si_syscall, si_arch): Define new marcro.
30873         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30874         _sigsys.
30875         (si_call_addr, si_syscall, si_arch): Define new macro.
30876         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30877         _sigsys.
30878         (si_call_addr, si_syscall, si_arch): Define new macro.
30879
30880 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30881
30882         [BZ #13717]
30883         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30884         Change to 2.4.21 where previously 2.4.1.
30885         * sysdeps/unix/sysv/linux/configure: Regenerated.
30886         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30887         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30888         Linux kernel version.
30889         (__ASSUME_STD_AUXV): Remove.
30890         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30891         kernel version.
30892         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30893         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30894         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30895         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30896         (__ASSUME_NETLINK_SUPPORT): Likewise.
30897         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30898         (__no_netlink_support): Remove conditional definition.
30899         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30900         Remove.
30901         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30902         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30903         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30904         (if_nameindex_ioctl): Remove.
30905         (if_nameindex_netlink): Do not handle __no_netlink_support.
30906         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30907         code.
30908         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30909         Remove conditional code.
30910         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30911         code.
30912         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30913         unconditional.
30914         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30915         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30916         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30917         Remove.
30918         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30919         [!__ASSUME_STD_AUXV]: Remove conditional code.
30920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30921         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30922         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30924         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30925         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30926         code.
30927         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30929         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30930         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30931         conditional code.
30932         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30934         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30935         code.
30936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30937         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30938         conditional code.
30939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30940         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30941         code unconditional.
30942         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30943         conditional code.
30944         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30945         unconditional.
30946         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30947         conditional code.
30948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30949         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30950         unconditional.
30951         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30952         conditional code.
30953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30954         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30955         code unconditional.
30956         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30957         conditional code.
30958         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30959         unconditional.
30960         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30961         conditional code.
30962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30963         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30964         code unconditional.
30965         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30966         conditional code.
30967         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30968         unconditional.
30969         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30970         conditional code.
30971
30972 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30973
30974         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30975         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30976         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30977         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30978         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30979         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30980         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30981         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30982         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30983         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30984         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30985         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30986         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30987         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30988         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30989         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30990         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30991         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30992         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30993         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30994         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30995         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30996         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30997
30998 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30999
31000         * Versions.def: Add GLIBC_2.17.
31001         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31002         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31003         Introduce __libc_secure_getenv.
31004         * stdlib/Versions (2.17): Add secure_getenv
31005         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31006         * stdlib/secure-getenv.c: Rename __secure_getenv to
31007         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31008         symbol __secure_getenv for GLIBC_2.0.
31009         * stdlib/tst-secure-getenv.c: New.
31010         * stdlib/Makefile (tests): Add testcase.
31011         * manual/startup.texi (Environment Access): Document
31012         secure_getenv.
31013         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31014         __libc_secure_getenv.
31015         * inet/ruserpass.c (ruserpass): Likewise.
31016         * malloc/mtrace.c (mtrace): Likewise.
31017         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31018         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31019         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31020         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31021         HAVE_SECURE_GETENV.
31022         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31023         __secure_getenv to __libc_secure_getenv.
31024         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31026         Likewise.
31027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31028         Likewise.
31029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31031         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31036
31037 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31038
31039         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31040         (struct La_i86_retval): Likewise.
31041         (struct La_x86_64_regs): Likewise.
31042         (struct La_x86_64_retval): Likewise.
31043         (struct La_x32_regs): Likewise.
31044         (struct La_x32_retval): Likewise.
31045         (struct La_ppc32_regs): Likewise.
31046         (struct La_ppc32_retval): Likewise.
31047         (struct La_ppc64_regs): Likewise.
31048         (struct La_ppc64_retval): Likewise.
31049         (struct La_sh_regs): Likewise.
31050         (struct La_sh_retval): Likewise.
31051         (struct La_s390_32_regs): Likewise.
31052         (struct La_s390_32_retval): Likewise.
31053         (struct La_s390_64_regs): Likewise.
31054         (struct La_s390_64_retval): Likewise.
31055         (struct La_sparc32_regs): Likewise.
31056         (struct La_sparc32_retval): Likewise.
31057         (struct La_sparc64_regs): Likewise.
31058         (struct La_sparc64_retval): Likewise.
31059         (struct audit_ifaces): Remove architecture-specific pltenter and
31060         pltexit members.
31061         * sysdeps/i386/ldsodefs.h: New file.
31062         * sysdeps/powerpc/ldsodefs.h: Likewise.
31063         * sysdeps/s390/ldsodefs.h: Likewise.
31064         * sysdeps/sh/ldsodefs.h: Likewise.
31065         * sysdeps/sparc/ldsodefs.h: Likewise.
31066         * sysdeps/x86_64/ldsodefs.h: Likewise.
31067
31068 2012-07-25  Marek Polacek  <polacek@redhat.com>
31069
31070         [BZ #6808]
31071         * math/libm-test.inc (yn_test): Add another test.
31072         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31073         to ERANGE when the result is +-Inf.
31074         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31075         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31076         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31077         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31078
31079 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31080
31081         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31082         equal to 0.
31083         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31084         clock_t.
31085         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31086
31087 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31088
31089         * configure.in <sysdeps resolving>: Correct printing
31090         Implies_before.
31091         * configure: Regenerate.
31092
31093 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31094
31095         * math/w_ilogb.c: Include <limits.h>.
31096         * math/w_ilogbl.c: Likewise.
31097
31098 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31099
31100         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31101         va_copy.  Document allowing for unavailable va_copy only as
31102         pre-C99 compatibility.
31103         * manual/string.texi (Copying and Concatenation): Use va_copy
31104         instead of __va_copy in concat example.
31105
31106 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31107
31108         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31109         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31110         it if not null.
31111
31112         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31113         with O_NOLINK passed to __file_name_lookup.
31114
31115         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31116         with O_NOLINK passed to __file_name_lookup.
31117
31118         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31119         negative N or less than NGIDS.
31120
31121         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31122         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31123         enough.  Use memcpy instead of strncpy.
31124
31125 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31126
31127         * elf/Makefile (check-data): Remove.
31128         (localplt.data): New vpath directive.
31129         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31130         instead of $(check-data).
31131         * scripts/data/localplt-generic.data: Move to ...
31132         * sysdeps/generic/localplt.data: ... here.
31133         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31134         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31135         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31137         ... here.
31138         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31140         ... here.
31141         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31143         ... here.
31144         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31146         ... here.
31147         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31149         ... here.
31150         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31152         ... here.
31153
31154 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31155
31156         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31157         PPC32 and PPC64 files.
31158         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31159         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31160
31161 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31162
31163         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31164         __makecontext_ret to ...
31165         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31166         ... here and call exit if uc_link is NULL.  New file.
31167         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31168         __makecontext_ret.S.
31169         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31170         __makecontext_ret to ...
31171         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31172         ... here and call exit if uc_link is NULL.  New file.
31173         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31174         __makecontext_ret.S.
31175
31176 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31177
31178         * elf/elf.h (R_390_IRELATIVE): New definition.
31179         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31180         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31181         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31182         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31183         (elf_machine_lazy_rel): Likewise.
31184         * sysdeps/s390/dl-irel.h: New file.
31185         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31186         * sysdeps/s390/s390-64/memset.S: New asm code.
31187         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31188         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31189         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31190         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31191         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31192         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31193         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31194         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31195         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31196         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31197         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31198         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31199         * sysdeps/s390/s390-32/memset.S: New asm code.
31200         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31201
31202 2012-07-17  Marek Polacek  <polacek@redhat.com>
31203
31204         [BZ #14349]
31205         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31206         * sysdeps/s390/s390-64/configure.in: Likewise.
31207         * sysdeps/sparc/configure.in: Likewise.
31208         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31209         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31210         * sysdeps/i386/configure.in: Likewise.
31211         * sysdeps/x86_64/configure.in: Likewise.
31212         * sysdeps/sh/configure.in: Likewise.
31213         * sysdeps/s390/s390-32/configure: Regenerated.
31214         * sysdeps/s390/s390-64/configure: Likewise.
31215         * sysdeps/x86_64/configure: Likewise.
31216         * sysdeps/sh/configure: Likewise.
31217         * sysdeps/powerpc/powerpc64/configure: Likewise.
31218         * sysdeps/powerpc/powerpc32/configure: Likewise.
31219         * sysdeps/sparc/configure: Likwise.
31220         * sysdeps/i386/configure: Likewise.
31221
31222         * elf/dl-open.c: Comment fixes.
31223
31224 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31225
31226         * Makefile [CXX] (check-data): Remove.
31227         [CXX] (c++-types.data): New vpath directive.
31228         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31229         vpath.  Do not allow for C++ type data being missing.
31230         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31231         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31232         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31233         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31234         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31235         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31236         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31238         ... here.
31239         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31241         ... here.
31242         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31244         ... here.
31245         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31247         ... here.
31248         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31250         ... here.
31251         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31253         ... here.
31254         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31256         ... here.
31257         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31259
31260         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31261         definitions to architecture-specific files.
31262         (TLS_IE): Likewise.
31263         (TLS_LD): Likewise.
31264         (TLS_GD): Likewise.
31265         * sysdeps/i386/tls-macros.h: New file.
31266         * sysdeps/powerpc/tls-macros.h: Likewise.
31267         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31268         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31269         * sysdeps/sh/tls-macros.h: Likewise.
31270         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31271         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31272         * sysdeps/x86_64/tls-macros.h: Likewise.
31273
31274 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31275
31276         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31277         zero value for regular exit case.
31278
31279         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31280         (__start_context): Preserve zero value for regular exit case.
31281
31282 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31283             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31284
31285         * manual/setjmp.texi (setcontext): Clarify normal process
31286         termination when uc_link is the null pointer.
31287         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31288         exit call.
31289
31290 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31291
31292         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31293         preprocessor.  Test for each exception mask separately.
31294
31295 2012-07-16  Andreas Jaeger  <aj@suse.de>
31296
31297         * po/ru.po: Update from translation team.
31298
31299 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31300
31301         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31302         equal to 0.
31303         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31304         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31305         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31306         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31307         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31308
31309 2012-07-13  Andreas Jaeger  <aj@suse.de>
31310
31311         * po/fr.po: Update from translation team.
31312
31313 2012-07-12  Marek Polacek  <polacek@redhat.com>
31314
31315         [BZ #14173]
31316         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31317         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31318         loop condition.
31319
31320 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31321
31322         [BZ #13717]
31323         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31324         Change to 2.4.1 where previously 2.4.0.
31325         * sysdeps/unix/sysv/linux/configure: Regenerated.
31326         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31327         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31328         version.
31329         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31330         (__ASSUME_AT_CLKTCK): Remove.
31331         (__ASSUME_AT_PAGESIZE): Likewise.
31332         (__ASSUME_AT_XID): Likewise.
31333         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31334         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31335         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31336         unconditionally.
31337         (HAVE_AUX_PAGESIZE): Likewise.
31338         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31339         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31340         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31341
31342 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31343
31344         [BZ #14307]
31345         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31346         the temporary buffer used to invoke __gethostbyname2_r,
31347         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31348         host_data / struct gaih_addrtuple.
31349         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31350         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31351         header file nss/nsswitch.h.
31352         * nss/nsswitch.h (global scope): Add definition of implementation
31353         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31354         resolv/nss_dns/dns-host.c).
31355
31356 2012-07-11  Andreas Jaeger  <aj@suse.de>
31357
31358         * po/fr.po: Update from translation team.
31359
31360         * po/sv.po: Update from translation team
31361         * po/fr.po: Another update from translation team.
31362
31363 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31364
31365         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31366         for subnormals or multiply small sinh result by itself.
31367         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31369
31370 2012-07-11  David S. Miller  <davem@davemloft.net>
31371
31372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31373
31374 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31375
31376         [BZ #14347]
31377         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31378         (INTERNAL_MARK): Shift it here.
31379
31380 2012-07-10  Marek Polacek  <polacek@redhat.com>
31381
31382         [BZ #14151]
31383         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31384         libc_cv_asm_global_directive with .globl.
31385         * configure: Regenerated.
31386         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31387         with .globl.
31388         * sysdeps/i386/configure: Regenerated.
31389         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31390         with .globl.
31391         * sysdeps/x86_64/configure: Regenerated.
31392         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31393         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31394         * elf/tst-unique2mod2.c: Likewise.
31395         * elf/tst-unique2mod1.c: Likewise.
31396         * elf/tst-unique1mod2.c: Likewise.
31397         * elf/tst-unique1mod1.c: Likewise.
31398         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31399         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31400         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31401         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31402         * sysdeps/mach/sysdep.h: Likewise.
31403         * sysdeps/i386/sysdep.h: Likewise.
31404         * sysdeps/i386/i386-mcount.S: Likewise.
31405         * sysdeps/x86_64/_mcount.S: Likewise.
31406         * sysdeps/x86_64/sysdep.h: Likewise.
31407         * sysdeps/sh/_mcount.S: Likewise.
31408         * sysdeps/sh/sysdep.h: Likewise.
31409         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31410         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31411         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31412         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31413         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31414         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31415         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31416         * locale/localeinfo.h: Likewise.
31417         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31418         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31419
31420 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31421
31422         [BZ #14336]
31423         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31424         system".
31425         * manual/message.texi (The Uniforum approach): Likewise.
31426         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31427         (glibc iconv Implementation): Likewise.
31428
31429 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31430
31431         [BZ #14337]
31432         * math/s_clog.c (__clog): Avoid scaling a value down where that
31433         could result in underflow.
31434         * math/s_clog10.c (__clog10): Likewise.
31435         * math/s_clog10f.c (__clog10f): Likewise.
31436         * math/s_clog10l.c (__clog10l): Likewise.
31437         * math/s_clogf.c (__clogf): Likewise.
31438         * math/s_clogl.c (__clogl): Likewise.
31439         * math/libm-test.inc (clog_test): Add more tests.
31440         (clog10_test): Likewise.
31441         * sysdeps/i386/fpu/libm-test-ulps: Update.
31442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31443
31444 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31445
31446         [BZ #14283]
31447         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31448         by 7 not 8 to examine high bit of fractional part.
31449
31450         [BZ #14042]
31451         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31452         for call to __mcount_internal.
31453         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31454         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31455         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31456
31457 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31458
31459         [BZ #14154]
31460         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31461         approximation for values within 0x1p-13f of an odd multiple of
31462         pi/4.
31463         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31464         exception.  Add more tests.
31465         * sysdeps/i386/fpu/libm-test-ulps: Update.
31466
31467         [BZ #6778]
31468         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31469         inputs and return -1 for them.  Do not check for +Inf in case not
31470         reachable for +Inf.
31471         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31472         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31473         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31474         and return -1 for them.  Do not check for +Inf in case not
31475         reachable for +Inf.
31476         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31477         define.
31478         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31479         and return -1 for them.  Do not check for +Inf in case not
31480         reachable for +Inf.
31481         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31482         spurious underflow.
31483         * sysdeps/i386/fpu/libm-test-ulps: Update.
31484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31485
31486 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31487
31488         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31489
31490 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31491
31492         [BZ #14157]
31493         [BZ #14331]
31494         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31495         could result in spurious underflow.  Scale down values above
31496         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31497         * math/s_csqrtf.c (__csqrtf): Likewise.
31498         * math/s_csqrtl.c (__csqrtl): Likewise.
31499         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31500         spurious underflow.
31501         * sysdeps/i386/fpu/libm-test-ulps: Update.
31502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31503
31504 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31505
31506         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31507         xopen-msg.sed.
31508         * catgets/xopen-msg.awk: New file.
31509         * catgets/xopen-msg.sed: Removed.
31510
31511         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31512         po2text.sed.
31513         * intl/po2test.awk: New file.
31514         * intl/po2test.sed: Removed.
31515
31516 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31517
31518         [BZ #14328]
31519         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31520         or multiply small sinh result by itself.
31521         * math/s_ctanf.c (__ctanf): Likewise.
31522         * math/s_ctanh.c (__ctanh): Likewise.
31523         * math/s_ctanhf.c (__ctanhf): Likewise.
31524         * math/s_ctanhl.c (__ctanhl): Likewise.
31525         * math/s_ctanl.c (__ctanl): Likewise.
31526         * math/libm-test.inc (ctan_test_tonearest): New function.
31527         (ctan_test_towardzero): Likewise.
31528         (ctan_test_downward): Likewise.
31529         (ctan_test_upward): Likewise.
31530         (ctanh_test_tonearest): Likewise.
31531         (ctanh_test_towardzero): Likewise.
31532         (ctanh_test_downward): Likewise.
31533         (ctanh_test_upward): Likewise.
31534         (main): Call these new functions.
31535         * sysdeps/i386/fpu/libm-test-ulps: Update.
31536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31537
31538 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31539
31540         * .gitignore: Delete /ports entry.
31541
31542 2012-07-03  Andreas Jaeger  <aj@suse.de>
31543
31544         * po/bg.po: Update from translation team.
31545         * po/cs.po: Likewise.
31546         * po/de.po: Likewise.
31547         * po/hr.po: Likewise.
31548         * po/nl.pl: Likewise.
31549         * po/pl.po: Likewise.
31550         * po/vi.po: Likewise.
31551
31552 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31553
31554         * Makeconfig [!+link] (+link-before-libc): New variable.
31555         [!+link] (+link-after-libc): Likewise.
31556         [!+link] (+link-tests): Likewise.
31557         [!+link] (+link): Define in terms of $(+link-before-libc) and
31558         $(+link-after-libc).
31559         [!+link-static] (+link-static-before-libc): New variable.
31560         [!+link-static] (+link-static-after-libc): Likewise.
31561         [!+link-static] (+link-static-tests): Likewise.
31562         [!+link-static] (+link-static): Define in terms of
31563         $(+link-static-before-libc) and $(+link-static-after-libc).
31564         [build-shared] (link-libc-before-gnulib): New variable.
31565         [build-shared] (link-libc-tests): Likewise.
31566         [build-shared] (link-libc): Define in terms of
31567         $(link-libc-before-gnulib).
31568         [!build-shared] (link-libc-tests): New variable.
31569         (link-libc-static-tests): New variable.
31570         [!gnulib] (gnulib-arch): New variable.
31571         [!gnulib] (gnulib-tests): Likewise.
31572         [!gnulib] (static-gnulib-arch): Likewise.
31573         [!gnulib] (static-gnulib-tests): Likewise.
31574         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31575         Define with "=" instead of ":=".
31576         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31577         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31578         * Rules (binaries-all-notests): New variable.
31579         (binaries-all-tests): Likewise.
31580         (binaries-static-notests): Likewise.
31581         (binaries-static-tests): Likewise.
31582         (binaries-all): Define using $(binaries-all-notests) and
31583         $(binaries-all-tests).
31584         (binaries-static): Define using $(binaries-static-notests) and
31585         $(binaries-static-tests).
31586         (binaries-shared-tests): New variable.
31587         (binaries-shared-notests): Likewise.
31588         (binaries-shared): Remove variable.
31589         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31590         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31591         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31592         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31593         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31594         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31595         * elf/Makefile (sln-modules): New variable.
31596         (extra-objs): Add $(sln-modules:=.o).
31597         (ldconfig-modules): Add static-stubs.
31598         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31599         * elf/static-stubs.c: New file.
31600
31601         [BZ #14283]
31602         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31603         by 7 not 8 to examine high bit of fractional part.  Use volatile
31604         variables when splitting into final array of floats if
31605         __FLT_EVAL_METHOD__ != 0.
31606         * math/libm-test.inc (cos_test): Add another test.
31607         (sin_test): Likewise.
31608         * sysdeps/i386/fpu/libm-test-ulps: Update.
31609
31610         [BZ #14273]
31611         * math/libm-test.inc (cosh_test): Add more tests.
31612
31613         * version.h (RELEASE): Set to "development".
31614         (VERSION): Set to "2.16.90".
31615
31616 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31617
31618         * NEWS: Update copyright. Remove last-updated date.
31619         Mention math library bug fixes and timezone data changes.
31620         * README: Mention GNU/Hurd, x32, and HPPA support status.
31621
31622 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31623
31624         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31625
31626 2012-06-27  Andreas Jaeger  <aj@suse.de>
31627
31628         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31629
31630 2012-06-25  Andreas Jaeger  <aj@suse.de>
31631
31632         * sysdeps/s390/fpu/libm-test-ulps: Update.
31633
31634 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31635             Thomas Schwinge  <thomas@codesourcery.com>
31636
31637         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31638         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31639         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31640         fanotify_mark.
31641
31642 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31643
31644         * sysdeps/mach/start.c: Remove file.
31645         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31646         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31647         * sysdeps/sh/init-first.c: Likewise.
31648
31649         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31650         registers for frame unwinding purposes, add CFI directives.
31651         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31652         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31653         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31654         Likewise.
31655
31656         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31657         __fortify_fail returning.
31658         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31659
31660         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31661         sysdeps/sh/____longjmp_chk.S.
31662         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31663         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31664         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31665         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31666
31667         * sysdeps/sh/abort-instr.h: New file.
31668         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31669         process in case exit returns.
31670
31671         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31672         initialize the GOT register before use.
31673
31674         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31675         calculation of ARGC > 4.
31676
31677         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31678         meaningful names to some local labels.
31679
31680 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31681             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31682
31683         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31684         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31685         (__arch_compare_and_exchange_val_16_acq): Likewise.
31686         (__arch_compare_and_exchange_val_32_acq): Likewise.
31687         (atomic_exchange_and_add): Fix gUSA sequence.
31688         (atomic_add): Likewise.
31689         (atomic_add_negative): Likewise.
31690         (atomic_add_zero): Likewise.
31691         (atomic_bit_test_set): Likewise.
31692
31693 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31694
31695         [BZ #13579]
31696         * include/link.h (struct link_map): Add l_free_initfini.
31697         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31698         l_initfini.
31699         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31700         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31701         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31702         set.
31703
31704 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31705
31706         * configure.in: Use AC_LANG_SOURCE.
31707         * configure: Regenerate.
31708
31709 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31710
31711         * configure.in (libc_cv_localstatedir): New substituted variable.
31712         * configure: Regenerated.
31713         * config.make.in (localstatedir): New variable, substituted from
31714         libc_cv_localstatedir.
31715         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31716         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31717         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31718         * sysdeps/gnu/configure: Regenerated.
31719
31720 2012-06-21  Jeff Law  <law@redhat.com>
31721
31722         [BZ #14277]
31723         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31724         free.  Simplify list management for _LIBC case.
31725
31726 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31727
31728         [BZ #14273]
31729         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31730         Clear sign bit of 64-bit integer value before comparing against
31731         overflow value.
31732
31733         * sysdeps/mach/configure: Regenerated.
31734
31735 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31736
31737         [BZ #14278]
31738         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31739
31740 2012-06-21  Jeff Law  <law@redhat.com>
31741
31742         [BZ #13882]
31743         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31744         uint16_t for elements in the "seen" array to avoid char overflows.
31745         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31746         * elf/dl-open.c (dl_open_worker): Likewise.
31747
31748 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31749
31750         * scripts/list-sources.sh: Scan PORTS for translations.
31751         * po/libc.pot: Regenerated.
31752
31753 2012-06-21  Andreas Jaeger  <aj@suse.de>
31754
31755         [BZ #12194]
31756         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31757         warning.
31758         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31759         * bits/byteswap-16.h (__bswap_16): Likewise.
31760         * bits/byteswap.h (__bswap_constant_16): Likewise.
31761
31762 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31763
31764         [BZ #14117]
31765         * sysdeps/i386/fpu_control.h: Removed.
31766         * sysdeps/x86_64/fpu_control.h: Moved to ...
31767         * sysdeps/x86/fpu_control.h: Here.
31768
31769         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31770         (_FPU_SETCW): Likewise.
31771
31772 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31773
31774         [BZ #14117]
31775         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31776         * sysdeps/x86/fpu/bits/mathinline.h: This.
31777         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31778
31779         [BZ #14050]
31780         [BZ #14117]
31781         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31782         functions if __x86_64__ is defined.
31783
31784 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31785
31786         * string/endian.h: Add !__ASSEMBLER__ condition for including
31787         conversion interfaces.
31788
31789 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31790
31791         [BZ #14241]
31792         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31793         of ABS(x) in calculating zero to negative powers other than odd
31794         integers.
31795         * math/libm-test.inc (pow_test): Add more tests.
31796
31797 2012-06-15  Andreas Jaeger  <aj@suse.de>
31798
31799         * manual/contrib.texi (Contributors): Update entry of Liubov
31800         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31801         Machado Filho.
31802
31803 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31804
31805         * string/string.h: Add __wur to GNU version of strerror_r.
31806
31807 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31808
31809         [BZ #14229]
31810         * string/Makefile (tests): Add tst-strtok_r.
31811         * string/tst-strtok_r.c: New file.
31812         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31813         RAX_LP/RDX_LP on SAVE_PTR.
31814
31815 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31816
31817         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31818
31819 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31820
31821         * libm_test.inc (csqrt_test): Allow more spurious underflow
31822         exceptions.
31823         (j0_test): Likewise.
31824         (j1_test): Likewise.
31825         (y0_test): Likewise.
31826         (y1_test): Likewise.
31827
31828 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31829
31830         * po/Makefile (libc.pot): Use UTF-8 charset.
31831
31832 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31833
31834         [BZ #14210]
31835         Suppress sign-conversion warning from FD_SET.
31836         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31837         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31838         not unsigned long int.
31839         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31840
31841 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31842
31843         [BZ #14050]
31844         [BZ #14117]
31845         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31846         __extern_always_inline instead of __extern_inline.
31847         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31848         (__signbit): Likewise.
31849         (__signbitl): Support C++ namespace.
31850         (lrintf): New inline function.
31851         (lrint): Likewise.
31852         (llrintf): Likewise.
31853         (llrint): Likewise.
31854         (fmaxf): Likewise.
31855         (fmax): Likewise.
31856         (fminf): Likewise.
31857         (fmin): Likewise.
31858         (rint): Likewise.
31859         (rintf): Likewise.
31860         (ceil): Likewise.
31861         (ceilf): Likewise.
31862         (floor): Likewise.
31863         (floorf): Likewise.
31864         (nearbyint): Likewise.
31865         (nearbyintf): Likewise.
31866
31867 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31868
31869         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31870         non-default versions.
31871
31872 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31873
31874         [BZ #14218]
31875         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31876
31877 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31878
31879         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31880         (FE_UPWARD, FE_DOWNWARD): Don't define.
31881         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31882         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31883
31884         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31885         reading it.
31886         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31887         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31888
31889 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31890
31891         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31892         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31893         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31894         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31895
31896 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31897
31898         [BZ #14117]
31899         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31900         * sysdeps/i386/fpu/Implies: New file.
31901         * sysdeps/x86_64/fpu/Implies: Likewise.
31902         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31903         * sysdeps/x86/fpu/bits/fenv.h: This.
31904
31905         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31906         __SSE_MATH__.
31907
31908 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31909
31910         [BZ #14134]
31911         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31912         character 0xffff that matches the last element of the
31913         conversion table.
31914
31915 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31916
31917         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31918         fmodl commit.
31919
31920 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31921
31922         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31923         values higher than 25.6283.
31924
31925 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31926
31927         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31928         subnormal exponent extraction and add some __builtin_expect.
31929         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31930         Fix for subnormal mantissa calculation.
31931
31932 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31933
31934         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31935         cpu2 is -1 and errno is not ENOSYS.
31936
31937 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31938
31939         [BZ #14117]
31940         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31941         * sysdeps/x86/bits/string.h: This.
31942         * sysdeps/x86_64/bits/string.h: Removed.
31943
31944         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31945         if not compiling for x86-64, but compiling for >= i486.
31946
31947         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31948         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31949
31950         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31951         New macro from Linux kernel 3.4.0.
31952         (FP_XSTATE_MAGIC2): Likewise.
31953         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31954         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31955         (struct _fpx_sw_bytes): New struct.
31956         (struct _xsave_hdr): Likewise.
31957         (struct _ymmh_state): Likewise.
31958         (struct _xstate): Likewise.
31959
31960         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31961         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31962         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31963         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31964         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31965         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31966
31967         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31968         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31969         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31970         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31971         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31972         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31973
31974 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31975
31976         [BZ #13743]
31977         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31978         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31979         (sysdep_headers): Include sys/platform/ppc.h.
31980         * sysdeps/powerpc/test-gettimebase.c: Test for
31981         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31982         * manual/Makefile (appendices): Include platform.texi.
31983         * manual/contrib.texi (Contributors): Update @node pointers.
31984         * manual/maint.texi (Maintenance): Likewise.
31985         (Platform): New node.
31986         * manual/platform.texi: New file.  Document the new features.
31987
31988 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31989             Jakub Jelinek  <jakub@redhat.com>
31990
31991         [BZ #14188]
31992         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31993         where __builtin_expect is unavailable.
31994
31995 2012-06-03  David S. Miller  <davem@davemloft.net>
31996
31997         * stdlib/longlong.h: Updated from GCC.
31998
31999 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32000
32001         [BZ #14042]
32002         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32003         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32004         __mcount_internal.
32005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32006         (GLIBC_2.16): Likewise.
32007
32008 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32009
32010         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32011
32012 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32013
32014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32015         (default-abi): New variable.
32016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32017         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32018         variable.
32019         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32020         Likewise.
32021         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32022         Likewise.
32023         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32024         Likewise.
32025
32026         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32027         definition.  Document in comment.
32028
32029 2012-06-01  David S. Miller  <davem@davemloft.net>
32030
32031         * stdlib/longlong.h: Updated from GCC.
32032
32033 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32034
32035         [BZ #14117]
32036         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32037         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32038         sys/debugreg.h sys/io.h here.
32039         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32040         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32041         sys/io.h.
32042         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32043         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32044         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32045         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32046         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32047         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32048
32049         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32050         Define only if __x86_64__ is defined.
32051
32052 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32053
32054         [BZ #14048]
32055         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32056         Use int64_t for variable i.
32057         * math/libm-test.inc (fmod_test): Add more tests.
32058
32059         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32060         z computation is not scheduled after fetestexcept.
32061         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32062         Use math_force_eval instead of asm to ensure calculation scheduled
32063         before exception test.
32064         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32065         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32066
32067 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32068
32069         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32070         computation is not scheduled after fetestexcept.
32071
32072 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32073
32074         [BZ #14117]
32075         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32076         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32077
32078 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32079
32080         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32081         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32082
32083 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32084
32085         [BZ #14117]
32086         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32087         <bits/wordsize.h>.
32088         (__WCHAR_MIN): Support __WORDSIZE == 64.
32089         (__WCHAR_MAX): Likewise.
32090
32091         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32092         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32093
32094         [BZ #14183]
32095         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32096         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32097
32098         [BZ #14117]
32099         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32100         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32101
32102         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32103         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32104
32105         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32106         Defined to 1 if __x86_64__ isn't defined.
32107         (_STAT_VER_LINUX_OLD): New.
32108         (st_atime): Remove duplicate.
32109         (st_mtime): Likewise.
32110         (st_ctime): Likewise.
32111
32112 2012-05-31  David S. Miller  <davem@davemloft.net>
32113
32114         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32115         entries.
32116
32117 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32118
32119         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32120         gen-libm-test.pl.
32121
32122         [BZ #14132]
32123         * elf/dl-reloc.c: Include <_itoa.h>.
32124         (_dl_reloc_bad_type): Remove use of INTUSE.
32125         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32126         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32127         * stdio-common/psiginfo.c (psiginfo): Likewise.
32128         * stdio-common/psignal.c (psignal): Likewise.
32129         * string/strsignal.c (strsignal): Likewise.
32130         * include/signal.h (_sys_siglist): Declare hidden proto.
32131         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32132         INTVARDEF with libc_hidden_data_def.
32133         * stdio-common/itoa-udigits.c: Likewise.
32134         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32135         (_itoa_lower_digits_internal): Remove declaration.
32136         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32137         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32138         (_sys_sigabbrev_internal): Remove aliases.
32139         (_sys_siglist): Define hidden alias.
32140
32141 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32142
32143         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32144         bits/sysctl.h.
32145
32146 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32147
32148         [BZ #14117]
32149         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32150         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32151
32152         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32153         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32154         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32155         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32156         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32157         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32158
32159         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32160         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32161         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32162
32163         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32164         with __addr.
32165         (insw): Likewise.
32166         (insl): Likewise.
32167         (outsb): Likewise.
32168         (outsw): Likewise.
32169         (outsl): Likewise.
32170
32171         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32172         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32173         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32174
32175         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32176         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32177         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32178         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32179         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32180         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32181
32182         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32183         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32184
32185         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32186         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32187
32188         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32189         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32190         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32191
32192         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32193         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32194         to ...
32195         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32196
32197         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32198         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32199         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32200
32201         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32202         for x86-64.
32203         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32204
32205 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32206
32207         * math/math.h (M_El): Use two more decimal places.
32208         (M_LOG2El): Likewise.
32209         (M_LOG10El): Likewise.
32210         (M_LN2l): Likewise.
32211         (M_LN10l): Likewise.
32212         (M_PIl): Likewise.
32213         (M_PI_2l): Likewise.
32214         (M_PI_4l): Likewise.
32215         (M_1_PIl): Likewise.
32216         (M_2_PIl): Likewise.
32217         (M_2_SQRTPIl): Likewise.
32218         (M_SQRT2l): Likewise.
32219         (M_SQRT1_2l): Likewise.
32220
32221 2012-05-31  David S. Miller  <davem@davemloft.net>
32222
32223         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32224         values between float registers.
32225         * sysdeps/sparc/sparc64/memset.S: Likewise.
32226         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32227
32228 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32229
32230         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32231         -D_FORTIFY_SOURCE=1.
32232         (CPPFLAGS-tst-longjmp_chk.c): Define.
32233         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32234         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32235         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32236         CFLAGS-tst-wchar-h.c.
32237
32238 2012-05-31  Marek Polacek  <polacek@redhat.com>
32239
32240         [BZ #14132]
32241         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32242         __endmntent_internal): Remove declaration.
32243         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32244         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32245         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32246
32247 2012-05-30  David S. Miller  <davem@davemloft.net>
32248
32249         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32250         (___Q_simulate_exceptions): Use real FP ops rather than writing
32251         into the %fsr.
32252         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32253         Likewise.
32254
32255 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32256
32257         [BZ #14117]
32258         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32259         * sysdeps/x86/bits/xtitypes.h: This.
32260
32261         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32262         * sysdeps/x86/bits/wordsize.h: This.
32263
32264         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32265         * sysdeps/x86/bits/huge_vall.h: This.
32266
32267         * sysdeps/i386/bits/select.h: Removed.
32268         * sysdeps/x86_64/bits/select.h: Renamed to ...
32269         * sysdeps/x86/bits/select.h: This.
32270
32271         * sysdeps/i386/bits/setjmp.h: Removed.
32272         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32273         * sysdeps/x86/bits/setjmp.h: This.
32274
32275         * sysdeps/i386/bits/mathdef.h: Removed.
32276         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32277         * sysdeps/x86/bits/mathdef.h: This.
32278
32279 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32280
32281         [BZ #14132]
32282         * include/sys/socket.h (__connect_internal)
32283         (__libc_sa_len_internal): Remove declaration.
32284         (__connect, __libc_sa_len): Declare hidden_proto.
32285         (SA_LEN): Remove use of INTUSE.
32286         * socket/connect.c: Add libc_hidden_def.
32287         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32288         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32289         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32290         alias.
32291         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32292         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32293         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32294         of adding _internal alias.
32295
32296 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32297
32298         [BZ #14117]
32299         * sysdeps/i386/bits/link.h: Removed.
32300         * sysdeps/i386/bits/linkmap.h: Likewise.
32301         * sysdeps/x86_64/bits/link.h: Renamed to ...
32302         * sysdeps/x86/bits/link.h: This.
32303         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32304         * sysdeps/x86/bits/linkmap.h: This.
32305
32306         * sysdeps/i386/bits/endian.h: Removed.
32307         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32308         * sysdeps/x86/bits/endian.h: This.
32309
32310         * sysdeps/i386/bits/byteswap.h: Removed.
32311         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32312         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32313         * sysdeps/x86/bits/byteswap.h: This.
32314         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32315         * sysdeps/x86/bits/byteswap-16.h: This.
32316         * sysdeps/i386/Implies: Add x86.
32317         * sysdeps/x86_64/Implies: Likewise.
32318
32319 2012-05-30  David S. Miller  <davem@davemloft.net>
32320
32321         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32322         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32323         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32324         (FP_TRAPPING_EXCEPTIONS): Define.
32325         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32326         (FP_TRAPPING_EXCEPTIONS): Define.
32327         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32328         subnormals only when inexact has been signalled or underflow
32329         exceptions are enabled.
32330         (_FP_PACK_CANONICAL): Likewise.
32331
32332 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32333
32334         [BZ #14183]
32335         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32336         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32337
32338 2012-05-30  Richard Henderson  <rth@twiddle.net>
32339
32340         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32341         with #ifndef NOT_IN_libc.
32342
32343         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32344         marked to avoid plt entry.
32345
32346 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32347
32348         [BZ #14112]
32349         * Makeconfig (default-abi): New macro.
32350         (abi-includes): Likewise.
32351         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32352         $(abi-$(default-abi)-lib-soname) for soname if defined.
32353         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32354         abi-variants.
32355         * Makefile (installed-stubs): Likewise.
32356         * include/stubs-biarch.h: Removed.
32357         * scripts/lib-names.awk: Only handle one library at a time.
32358         * scripts/soversions.awk: Remove WORDSIZE support.
32359         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32360         entries.
32361         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32362         Removed.
32363         (syscall-list-default-condition): Likewise.
32364         (syscall-list-default-condition): Likewise.
32365         (syscall-list-includes): Likewise.
32366         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32367         syscall-list-* with abi-*.  Handle undefined abi-variants.
32368         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32369         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32370         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32371         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32372         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32373         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32374         Removed.
32375         (syscall-list-32-options): Likewise.
32376         (syscall-list-32-condition): Likewise.
32377         (syscall-list-64-options): Likewise.
32378         (syscall-list-64-condition): Likewise.
32379         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32380         macro.
32381         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32382         Renamed to ...
32383         (abi-*): This.
32384         (abi-64-ld-soname): New macro.
32385         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32386         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32387         Renamed to ...
32388         (abi-*): This.
32389         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32390         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32391
32392 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32393
32394         * sysdeps/unix/sysv/linux/kernel-features.h
32395         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32396         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32397         include <kernel-features.h>.
32398         [!__NR_ftruncate64]: Remove conditional code.
32399         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32400         [__NR_ftruncate64]: Make code unconditional.
32401         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32402         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32403         include <kernel-features.h>.
32404         [!__NR_ftruncate64]: Remove conditional code.
32405         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32406         [__NR_ftruncate64]: Make code unconditional.
32407         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32409         include <kernel-features.h>.
32410         [!__NR_ftruncate64]: Remove conditional code.
32411         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32412         [__NR_ftruncate64]: Make code unconditional.
32413         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32415         include <kernel-features.h>.
32416         [!__NR_ftruncate64]: Remove conditional code.
32417         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32418         [__NR_ftruncate64]: Make code unconditional.
32419         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32420
32421         * configure.in (libc_cv_fpie): Weaken to a compile test using
32422         LIBC_TRY_CC_OPTION.
32423         * configure: Regenerated.
32424
32425 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32426
32427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32431         Refreshed.
32432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32438         Refreshed.
32439
32440 2012-05-27  David S. Miller  <davem@davemloft.net>
32441
32442         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32443         (___Q_zero): New.
32444         (__Q_simulate_exceptions): Return void.  Change to simulate
32445         exceptions by writing into the %fsr.
32446         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32447         (__Qp_handle_exceptions): Likewise.
32448         (numbers): Delete.
32449         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32450         __Qp_handle_exceptions.
32451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32452         __Qp_handle_exceptions.
32453         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32454         as unused and give dummy FP_RND_NEAREST initializer.
32455         (FP_INHIBIT_RESULTS): Define.
32456         (___Q_simulate_exceptions): Update declaration.
32457         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32458         formatting.
32459         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32460         as unused and give dummy FP_RND_NEAREST initializer.
32461         (__Qp_handle_exceptions): Update declaration.
32462         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32463         formatting.
32464
32465 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32466
32467         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32468         the temporary FPU control word.
32469         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32470         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32471         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32472         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32473         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32474         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32475         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32476         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32477         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32478         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32479         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32480
32481 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32482
32483         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32484         fields.
32485
32486 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32487
32488         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32489         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32490         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32491         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32492         Likewise.
32493         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32494         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32495         Likewise.
32496
32497 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32498
32499         * po/h.po: Update from translation team.
32500
32501 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32502
32503         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32504
32505         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32506         handling of denormals.
32507         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32508         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32509         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32510         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32511         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32512         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32513         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32514         Likewise.
32515
32516 2012-05-26  Marek Polacek  <polacek@redhat.com>
32517
32518         [BZ #14152]
32519         * math/libm-test.inc (fma_test): Don't always expect underflow
32520         exception.
32521
32522 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32523
32524         [BZ #12416]
32525         * elf/tst-execstack.c: Include stackinfo.h.
32526         (do_test): Adjust test case to ensure that pthread_getattr_np
32527         behaviour remains the same after marking stack executable.
32528
32529 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32530
32531         * sysdeps/unix/sysv/linux/kernel-features.h
32532         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32533         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32534         kernel-features.h.
32535         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32536         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32537         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32538         kernel-features.h.
32539         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32540         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32541
32542 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32543
32544         * configure.in: Define the default includes to being none.
32545         * configure: Regenerated.
32546
32547 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32548
32549         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32550         * sysdeps/x86_64/setjmp.S: Likewise.
32551         * sysdeps/i386/bsd-setjmp.S: Likewise.
32552         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32553         * sysdeps/i386/setjmp.S: Likewise.
32554         * sysdeps/i386/__longjmp.S: Likewise.
32555         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32556         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32557
32558         * include/stap-probe.h: New file.
32559         * configure.in: Handle --enable-systemtap.
32560         * configure: Regenerated.
32561         * config.h.in (USE_STAP_PROBE): New #undef.
32562         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32563         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32564         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32565
32566 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32567
32568         [BZ #13717]
32569         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32570         to 2.4.0 where earlier.
32571         * sysdeps/unix/sysv/linux/configure: Regenerated.
32572         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32573         <kernel-features.h>.
32574         [__ASSUME_32BITUIDS]: Make code unconditional.
32575         [!__ASSUME_32BITUIDS]: Remove conditional code.
32576         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32577         <kernel-features.h>.
32578         [__ASSUME_32BITUIDS]: Make code unconditional.
32579         [!__ASSUME_32BITUIDS]: Remove conditional code.
32580         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32581         [__ASSUME_32BITUIDS]: Make code unconditional.
32582         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32583         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32584         <kernel-features.h>.
32585         [__ASSUME_32BITUIDS]: Make code unconditional.
32586         [!__ASSUME_32BITUIDS]: Remove conditional code.
32587         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32588         <kernel-features.h>.
32589         [__ASSUME_32BITUIDS]: Make code unconditional.
32590         [!__ASSUME_32BITUIDS]: Remove conditional code.
32591         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32592         <kernel-features.h>.
32593         [__ASSUME_32BITUIDS]: Make code unconditional.
32594         [!__ASSUME_32BITUIDS]: Remove conditional code.
32595         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32596         <kernel-features.h>.
32597         [__ASSUME_32BITUIDS]: Make code unconditional.
32598         [!__ASSUME_32BITUIDS]: Remove conditional code.
32599         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32600         <kernel-features.h>.
32601         [__ASSUME_32BITUIDS]: Make code unconditional.
32602         [!__ASSUME_32BITUIDS]: Remove conditional code.
32603         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32604         <kernel-features.h>.
32605         [__ASSUME_32BITUIDS]: Make code unconditional.
32606         [!__ASSUME_32BITUIDS]: Remove conditional code.
32607         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32608         <kernel-features.h>.
32609         [__ASSUME_32BITUIDS]: Make code unconditional.
32610         [!__ASSUME_32BITUIDS]: Remove conditional code.
32611         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32612         <kernel-features.h>.
32613         [__ASSUME_32BITUIDS]: Make code unconditional.
32614         [!__ASSUME_32BITUIDS]: Remove conditional code.
32615         * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
32624         <kernel-features.h>.
32625         [__NR_setresgid] (__setresgid): Do not declare.
32626         [__ASSUME_32BITUIDS]: Make code unconditional.
32627         [!__ASSUME_32BITUIDS]: Remove conditional code.
32628         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32629         <kernel-features.h>.
32630         [__NR_setresuid] (__setresuid): Do not declare.
32631         [__ASSUME_32BITUIDS]: Make code unconditional.
32632         [!__ASSUME_32BITUIDS]: Remove conditional code.
32633         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32634         <kernel-features.h>.
32635         [__ASSUME_32BITUIDS]: Make code unconditional.
32636         [!__ASSUME_32BITUIDS]: Remove conditional code.
32637         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32638         <kernel-features.h>.
32639         [__ASSUME_32BITUIDS]: Make code unconditional.
32640         [!__ASSUME_32BITUIDS]: Remove conditional code.
32641         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32642         <kernel-features.h>.
32643         [__ASSUME_32BITUIDS]: Make code unconditional.
32644         [!__ASSUME_32BITUIDS]: Remove conditional code.
32645         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32646         <kernel-features.h>.
32647         [__ASSUME_32BITUIDS]: Make code unconditional.
32648         [!__ASSUME_32BITUIDS]: Remove conditional code.
32649         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32650         <kernel-features.h>.
32651         [__ASSUME_32BITUIDS]: Make code unconditional.
32652         [!__ASSUME_32BITUIDS]: Remove conditional code.
32653         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32654         <kernel-features.h>.
32655         [__ASSUME_32BITUIDS]: Make code unconditional.
32656         [!__ASSUME_32BITUIDS]: Remove conditional code.
32657         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32658         <kernel-features.h>.
32659         [__ASSUME_32BITUIDS]: Make code unconditional.
32660         [!__ASSUME_32BITUIDS]: Remove conditional code.
32661         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32662         <kernel-features.h>.
32663         [__ASSUME_32BITUIDS]: Make code unconditional.
32664         [!__ASSUME_32BITUIDS]: Remove conditional code.
32665         * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
32674         (__ASSUME_SETRESUID_SYSCALL): Remove.
32675         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32676         (__ASSUME_32BITUIDS): Likewise.
32677         (__ASSUME_LDT_WORKS): Likewise.
32678         (__ASSUME_O_DIRECTORY): Likewise.
32679         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32680         architecture but not kernel version.
32681         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32682         (__ASSUME_MMAP2_SYSCALL): Likewise.
32683         (__ASSUME_STAT64_SYSCALL): Likewise.
32684         (__ASSUME_IPC64): Likewise.
32685         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32686         <kernel-features.h>.
32687         [__ASSUME_32BITUIDS]: Make code unconditional.
32688         [!__ASSUME_32BITUIDS]: Remove conditional code.
32689         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32690         <kernel-features.h>.
32691         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32692         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32693         132096]: Remove conditional code.
32694         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32695         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32696         <kernel-features.h>.
32697         [__ASSUME_32BITUIDS]: Make code unconditional.
32698         [!__ASSUME_32BITUIDS]: Remove conditional code.
32699         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32700         <kernel-features.h>.
32701         [__ASSUME_32BITUIDS]: Make code unconditional.
32702         [!__ASSUME_32BITUIDS]: Remove conditional code.
32703         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32704         <kernel-features.h>.
32705         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32706         unconditional.
32707         (__setresgid): Do not declare.
32708         [__ASSUME_32BITUIDS]: Make code unconditional.
32709         [!__ASSUME_32BITUIDS]: Remove conditional code.
32710         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32711         <kernel-features.h>.
32712         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32713         unconditional.
32714         (__setresuid): Do not declare.
32715         [__ASSUME_32BITUIDS]: Make code unconditional.
32716         [!__ASSUME_32BITUIDS]: Remove conditional code.
32717         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32718         <kernel-features.h>.
32719         [__ASSUME_32BITUIDS]: Make code unconditional.
32720         [!__ASSUME_32BITUIDS]: Remove conditional code.
32721         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32722         <kernel-features.h>.
32723         [__ASSUME_32BITUIDS]: Make code unconditional.
32724         [!__ASSUME_32BITUIDS]: Remove conditional code.
32725
32726 2012-05-25  Richard Henderson  <rth@twiddle.net>
32727
32728         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32729         dl_hwcap to ifunc resolver.
32730         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32731         elf_ifunc_invoke.
32732         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32733         dl_hwcap to ifunc resolver.
32734         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32735
32736 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32737
32738         [BZ #14153]
32739         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32740         for |x| <= 2**-26, not 2**-57.
32741         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32742         exception.
32743
32744 2012-05-24  Jeff Law  <law@redhat.com>
32745
32746         * stdio-common/Makefile (tests): Add bug25.
32747         * stdio-common/bug25.c: New test.
32748
32749 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32750
32751         [BZ #13576]
32752         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32753         multiple of MALLOC_ALIGNMENT in size.
32754         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32755
32756 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32757
32758         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32759         Require >= 256.
32760         (FILENAME_MAX): Use macro-int-constant.
32761         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32762         (_IOFBF): Use macro-int-constant.
32763         (_IOLBF): Likewise.
32764         (_IONBF): Likewise.
32765         (SEEK_CUR): Likewise.
32766         (SEEK_END): Likewise.
32767         (SEEK_SET): Likewise.
32768         (TMP_MAX): Likewise.
32769         (EOF): Use macro-int-constant.  Require < 0.
32770         (NULL): Use macro-constant.  Require == 0.
32771         (stdin): Require type to be FILE *.
32772         (stdout): Likewise.
32773         (stderr): Likewise.
32774         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32775         macro-int-constant.
32776         (EXIT_SUCCESS): Likewise.
32777         (NULL): Use macro-constant.  Require == 0.
32778         (RAND_MAX): Use macro-int-constant.
32779         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32780         [C99-based standards] (strtof): Require function.
32781         [C99-based standards] (strtold): Likewise.
32782         [C99-based standards] (strtoll): Likewise.
32783         [C99-based standards] (strtoull): Likewise.
32784         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32785         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32786         [ISO || ISO99 || ISO11] (math.h): Likewise.
32787         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32788         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32789         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32790
32791 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32792
32793         [BZ #14132]
32794         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32795         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32796         * intl/dgettext.c (DCGETTEXT): Likewise.
32797         * intl/gettext.c (DCGETTEXT): Likewise.
32798         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32799         * posix/regex_internal.h (gettext): Likewise.
32800         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32801         Remove declaration.
32802         * include/argz.h (__argz_count_internal)
32803         (__argz_stringify_internal): Remove declaration.
32804         (__argz_count, __argz_stringify): Declare hidden proto.
32805         * intl/dcgettext.c: Remove use of INTDEF.
32806         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32807         * string/argz-stringify.c: Likewise.
32808         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32809         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32810         Declare hidden proto.
32811         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32812         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32813         Declare hidden proto.
32814         * include/stdio.h (__asprintf_internal): Don't declare.
32815         (__asprintf): Don't define as macro.  Declare hidden proto.
32816         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32817         (__fsetlocking): Declare hidden proto.
32818         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32819         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32820         hidden proto.
32821         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32822         (_IO_setlinebuf): Remove use of INTUSE.
32823         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32824         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32825         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32826         Remove declaration.
32827         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32828         (_IO_do_flush): Remove use of INTUSE.
32829         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32830         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32831         (_IO_adjust_column, _IO_least_wmarker)
32832         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32833         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32834         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32835         (_IO_default_doallocate, _IO_wdefault_doallocate)
32836         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32837         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32838         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32839         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32840         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32841         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32842         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32843         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32844         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32845         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32846         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32847         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32848         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32849         proto.
32850         (_IO_flush_all_internal, _IO_adjust_column_internal)
32851         (_IO_default_uflow_internal, _IO_default_finish_internal)
32852         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32853         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32854         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32855         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32856         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32857         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32858         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32859         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32860         (_IO_file_close_internal, _IO_file_close_it_internal)
32861         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32862         (_IO_file_init_internal, _IO_file_attach_internal)
32863         (_IO_file_fopen_internal, _IO_file_read_internal)
32864         (_IO_file_sync_internal, _IO_file_seek_internal)
32865         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32866         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32867         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32868         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32869         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32870         (_IO_list_all_internal, _IO_link_in_internal)
32871         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32872         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32873         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32874         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32875         (_IO_do_write_internal, _IO_padn_internal)
32876         (_IO_getline_info_internal, _IO_getline_internal)
32877         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32878         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32879         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32880         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32881         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32882         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32883         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32884         with libc_hidden_ver, remove use of INTUSE.
32885         * libio/genops.c: Likewise.
32886         * libio/freopen.c: Likewise.
32887         * libio/freopen64.c: Likewise.
32888         * libio/iofclose.c: Likewise.
32889         * libio/iofdopen.c: Likewise.
32890         * libio/iofflush.c: Likewise.
32891         * libio/iofflush_u.c: Likewise.
32892         * libio/iofgets.c: Likewise.
32893         * libio/iofgets_u.c: Likewise.
32894         * libio/iofopen.c: Likewise.
32895         * libio/iofopncook.c: Likewise.
32896         * libio/iofread.c: Likewise.
32897         * libio/iofread_u.c: Likewise.
32898         * libio/ioftell.c: Likewise.
32899         * libio/iofwrite.c: Likewise.
32900         * libio/iogetline.c: Likewise.
32901         * libio/iogets.c: Likewise.
32902         * libio/iogetwline.c: Likewise.
32903         * libio/iopadn.c: Likewise.
32904         * libio/iopopen.c: Likewise.
32905         * libio/ioseekoff.c: Likewise.
32906         * libio/ioseekpos.c: Likewise.
32907         * libio/iosetbuffer.c: Likewise.
32908         * libio/iosetvbuf.c: Likewise.
32909         * libio/ioungetc.c: Likewise.
32910         * libio/ioungetwc.c: Likewise.
32911         * libio/iovdprintf.c: Likewise.
32912         * libio/iovsprintf.c: Likewise.
32913         * libio/iovsscanf.c: Likewise.
32914         * libio/memstream.c: Likewise.
32915         * libio/obprintf.c: Likewise.
32916         * libio/oldfileops.c: Likewise.
32917         * libio/oldiofclose.c: Likewise.
32918         * libio/oldiofdopen.c: Likewise.
32919         * libio/oldiofopen.c: Likewise.
32920         * libio/oldiopopen.c: Likewise.
32921         * libio/oldstdfiles.c: Likewise.
32922         * libio/putc.c: Likewise.
32923         * libio/setbuf.c: Likewise.
32924         * libio/setlinebuf.c: Likewise.
32925         * libio/stdfiles.c: Likewise.
32926         * libio/strops.c: Likewise.
32927         * libio/vasprintf.c: Likewise.
32928         * libio/vscanf.c: Likewise.
32929         * libio/vsnprintf.c: Likewise.
32930         * libio/vswprintf.c: Likewise.
32931         * libio/wfiledoalloc.c: Likewise.
32932         * libio/wfileops.c: Likewise.
32933         * libio/wgenops.c: Likewise.
32934         * libio/wmemstream.c: Likewise.
32935         * libio/wstrops.c: Likewise.
32936         * libio/__fpurge.c: Likewise.
32937         * libio/__fsetlocking.c: Likewise.
32938         * assert/assert.c: Likewise.
32939         * debug/fgets_chk.c: Likewise.
32940         * debug/fgets_u_chk.c: Likewise.
32941         * debug/fread_chk.c: Likewise.
32942         * debug/fread_u_chk.c: Likewise.
32943         * debug/gets_chk.c: Likewise.
32944         * debug/obprintf_chk.c: Likewise.
32945         * debug/vasprintf_chk.c: Likewise.
32946         * debug/vdprintf_chk.c: Likewise.
32947         * debug/vsnprintf_chk.c: Likewise.
32948         * debug/vsprintf_chk.c: Likewise.
32949         * malloc/mtrace.c: Likewise.
32950         * misc/error.c: Likewise.
32951         * misc/syslog.c: Likewise.
32952         * stdio-common/asprintf.c: Likewise.
32953         * stdio-common/fxprintf.c: Likewise.
32954         * stdio-common/getw.c: Likewise.
32955         * stdio-common/isoc99_fscanf.c: Likewise.
32956         * stdio-common/isoc99_scanf.c: Likewise.
32957         * stdio-common/isoc99_vfscanf.c: Likewise.
32958         * stdio-common/isoc99_vscanf.c: Likewise.
32959         * stdio-common/isoc99_vsscanf.c: Likewise.
32960         * stdio-common/printf-prs.c: Likewise.
32961         * stdio-common/printf_fp.c: Likewise.
32962         * stdio-common/printf_fphex.c: Likewise.
32963         * stdio-common/printf_size.c: Likewise.
32964         * stdio-common/putw.c: Likewise.
32965         * stdio-common/scanf.c: Likewise.
32966         * stdio-common/sprintf.c: Likewise.
32967         * stdio-common/tmpfile.c: Likewise.
32968         * stdio-common/vfprintf.c: Likewise.
32969         * stdio-common/vfscanf.c: Likewise.
32970         * stdlib/strfmon_l.c: Likewise.
32971         * sunrpc/openchild.c: Likewise.
32972         * sunrpc/xdr_stdio.c: Likewise.
32973         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32974         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32975
32976 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32977
32978         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32979
32980         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32981         in the third column, to generate for the shared library an IFUNC
32982         that uses _dl_vdso_vsym.
32983         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32984         * Makeconfig (object-suffixes-noshared): New variable.
32985
32986         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32987         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32988         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32989         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32990
32991         [BZ #14132]
32992         * include/sys/time.h (__gettimeofday): Remove macro.
32993         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32994         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32995         Remove INTDEF.
32996         (__gettimeofday): Add libc_hidden_def.
32997         (gettimeofday): Add libc_hidden_weak.
32998         * sysdeps/mach/gettimeofday.c: Likewise.
32999         * sysdeps/posix/gettimeofday.c: Likewise.
33000         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33001         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33002         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33003         (__gettimeofday_internal): Remove strong_alias.
33004         (__gettimeofday): Add libc_hidden_def.
33005         (gettimeofday): Add libc_hidden_weak.
33006         * sysdeps/unix/syscalls.list (gettimeofday):
33007         Remove __gettimeofday_internal alias.
33008
33009 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33010             H.J. Lu  <hongjiu.lu@intel.com>
33011
33012         [BZ #12495]
33013         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33014         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33015         (largebin_index_32_big): New.
33016         (largebin_index): Use it for 16-byte alignment.
33017         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33018         correction with front_misalign.
33019
33020 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33021
33022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33024         Likewise.
33025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33026         Likewise.
33027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33028         Likewise.
33029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33030         Likewise.
33031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33032         Likewise.
33033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33034         Likewise.
33035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33036         Likewise.
33037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33038         Likewise.
33039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33040         Likewise.
33041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33042         Likewise.
33043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33044         Likewise.
33045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33046         Likewise.
33047
33048         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33049         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33050
33051 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33052
33053         [BZ #10846]
33054         [BZ #14036]
33055         * math/libm-test.inc (exp_test): Add test from bug 14036.
33056         (pow_test): Add test from bug 10846.
33057
33058         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33059         and other flags.
33060         (special_function): Do not include flags in test name.
33061         (parse_args): Likewise.
33062         * sysdeps/i386/fpu/libm-test-ulps: Update.
33063         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33064         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33065         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33067
33068         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33069         exceptions.
33070         * math/libm-test.inc ("Philosophy"): Update comment about
33071         exception testing.
33072         (UNDERFLOW_EXCEPTION): New macro.
33073         (UNDERFLOW_EXCEPTION_OK): Likewise.
33074         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33075         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33076         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33077         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33078         (INVALID_EXCEPTION_OK): Update value.
33079         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33080         (OVERFLOW_EXCEPTION_OK): Likewise.
33081         (IGNORE_ZERO_INF_SIGN): Likewise.
33082         (test_exceptions): Handle underflow exceptions.
33083         (acos_test): Update for underflow exception expectations.
33084         (cexp_test): Likewise.
33085         (clog_test): Likewise.
33086         (clog10_test): Likewise.
33087         (csqrt_test): Likewise.
33088         (ctan_test): Likewise.
33089         (ctanh_test): Likewise.
33090         (exp_test): Likewise.
33091         (exp10_test): Likewise.
33092         (exp2_test): Likewise.
33093         (expm1_test): Likewise.
33094         (fma_test): Likewise.
33095         (j0_test): Likewise.
33096         (jn_test): Likewise.
33097         (nexttoward_test): Likewise.
33098         (pow_test): Likewise.
33099         (scalbn_test): Likewise.
33100         (scalbln_test): Likewise.
33101         (tan_test): Likewise.
33102         (y1_test): Likewise.
33103         * sysdeps/i386/fpu/libm-test-ulps: Update.
33104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33105
33106 2012-05-23  David S. Miller  <davem@davemloft.net>
33107
33108         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33109         (__libc_sigaction): Remove unused local variables.
33110
33111 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33112
33113         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33114
33115 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33116
33117         mktime: avoid signed integer overflow
33118         * time/mktime.c (__mktime_internal): Do not mishandle the case
33119         where diff == INT_MIN.
33120
33121         mktime: simplify computation of average
33122         * time/mktime.c (ranged_convert): Use new time_t_avg function
33123         instead of rolling our own (probably-slower) code.
33124
33125         mktime: do not assume signed right shift propagates sign bit
33126         * time/mktime.c (isdst_differ): New static function.
33127         (__mktime_internal): No need to normalize tm_isdst now.
33128         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33129         tm_isdst values.
33130
33131         mktime: merge another wrapv change from gnulib
33132         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33133         from some compilers.
33134
33135         mktime: remove incorrect attempt at unusual arithmetics
33136         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33137         The code didn't really work on such machines anyway.
33138         (TYPE_MINIMUM): Assume two's complement.
33139         (twos_complement_arithmetic): Verify that long_int and time_t
33140         are two's complement (or unsigned, in the latter case).
33141
33142         mktime: check signed shifts on long_int and time_t, too
33143         * time/mktime.c (SHR): Check that shifts work as desired
33144         on the types long_int and time_t too, as SHR is used on
33145         such types.
33146
33147         mktime: do not assume 'long' is wide enough
33148         * time/mktime.c (verify): Move decl up.
33149         (long_int): New type.
33150         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33151         to remove assumption in the code that 'long' is wide enough to
33152         store year values.  This assumption is not true on x32 and on
33153         some non-glibc platforms.
33154
33155         mktime: merge wrapv change from gnulib
33156         * time/mktime.c (WRAPV): New macro.
33157         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33158         (guess_time_tm, __mktime_internal): Do not assume that signed
33159         integer overflow wraps around; modern compilers generate code
33160         where this assumption is no longer valid.
33161
33162 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33163
33164         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33165         Replace "jmp L(pseudo_end)" with "ret".
33166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33167         Likewise.
33168
33169 2012-05-23  Andreas Jaeger  <aj@suse.de>
33170
33171         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33172         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33173
33174 2012-05-23  Andreas Jaeger  <aj@suse.de>
33175             Maximilian Attems  <max@stro.at>
33176
33177         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33178         New macros.
33179
33180 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33181
33182         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33183         code so that pseudo_end is just ret and the stack pointer is
33184         correct also for static library in error case.
33185
33186 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33187
33188         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33189         move to syscalls.list.
33190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33194
33195         * manual/install.texi (Running make install): Do not mention Linux
33196         kernel version for which pt_chown is not needed.
33197         (Linux): Do not mention problems with nscd with 2.0 kernels.
33198         * INSTALL: Regenerated.
33199
33200 2012-05-23  Andreas Jaeger  <aj@suse.de>
33201
33202         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33203         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33204         macro.
33205         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33206         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33207         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33208         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33209         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33210         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33211         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33212         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33213         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33214         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33215         * sysdeps/unix/sysv/linux/bits/in.h
33216         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33217
33218 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33219
33220         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33221         (PREPARE_VERSION): Just use assert instead, it will be elided
33222         under [NDEBUG] anyway.
33223
33224 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33225
33226         * sysdeps/unix/sysv/linux/Makefile: Include
33227         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33228         (sysdep_routines): Remove sysctl.
33229         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33230         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33231         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33232         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33233         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33234
33235 2012-05-22  Andreas Jaeger  <aj@suse.de>
33236
33237         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33238         that pseudo_end is just ret and the stack pointer is correct also
33239         for static library in error case.
33240
33241 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33242
33243         [BZ #14122]
33244         * nss/nsswitch.c (defconfig_entries): New variable.
33245         (__nss_database_lookup): Don't leak defconfig entries.
33246         (nss_parse_service_list): Don't leak on error paths.
33247         (free_database_entries): New function.
33248         (free_defconfig): New function.
33249         (free_mem): Move common code to free_database_entries.
33250
33251 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33252
33253         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33254         Add arch_prctl.
33255         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33256
33257         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33258         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33259         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33260         New macro.
33261         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33262         (INTERNAL_SYSCALL_TYPES): Likewise.
33263         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33264         (LOAD_REGS_TYPES_[1-6]): Likewise.
33265         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33266         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33267
33268 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33269
33270         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33271         copysignl for GLIBC_2_0.
33272         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33273         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33274         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33275         logbl for GLIBC_2_0.
33276         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33277         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33278
33279 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33280
33281         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33282         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33283
33284         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33285         Use "neg %eax".
33286
33287         * time/mktime.c: Update copyright years.
33288
33289 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33290
33291         mktime: merge comment-quoting-style change from gnulib
33292         * time/mktime.c: Quote 'like this' in comments.
33293         The GNU coding standards suggest that we no longer quote `like this',
33294         as "`" and "'" are typically rendered asymmetrically nowadays.
33295         The typical gnulib style is to quote 'like this' when quoting
33296         code, and "like this" when quoting English.
33297
33298         * time/mktime.c (compile-command): Add "-I.".
33299
33300         mktime: merge mktime-internal.h change from gnulib
33301         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33302
33303         mktime: merge time_r change from gnulib
33304         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33305
33306         mktime: merge DEBUG change from gnulib
33307         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33308         case system <time.h> has a #define.
33309
33310         mktime: merge <sys/types.h> change from gnulib
33311         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33312         since <time.t> is now guaranteed to define time_t.
33313
33314         mktime: merge HAVE_CONFIG_H change from gnulib
33315         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33316
33317 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33318
33319         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33320         Use "neg %eax".
33321
33322         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33323         __rlim_t cast.
33324         (struct rusage): Use anonymous union to pad each field to
33325         __syscall_slong_t.
33326
33327 2012-05-21  David S. Miller  <davem@davemloft.net>
33328
33329         * Makefules (o-iterator): Remove .s cases.
33330         (compile-command.s): Delete.
33331         (COMPILE.s): Delete.
33332         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33333
33334 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33335
33336         * configure.in (libc_cv_predef_stack_protector): Only consider
33337         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33338         * configure: Regenerated.
33339
33340 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33341
33342         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33343         New macro.  Use R*LP on int and pointer.
33344         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33345         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33346         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33347         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33348
33349         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33350         [__WORDSIZE_TIME64_COMPAT32] instead of
33351         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33352         (struct utmp): Likewise.
33353         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33354         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33355         Renamed to ...
33356         (__WORDSIZE_TIME64_COMPAT32): This.
33357         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33358         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33359         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33360         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33361         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33362         (__WORDSIZE_TIME64_COMPAT32): New macro.
33363
33364 2012-05-21  Andreas Jaeger  <aj@suse.de>
33365
33366         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33367         only if [SHARED]. Add prototype for __wcschr_ia32.
33368
33369 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33370
33371         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33372         of %rbp unmolested in the jmp_buf while mangling the low bits.
33373         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33374         unmolested high bits of %rbp while demangling the low bits.
33375         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33376
33377 2012-05-21  Andreas Jaeger  <aj@suse.de>
33378
33379         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33380         * sunrpc/svc_simple.c: Use it for registerrpc.
33381         * sunrpc/xcrypt.c: Use it for passwd2des.
33382
33383         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33384
33385 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33386
33387         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33388         Don't define if [__SYSCALL_WORDSIZE != 32].
33389         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33390         New macro.
33391
33392 2012-05-21  Bruno Haible  <bruno@clisp.org>
33393             Andreas Jaeger  <aj@suse.de>
33394
33395         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33396         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33397         inptr and inend for must_buffer_ch.
33398         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33399         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33400         * stdio-common/Makefile (tests): Remove bug15.
33401         (bug15-ENV): Remove macro.
33402         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33403         anymore.
33404
33405 2012-05-19  Andreas Jaeger  <aj@suse.de>
33406             Roland McGrath  <roland@hack.frob.com>
33407
33408         * manual/contrib.texi: Completely rewritten. It contains now an
33409         alphabetical list of contributors and their contributions.
33410
33411 2012-05-21  Richard Henderson  <rth@twiddle.net>
33412
33413         * misc/getauxval.c (__getauxval): Use unsigned long int.
33414         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33415         (getauxval): Use unsigned long int.
33416
33417 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33418
33419         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33420
33421 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33422
33423         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33424         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33425         __alignof__ (long double).
33426
33427 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33428
33429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33430
33431 2012-05-20  Richard Henderson  <rth@twiddle.net>
33432
33433         * misc/getauxval.c: New file.
33434         * misc/sys/auxv.h: New file.
33435         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33436         (routines): Add getauxval.
33437         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33438         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33439         * elf/dl-sysdep.c (_dl_auxv): Remove.
33440         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33441         * elf/dl-support.c (_dl_auxv): New variable.
33442         (_dl_aux_init): Initialize it.
33443         * manual/startup.texi (Auxiliary Vector): New node.
33444         * sysdeps/generic/bits/hwcap.h: New file.
33445         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33446         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33447         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33448         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33449         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33450         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33452         Update.
33453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33456         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33461
33462 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33463
33464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33465
33466 2012-05-19  David S. Miller  <davem@davemloft.net>
33467
33468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33469
33470 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33471
33472         [BZ #14123]
33473         * math/s_ccosh.c: Include <float.h>
33474         (__ccosh): Avoid internal overflow calculating sinh and cosh
33475         values before multiplying by sin and cos values.
33476         * math/s_ccoshf.c: Likewise.
33477         * math/s_ccoshl.c: Likewise.
33478         * math/s_csin.c: Likewise.
33479         * math/s_csinf.c: Likewise.
33480         * math/s_csinl.c: Likewise.
33481         * math/s_csinh.c: Likewise.
33482         * math/s_csinhf.c: Likewise.
33483         * math/s_csinhl.c: Likewise.
33484         * math/libm-test.inc (ccos_test): Add more tests.
33485         (ccosh_test): Likewise.
33486         (csin_test): Likewise.
33487         (csinh_test): Likewise.
33488         * sysdeps/i386/fpu/libm-test-ulps: Update.
33489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33490
33491 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33492
33493         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33494         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33495
33496         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33497
33498 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33499
33500         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33501         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33502         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33503         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33504         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33505         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33506         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33507         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33508         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33509         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33510         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33511         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33512         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33513         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33514         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33515         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33516         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33517         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33518         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33519         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33520         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33521         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33522         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33523         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33524         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33525         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33526         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33527         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33528         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33529         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33530         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33531
33532 2012-05-18  Andreas Jaeger  <aj@suse.de>
33533
33534         * csu/.gitignore: Delete.
33535
33536 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33537
33538         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33539         (timex): Use __syscall_slong_t.
33540
33541 2012-05-18  Andreas Jaeger  <aj@suse.de>
33542             Carlos O'Donell  <carlos_odonell@mentor.com>
33543
33544         * manual/install.texi (Configuring and compiling): Update
33545         description about files modified in the source directory.
33546         * INSTALL: Regenerated.
33547
33548 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33549
33550         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33551         value.  Use "or" to set return value to -1.
33552         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33553         negate return value.
33554
33555 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33556
33557         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33558         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33559         failure if the compiler has Graphite support disabled.
33560         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33561         Likewise.
33562         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33563         (CFLAGS-memmove.c): Likewise.
33564         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33565         Likewise.
33566
33567 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33568
33569         * sysdeps/x86_64/x32/_itoa.h: New file.
33570
33571         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33572         getdents system call only if kernel and user dirents have the
33573         same d_ino and d_off.
33574
33575         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33576         LLONG_MAX != LONG_MAX.
33577         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33578         (_fitoa_word): Likewise.
33579
33580         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33581         years.
33582         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33583         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33584         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33585
33586         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33587         include <bits/wordsize.h>.  Check __x86_64__ instead of
33588         __WORDSIZE.
33589         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33590         if __x86_64__ is defined.  Use anonymous union on fpstate.
33591
33592         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33593         anonymous union.
33594
33595 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33596
33597         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33598         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33599         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33600         Refer to _rtld_local_ro instead of _rtld_global_ro.
33601         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33602         Likewise.
33603         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33604         Likewise.
33605         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33606         Likewise.
33607         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33608         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33609         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33610
33611         * sysdeps/powerpc/powerpc32/dl-machine.c
33612         (__elf_machine_runtime_setup) [PROF]: Don't reference
33613         _dl_prof_resolve.
33614
33615 2012-05-18  Andreas Jaeger  <aj@suse.de>
33616
33617         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33618         function only available for GCCs before 3.4 since GCC 3.4
33619         introduced a builtin.
33620         (lrint): Likewise.
33621         (llrintf): Likewise.
33622         (llrint): Likewise.
33623         (fmaxf): Likewise.
33624         (fmax): Likewise.
33625         (fminf): Likewise.
33626         (fmin): Likewise.
33627         (rint): Likewise.
33628         (rintf): Likewise.
33629         (nearbyint): Likewise.
33630         (nearbyintf): Likewise.
33631         (ceil): Likewise.
33632         (ceilf): Likewise.
33633         (floor): Likewise.
33634         (floorf): Likewise.
33635
33636 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33637
33638         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33639         on both fields and cast pointer to __syscall_ulong_t.
33640
33641         * bits/types.h (__fsword_t): New type.
33642         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33643         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33644         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33645         (__FSWORD_T_TYPE): Likewise.
33646         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33647         (__FSWORD_T_TYPE): Likewise.
33648         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33649         (__FSWORD_T_TYPE): Likewise.
33650         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33651         (__FSWORD_T_TYPE): Likewise.
33652         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33653         __SWORD_TYPE with __fsword_t.
33654         (statfs64): Likewise.
33655
33656 2012-05-17  David S. Miller  <davem@davemloft.net>
33657
33658         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33659
33660 2012-05-17  Andreas Jaeger  <aj@suse.de>
33661
33662         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33663         warning.
33664
33665 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33666
33667         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33668
33669 2012-05-17  Andreas Jaeger  <aj@suse.de>
33670
33671         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33672         when it is used.
33673
33674 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33675
33676         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33677
33678 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33679
33680         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33681         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33682
33683 2012-05-17  Andreas Jaeger  <aj@suse.de>
33684             Carlos O'Donell  <carlos_odonell@mentor.com>
33685
33686         [BZ #14059]
33687         * sysdeps/x86_64/multiarch/init-arch.h
33688         (bit_YMM_Usable): Rename to...
33689         (bit_AVX_Usable): ... this.
33690         (bit_FMA4_Usable): New macro.
33691         (bit_XMM_state): New macro.
33692         (bit_YMM_state): New macro.
33693         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33694         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33695         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33696         (CPUID_OSXSAVE): New macro.
33697         (CPUID_AVX): New macro.
33698         (CPUID_FMA4): New macro.
33699         (index_YMM_Usable): Rename to...
33700         (index_AVX_Usable): ... this.
33701         (HAS_AVX): Use HAS_ARCH_FEATURE.
33702         (HAS_FMA4): Likewise.
33703         (HAS_YMM_USABLE): Remove.
33704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33705         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33706         are present.
33707         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33708         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33709         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33710         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33711         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33712
33713 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33714
33715         * math/libm-test.c: Support platforms without multiple rounding modes.
33716         * math/bug-nextafter.c: Support platforms without FP exceptions.
33717         * math/bug-nexttoward.c: Likewise.
33718         * math/test-fenv.c: Likewise.
33719         * math/test-misc.c: Likewise.
33720         * stdlib/bug-getcontext.c: Likewise.
33721
33722 2012-05-17  Andreas Jaeger  <aj@suse.de>
33723
33724         * manual/examples/search.c (critter_cmp): Change signature to
33725         avoid warnings.
33726         * manual/string.texi (Collation Functions): Likewise.
33727
33728 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33729
33730         * bits/types.h: Fold copyright years.
33731         * bits/typesizes.h: Likewise.
33732         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33733         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33734         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33735         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33736         * time/time.h: Likewise.
33737
33738 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33739
33740         [BZ #208]
33741         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33742         in instead of returning them.  Return void.
33743         (__libc_mallinfo): Accumulate over all arenas.
33744         (__malloc_stats): Adjust for change in int_mallinfo interface.
33745
33746 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33747
33748         [BZ #10375]
33749         * configure.in (NM): Add AC_CHECK_TOOL for it.
33750         (libc_extra_cflags): New substituted variable.
33751         Check for -fstack-protector being used implicitly.
33752         * configure: Regenerated.
33753         * config.make.in (config-extra-cflags): New variable,
33754         gets @libc_extra_cflags@.
33755         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33756
33757         [BZ #10375]
33758         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33759         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33760         * configure: Regenerated.
33761         * config.make.in (CPPUNDEFS): New substituted variable.
33762         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33763         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33764         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33765
33766 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33767
33768         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33769         (mq_attr): Use __syscall_slong_t.
33770
33771 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33772
33773         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33774         Check __x86_64__ instead of __WORDSIZE.
33775         (_STAT_VER_LINUX): Likewise.
33776         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33777         __syscall_ulong_t and __syscall_slong_t.
33778         (stat64): Likewise.
33779
33780 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33781
33782         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33783
33784 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33785
33786         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33787
33788 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33789
33790         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33791         __syscall_ulong_t.
33792
33793         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33794         include <bits/wordsize.h>.  Check __x86_64__ instead of
33795         __WORDSIZE.
33796         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33797         defined.
33798         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33799
33800         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33801         include <bits/wordsize.h>.  Check __x86_64__ instead of
33802         __WORDSIZE.
33803         (user_regs_struct): Use "__extension__ unsigned long long"
33804         instead of "unsigned long" if __x86_64__ is defined.
33805         (user): Likewise.  Pad after pointer field if __ILP32__ is
33806         defined.
33807
33808 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33809
33810         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33811         versions 5 to 9.
33812         * configure: Regenerated.
33813         * manual/install.texi (texinfo): Increase version requirement to
33814         4.5 or later.
33815         * INSTALL: Regenerated.
33816
33817         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33818
33819 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33820
33821         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33822
33823         * sysdeps/x86_64/x32/ffs.c: New file.
33824
33825         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33826         __syscall_ulong_t.
33827         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33828         defined.  Use __syscall_ulong_t.
33829         (shminfo): Use __syscall_ulong_t.
33830         (shm_info): Likewise.
33831
33832         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33833         __syscall_ulong_t.
33834
33835         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33836         <bits/wordsize.h>.
33837         (msgqnum_t): Use __syscall_ulong_t.
33838         (msglen_t): Likewise.
33839         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33840         __syscall_ulong_t.
33841
33842         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33843         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33844
33845         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33846
33847         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33848         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33849
33850         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33851         __syscall_slong_t.
33852
33853         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33854         include <bits/wordsize.h>.  Check __x86_64__ instead of
33855         __WORDSIZE.
33856
33857         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33858         "unsigned long long int" if __x86_64__ is defined.
33859         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33860
33861         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33862         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33863         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33864
33865         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33866         <stdint.h>.
33867         (GET_PC): Cast to uintptr_t first.
33868         (GET_FRAME): Likewise.
33869         (GET_STACK): Likewise.
33870
33871         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33872         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33873         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33874         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33875         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33876         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33877         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33878         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33879         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33880         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33881         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33882         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33883         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33884         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33885         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33886         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33887         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33888         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33889         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33890         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33891         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33892         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33893         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33894         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33895         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33896         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33897         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33898         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33899         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33900
33901 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33902
33903         * Makerules (+depfiles): Also collect depfiles from .oS in
33904         $(extra-objs).
33905         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33906         .oS, $(libnldbl-routines)).
33907
33908         * Makerules (native-compile-mkdep-flags): Define.
33909         * sunrpc/Makefile (extra-objs): Add $(addprefix
33910         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33911         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33912         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33913         calling $(make-target-directory).
33914
33915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33916
33917         * bits/types.h (__snseconds_t): Removed.
33918         * time/time.h (struct timespec): Replace __snseconds_t with
33919         __syscall_slong_t.
33920         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33921         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33922         Likewise.
33923         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33924         (__SNSECONDS_T_TYPE): Likewise.
33925         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33926         (__SNSECONDS_T_TYPE): Likewise.
33927         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33928         (__SNSECONDS_T_TYPE): Likewise.
33929
33930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33931
33932         * sysdeps/mach/hurd/bits/typesizes.h
33933         (__SYSCALL_SLONG_TYPE): New macro.
33934         (__SYSCALL_ULONG_TYPE): Likewise.
33935
33936 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33937
33938         * bits/types.h (__syscall_slong_t): New type.
33939         (__syscall_ulong_t): Likewise.
33940
33941         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33942         (__SYSCALL_ULONG_TYPE): Likewise.
33943         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33944         (__SYSCALL_SLONG_TYPE): Likewise.
33945         (__SYSCALL_ULONG_TYPE): Likewise.
33946         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33947         (__SYSCALL_SLONG_TYPE): Likewise.
33948         (__SYSCALL_ULONG_TYPE): Likewise.
33949         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33950         (__SYSCALL_SLONG_TYPE): Likewise.
33951         (__SYSCALL_ULONG_TYPE): Likewise.
33952
33953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33954
33955         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33956         Add sigaltstack-offsets.sym.
33957         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33958         <sigaltstack-offsets.h>.
33959         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33960         longjmp_msg pointer.
33961         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33962         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33963         signal stack.
33964         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33965
33966 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33967
33968         * elf/stackguard-macros.h: Remove file.
33969         * sysdeps/generic/stackguard-macros.h: New file.
33970         * sysdeps/i386/stackguard-macros.h: Likewise.
33971         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33972         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33973         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33974         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33975         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33976         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33977         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33978         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33979         <elf/stackguard-macros.h>.
33980
33981         [BZ #14109]
33982         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33983         __aligned__ in attribute.
33984         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33985         (gregset_t): Likewise.
33986
33987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33988
33989         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33990         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33991         * sysdeps/x86_64/x32/Implies-after: New file.
33992
33993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33994
33995         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33996         and access return value for _dl_profile_fixup.  Use R10_LP to
33997         load frame size.
33998
33999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34000
34001         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34002
34003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34004
34005         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34006         * sysdeps/x86_64/x32/sysdep.h: New file.
34007
34008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34009
34010         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34011         * sysdeps/x86_64/setjmp.S: Likewise.
34012
34013 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34014
34015         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34016         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34017         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34018         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34019         remove unused global constant.
34020
34021 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34022
34023         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34024         include of <not-cancel.h>.
34025
34026 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34027
34028         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34029
34030 2012-05-15  Jeff Law  <law@redhat.com>
34031             Andreas Jaeger  <aj@suse.de>
34032
34033         [BZ #13594]
34034         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34035         out from...
34036         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34037         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34038         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34039         code changing __hst_map_handle.map.
34040
34041 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34042
34043         * configure.in (sysnames): Look for Implies-before and Implies-after
34044         files.
34045         * configure: Regenerated.
34046
34047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34048
34049         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34050         8-byte data alignment with LP_SIZE alignment.
34051
34052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34053
34054         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34055         into R10_LP.
34056
34057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34058
34059         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34060
34061 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34062
34063         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34064         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34065         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34066         Likewise.
34067         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34068
34069 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34070
34071         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34072         (stackinfo_sub_sp): Likewise.
34073
34074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34075
34076         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34077         RAX_LP.
34078
34079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34080
34081         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34082         into R*_LP.
34083
34084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34085
34086         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34087         sizes into R*_LP.
34088
34089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34090
34091         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34092
34093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34094
34095         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34096         into R11_LP and load __x86_64_shared_cache_size_half into
34097         R8_LP.
34098
34099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34100
34101         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34102         R8_LP.
34103
34104 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34105
34106         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34107         logb for POWER7.
34108         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34109         logbf for POWER7.
34110         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34111         logbl for POWER7.
34112         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34113         powerpc32/power7/fpu/s_logb.c via #include.
34114         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34115         powerpc32/power7/fpu/s_logbf.c via #include.
34116         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34117         powerpc32/power7/fpu/s_logbl.c via #include.
34118
34119 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34120
34121         * README.libm: Remove file.
34122
34123 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34124
34125         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34126         count for x32.  Use R*_LP and omit operand-size suffix.
34127
34128 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34129
34130         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34131         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34132         * sysdeps/x86_64/x32/shlib-versions: New file.
34133
34134 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34135
34136         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34137         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34138         Use _dl_fatal_printf instead.
34139
34140 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34141
34142         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34143         set if not set by the user.  Do not allow for being unset.
34144         * sysdeps/unix/sysv/linux/configure: Regenerated.
34145
34146 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34147
34148         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34149         the `q' suffix from lea and replace .quad with ASM_ADDR.
34150
34151 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34152
34153         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34154         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34155         instead of $17.
34156         (PTR_DEMANGLE): Likewise.
34157
34158 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34159
34160         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34161         (LP_OP): Likewise.
34162         (ASM_ADDR): Likewise.
34163         (RAX_LP): Likewise.
34164         (RBP_LP): Likewise.
34165         (RBX_LP): Likewise.
34166         (RCX_LP): Likewise.
34167         (RDI_LP): Likewise.
34168         (RSI_LP): Likewise.
34169         (RSP_LP): Likewise.
34170         (R8_LP): Likewise.
34171         (R9_LP): Likewise.
34172         (R10_LP): Likewise.
34173         (R10_LP): Likewise.
34174         (R11_LP): Likewise.
34175         (R12_LP): Likewise.
34176         (R13_LP): Likewise.
34177         (R14_LP): Likewise.
34178         (R15_LP): Likewise.
34179
34180 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34181
34182         * sysdeps/x86_64/x32/dl-machine.h: New file.
34183
34184 2012-05-14  Andreas Jaeger  <aj@suse.de>
34185
34186         * manual/Makefile (subdir): Remove export of subdir.
34187         (all): Remove target.
34188         (.PHONY): Remove all from list.
34189         (mkinstalldirs): Remove.
34190         (.PHONY): Remove installdirs from list.
34191         ($(inst_infodir)/libc.info): Use make-target-directory.
34192         (installdirs): Remove.
34193         (subdir_%): Remove.
34194         (glibc-targets): Remove.
34195         (lib): Remove.
34196         (stubs): Remove.
34197         ($(objpfx)stubs ../po/manual.pot): Remove.
34198         ($(objpfx)stamp%): Remove.
34199         (make-target-directory): Remove.
34200         (subdir_install): Remove.
34201         (routines): Remove.
34202         (aux): Remove.
34203         (sources): Remove.
34204         (objects): Remove.
34205         (headers): Remove.
34206
34207         [BZ #13750]
34208         * manual/.gitignore: Remove, it's not needed anymore.
34209         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34210         all files in it.
34211         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34212         directory.
34213         (texis): Renamed to $(objpfx)texis.
34214         (texis-path): New, contains path to generated files.
34215         (chapters.%): Use texis-path for complete path, add extra argument
34216         libc-texinfo.sh.
34217         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34218         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34219         (summary,texi, stamp-summary): Use complete path of
34220         files. Generate files in build dir.
34221         (dir-add.texi): Build in build dir.
34222         (libm-err.texi,stamp-libm-err): Likewise.
34223         (version.texi, stamp-version): Likewise.
34224         (.%c.texi): Likewise.
34225         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34226         (mostlyclean): Remove target.
34227         (realclean): Remove target.
34228         (generated): Add new variable with contents from mostlyclean and
34229         realclean, remove entries duplicated in common-mostlyclean, add
34230         stamp-libm-err and stamp-version.
34231         (generated-dirs): Add libc directory.
34232         ($(inst_infodir)/libc.info): Install files from build dir.
34233
34234         * manual/install.texi (Configuring and compiling): Adjust since
34235         the info files are not part of the tar ball anymore.
34236
34237 2012-05-14  Andreas Jaeger  <aj@suse.de>
34238
34239         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34240         variable.
34241
34242 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34243
34244         [BZ #13717]
34245         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34246         to 2.2.0 where earlier.
34247         * sysdeps/unix/sysv/linux/configure: Regenerated.
34248         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34249         Remove conditional code.
34250         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34251         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34252         Remove conditional code.
34253         [!__NR_lchown]: Likewise.
34254         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34255         [__NR_lchown]: Likewise.
34256         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34257         comment referencing __ASSUME_LCHOWN_SYSCALL.
34258         * sysdeps/unix/sysv/linux/i386/sigaction.c
34259         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34260         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34261         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34262         Remove conditional code.
34263         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34264         (__protocol_available): Remove #if 0 code.
34265         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34266         conditional code.
34267         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34268         * sysdeps/unix/sysv/linux/kernel-features.h
34269         (__ASSUME_GETCWD_SYSCALL): Don't define.
34270         (__ASSUME_REALTIME_SIGNALS): Likewise.
34271         (__ASSUME_PREAD_SYSCALL): Likewise.
34272         (__ASSUME_PWRITE_SYSCALL): Likewise.
34273         (__ASSUME_POLL_SYSCALL): Likewise.
34274         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34275         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34276         non-SPARC.
34277         (__ASSUME_SIOCGIFNAME): Don't define.
34278         (__ASSUME_MSG_NOSIGNAL): Likewise.
34279         (__ASSUME_SENDFILE): Define unconditionally.
34280         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34281         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34282         conditional code.
34283         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34284         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34285         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34286         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34287         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34288         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34289         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34291         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34292         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34294         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34295         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34297         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34298         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34300         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34301         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34303         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34304         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34306         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34307         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34309         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34310         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34312         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34313         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34314         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34315         Remove conditional code.
34316         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34317         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34318         Remove conditional code.
34319         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34320         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34321         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34322         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34323         Remove conditional code.
34324         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34325         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34326         Remove conditional code.
34327         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34328         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34329         Remove conditional code.
34330         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34331         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34332         Remove conditional code.
34333         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34334         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34335         Remove conditional code.
34336         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34337         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34338         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34339         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34340         * sysdeps/unix/sysv/linux/sigaction.c
34341         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34342         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34343         * sysdeps/unix/sysv/linux/sigpending.c
34344         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34345         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34346         * sysdeps/unix/sysv/linux/sigprocmask.c
34347         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34348         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34349         * sysdeps/unix/sysv/linux/sigsuspend.c
34350         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34351         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34352         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34353         (__libc_missing_rt_sigs): Remove.
34354         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34355         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34356         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34357         Remove conditional code.
34358         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34359         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34360         return 1.
34361         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34362         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34363         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34364         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34365
34366 2012-05-14  Andreas Jaeger  <aj@suse.de>
34367
34368         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34369         it's not used in glibc.
34370         (__coshm1): Likewise.
34371         (__acosh1p): Likewise.
34372         (__sgn): Likewise.
34373
34374         * manual/string.texi (Copying and Concatenation): Add missing
34375         variable in concat example.
34376         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34377
34378 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34379
34380         [BZ #14103]
34381         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34382         __builtin_clzl with __builtin_clzll.
34383
34384 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34385
34386         [BZ #14104]
34387         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34388         libc_freeres_ptr.
34389
34390 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34391
34392         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34393         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34394         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34395         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34396
34397 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34398
34399         * NEWS: Update ia64 info.
34400
34401 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34402
34403         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34404         used as bcopy.
34405
34406 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34407
34408         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34409         * sysdeps/unix/syscalls.list (dup3): Likewise.
34410         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34411         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34412
34413 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34414
34415         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34416         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34417
34418 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34419
34420         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34421         thread pointer.
34422         (TLS_IE): Use mov/add instead of movq/addq to load thread
34423         pointer.
34424         (TLS_GD_PREFIX): New.
34425         (TLS_GD): Use it.
34426
34427 2012-05-11  David S. Miller  <davem@davemloft.net>
34428
34429         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34430         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34431         (_FPU_SETCW): Likewise.
34432
34433 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34434
34435         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34436         is 32-byte aligned.
34437
34438 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34439
34440         [BZ #11837]
34441         * iconvdata/gb18030.c: Update tables.
34442         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34443         characters specially.
34444         (BODY for TO_LOOP): Add encoding of missing ranges.
34445
34446 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34447
34448         [BZ #13673]
34449         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34450         * sysdeps/mach/hurd/dup3.c: Likewise.
34451         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34452         * sysdeps/powerpc/memmove.c:: Likewise.
34453
34454 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34455
34456         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34457         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34458
34459 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34460
34461         * elf/elf.h (R_X86_64_RELATIVE64): New.
34462         (R_X86_64_NUM): Updated.
34463         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34464         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34465         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34466         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34467         tst-quad1pie tst-quad2pie
34468         (modules-names): Add tst-quadmod1 tst-quadmod2.
34469         ($(objpfx)tst-quad1): New dependency.
34470         ($(objpfx)tst-quad2): Likewise.
34471         ($(objpfx)tst-quad1pie): Likewise.
34472         ($(objpfx)tst-quad2pie): Likewise.
34473         * sysdeps/x86_64/tst-quad1.c: New file.
34474         * sysdeps/x86_64/tst-quad1pie.c: New file.
34475         * sysdeps/x86_64/tst-quad2.c: Likewise.
34476         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34477         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34478         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34479         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34480         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34481
34482 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34483
34484         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34485         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34486         * streams/stropts.h (t_scalar_t): Define type.
34487
34488         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34489         (_PATH_PRESERVE): Set to "/var/lib".
34490         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34491
34492         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34493         instead of int.
34494
34495         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34496         if __dir_mkfile succeeded.
34497
34498         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34499         checking for _hurd_dtablesize.  Unlock it right after having
34500         finished _hurd_dtable allocation.
34501
34502 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34503
34504         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34505         * sysdeps/mach/hurd/configure: Regenerated.
34506         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34507         special-casing to...
34508         * sysdeps/gnu/configure.in: ... this new file.
34509         * sysdeps/unix/sysv/linux/configure: Regenerated.
34510         * sysdeps/gnu/configure: New generated file.
34511
34512         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34513         for Linux: use nsec instead of usec, as well as:
34514         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34515         members of type struct timespec.
34516         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34517         New macros.
34518         (struct stat64): Likewise.
34519         (_STATBUF_ST_NSEC): New macro.
34520         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34521
34522         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34523         __strtoul_internal rather than strtoul.
34524
34525 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34526
34527         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34528         and reject them.
34529
34530 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34531
34532         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34533         which preserves existing values.
34534         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34535
34536 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34537
34538         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34539         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34540         greater than FD_SETSIZE.
34541
34542 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34543
34544         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34545         allocated, call __vm_protect to finish enabling the existing space, and
34546         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34547         allocate the remainder.
34548
34549 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34550
34551         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34552         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34553
34554 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34555
34556         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34557         sysdeps/mach/hurd/readlink.c.
34558
34559         * posix/tst-sysconf.c (posix_options): Only use
34560         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34561         _POSIX_SYNCHRONIZED_IO when they are defined
34562         * sysdeps/mach/hurd/bits/posix_opt.h:
34563         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34564         (_XOPEN_REALTIME): Undefine macro.
34565         (_XOPEN_REALTIME_THREADS): Undefine macro.
34566         (_XOPEN_SHM): Undefine macro.
34567         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34568         macro to -1.
34569         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34570         macro to -1.
34571         (_POSIX_ASYNC_IO): Undefine macro.
34572         (_POSIX_PRIORITIZED_IO): Undefine macro.
34573         (_POSIX_SPIN_LOCKS): Define macro to -1.
34574
34575         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34576         SA_NODEFER, SA_RESETHAND.
34577         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34578         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34579         F_DUPFD_CLOEXEC.
34580
34581 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34582
34583         * elf/Makefile (pldd-modules): Define unconditionally.
34584
34585 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34586
34587         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34588
34589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34590
34591         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34592         Return ENOENT when name is empty.
34593         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34594
34595 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34596
34597         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34598
34599         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34600
34601 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34602
34603         Fix mlock in all cases except non-readable pages.
34604         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34605         instead of VM_PROT_ALL as parameter to __vm_wire function.
34606
34607         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34608         (__mkdir): When path is `/', just fail with EEXIST.
34609         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34610
34611 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34612
34613         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34614         <sys/uio.h> (for writev).
34615         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34616         and <sys/param.h> (for MIN).
34617
34618 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34619
34620         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34621         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34622         if interrupted.
34623
34624 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34625
34626         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34627         Depend on against $(link-rpcuserlibs).
34628
34629 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34630
34631         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34632         (__libc_stack_end): Do not use attribute_relro.
34633         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34634         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34635         to libthread-provided value.
34636         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34637         attribute_relro.
34638
34639 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34640
34641         [BZ #3748]
34642         * bits/libc-lock.h (__libc_once_get): New macro.
34643         * sysdeps/mach/bits/libc-lock.h: Likewise.
34644         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34645         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34646         instead of using implementation details.
34647
34648         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34649         * libio/freopen.c: Likewise.
34650         * libio/freopen64.c: Likewise.
34651         * misc/syslog.c: Likewise.
34652         * nscd/connections.c: Likewise.
34653         * nscd/netgroupcache.c: Likewise.
34654         * sysdeps/posix/getcwd.c: Likewise.
34655
34656 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34657
34658         * math/w_ilogbf.c: Add #include <limits.h>.
34659
34660 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34661
34662         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34663         path instead of returning without unlocking.
34664
34665         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34666         immediate-write ioctls.
34667         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34668
34669 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34670
34671         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34672         __builtin_frame_address instead of making assumptions about the
34673         location of the return address relative to DATA.  Force early load of
34674         the return address.
34675         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34676         __builtin_frame_address.
34677
34678         dup3 for GNU Hurd.
34679         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34680         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34681         implement dup3 and do some further code clean-ups.
34682         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34683         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34684
34685 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34686
34687         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34688
34689         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34690         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34691         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34692         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34693         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34694         d->port.lock.
34695
34696         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34697         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34698         when handler == SIG_ERR, not when handler != SIG_ERR.
34699
34700 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34701
34702         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34703         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34704         definitions.
34705
34706         accept4 for GNU Hurd.
34707         * include/sys/socket.h (__libc_accept4): New prototype.
34708         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34709         to implement __libc_accept4.
34710         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34711         __libc_accept4.
34712         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34713
34714         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34715         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34716         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34717         signal-defines.sym.
34718
34719 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34720
34721         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34722
34723 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34724
34725         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34726         assertion on O_CLOEXEC flag.
34727         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34728         * hurd/intern-fd.c: Likewise.
34729         * hurd/port2fd.c: Likewise.
34730
34731 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34732
34733         [BZ #3906]
34734         * bits/in.h (IPV6_PKTINFO): Define new macro.
34735         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34736
34737 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34738
34739         [BZ #13954]
34740         [BZ #13955]
34741         [BZ #13956]
34742         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34743         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34744         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34745         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34746         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34747         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34748         * math/libm-test.inc (logb_test) : Additional logb tests.
34749
34750 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34751             Andreas Jaeger  <aj@suse.de>
34752
34753         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34754         * configure: Regenerated.
34755         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34756         * config.make.in (link-obsolete-rpc): New substituted variable.
34757         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34758         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34759         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34760         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34761         so that libc.a contains the symbols.
34762         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34763         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34764         * sunrpc/auth_none.c: Likewise.
34765         * sunrpc/auth_unix.c: Likewise.
34766         * sunrpc/authdes_prot.c: Likewise.
34767         * sunrpc/authuxprot.c: Likewise.
34768         * sunrpc/clnt_gen.c: Likewise.
34769         * sunrpc/clnt_perr.c: Likewise.
34770         * sunrpc/clnt_raw.c: Likewise.
34771         * sunrpc/clnt_simp.c: Likewise.
34772         * sunrpc/clnt_tcp.c: Likewise.
34773         * sunrpc/clnt_udp.c: Likewise.
34774         * sunrpc/clnt_unix.c: Likewise.
34775         * sunrpc/des_crypt.c: Likewise.
34776         * sunrpc/des_soft.c: Likewise.
34777         * sunrpc/get_myaddr.c: Likewise.
34778         * sunrpc/key_call.c: Likewise.
34779         * sunrpc/key_prot.c: Likewise.
34780         * sunrpc/netname.c: Likewise.
34781         * sunrpc/pm_getmaps.c: Likewise.
34782         * sunrpc/pm_getport.c: Likewise.
34783         * sunrpc/pmap_clnt.c: Likewise.
34784         * sunrpc/pmap_prot.c: Likewise.
34785         * sunrpc/pmap_prot2.c: Likewise.
34786         * sunrpc/pmap_rmt.c: Likewise.
34787         * sunrpc/publickey.c: Likewise.
34788         * sunrpc/rpc_cmsg.c: Likewise.
34789         * sunrpc/rpc_common.c: Likewise.
34790         * sunrpc/rpc_dtable.c: Likewise.
34791         * sunrpc/rpc_prot.c: Likewise.
34792         * sunrpc/rpc_thread.c: Likewise.
34793         * sunrpc/rtime.c: Likewise.
34794         * sunrpc/svc.c: Likewise.
34795         * sunrpc/svc_auth.c: Likewise.
34796         * sunrpc/svc_raw.c: Likewise.
34797         * sunrpc/svc_run.c: Likewise.
34798         * sunrpc/svc_tcp.c: Likewise.
34799         * sunrpc/svc_udp.c: Likewise.
34800         * sunrpc/svc_unix.c: Likewise.
34801         * sunrpc/svcauth_des.c: Likewise.
34802         * sunrpc/xcrypt.c: Likewise.
34803         * sunrpc/xdr.c: Likewise.
34804         * sunrpc/xdr_array.c: Likewise.
34805         * sunrpc/xdr_float.c: Likewise.
34806         * sunrpc/xdr_intXX_t.c: Likewise.
34807         * sunrpc/xdr_mem.c: Likewise.
34808         * sunrpc/xdr_rec.c: Likewise.
34809         * sunrpc/xdr_ref.c: Likewise.
34810         * sunrpc/xdr_sizeof.c: Likewise.
34811         * sunrpc/xdr_stdio.c: Likewise.
34812
34813 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34814
34815         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34816         change.  Update copyright years.
34817
34818 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34819
34820         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34821
34822 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34823             Joseph Myers  <joseph@codesourcery.com>
34824             Paul Pluzhnikov  <ppluzhnikov@google.com>
34825
34826         [BZ #14012]
34827         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34828         requiring rpcgen.
34829         [cross-compiling] (extra-libs): Likewise.
34830         [cross-compiling] (extra-libs-others): Likewise.
34831         [cross-compiling] (librpcsvc-routines): Likewise.
34832         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34833         [cross-compiling] (omit-deps): Likewise.
34834         (sunrpc-CPPFLAGS): New variable.
34835         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34836         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34837         (cross-rpcgen-objs): New variable.
34838         (extra-objs): Append $(cross-rpcgen-objs).
34839         ($(cross-rpcgen-objs)): New rule.
34840         ($(objpfx)cross-rpcgen): Likewise.
34841         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34842         comment.
34843         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34844         ($(objpfx)x%.stmp): Likewise.
34845         * sunrpc/proto.h [IS_IN_build] (_): Define.
34846         [IS_IN_build] (_libc_intl_domainname): Likewise.
34847
34848 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34849
34850         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34851         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34852         and R_X86_64_TPOFF64.
34853
34854 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34855
34856         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34857         sysdeps/unix/sysv/syscalls.list.
34858         (stime): Likewise.
34859         (utime): Likewise.
34860         * sysdeps/unix/sysv/syscalls.list: Remove file.
34861
34862 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34863
34864         [BZ #3440]
34865         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34866         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34867         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34868         (__LC_IDENTIFICATION): Make these macros useful in #if
34869         expressions, as required by C99.
34870
34871 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34872
34873         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34874         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34875         after this.
34876
34877 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34878
34879         * stdlib/longlong.h: Updated from GCC.
34880
34881 2012-05-09  Andreas Jaeger  <aj@suse.de>
34882
34883         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34884         default is first entry.
34885         (run_mode): Set type.
34886         (main): Remove informal message about syslog.
34887         (options): Fix typo.
34888
34889         [BZ #14053]
34890         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34891         to asm.
34892         (lrint): Likewise.
34893         (llrintf): Likewise.
34894         (llrint): Likewise.
34895         (rint): Likewise.
34896         (rintf): Likewise.
34897         (nearbyint): Likewise.
34898         (nearbyintf): Likewise.
34899
34900 2012-05-09  Andreas Jaeger  <aj@suse.de>
34901             Pedro Alves  <palves@redhat.com>
34902
34903         * nscd/nscd.c (run_mode): Use enum.
34904         (main): Cleanup coding style issue.
34905
34906 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34907             Andreas Jaeger  <aj@suse.de>
34908
34909         * nscd/nscd.c (go_background): Replaced with...
34910         (run_mode): ... this.
34911         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34912         (options): Add -F --foreground.
34913         (main): Implement it.
34914         (parse_opt): Parse it.
34915
34916 2012-05-09  Andreas Jaeger  <aj@suse.de>
34917
34918         [BZ #14083]
34919         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34920         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34921         -Wconversion warning.
34922         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34923         Likewise.
34924
34925 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34926
34927         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34928         == 0.
34929         (LC_ALL): Use macro-int-constant.
34930         (LC_COLLATE): Likewise.
34931         (LC_CTYPE): Likewise.
34932         (LC_MESSAGES): Likewise.
34933         (LC_MONETARY): Likewise.
34934         (LC_NUMERIC): Likewise.
34935         (LC_TIME): Likewise.
34936         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34937         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34938         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34939         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34940         Specify type.
34941         [C99-based standards] (float_t): Expect type.
34942         [C99-based standards] (double_t): Expect type.
34943         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34944         type.
34945         [C99-based standards] (HUGE_VALL): Likewise.
34946         [C99-based standards] (INFINITY): Likewise.
34947         [C99-based standards] (NAN): Likewise.
34948         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34949         [C99-based standards] (FP_NAN): Likewise.
34950         [C99-based standards] (FP_NORMAL): Likewise.
34951         [C99-based standards] (FP_SUBNORMAL): Likewise.
34952         [C99-based standards] (FP_ZERO): Likewise.
34953         [C99-based standards] (FP_FAST_FMA): Use
34954         optional-macro-int-constant.  Specify type.  Require == 1.
34955         [C99-based standards] (FP_FAST_FMAF): Likewise.
34956         [C99-based standards] (FP_FAST_FMAL): Likewise.
34957         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34958         [C99-based standards] (FP_ILOGBNAN): Likewise.
34959         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34960         Specify type.
34961         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34962         [C99-based standards] (math_errhandling): Specify type.
34963         [ISO99 || ISO11] (signgam): Do not allow.
34964         [non-C99-based standards] (copysignf): Do not allow.
34965         [non-C99-based standards] (exp2f): Likewise.
34966         [non-C99-based standards] (log2f): Likewise.
34967         [non-C99-based standards] (modff): Allow.
34968         [non-C99-based standards] (erff): Do not allow.
34969         [non-C99-based standards] (erfcf): Likewise.
34970         [non-C99-based standards] (gammaf): Likewise.
34971         [non-C99-based standards] (hypotf): Likewise.
34972         [non-C99-based standards] (j0f): Likewise.
34973         [non-C99-based standards] (j1f): Likewise.
34974         [non-C99-based standards] (jnf): Likewise.
34975         [non-C99-based standards] (lgammaf): Likewise.
34976         [non-C99-based standards] (tgammaf): Likewise.
34977         [non-C99-based standards] (y0f): Likewise.
34978         [non-C99-based standards] (y1f): Likewise.
34979         [non-C99-based standards] (ynf): Likewise.
34980         [non-C99-based standards] (isnanf): Likewise.
34981         [non-C99-based standards] (acoshf): Likewise.
34982         [non-C99-based standards] (asinhf): Likewise.
34983         [non-C99-based standards] (atanhf): Likewise.
34984         [non-C99-based standards] (cbrtf): Likewise.
34985         [non-C99-based standards] (expm1f): Likewise.
34986         [non-C99-based standards] (ilogbf): Likewise.
34987         [non-C99-based standards] (log1pf): Likewise.
34988         [non-C99-based standards] (logbf): Likewise.
34989         [non-C99-based standards] (nextafterf): Likewise.
34990         [non-C99-based standards] (remainderf): Likewise.
34991         [non-C99-based standards] (rintf): Likewise.
34992         [non-C99-based standards] (scalbf): Likewise.
34993         [non-C99-based standards] (copysignl): Likewise.
34994         [non-C99-based standards] (exp2l): Likewise.
34995         [non-C99-based standards] (log2l): Likewise.
34996         [non-C99-based standards] (modfl): Allow.
34997         [non-C99-based standards] (erfl): Do not allow.
34998         [non-C99-based standards] (erfcl): Likewise.
34999         [non-C99-based standards] (gammal): Likewise.
35000         [non-C99-based standards] (hypotl): Likewise.
35001         [non-C99-based standards] (j0l): Likewise.
35002         [non-C99-based standards] (j1l): Likewise.
35003         [non-C99-based standards] (jnl): Likewise.
35004         [non-C99-based standards] (lgammal): Likewise.
35005         [non-C99-based standards] (tgammal): Likewise.
35006         [non-C99-based standards] (y0l): Likewise.
35007         [non-C99-based standards] (y1l): Likewise.
35008         [non-C99-based standards] (ynl): Likewise.
35009         [non-C99-based standards] (isnanl): Likewise.
35010         [non-C99-based standards] (acoshl): Likewise.
35011         [non-C99-based standards] (asinhl): Likewise.
35012         [non-C99-based standards] (atanhl): Likewise.
35013         [non-C99-based standards] (cbrtl): Likewise.
35014         [non-C99-based standards] (expm1l): Likewise.
35015         [non-C99-based standards] (ilogbl): Likewise.
35016         [non-C99-based standards] (log1pl): Likewise.
35017         [non-C99-based standards] (logbl): Likewise.
35018         [non-C99-based standards] (nextafterl): Likewise.
35019         [non-C99-based standards] (remainderl): Likewise.
35020         [non-C99-based standards] (rintl): Likewise.
35021         [non-C99-based standards] (scalbl): Likewise.
35022         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35023         [non-C99-based standards] (FP_*): Do not allow.
35024         [C99-based standards] (FP_*): Change to
35025         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35026         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35027         allow.
35028         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35029         (SIG_ERR): Likewise.
35030         [X/Open-based standards] (SIG_HOLD): Likewise.
35031         (SIG_IGN): Likewise.
35032         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35033         positive value.
35034         (SIGFPE): Likewise.
35035         (SIGILL): Likewise.
35036         (SIGINT): Likewise.
35037         (SIGSEGV): Likewise.
35038         (SIGTER): Likewise.
35039         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35040         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35041         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35042         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35043         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35044         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35045         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35046         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35047         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35048         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35049         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35050         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35051         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35052         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35053         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35054         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35055         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35056         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35057         [X/Open-based standards] (SIGTRAP): Likewise.
35058         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35059         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35060         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35061         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35062         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35063         allow.
35064
35065 2012-05-08  Ian Wienand  <ianw@vmware.com>
35066
35067         [BZ #14080]
35068         * time/tzset.c (__tzset_parse_tz): Update default rules for
35069         daylight time changes in the Energy Policy Act of 2005.
35070
35071 2012-05-09  Andreas Jaeger  <aj@suse.de>
35072
35073         [BZ #13983]
35074         * elf/ldconfig.c (parse_conf): Change string to make clear that
35075         ldconfig only issued a warning if ld.so.conf does not exist.
35076
35077 2012-05-08  David S. Miller  <davem@davemloft.net>
35078
35079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35080         movxtod instead of popping the value on the stack.
35081
35082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35083
35084 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35085
35086         * config.h.in: Add HAVE_ARM_PCS_VFP.
35087
35088 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35089
35090         [BZ #13979]
35091         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35092         checking but the checks are disabled for any reason.
35093
35094 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35095
35096         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35097         and ELF64_R_TYPE with ELFW(R_TYPE).
35098
35099 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35100
35101         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35102         (ulimit): Likewise.
35103
35104         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35105         (settimeofday): Likewise.
35106
35107 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35108
35109         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35110         a struct th_u2 inside the union, and move tu_block/tu_code into
35111         a new th_u3 union of tu_block/tu_code inside of that.  Move
35112         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35113         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35114         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35115         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35116         (th_stuff): Change to th_u1.tu_stuff.
35117         (th_data): Define.
35118         (th_msg): Change to th_u1.th_u2.tu_data.
35119
35120 2012-05-07  David S. Miller  <davem@davemloft.net>
35121
35122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35123
35124         [BZ #14074]
35125         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35126         (SETUP_PIC_REG): Use it.
35127         (SETUP_PIC_REG_LEAF): Use it.
35128
35129 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35130
35131         [BZ #13885]
35132         [BZ #13923]
35133         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35134         USE_AS_EXPM1L.
35135         (EXPL_FINITE): Likewise.
35136         (FLDLOG): Likewise.
35137         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35138         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35139         e_expl.S.
35140         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35141         USE_AS_EXPM1L.
35142         (EXPL_FINITE): Likewise.
35143         (FLDLOG): Likewise.
35144         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35145         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35146         e_expl.S.
35147         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35148         test of -max_value argument for long double.
35149         * sysdeps/i386/fpu/libm-test-ulps: Update.
35150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35151
35152 2012-05-06  David S. Miller  <davem@davemloft.net>
35153
35154         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35155         quad soft-float symbols whose references which are compiler
35156         generated.
35157         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35158
35159 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35160
35161         [BZ #13884]
35162         [BZ #13914]
35163         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35164         USE_AS_EXP10L.
35165         (EXPL_FINITE): Likewise.
35166         (FLDLOG): Likewise.
35167         (c0): Likewise.
35168         (c1): Likewise.
35169         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35170         Adjust comments for base varying.
35171         (__expl_finite): Change alias to EXPL_FINITE.
35172         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35173         e_expl.S.
35174         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35175         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35176         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35177         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35178         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35179         USE_AS_EXP10L.
35180         (EXPL_FINITE): Likewise.
35181         (FLDLOG): Likewise.
35182         (c0): Likewise.
35183         (c1): Likewise.
35184         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35185         Adjust comments for base varying.
35186         (__expl_finite): Change alias to EXPL_FINITE.
35187         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35188         tests for bugs.
35189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35190
35191         [BZ #14064]
35192         * math/libm-test.inc (check_float_internal): Correct ulp
35193         calculation for subnormal expected results.
35194
35195 2012-05-06  Andreas Jaeger  <aj@suse.de>
35196
35197         * Makeconfig (+math-flags): New, set to -frounding-math.
35198         (+cflags): Add +math-flags so that all of glibc gets compiled with
35199         it.
35200
35201         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35202
35203 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35204
35205         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35206         Disable one test.
35207
35208         [BZ #13787]
35209         [BZ #13922]
35210         [BZ #14036]
35211         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35212         (__ieee754_expl): Allow for and saturate large arguments.
35213         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35214         (u_threshold): Likewise.
35215         (__exp): Call __ieee754_exp before checking for overflow and
35216         underflow.
35217         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35218         (u_threshold): Likewise.
35219         (__expf): Call __ieee754_expf before checking for overflow and
35220         underflow.
35221         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35222         (u_threshold): Likewise.
35223         (__expl): Call __ieee754_expl before checking for overflow and
35224         underflow.
35225         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35226         (__ieee754_expl): Allow for and saturate large arguments.
35227         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35228         missing overflow exception on overflow.
35229         (expm1_test): Do not allow missing overflow exception on overflow.
35230
35231         * sysdeps/i386/fpu/e_expl.c: Move to ...
35232         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35233         rather than using inline asm.
35234         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35235         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35236         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35237
35238         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35239         (nice): Likewise.
35240         (poll): Likewise.
35241         (signal): Likewise.
35242         (time): Likewise.
35243         (times): Likewise.
35244
35245 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35246
35247         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35248         sysdeps/unix/common/syscalls.list.
35249         (fchmod): Likewise.
35250         (fchown): Likewise.
35251         (ftruncate): Likewise.
35252         (getrusage): Likewise.
35253         (gettimeofday): Likewise.
35254         (setpgid): Likewise.
35255         (setregid): Likewise.
35256         (setreuid): Likewise.
35257         (sigaction): Likewise.
35258         (truncate): Likewise.
35259         (vhangup): Likewise.
35260         * sysdeps/unix/common/syscalls.list: Remove file.
35261         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35262         * sysdeps/unix/sysv/linux/Implies: Likewise.
35263
35264 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35265
35266         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35268         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35269         Moved to ...
35270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35271         Here.
35272         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35273         to ...
35274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35275         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35276         to ...
35277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35278         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35279         to ...
35280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35281         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35282         to ...
35283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35284         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35285         to ...
35286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35287         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35288         to ...
35289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35290         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35291         to ...
35292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35293         Here.
35294         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35295         to ...
35296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35297         Here.
35298         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35299         to ...
35300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35301         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35302         Moved to ...
35303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35304         Here.
35305         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35306         to ...
35307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35308
35309 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35310
35311         * sysdeps/unix/common/bits/dirent.h: Remove file.
35312         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35313
35314         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35315         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35316         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35317         * sysdeps/unix/bsd/isatty.c: Likewise.
35318         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35319         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35320         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35321
35322 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35323
35324         [BZ #13563]
35325         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35326         long double comparison inaccuracies.
35327         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35329
35330 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35331
35332         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35333         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35334
35335 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35336
35337         [BZ #14049]
35338         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35339         nonzero digits before rounding a hex value.
35340         * stdlib/tst-strtod.c (tests): Add another test.
35341
35342 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35343
35344         * sysdeps/s390/fpu/libm-test-ulps: Update.
35345
35346 2012-05-03  Andreas Jaeger  <aj@suse.de>
35347
35348         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35349         does not get optimized out.
35350         (malloc_opt_barrier): New.
35351
35352 2012-05-03  Andreas Jaeger  <aj@suse.de>
35353             Roland McGrath  <roland@hack.frob.com>
35354
35355         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35356         intermediate file deletion.
35357         (generated): Add .symlist files.
35358
35359 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35360
35361         [BZ #13775]
35362         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35363         Redirect under this condition.
35364         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35365         [__USE_GNU] (__dprintf_chk): Not under this condition.
35366         [__USE_GNU] (__vdprintf_chk): Likewise.
35367         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35368         under this condition.
35369         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35370         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35371         [__USE_XOPEN2K8] (vdprintf): Likewise.
35372         [__USE_GNU] (__dprintf_chk): Not under this condition.
35373         [__USE_GNU] (__vdprintf_chk): Likewise.
35374         [__USE_GNU] (dprintf): Likewise.
35375         [__USE_GNU] (vdprintf): Likewise.
35376
35377 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35378
35379         * elf/Makefile (common-generated): Set this instead of generated for
35380         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35381         $(all-built-dso)-derived lists.
35382
35383 2012-05-03  Andreas Jaeger  <aj@suse.de>
35384
35385         * sysdeps/i386/fpu/libm-test-ulps: Update.
35386
35387         * FAQ: Removed.
35388         * FAQ.in: Likewise.
35389         * scripts/gen-FAQ.pl: Likewise.
35390         * manual/install.texi (Installation): Point to online location of
35391         FAQ.
35392         * Makefile (files-for-dist): Remove FAQ.
35393         (FAQ): Remove.
35394
35395 2012-05-02  Allan McRae  <allan@archlinux.org>
35396
35397         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35398         (LDFLAGS-reldepmod5.so): Likewise.
35399         (LDFLAGS-reldep6mod1.so): Likewise.
35400         (LDFLAGS-reldep6mod4.so): Likewise.
35401         (LDFLAGS-reldep8mod3.so): Likewise.
35402         (LDFLAGS-unload4mod1.so): Likewise.
35403         (LDFLAGS-unload4mod2.so): Likewise.
35404         (LDFLAGS-tst-initorder): Likewise.
35405         (LDFLAGS-tst-initordera2.so): Likewise.
35406         (LDFLAGS-tst-initordera3.so): Likewise.
35407         (LDFLAGS-tst-initordera4.so): Likewise.
35408         (LDFLAGS-tst-initorderb2.so): Likewise.
35409         (LDFLAGS-noload): Likewise.
35410         (LDFLAGS-next): Likewise.
35411         (LDFLAGS-order2mod1.so): Likewise.
35412         (LDFLAGS-order2mod2.so): Likewise.
35413         (LDFLAGS-tst-initorder2): Likewise.
35414         (LDFLAGS-tst-initorder2a.so): Likewise.
35415         (LDFLAGS-tst-initorder2b.so): Likewise.
35416         (LDFLAGS-tst-initorder2c.so): Likewise.
35417         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35418
35419 2012-05-02  David S. Miller  <davem@davemloft.net>
35420
35421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35422
35423 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35424
35425         [BZ #14055]
35426         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35427
35428 2012-05-02  Andreas Jaeger  <aj@suse.de>
35429
35430         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35431         since we manipulate rounding mode.
35432         (CPPFLAGS-test-idouble.c): Likewise.
35433         (CPPFLAGS-test-ifloat.c): Likewise.
35434         (CFLAGS-test-ldouble.c): Likewise.
35435         (CFLAGS-test-double.c): Likewise.
35436         (CFLAGS-test-float.c): Likewise.
35437         (CFLAGS-test-misc.c): Likewise.
35438         (CFLAGS-test-test-fenv.c): Likewise.
35439
35440 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35441
35442         [BZ #2550]
35443         [BZ #2570]
35444         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35445         comparisons to determine direction to adjust input.
35446
35447 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35448
35449         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35450         output to the target.
35451
35452         * scripts/localplt.awk: New file.
35453         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35454         (check-localplt-CFLAGS): Variable removed.
35455         ($(all-built-dso:=.jmprel)): New static pattern rule.
35456         (generated): Add those targets.
35457         (localplt-built-dso): New variable.
35458         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35459
35460         * elf/check-localplt.c: File removed.
35461
35462         * scripts/check-execstack.awk: New file.
35463         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35464         (check-execstack-CFLAGS): Variable removed.
35465         ($(objpfx)check-execstack.h): Target removed.
35466         ($(objpfx)execstack-default): New target.
35467         (generated): Add that instead of check-execstack.h.
35468         ($(all-built-dso:=.phdr)): New static pattern rule.
35469         (generated): Add those targets.
35470         * elf/check-execstack.c: File removed.
35471
35472         * scripts/check-textrel.awk: New file.
35473         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35474         (check-textrel-CFLAGS): Variable removed.
35475         (all-built-dso): Use := to define.o
35476         ($(all-built-dso:=.dyn)): New static pattern rule.
35477         (generated): Add those targets.
35478         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35479         * config.make.in (READELF): New substituted variable.
35480         * elf/check-textrel.c: File removed.
35481
35482 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35483
35484         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35485         allow.
35486         * conform/data/ctype.h-data [C99-based standards] (isblank):
35487         Expect function.
35488         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35489         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35490         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35491         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35492         Specify type.  Require positive value.
35493         (EILSEQ): Likewise.
35494         (ERANGE): Likewise.
35495         [ISO || POSIX] (EILSEQ): Do not expect.
35496         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35497         Specify type.  Require positive value.
35498         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35499         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35500         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35501         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35502         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35503         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35504         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35505         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35506         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35507         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35508         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35509         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35510         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35511         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35512         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35513         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35514         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35515         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35516         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35517         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35518         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35519         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35520         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35521         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35522         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35523         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35524         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35525         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35526         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35527         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35528         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35529         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35530         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35531         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35532         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35533         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35534         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35535         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35536         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35537         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35538         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35539         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35540         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35541         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35542         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35543         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35544         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35545         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35546         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35547         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35548         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35549         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35550         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35551         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35552         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35553         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35554         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35555         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35556         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35557         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35558         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35559         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35560         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35561         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35562         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35563         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35564         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35565         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35566         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35567         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35568         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35569         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35570         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35571         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35572         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35573         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35574         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35575         Require >= 2.
35576         (FLT_ROUNDS): Expect as macro, not constant.
35577         (FLT_MANT_DIG): Use macro-int-constant.
35578         (DBL_MANT_DIG): Likewise.
35579         (LDBL_MANT_DIG): Likewise.
35580         (FLT_DIG): Likewise.
35581         (DBL_DIG): Likewise.
35582         (LDBL_DIG): Likewise.
35583         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35584         (DBL_MIN_EXP): Likewise.
35585         (LDBL_MIN_EXP): Likewise.
35586         (FLT_MAX_EXP): Use macro-int-constant.
35587         (DBL_MAX_EXP): Likewise.
35588         (LDBL_MAX_EXP): Likewise.
35589         (FLT_MAX_10_EXP): Likewise.
35590         (DBL_MAX_10_EXP): Likewise.
35591         (LDBL_MAX_10_EXP): Likewise.
35592         (FLT_MAX): Use macro-constant.
35593         (DBL_MAX): Likewise.
35594         (LDBL_MAX): Likewise.
35595         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35596         (DBL_EPSILON): Likewise.
35597         (LDBL_EPSILON): Likewise.
35598         (FLT_MIN): Likewise.
35599         (DBL_MIN): Likewise.
35600         (LDBL_MIN): Likewise.
35601         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35602         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35603         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35604         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35605         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35606         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35607         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35608         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35609         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35610         [ISO11] (FLT_TRUE_MIN): Likewise.
35611         [ISO11] (LDBL_TRUE_MIN): Likewise.
35612         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35613         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35614         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35615         (SCHAR_MAX): Likewise.
35616         (UCHAR_MAX): Likewise.
35617         (CHAR_MIN): Likewise.
35618         (CHAR_MAX): Likewise.
35619         (MB_LEN_MAX): Use macro-int-constant.
35620         (SHRT_MIN): Use macro-int-constant.  Specify type.
35621         (SHRT_MAX): Likewise.
35622         (USHRT_MAX): Likewise.
35623         (INT_MAX): Likewise.
35624         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35625         bound negative.
35626         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35627         bound with "U".
35628         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35629         bound with "L".
35630         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35631         bound negative.  Suffix upper bound with "L".
35632         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35633         bound with "UL".
35634         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35635         Specify type.
35636         [C99-based standards] (LLONG_MAX): Likewise.
35637         [C99-based standards] (ULLONG_MAX): Likewise.
35638         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35639         == 0.
35640         [ISO11] (max_align_t): Require type.
35641         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35642
35643         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35644         from $CFLAGS, without defining away __attribute__ calls.
35645         (checknamespace): Use $CFLAGS_namespace.
35646
35647         * conform/conformtest.pl (@keywords): Only include C99 keywords
35648         for standards based on C99 or C11.
35649
35650         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35651         Disable tests.
35652         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35653         UNIX98]: Likewise.
35654
35655         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35656         usability of symbols in #if.
35657
35658         * conform/conformtest.pl: If macro or constant types start
35659         "promoted:", expect the symbol to be of the following type
35660         promoted by the integer promotions.
35661
35662         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35663         in one place.  Also handle "macro-constant".
35664
35665         * conform/conformtest.pl: Only accept expected macro values with
35666         "==".  Parse all "macro" lines in one place.
35667         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35668
35669         * conform/conformtest.pl: Handle braced types on "constant" lines
35670         instead of handling "typed-constant".
35671         * conform/data/signal.h-data: Use "constant" instead of
35672         "typed-constant".
35673
35674         * conform/conformtest.pl: Handle "optional-" at start of lines in
35675         one place rather than duplicating several cases.  Handle each
35676         format of "macro" line with initial "optional-".
35677
35678         * conform/conformtest.pl: Only accept expected constant or
35679         optional-constant values with "==".  Parse all "constant" lines in
35680         one place.  Parse all "optional-constant" lines in one place.
35681         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35682         * conform/data/fmtmsg.h-data: Likewise.
35683         * conform/data/netinet/in.h-data: Likewise.
35684         * conform/data/tar.h-data: Likewise.
35685         * conform/data/limits.h-data: Use "==" form on "constant" and
35686         "optional-constant" lines.
35687
35688         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35689         Use -std=c99 for XOPEN2K.
35690         (@knownproblems): Remove.
35691         (newtoken): Don't check %isknown.
35692
35693         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35694         Do not expect macro.
35695         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35696         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35697         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35698         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35699         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35700         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35701         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35702         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35703         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35704         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35705         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35706         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35707         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35708         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35709         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35710         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35711         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35712         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35713         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35714         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35715         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35716         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35717         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35718         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35719         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35720         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35721         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35722         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35723         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35724         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35725         [XPG3] (acosh): Likewise.
35726         [XPG3] (asinh): Likewise.
35727         [XPG3] (atanh): Likewise.
35728         [XPG3] (cbrt): Likewise.
35729         [XPG3] (expm1): Likewise.
35730         [XPG3] (ilogb): Likewise.
35731         [XPG3] (log1p): Likewise.
35732         [XPG3] (logb): Likewise.
35733         [XPG3] (nextafter): Likewise.
35734         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35735         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35736         [XPG3] (remainder): Likewise.
35737         [XPG3] (rint): Likewise.
35738         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35739         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35740         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35741         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35742         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35743         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35744         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35745         [UNIX98 || XOPEN2K] (scalb): Expect.
35746         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35747         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35748         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35749         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35750         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35751         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35752         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35753         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35754         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35755         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35756         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35757         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35758         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35759         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35760         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35761         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35762         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35763         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35764         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35765         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35766         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35767         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35768         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35769         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35770         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35771         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35772         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35773         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35774         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35775         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35776         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35777         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35778         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35779         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35780         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35781         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35782         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35783         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35784         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35785         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35786         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35787         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35788         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35789         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35790         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35791         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35792         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35793         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35794         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35795         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35796         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35797         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35798         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35799         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35800         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35801         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35802         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35803         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35804         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35805         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35806         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35807         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35808         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35809         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35810         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35811         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35812         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35813         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35814         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35815         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35816         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35817         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35818         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35819         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35820         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35821         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35822         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35823         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35824         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35825         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35826         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35827         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35828         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35829         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35830         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35831         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35832         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35833         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35834         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35835         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35836         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35837         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35838         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35839         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35840         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35841         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35842         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35843         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35844         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35845         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35846         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35847         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35848         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35849         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35850         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35851         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35852         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35853         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35854         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35855         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35856         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35857         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35858         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35859         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35860         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35861         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35862         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35863         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35864         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35865         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35866         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35867         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35868         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35869         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35870         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35871         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35872         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35873         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35874         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35875         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35876         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35877         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35878         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35879         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35880         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35881         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35882         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35883
35884         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35885         _XOPEN_SOURCE_EXTENDED for XPG4.
35886
35887         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35888
35889         * Makeconfig (localtime): Remove variable.
35890         (inst_localtime-file): Likewise.
35891
35892 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35893
35894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35895         Update.
35896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35897         Update.
35898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35899         Update.
35900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35901         Update.
35902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35903         Update.
35904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35905         Update.
35906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35907         Update.
35908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35909         Update.
35910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35911         Update.
35912
35913 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35914
35915         [BZ #2550]
35916         [BZ #2570]
35917         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35918         comparisons to determine direction to adjust input.
35919         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35920         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35921         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35922         Likewise.
35923         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35924         Likewise.
35925         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35926         Likewise.
35927         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35928         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35929         Likewise.
35930         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35931         Likewise.
35932         * math/libm-test.inc (nexttoward_test): Add more tests.
35933
35934 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35935
35936         [BZ #14040]
35937         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35938         in version GLIBC_2.1, not GLIBC_2.0.
35939         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35940         Likewise.
35941
35942 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35943
35944         [BZ #13942]
35945         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35946         (1 - x) * (1 + x).
35947         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35948         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35949         * math/libm-test.inc (acos_test): Add more tests.
35950         (asin_test): Likewise.
35951         * sysdeps/i386/fpu/libm-test-ulps: Update.
35952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35953
35954         [BZ #14034]
35955         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35956         of square root.
35957         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35958         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35959         * math/libm-test.inc (acos_test_tonearest): New function.
35960         (acos_test_towardzero): Likewise.
35961         (acos_test_downward): Likewise.
35962         (acos_test_upward): Likewise.
35963         (asin_test_tonearest): Likewise.
35964         (asin_test_towardzero): Likewise.
35965         (asin_test_downward): Likewise.
35966         (asin_test_upward): Likewise.
35967         (main): Call the new functions.
35968         * sysdeps/i386/fpu/libm-test-ulps: Update.
35969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35970
35971         [BZ #13884]
35972         [BZ #13924]
35973         * math/e_exp10.c: Include <float.h>.
35974         (__ieee754_exp10): Handle underflow here rather than multiplying
35975         large negative argument by M_LN10.
35976         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35977         of __ieee754_expf.
35978         * math/e_exp10l.c: Include <float.h>.
35979         (__ieee754_exp10l): Handle underflow here rather than multiplying
35980         large negative argument by M_LN10l.
35981         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35982         spurious overflow exception on underflow.
35983
35984 2012-04-29  Marek Polacek  <polacek@redhat.com>
35985
35986         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35987         (__fortify_function): New macro.
35988         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35989         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35990         __extern_always_inline.
35991         * libio/bits/stdio2.h: Likewise.
35992         * libio/bits/stdio.h: Likewise.
35993         * string/string.h: Likewise.
35994         * string/bits/string3.h: Likewise.
35995         * include/stdio.h: Likewise.
35996         * stdlib/bits/stdlib.h: Likewise.
35997         * stdlib/stdlib.h: Likewise.
35998         * rt/bits/mqueue2.h: Likewise.
35999         * rt/mqueue.h: Likewise.
36000         * posix/bits/unistd.h: Likewise.
36001         * posix/unistd.h: Likewise.
36002         * io/bits/poll2.h: Likewise.
36003         * io/bits/fcntl2.h: Likewise.
36004         * io/fcntl.h: Likewise.
36005         * io/sys/poll.h: Likewise.
36006         * misc/bits/syslog.h: Likewise.
36007         * misc/bits/syslog-ldbl.h: Likewise.
36008         * misc/sys/syslog.h: Likewise.
36009         * socket/bits/socket2.h: Likewise.
36010         * socket/sys/socket.h: Likewise.
36011         * debug/tst-chk1.c: Likewise.
36012         * wcsmbs/bits/wchar2.h: Likewise.
36013         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36014         * wcsmbs/wchar.h: Likewise.
36015
36016 2012-04-29  Andreas Jaeger  <aj@suse.de>
36017
36018         * Makerules (tests): Remove enable-check-abi protection.
36019         (check-abi-warn): Remove.
36020         (check-abi-%): Remove check-abi-warn usage.
36021
36022         * configure.in: Remove check-abi configure option.
36023         * configure: Regenerated.
36024         * config.make.in (enable-check-abi): Remove.
36025
36026 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36027
36028         [BZ #14033]
36029         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36030         double functions to double *_finite functions.
36031
36032         [BZ #13941]
36033         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36034         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36035         LDBL_MIN_EXP.
36036         * stdio-common/Makefile (tests): Add tst-sprintf3.
36037         * stdio-common/tst-sprintf3.c: New file.
36038
36039         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36040         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36041
36042 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36043
36044         * conform/conformtest.pl: Remove duplicate typed-constant
36045         handling.
36046
36047 2012-04-28  David S. Miller  <davem@davemloft.net>
36048
36049         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36050         (check-abi-%): Remove AWK script prerequisite and explicit
36051         abilist directory.
36052         (check-abi): Rewrite to just diff the symlist with the abilist.
36053         (config-tls, config-abi-config): Delete, no longer used.
36054         (update-abi-%): Remove AWK script and explicit abilist directory.
36055         (update-abi): Rewrite to simply compare and conditionally copy the
36056         symlist and the sysdep abilist file.  Remove update-abi-config
36057         checks.
36058         * abilist/ld.abilist: Remove.
36059         * abilist/libBrokenLocale.abilist: Remove.
36060         * abilist/libanl.abilist: Remove.
36061         * abilist/libcrypt.abilist: Remove.
36062         * abilist/libdl.abilist: Remove.
36063         * abilist/librt.abilist: Remove.
36064         * abilist/libthread_db.abilist: Remove.
36065         * abilist/libutil.abilist: Remove.
36066         * scripts/extract-abilist.awk: Remove.
36067         * scripts/merge-abilist.awk: Remove.
36068         * sysdeps/generic/libcidn.abilist: New file.
36069         * sysdeps/generic/libnss_compat.abilist: New file.
36070         * sysdeps/generic/libnss_db.abilist: New file.
36071         * sysdeps/generic/libnss_dns.abilist: New file.
36072         * sysdeps/generic/libnss_files.abilist: New file.
36073         * sysdeps/generic/libnss_hesiod.abilist: New file.
36074         * sysdeps/generic/libnss_nis.abilist: New file.
36075         * sysdeps/generic/libnss_nisplus.abilist: New file.
36076         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36077         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36078         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36079         file.
36080         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36081         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36082         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36083         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36084         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36085         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36086         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36087         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36088         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36089         file.
36090         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36091         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36092         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36093         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36094         file.
36095         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36096         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36097         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36098         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36099         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36100         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36101         file.
36102         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36103         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36104         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36105         file.
36106         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36107         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36108         New file.
36109         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36110         New file.
36111         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36112         New file.
36113         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36114         New file.
36115         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36116         New file.
36117         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36118         New file.
36119         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36120         New file.
36121         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36122         New file.
36123         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36124         New file.
36125         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36126         New file.
36127         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36128         New file.
36129         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36130         New file.
36131         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36132         New file.
36133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36134         file.
36135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36136         New file.
36137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36138         New file.
36139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36140         file.
36141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36142         New file.
36143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36144         New file.
36145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36146         file.
36147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36148         New file.
36149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36150         New file.
36151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36152         New file.
36153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36154         New file.
36155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36156         New file.
36157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36158         New file.
36159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36161         file.
36162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36163         New file.
36164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36165         file.
36166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36167         file.
36168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36169         file.
36170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36171         file.
36172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36173         file.
36174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36175         New file.
36176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36177         file.
36178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36179         file.
36180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36181         New file.
36182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36183         file.
36184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36186         file.
36187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36188         New file.
36189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36190         file.
36191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36192         file.
36193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36194         file.
36195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36196         file.
36197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36198         file.
36199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36200         New file.
36201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36202         file.
36203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36204         file.
36205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36206         New file.
36207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36208         file.
36209         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36210         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36211         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36212         file.
36213         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36214         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36215         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36216         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36217         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36218         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36219         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36220         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36221         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36222         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36225         file.
36226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36227         New file.
36228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36229         file.
36230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36231         file.
36232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36233         file.
36234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36235         file.
36236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36237         file.
36238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36239         New file.
36240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36241         New file.
36242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36243         file.
36244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36245         New file.
36246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36247         file.
36248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36250         file.
36251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36252         New file.
36253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36254         file.
36255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36256         file.
36257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36258         file.
36259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36260         file.
36261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36262         file.
36263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36264         New file.
36265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36266         New file.
36267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36268         file.
36269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36270         New file.
36271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36272         file.
36273
36274 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36275
36276         * conform/conformtest.pl: Fix typo in handling typed-constant from
36277         allow-header.
36278
36279 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36280
36281         * README: Cut down references to pre-2.6 Linux kernels and
36282         Linuxthreads.  Update lists of configurations in libc and ports
36283         and sort alphabetically.  Say "or newer" with Linux kernel version
36284         requirements.
36285
36286         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36287
36288 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36289
36290         [BZ #887]
36291         * math/libm-test.inc (logb_test_downward): New test to expose
36292         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36293         rounding mode.
36294
36295 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36296
36297         [BZ #14027]
36298         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36299         to be done.
36300         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36301         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36302
36303 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36304
36305         * sysdeps/unix/i386/brk.S: Remove file.
36306         * sysdeps/unix/i386/dl-brk.S: Likewise.
36307         * sysdeps/unix/i386/pipe.S: Likewise.
36308         * sysdeps/unix/i386/sigreturn.S: Likewise.
36309         * sysdeps/unix/i386/syscall.S: Likewise.
36310         * sysdeps/unix/i386/vfork.S: Likewise.
36311         * sysdeps/unix/i386/wait.S: Likewise.
36312
36313         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36314         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36315
36316         * configure.in (arm*-none*): Do not allow without
36317         --enable-hacker-mode.
36318         (netbsd*): Remove case setting base_os.
36319         (386bsd*): Likewise.
36320         (freebsd*): Likewise.
36321         (bsdi*): Likewise.
36322         (osf*): Likewise.
36323         (sunos*): Likewise.
36324         (ultrix*): Likewise.
36325         (newsos*): Likewise.
36326         (dynix*): Likewise.
36327         (*bsd*): Likewise.
36328         (sysv*): Likewise.
36329         (isc*): Likewise.
36330         (esix*): Likewise.
36331         (sco*): Likewise.
36332         (minix*): Likewise.
36333         (irix4*): Likewise.
36334         (irix6*): Likewise.
36335         (solaris[2-9]*): Likewise.
36336         (none): Likewise.
36337         * configure: Regenerated.
36338
36339 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36340
36341         [BZ #11521]
36342         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36343         overflow or cancellation in calculating denominator.
36344         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36345         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36346         down expression to avoid unexpected rounding in newer GCCs.
36347         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36348
36349 2012-04-26  David S. Miller  <davem@davemloft.net>
36350
36351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36352         long-double compat symbols.
36353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36366
36367 2012-04-25  David S. Miller  <davem@davemloft.net>
36368
36369         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36370         HWCAP_* values only after the memory barriers have been defined.
36371         (atomic_full_barrier): Define.
36372         (atomic_read_barrier): Define.
36373         (atomic_write_barrier): Define.
36374
36375 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36376
36377         * shlib-versions: Add libgcc_s version information.
36378         * sysdeps/generic/libgcc_s.h: Remove.
36379         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36380         libgcc_s.h.
36381         * sysdeps/gnu/unwind-resume.c: Likewise.
36382         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36383
36384 2012-04-25  David S. Miller  <davem@davemloft.net>
36385
36386         * sysdeps/unix/sparc/brk.S: Delete.
36387         * sysdeps/unix/sparc/dl-brk.S: Delete.
36388         * sysdeps/unix/sparc/pipe.S: Delete.
36389         * sysdeps/unix/sparc/sysdep.S: Delete.
36390         * sysdeps/unix/sparc/sysdep.h: Delete.
36391         * sysdeps/unix/sparc/vfork.S: Delete.
36392         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36393         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36394         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36395         (ret_ERRVAL, r0, r1, MOVE): Define.
36396         (JUMPTARGET): Remove.
36397         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36398         sysdeps/unix/sparc/sysdep.h
36399         (ENTRY, END): Remove.
36400         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36401
36402 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36403
36404         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36405         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36406         -DIS_IN_build.
36407
36408         * timezone/README: Update upstream location and email address for
36409         tzcode and tzdata.
36410         * timezone/zdump.c: Update from tzcode 2012b.
36411         * timezone/zic.c: Likewise.
36412
36413         * configure.in (libc_cv_as_needed): Remove test.
36414         * configure: Regenerated.
36415         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36416         conditional definition.
36417         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36418         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36419         * config.make.in (have-as-needed): Remove variable.
36420
36421 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36422             Paul Pluzhnikov  <ppluzhnikov@google.com>
36423
36424         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36425         strings correctly.
36426
36427 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36428
36429         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36430         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36431         * sysdeps/sh/strlen.S: Likewise.
36432
36433 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36434
36435         * sysdeps/unix/fork.S: Remove file.
36436         * sysdeps/unix/i386/fork.S: Likewise.
36437         * sysdeps/unix/sparc/fork.S: Likewise.
36438
36439         * sysdeps/unix/system.c: Remove file.
36440         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36441
36442         * sysdeps/unix/getegid.S: Remove file.
36443         * sysdeps/unix/geteuid.S: Likewise.
36444
36445 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36446
36447         * scripts/check-localplt.awk: New file.
36448         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36449         of diff.
36450         * scripts/data/localplt-generic.data: Add a comment.
36451
36452         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36453         NODE when __dir_mkfile failed.
36454         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36455         Reported by Ludovic Courtès <ludo@gnu.org>.
36456
36457 2012-04-24  Andreas Jaeger  <aj@suse.de>
36458
36459         * Makerules (common-clean): Also remove gen-as-const-headers
36460         files.
36461
36462 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36463
36464         * Makerules (native-compile): Do not change working directory for
36465         build.  Use $(OUTPUT_OPTION) in command.
36466         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36467
36468 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36469
36470         [BZ #13886]
36471         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36472         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36473         * math/libm-test.inc (floor_test): Add more tests.
36474         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36475
36476 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36477
36478         * sysdeps/unix/getdents.c: Remove file.
36479         * sysdeps/unix/sysv/getdents.c: Likewise.
36480         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36481
36482         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36483         sysdeps/unix/mman/syscalls.list.
36484         (mmap): Likewise.
36485         (mprotect): Likewise.
36486         (msync): Likewise.
36487         (munmap): Likewise.
36488         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36489         * sysdeps/unix/mman/syscalls.list: Remove.
36490         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36491
36492         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36493         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36494         * configure: Regenerated.
36495         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36496         $(libgcc_s_suffix).
36497         * config.make.in (libgcc_s_suffix): Remove variable.
36498
36499 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36500
36501         * sysdeps/unix/sysv/gethostname.c: Move to ...
36502         * sysdeps/posix/gethostname.c: ... here.
36503
36504         * sysdeps/unix/execve.S: Remove file.
36505
36506         * sysdeps/unix/_exit.S: Remove file.
36507
36508 2012-04-23  Andreas Jaeger  <aj@suse.de>
36509
36510         [BZ #13739]
36511         * manual/Makefile: Remove make dist support, there's no
36512         need for a stand-alone documentation tar ball.
36513         (TEXI2DVI): Define always, it's not in Makeconfig.
36514         (dist): Removed.
36515         (tar-it): Removed.
36516         (edition): Removed.
36517         (glibc-doc-$(edition).tar): Removed
36518         (%.Z): Removed.
36519         (%.gz): Removed.
36520         (%.uu): Removed.
36521         (ETAGS): Remove, it's in Makeconfig.
36522         (move-if-change): Remove, it's in Makeconfig.
36523
36524 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36525
36526         [BZ #13970]
36527         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36528         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36529         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36530         (strtod_l, strtof_l, strtold_l): Remove __wur.
36531         It is not necessarily an error to ignore strtol's return value.
36532         One can reliably look at the stored endptr to decide whether
36533         the number had valid syntax.
36534
36535 2012-04-21  Andreas Jaeger  <aj@suse.de>
36536
36537         [BZ #13739]
36538         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36539
36540 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36541
36542         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36543         * sysdeps/unix/sysv/Versions: Remove file.
36544
36545 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36546
36547         [BZ #13927]
36548         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36549
36550 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36551
36552         [BZ #7064]
36553         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36554         version from __vm86.
36555
36556 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36557
36558         * sysdeps/unix/common/lxstat.c: Remove file.
36559         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36560
36561         * sysdeps/unix/sysv/Makefile: Remove file.
36562
36563         * sysdeps/unix/sysv/direct.h: Remove file.
36564
36565         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36566         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36567         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36568         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36569         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36570         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36571         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36572
36573         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36574
36575         * sysdeps/unix/xmknod.c: Remove file.
36576         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36577
36578         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36579
36580         * sysdeps/unix/sysv/i386/time.S: Remove file.
36581
36582         * sysdeps/unix/fxstat.c: Remove file.
36583         * sysdeps/unix/xstat.c: Likewise.
36584         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36585
36586         * sysdeps/unix/sysv/sigaction.c: Remove file.
36587
36588         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36589         (sysdep_headers): Remove variable.
36590         [termio.h not in sysdep_headers] (generated): Likewise.
36591         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36592         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36593         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36594         * sysdeps/unix/sysv/tcflow.c: Likewise.
36595         * sysdeps/unix/sysv/tcflush.c: Likewise.
36596         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36597         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36598         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36599         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36600         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36601
36602         * sysdeps/unix/siglist.c: Remove file.
36603
36604         * sysdeps/unix/getppid.S: Remove file.
36605
36606         * sysdeps/unix/mkdir.c: Remove file.
36607         * sysdeps/unix/rmdir.c: Likewise.
36608
36609 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36610
36611         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36612         ERR_MAX value.
36613         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36614         errlist-compat value.
36615
36616 2012-04-18  David S. Miller  <davem@davemloft.net>
36617
36618         * sysdeps/generic/memcopy.h (reg_char): Delete.
36619         * debug/strcat_chk.c: Use char, not reg_char.
36620         * debug/strcpy_chk.c: Likewise.
36621         * debug/strncat_chk.c: Likewise.
36622         * debug/strncpy_chk.c: Likewise.
36623         * string/memchr.c: Likewise.
36624         * string/memrchr.c: Likewise.
36625         * string/rawmemchr.c: Likewise.
36626         * string/strcat.c: Likewise.
36627         * string/strchr.c: Likewise.
36628         * string/strchrnul.c: Likewise.
36629         * string/strcmp.c: Likewise.
36630         * string/strcpy.c: Likewise.
36631         * string/strncat.c: Likewise.
36632         * string/strncmp.c: Likewise.
36633         * string/strncpy.c: Likewise.
36634
36635 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36636
36637         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36638         __builtin_memcopy is called when src and dest ranges are known to not
36639         overlap.
36640
36641 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36642
36643         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36644         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36645         fwd_align_merge macro call.
36646         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36647         bwd_align_merge macro call.
36648         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36649
36650 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36651
36652         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36653         bwd_align_merge macros.
36654         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36655         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36656         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36657
36658 2012-04-18  David S. Miller  <davem@davemloft.net>
36659
36660         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36661
36662 2012-04-18  Andreas Jaeger  <aj@suse.de>
36663
36664         [BZ# 6794]
36665         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36666         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36667         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36668
36669         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36670         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36671         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36672
36673         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36674         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36675         Adjust for changed ldbl-128 files.
36676
36677         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36678         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36679         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36680
36681 2012-04-17  David S. Miller  <davem@davemloft.net>
36682
36683         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36684
36685 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36686
36687         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36688         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36689         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36690         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36691         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36692         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36693
36694 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36695
36696         [BZ #6794]
36697         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36698         * math/libm-test.inc: Add ilogb errno and exception tests.
36699         * math/w_ilogb.c: New file: ilogb wrapper.
36700         * math/w_ilogbf.c: New file: ilogbf wrapper.
36701         * math/w_ilogbl.c: New file: ilogbl wrapper.
36702         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36703         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36704         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36705         exception being thrown with 0.0 as argument.
36706         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36707         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36708         exception being thrown with 0.0 as argument.
36709         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36710         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36711         exception being thrown with 0.0 as argument.
36712         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36713         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36714         exception being thrown with 0.0 as argument.
36715         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36716         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36717         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36718         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36719         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36720         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36721         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36722         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36723         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36724
36725 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36726
36727         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36728         with altivec.
36729
36730 2012-04-16  Marek Polacek  <polacek@redhat.com>
36731
36732         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36733
36734 2012-04-16  Marek Polacek  <polacek@redhat.com>
36735
36736         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36737         operands of fdivp instruction.
36738
36739 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36740
36741         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36742         * elf/tst-auditmod3b.c: Likewise.
36743         * elf/tst-auditmod4b.c: Likewise.
36744         * elf/tst-auditmod5b.c: Likewise.
36745         * elf/tst-auditmod6b.c: Likewise.
36746         * elf/tst-auditmod6c.c: Likewise.
36747         * elf/tst-auditmod7b.c: Likewise.
36748         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36749         * sysdeps/x86_64/preconfigure.in: Likewise.
36750         * sysdeps/x86_64/preconfigure: Regenerated.
36751
36752 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36753
36754         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36755         __ILP32__.
36756
36757 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36758
36759         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36760         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36761
36762 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36763
36764         [BZ #13973]
36765         * locale/iso-639.def: Fix gl language name. Spotted by
36766         Yaron Shahrabani.
36767
36768 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36769
36770         [BZ #2074]
36771         * libio/libio.h (__io_write_fn): Update comment.
36772
36773 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36774
36775         [BZ #2074]
36776         * stdio.texi (Hook Functions): The user provided writer function
36777         is not allowed to return -1.
36778
36779 2012-04-11  David S. Miller  <davem@davemloft.net>
36780
36781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36782
36783 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36784
36785         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36786         Add a leading slash to rtkaio.
36787
36788 2012-04-11  Jim Meyering  <meyering@redhat.com>
36789
36790         [BZ #11959]
36791         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36792         It is not necessarily an error to ignore fwrite's return
36793         value.  One can reliably use ferror to test for errors after
36794         the fact.
36795
36796 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36797
36798         * bits/types.h (__snseconds_t): New type.
36799         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36800
36801         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36802         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36803         (__SNSECONDS_T_TYPE): Likewise.
36804         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36805         (__SNSECONDS_T_TYPE): Likewise.
36806         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36807         (__SNSECONDS_T_TYPE): Likewise.
36808
36809 2012-04-10  Andreas Jaeger  <aj@suse.de>
36810
36811         [BZ #2636]
36812         * manual/time.texi (Processor Time): Return type of times is
36813         elapsed real time since an arbitrary point in the past.
36814         (CPU Time): Move CLK_TCK from here...
36815         (Processor Time): ...to here.  Correct description.
36816         * manual/conf.texi (Constants for Sysconf): Correct description of
36817         _SC_CLK_TCK.
36818
36819 2012-04-10  David S. Miller  <davem@davemloft.net>
36820
36821         [BZ #13967]
36822         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36823         where the is a gap between DT_REL(A) and DT_JMPREL.
36824
36825 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36826
36827         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36828         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36829         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36830
36831 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36832
36833         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36834         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36835         (dl_main): Handle --inhibit-cache.
36836         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36837         _dl_inhibit_cache.
36838         * elf/dl-load.c (_dl_map_object): Use it.
36839         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36840
36841 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36842
36843         [BZ #13872]
36844         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36845         (__ieee754_powl): Saturate large exponents rather than testing for
36846         overflow of y*log2(x).
36847         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36848         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36849         exceptions.
36850
36851         [BZ #11521]
36852         * math/s_ctan.c: Include <float.h>.
36853         (__ctan): Avoid internal overflow or cancellation in calculating
36854         denominator.
36855         * math/s_ctanf.c: Likewise.
36856         * math/s_ctanl.c: Likewise.
36857         * math/s_ctanh.c: Likewise.
36858         * math/s_ctanhf.c: Likewise.
36859         * math/s_ctanhl.c: Likewise.
36860         * math/libm-test.inc (ctan_test): Add more tests.
36861         (ctanh_test): Likewise.
36862         * sysdeps/i386/fpu/libm-test-ulps: Update.
36863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36864
36865 2012-04-09  Andreas Jaeger  <aj@suse.de>
36866
36867         [BZ #6894]
36868         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36869         is an optional BSD extension.
36870
36871         [BZ #10254]
36872         * manual/stdio.texi (Opening Streams): Document additional fopen
36873         parameters.
36874
36875 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36876
36877         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36878         %eax without telling the compiler.
36879
36880 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36881
36882         [BZ # 13963]
36883         * manual/install.texi: Use sourceware.org.
36884
36885 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36886
36887         [BZ #13873]
36888         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36889         (__ieee754_pow): Generate overflow and underflow using huge*huge
36890         and tiny*tiny rather than just returning constant infinity or zero
36891         for large exponents.
36892         * math/libm-test.inc (pow_test): Require overflow exceptions for
36893         applicable cases of large exponents.
36894
36895         [BZ #706]
36896         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36897         (__ieee754_pow): Use iterative multiplication algorithm only for
36898         integer exponents with absolute value below 1024.  Check for odd
36899         integer exponents when using algorithm for real exponents.
36900         * math/libm-test.inc (pow_test): Add more tests.
36901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36902
36903 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36904
36905         [BZ #13705]
36906         * math/libm-test.inc (exp_test): Do not allow overflow exception
36907         on underflow test.
36908
36909 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36910
36911         [BZ #13705]
36912         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36913         instead of __kernel_standard_f.
36914
36915 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36916
36917         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36918         * sysdeps/x86_64/memset_chk.S: Likewise.
36919
36920 2012-04-08  Andreas Jaeger  <aj@suse.de>
36921
36922         [BZ #10153]
36923         * manual/startup.texi (Environment Access): Describe return value
36924         for putenv and setenv.
36925
36926         [BZ #6895]
36927         * manual/filesys.texi (Directory Entries): Add description for
36928         DT_LNK.
36929
36930         [BZ #6890]
36931         * manual/filesys.texi (Directory Entries): Clarify that it's file
36932         system not operating system in the description of DT_UNKNOWN.
36933
36934         [BZ #6578]
36935         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36936
36937 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36938
36939         [BZ #6649]
36940         * manual/llio.texi (Opening and Closing Files): Add cross
36941         reference to explain mode argument.
36942
36943 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36944
36945         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36946         * sysdeps/x86_64/memset_chk.S: Likewise.
36947
36948 2012-04-07  David S. Miller  <davem@davemloft.net>
36949
36950         * elf/elf.h (R_SPARC_WDISP10): Define.
36951         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36952         R_SPARC_SIZE32.
36953         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36954         R_SPARC_SIZE64 and R_SPARC_H34.
36955
36956 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36957
36958         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36959         conditions and remove no longer applicable assertion.
36960
36961 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36962
36963         * bits/byteswap.h: Include <features.h>.
36964         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36965         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36966
36967 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36968
36969         * bits/byteswap.h (__bswap_16): Removed.
36970         Include <bits/byteswap-16.h> to get __bswap_16.
36971         * sysdeps/i386/bits/byteswap.h: Likewise.
36972         * sysdeps/s390/bits/byteswap.h: Likewise.
36973         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36974         * bits/byteswap-16.h: New file.
36975         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36976         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36977         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36978         * string/Makefile (headers): Add bits/byteswap-16.h.
36979
36980 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36981
36982         [BZ #13895]
36983         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36984         extra indirection.
36985         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36986         * nss/tst-nss-static.c: New.
36987
36988 2012-04-06  Robert Millan  <rmh@gnu.org>
36989
36990         [BZ #6486]
36991         * manual/llio.texi (File Position Primitive): lseek
36992         refers to WHENCE when it really means OFFSET.
36993
36994 2012-04-06  Andreas Jaeger  <aj@suse.de>
36995
36996         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36997         strncmp declarations.
36998
36999         * abilist/libc.abilist: Add __poll and __ppoll.
37000
37001 2012-04-05  David S. Miller  <davem@davemloft.net>
37002
37003         * scripts/check-local-headers.sh: Accept a host triplet in the
37004         path matched by the exclude regexp.
37005
37006         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37007         definition.
37008         * sysdeps/powerpc/powerpc32/dl-machine.h
37009         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37010         * sysdeps/s390/s390-32/dl-machine.h
37011         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37012         * sysdeps/sparc/sparc32/dl-machine.h
37013         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37014         * sysdeps/sparc/sparc64/dl-machine.h
37015         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37016
37017         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37018         lazy binding.
37019         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37020         undefined symbol errors.
37021
37022         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37023         DT_NEEDED entries.
37024
37025 2012-04-05  Michael Matz  <matz@suse.de>
37026
37027         [BZ #13592]
37028         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37029
37030 2012-04-05  Andreas Jaeger  <aj@suse.de>
37031
37032         [BZ #13908]
37033         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37034         comment.
37035
37036 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37037
37038         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37039         which ROUND is no valid rounding mode.
37040
37041 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37042
37043         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37044         read again.
37045         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37046
37047 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37048
37049         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37050         an exception using FPU order intentionally.
37051
37052 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37053
37054         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37055         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37056         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37057         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37058
37059 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37060
37061         [BZ #12340]
37062         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37063         EINVAL when BUFLEN is too smal.
37064
37065 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37066
37067         [BZ #13553]
37068         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37069         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37070
37071 2012-04-03  Andreas Jaeger  <aj@suse.de>
37072
37073         [BZ #13938]
37074         * manual/setjmp.texi (System V contexts): Fix sentence.
37075
37076         [BZ #13926]
37077         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37078         New macro for this case.
37079         [!__GNUC__] (__bswap_64): New inline function for this case.
37080         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37081         * bits/byteswap.h: Likewise.
37082         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37083         ull, guard with __GLIBC_HAVE_LONG_LONG.
37084
37085         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37086         __GLIBC_HAVE_LONG_LONG.
37087
37088         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37089         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37090
37091 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37092
37093         [BZ #13691]
37094         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37095         inptr and inend, rather than using last_ch.
37096
37097 2012-04-02  David S. Miller  <davem@davemloft.net>
37098
37099         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37100         * stdio-common/printf-parse.h (read_int): Change return type to
37101         'int', return -1 on INT_MAX overflow.
37102         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37103         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37104         overflows INT_MAX.  Check for overflow of in-format-string precision
37105         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37106         SIZE_MAX not INT_MAX for integer overflow test.
37107         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37108         skip the construct in the format string but do not record anything.
37109         * stdio-common/bug22.c: Adjust to test both width/prevision
37110         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37111         explicitly for proper errno values.
37112
37113 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37114
37115         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37116         CHAR_MAX.
37117         * string/test-strcmp.c [! WIDE]: Likewise.
37118         * time/tst-mktime2.c: Likewise for INT_MAX.
37119         * string/test-string.h: #include <sys/param.h> for MIN.
37120
37121         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37122         * sysdeps/i386/init-first.c (init): Likewise.
37123         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37124         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37125         * sysdeps/sh/init-first.c (init): Likewise.
37126
37127 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37128
37129         * po/ru.po: Update from translation team.
37130         * po/vi.po: Likewise.
37131
37132 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37133
37134         * resolv/nss_dns/dns-host.c: Merge copyright years.
37135
37136 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37137
37138         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37139         Optimize memcpy with prefetch if
37140         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37141         src, dst pointers have unequal 16 byte alignments.
37142
37143 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37144
37145         [BZ #13928]
37146         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37147         from a CNAME entry and return the minimum ttl for the query.
37148         (gaih_getanswer_slice): Likewise.
37149
37150 2012-03-30  Jeff Law  <law@redhat.com>
37151
37152         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37153         due to long keys.
37154         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37155         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37156
37157         * resolv/nss_dns/dns-host.c: Update copyright year.
37158
37159 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37160
37161         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37162         requests to save a system call.  Fix check that all bytes are sent.
37163
37164         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37165         comments for sendmmsg.
37166
37167 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37168
37169         [BZ #13691]
37170         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37171         with only 1 character between 0x0041 and 0x01b0.
37172         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37173         * wcsmbs/tst-mbsnrtowcs.c: New file.
37174
37175 2012-03-29  David S. Miller  <davem@davemloft.net>
37176
37177         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37178         small copies by hand.
37179
37180 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37181
37182         [BZ #13761]
37183         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37184         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37185         group memberships.
37186
37187 2012-03-28  David S. Miller  <davem@davemloft.net>
37188
37189         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37190         that branches into memcpy.
37191         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37192         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37193         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37194         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37195         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37196         bits.
37197         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37198         implementation too.
37199         * sysdeps/sparc/mempcpy.S: New file.
37200
37201         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37202         the IFUNC routine in the libc case.
37203         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37204
37205         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37206         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37207         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37208         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37209         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37210         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37211         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37212         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37213
37214         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37215         loop to 256 bytes instead of 64 bytes and fix test signedness.
37216
37217         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37218         * sysdeps/sparc/sparc32/Makefile: rather than here...
37219         * sysdeps/sparc/sparc64/Makefile: and here.
37220
37221 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37222
37223         * malloc/mallocbug.c: Avoid warnings about unused variables.
37224
37225 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37226
37227         [BZ #13760]
37228         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37229         in the right place. Discard and retry query if response is
37230         larger than input buffer size.
37231
37232 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37233
37234         [BZ #369]
37235         [BZ #2678]
37236         [BZ #3866]
37237         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37238         x for large integer exponent.
37239         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37240         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37241         sign of result as needed afterwards.
37242         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37243         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37244         result for underflowing pow the same as for overflow.
37245         (__kernel_standard_l): Handle powl overflow and underflow here
37246         rather than calling __kernel_standard.
37247         * math/libm-test.inc (pow_test): Add more tests.
37248
37249         [BZ #3868]
37250         [BZ #13879]
37251         [BZ #13910]
37252         [BZ #13911]
37253         [BZ #13912]
37254         [BZ #13913]
37255         [BZ #13915]
37256         [BZ #13916]
37257         [BZ #13917]
37258         [BZ #13918]
37259         [BZ #13919]
37260         [BZ #13920]
37261         [BZ #13921]
37262         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37263         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37264         (__kernel_standard_l): New function.
37265         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37266         __kernel_standard.
37267         * math/w_acosl.c (__acosl): Likewise.
37268         * math/w_asinl.c (__asinl): Likewise.
37269         * math/w_atan2l.c (__atan2l): Likewise.
37270         * math/w_atanhl.c (__atanhl): Likewise.
37271         * math/w_coshl.c (__coshl): Likewise.
37272         * math/w_exp10l.c (__exp10l): Likewise.
37273         * math/w_exp2l.c (__exp2l): Likewise.
37274         * math/w_fmodl.c (__fmodl): Likewise.
37275         * math/w_hypotl.c (__hypotl): Likewise.
37276         * math/w_j0l.c (__j0l, __y0l): Likewise.
37277         * math/w_j1l.c (__j1l, __y1l): Likewise.
37278         * math/w_jnl.c (__jnl, __ynl): Likewise.
37279         * math/w_lgammal.c (__lgammal): Likewise.
37280         * math/w_log10l.c (__log10l): Likewise.
37281         * math/w_log2l.c (__log2l): Likewise.
37282         * math/w_logl.c (__logl): Likewise.
37283         * math/w_powl.c (__powl): Likewise.
37284         * math/w_remainderl.c (__remainderl): Likewise.
37285         * math/w_scalbl.c (sysv_scalbl): Likewise.
37286         * math/w_sinhl.c (__sinhl): Likewise.
37287         * math/w_sqrtl.c (__sqrtl): Likewise.
37288         * math/w_tgammal.c (__tgammal): Likewise.
37289         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37290         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37291         * math/libm-test.inc (acos_test): Add more tests.
37292         (acosh_test): Likewise.
37293         (asin_test): Likewise.
37294         (atanh_test): Likewise.
37295         (exp_test): Likewise.
37296         (exp10_test): Likewise.
37297         (exp2_test): Likewise.
37298         (expm1_test): Likewise.
37299         (lgamma_test): Likewise.
37300         (log_test): Likewise.
37301         (log10_test): Likewise.
37302         (log1p_test): Likewise.
37303         (log2_test): Likewise.
37304         (pow_test): Do not allow some spurious overflow exceptions.
37305         (sqrt_test): Add more tests.
37306         (tgamma_test): Likewise.
37307         (y0_test): Likewise.
37308         (y1_test): Likewise.
37309         (yn_test): Likewise.
37310
37311 2012-03-27  Anton Blanchard  <anton@samba.org>
37312
37313         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37314         MAP_HUGETLB.
37315         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37316         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37317         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37318
37319 2012-03-27  David S. Miller  <davem@davemloft.net>
37320
37321         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37322
37323         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37324         have-as-vis3 check.
37325
37326 2012-03-27  Andreas Jaeger  <aj@suse.de>
37327
37328         * sysdeps/x86_64/elf/configure.in: Moved to ...
37329         * sysdeps/x86_64/configure.in: ... here.
37330         * sysdeps/x86_64/elf/start.S: Moved to ...
37331         * sysdeps/x86_64/start.S: ... here.
37332         * sysdeps/x86_64/elf/configure: Delete.
37333
37334         * sysdeps/x86_64/configure.in: Merge contents from
37335         sysdeps/i386/configure.in (without i686 check).
37336
37337         * sysdeps/i386/elf/Versions: Merge into ...
37338         * sysdeps/i386/Versions: ... this.
37339         * sysdeps/i386/elf/Versions: Delete file.
37340         * sysdeps/i386/elf/start.S: Moved to ...
37341         * sysdeps/i386/start.S: ...here.
37342         * sysdeps/i386/elf/configure.in: Merge into...
37343         * sysdeps/i386/configure.in: ...here.
37344         * sysdeps/i386/elf/configure.in: Delete file.
37345         * sysdeps/i386/elf/configure: Delete file.
37346
37347         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37348         * debug/backtracesyms.c: ... here.
37349         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37350         * debug/backtracesymsfd.c: ... here.
37351         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37352         * sysdeps/generic/ifunc-sel.h: ... here.
37353
37354         * sysdeps/unix/i386/start.c: Delete file.
37355         * sysdeps/unix/sparc/start.c: Delete file.
37356         * sysdeps/unix/start.c: Delete file.
37357
37358         * sysdeps/sh/elf/configure.in: Moved to ...
37359         * sysdeps/sh/configure.in: ... here.
37360         * sysdeps/sh/elf/start.S: Moved to ...
37361         * sysdeps/sh/start.S: ... here.
37362         * sysdeps/sh/elf/configure: Delete file.
37363
37364         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37365         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37366         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37367         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37368         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37369         * sysdeps/powerpc/powerpc64/start.S: here.
37370         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37371         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37372         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37373         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37374         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37375
37376         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37377         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37378         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37379         * sysdeps/powerpc/powerpc32/start.S: ... here.
37380         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37381         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37382         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37383
37384         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37385         * sysdeps/powerpc/ifunc-sel.h: ... here.
37386         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37387         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37388
37389         * sysdeps/sparc/elf/configure.in: Moved to ...
37390         * sysdeps/sparc/configure.in: ... here.
37391         * sysdeps/sparc/elf/configure: Delete file.
37392         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37393         * sysdeps/sparc/sparc32/start.S: ... here.
37394         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37395         * sysdeps/sparc/sparc64/start.S: ... here.
37396         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37397         * sysdeps/sparc/sparc32/Makefile: ... this.
37398         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37399         * sysdeps/sparc/sparc64/Makefile: ... this.
37400
37401         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37402         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37403         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37404         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37405         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37406         * sysdeps/s390/s390-32/setjmp.S: ... here.
37407         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37408         * sysdeps/s390/s390-32/configure.in: ... here.
37409         * sysdeps/s390/s390-32/elf/configure: Delete file.
37410         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37411         * sysdeps/s390/s390-32/start.S: ... here.
37412
37413         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37414         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37415         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37416         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37417         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37418         * sysdeps/s390/s390-64/setjmp.S: ... here.
37419         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37420         * sysdeps/s390/s390-64/configure.in: ... here
37421         * sysdeps/s390/s390-64/elf/configure: Delete file.
37422         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37423         * sysdeps/s390/s390-64/start.S: ... here.
37424         * sysdeps/s390/s390-64/elf/configure: Delete.
37425
37426         * configure.in: Remove support for elf directories in sysdeps.
37427
37428         * configure: Regenerated.
37429         * sysdeps/i386/configure: Regenerated.
37430         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37431         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37432         * sysdeps/s390/s390-32/configure: Regenerated.
37433         * sysdeps/s390/s390-64/configure: Regenerated.
37434         * sysdeps/sh/configure: Regenerated.
37435         * sysdeps/sparc/configure: Regenerated.
37436         * sysdeps/x86_64/configure: Regenerated.
37437
37438 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37439
37440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37441
37442         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37443         denormal result into account.
37444
37445 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37446
37447         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37448         Reported by Allan McRae <allan@archlinux.org>.
37449
37450 2012-03-23  Jeff Law  <law@redhat.com>
37451
37452         * nss/getnssent.c (__nss_getent): Fix typo.
37453
37454 2012-03-23  David S. Miller  <davem@davemloft.net>
37455
37456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37457
37458 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37459
37460         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37461         to pad to uint64_t for each field.
37462         (dl_tls_index): Replace unsigned long with uint64_t.
37463
37464 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37465         Paul Pluzhnikov  <ppluzhnikov@google.com>
37466
37467         [BZ #6528]
37468         * grp/Makefile (otherlibs): Don't set it.
37469         * inet/Makefile (otherlibs): Likewise.
37470         * login/Makefile (otherlibs): Likewise.
37471         * nscd/Makefile (otherlibs): Likewise.
37472         * posix/Makefile (otherlibs): Likewise.
37473         * pwd/Makefile (otherlibs): Likewise.
37474         * rt/Makefile (otherlibs): Likewise.
37475         * sunrpc/Makefile (otherlibs): Likewise.
37476         * nss/Makefile (otherlibs): Likewise.
37477         Add libnss_files to routines and static-only-routines.
37478         ($(objpfx)getent): Remove rule.
37479         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37480         static-only-routines.
37481
37482 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37483
37484         [BZ #13892]
37485         * math/s_cexp.c: Include <float.h>.
37486         (__cexp): Handle exp result overflowing not necessarily
37487         overflowing both real and imaginary parts of result.
37488         * math/s_cexpf.c: Likewise.
37489         * math/s_cexpl.c: Likewise.
37490         * math/libm-test.inc (cexp_test): Add more tests.
37491         * sysdeps/i386/fpu/libm-test-ulps: Update.
37492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37493
37494 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37495
37496         * include/link.h (ELFW): New macro.
37497         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37498         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37499
37500 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37501
37502         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37503         with uint64_t.
37504
37505 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37506
37507         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37508         declaration.
37509         (struct La_x32_retval): Likewise.
37510
37511 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37512
37513         * sysdeps/x86_64/preconfigure.in: New file.
37514         * sysdeps/x86_64/preconfigure: New generated file.
37515
37516 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37517
37518         [BZ #13824]
37519         * math/e_exp2l.c: Include <float.h>.
37520         (__ieee754_exp2l): Handle overflow and underflow cases
37521         separately.  Only pass fractional part of argument to
37522         __ieee754_expl.
37523         * math/libm-test.inc (exp2_test): Add more tests.
37524
37525         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37526         negating x to take absolute value.
37527         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37528         Likewise.
37529         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37530         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37531         Likewise.
37532         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37533         computing low part if x was negated.
37534         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37535
37536 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37537
37538         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37539         la_x32_gnu_pltexit.
37540         (pltexit): Cast int_retval to ptrdiff_t.
37541         * elf/tst-auditmod3b.c: Likewise.
37542         * elf/tst-auditmod4b.c: Likewise.
37543         * elf/tst-auditmod5b.c: Likewise.
37544         * elf/tst-auditmod6b.c: Likewise.
37545         * elf/tst-auditmod6c.c: Likewise.
37546         * elf/tst-auditmod7b.c: Likewise.
37547
37548         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37549         and x32_gnu_pltexit.
37550
37551         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37552         __ELF_NATIVE_CLASS.
37553         (La_x32_regs): New macro.
37554         (La_x32_retval): Likewise.
37555         (la_x32_gnu_pltenter): New function prototype.
37556         (la_x32_gnu_pltexit): Likewise.
37557
37558 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37559
37560         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37561         exponent.
37562
37563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37564
37565         * configure.in (libc_cv_cc_nofma): Check for option to disable
37566         generation of FMA instructions.
37567         * configure: Regenerate.
37568         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37569         * sysdeps/ieee754/dbl-64/Makefile: New file.
37570         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37571         Remove brandred-fma4.
37572         (CFLAGS-brandred-fma4.c): Remove.
37573         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37574         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37575         define.
37576         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37577         define.
37578
37579 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37580
37581         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37582         LLONG_MAX != LONG_MAX.
37583         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37584         (_fitoa_word): Likewise.
37585         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37586         LLONG_MAX != LONG_MAX.
37587         * stdio-common/_itowa.h: Include <_itoa.h>.
37588         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37589         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37590         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37591         only if not defined.
37592         (_ITOA_WORD_TYPE): Likewise.
37593         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37594         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37595
37596 2012-03-21  David S. Miller  <davem@davemloft.net>
37597
37598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37599
37600 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37601
37602         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37603         of x86_64 when setting libc_cv_slibdir, libdir and
37604         libc_cv_localedir.
37605         * sysdeps/unix/sysv/linux/configure: Regenerated.
37606
37607 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37608
37609         * manual/lang.texi (Old Varargs): Remove section.
37610         (How Variadic): Update menu.
37611         (va_start): Do not mention varargs.h.
37612
37613 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37614             Joseph Myers  <joseph@codesourcery.com>
37615
37616         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37617         link test.
37618         * configure: Regenerated.
37619
37620 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37621
37622         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37623         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37624         conformtest.pl
37625
37626 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37627
37628         * NOTES: Remove.
37629         * Makefile (files-for-dist): Remove NOTES.
37630         (NOTES): Remove rule.
37631         * README: Don't refer to NOTES.
37632         * manual/creature.texi: Don't include macros.texi.
37633         * manual/intro.texi (creature.texi): Remove comment referring to
37634         NOTES.
37635
37636         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37637         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37638         * configure: Regenerated.
37639         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37640         LIBC_TRY_CC_OPTION.
37641         (libc_cv_as_i686): Likewise.
37642         (libc_cv_cc_avx): Likewise.
37643         (libc_cv_cc_sse2avx): Likewise.
37644         (libc_cv_cc_fma4): Likewise.
37645         (libc_cv_cc_novzeroupper): Likewise.
37646         * sysdeps/i386/configure: Regenerated.
37647
37648         [BZ #13883]
37649         * sysdeps/i386/fpu/s_cexp.S: Remove.
37650         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37651         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37652         * math/libm-test.inc (cexp_test): Add more tests.
37653         * sysdeps/i386/fpu/libm-test-ulps: Update.
37654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37655
37656 2012-03-21  Allan McRae  <allan@archlinux.org>
37657
37658         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37659
37660 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37661
37662         [BZ #13871]
37663         * math/w_exp2.c: Do not include <float.h>.
37664         (o_threshold, u_threshold): Remove.
37665         (__exp2): Calculate result before checking finiteness and calling
37666         __kernel_standard.
37667         * math/w_exp2f.c: Likewise.
37668         * math/w_exp2l.c: Likewise.
37669         * math/libm-test.inc (exp2_test): Require overflow exception for
37670         1e6 input.
37671
37672         [BZ #3866]
37673         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37674         range of signed 64-bit integers before using fistpll.  Remove
37675         checks for whether integers fit in mantissa bits.
37676         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37677         the range of signed 32-bit integers before using fistpl.  Remove
37678         checks for whether integers fit in mantissa bits.
37679         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37680         (__ieee754_powl): Test for y outside the range of signed 64-bit
37681         integers before using fistpll.  Reduce 64-bit values to 63-bit
37682         ones as needed.
37683         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37684         divide-by-zero is raised for zero to large negative powers.
37685         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37686         (__ieee754_powl): Test for y outside the range of signed 64-bit
37687         integers before using fistpll.  Reduce 64-bit values to 63-bit
37688         ones as needed.
37689         * math/libm-test.inc (pow_test): Add more tests.
37690
37691 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37692
37693         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37694         <stdio-common/_itoa.h>.
37695         * debug/segfault.c: Likewise.
37696         * elf/dl-cache.c: Likewise.
37697         * elf/dl-minimal.c: Likewise.
37698         * elf/dl-misc.c: Likewise.
37699         * elf/dl-sysdep.c: Likewise.
37700         * elf/dl-version.c: Likewise.
37701         * elf/rtld.c: Likewise.
37702         * hurd/hurdsock.c: Likewise.
37703         * hurd/lookup-retry.c: Likewise.
37704         * malloc/malloc.c: Likewise.
37705         * malloc/mtrace.c: Likewise.
37706         * nscd/nscd_getgr_r.c: Likewise.
37707         * nscd/nscd_getpw_r.c: Likewise.
37708         * nscd/nscd_getserv_r.c: Likewise.
37709         * posix/getopt_init.c: Likewise.
37710         * posix/wordexp.c: Likewise.
37711         * stdio-common/_itoa.c: Likewise.
37712         * stdio-common/printf_fphex.c: Likewise.
37713         * stdio-common/vfprintf.c: Likewise.
37714         * string/_strerror.c: Likewise.
37715         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37716         * sysdeps/i386/i686/hp-timing.h: Likewise.
37717         * sysdeps/mach/_strerror.c: Likewise.
37718         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37719         * sysdeps/mach/hurd/sethostid.c: Likewise.
37720         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37721         * sysdeps/mach/xpg-strerror.c: Likewise.
37722         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37723         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37724         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37725         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37726         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37727         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37728         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37729         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37730         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37731         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37732         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37733         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37734         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37735         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37736         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37737         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37738         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37739         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37740         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37741         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37742         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37743
37744         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37745
37746         * stdio-common/_itoa.h: Moved to ...
37747         * sysdeps/generic/_itoa.h: Here.
37748
37749         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37750
37751         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37752         instead of "_itoa.h" and "_itowa.h".
37753         * stdio-common/vfprintf.: Likewise.
37754
37755 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37756
37757         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37758         <bits/wordsize.h>.
37759         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37760         (__signbit): Likwise.
37761         (llrintf): Likwise.
37762         (llrint): Likwise.
37763
37764 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37765
37766         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37767         __WORDSIZE != 64.
37768
37769 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37770
37771         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37772         OVERFLOW_EXCEPTION_OK.
37773         * math/libm-test.inc ("Philosophy"): Update comment about
37774         exception testing.
37775         (OVERFLOW_EXCEPTION): Define.
37776         (OVERFLOW_EXCEPTION_OK): Likewise.
37777         (INVALID_EXCEPTION_OK): Renumber.
37778         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37779         (IGNORE_ZERO_INF_SIGN): Likewise.
37780         (test_exceptions): Handle FE_OVERFLOW.
37781         (exp10_test): Expect overflow exceptions.
37782         (exp2_test): Likewise.
37783         (expm1_test): Likewise.
37784         (nextafter_test): Likewise.
37785         (pow_test): Likewise.
37786         (scalbn_test): Likewise.
37787         (scalbln_test): Likewise.
37788
37789 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37790
37791         * sysdeps/x86_64/bits/atomic.h
37792         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37793         64bit integer.
37794         (atomic_exchange_acq): Likewise.
37795         (__arch_exchange_and_add_body): Likewise.
37796         (__arch_add_body): Likewise.
37797         (atomic_add_negative): Likewise.
37798         (atomic_add_zero): Likewise.
37799
37800 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37801
37802         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37803         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37804
37805 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37806
37807         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37808         Check __x86_64__ instead of __WORDSIZE.
37809
37810 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37811
37812         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37813
37814 2012-03-19  David S. Miller  <davem@davemloft.net>
37815
37816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37817
37818         * sysdeps/sparc/fpu/fenv_private.h: New file.
37819         * sysdeps/sparc/fpu/math_private.h: Use it.
37820         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37821         Remove.
37822         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37823         (libc_feholdexcept_setroundl): Remove.
37824         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37825         Remove.
37826         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37827         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37828
37829 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37830
37831         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37832         int64_t instead of long int.
37833         (INSERT_WORDS64): Likwise.
37834
37835 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37836
37837         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37838         _Unwind_GetCFA return to _Unwind_Ptr first.
37839
37840 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37841
37842         [BZ #13629]
37843         * math/s_clog.c: Include <float.h>.
37844         (__clog): Scale large or subnormal inputs.
37845         * math/s_clogf.c: Likewise.
37846         * math/s_clogl.c: Likewise.
37847         * math/s_clog10.c: Include <float.h>.
37848         (M_LOG10_2): Define.
37849         (__clog10): Scale large or subnormal inputs.
37850         * math/s_clog10f.c: Likewise.
37851         * math/s_clog10l.c: Likewise.
37852         * math/libm-test.inc (clog_test): Add more tests.
37853         (clog10_test): Likewise.
37854         * sysdeps/i386/fpu/libm-test-ulps: Update.
37855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37856
37857         [BZ #11451]
37858         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37859         x and y.
37860         * math/libm-test.inc (atan2_test): Add another test.
37861
37862         * Makerules (common-objdir-compile): Remove.
37863         * sysdeps/unix/Makefile (config-generated): Do not add
37864         $(unix-generated) to variable.
37865         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37866         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37867         Remove rule.
37868         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37869         Likewise.
37870         [generic bits/local_lim.h] (before-compile): Do not append to
37871         variable.
37872         [generic bits/local_lim.h] (common-generated): Likewise.
37873         [generic sys/param.h] (before-compile): Do not append to variable.
37874         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37875         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37876         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37877         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37878         include.
37879         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37880         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37881         [generic sys/param.h] ($(addprefix
37882         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37883         [generic sys/param.h] (common-generated): Do not append to
37884         variable.
37885         [generic sys/param.h] (sysdep_headers): Likewise.
37886         [generic bits/errno.h] (before-compile): Do not append to
37887         variable.
37888         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37889         rule.
37890         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37891         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37892         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37893         [generic bits/errno.h] (common-generated): Do not append to
37894         variable.
37895         [generic bits/ioctls.h] (before-compile): Do not append to
37896         variable.
37897         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37898         rule.
37899         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37900         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37901         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37902         rule.
37903         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37904         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37905         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37906         [generic bits/ioctls.h] (common-generated): Do not append to
37907         variable.
37908         [generic sys/syscall.h] (syscall.h): Remove variable.
37909         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37910         rule.
37911         [generic sys/syscall.h] (before-compile): Do not append to
37912         variable.
37913         [generic sys/syscall.h] (common-generated): Likewise.
37914         * sysdeps/unix/errnos-tmpl.c: Remove file.
37915         * sysdeps/unix/errnos.awk: Likewise.
37916         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37917         * sysdeps/unix/ioctls.awk: Likewise.
37918         * sysdeps/unix/mk-local_lim.c: Likewise.
37919         * sysdeps/unix/snarf-ioctls: Likewise.
37920
37921 2012-03-19  Richard Henderson  <rth@twiddle.net>
37922
37923         * sysdeps/i386/fpu/fenv_private.h: New file.
37924         * sysdeps/i386/fpu/math_private.h: Use it.
37925         (math_opt_barrier, math_force_eval): Remove.
37926         (libc_feholdexcept_setround_53bit): Remove.
37927         (libc_feupdateenv_53bit): Remove.
37928         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37929         (math_opt_barrier, math_force_eval): Remove.
37930         (libc_feholdexcept): Remove.
37931         (libc_feholdexcept_setround): Remove.
37932         (libc_fetestexcept, libc_fesetenv): Remove.
37933         (libc_feupdateenv_test): Remove.
37934         (libc_feupdateenv, libc_feholdsetround): Remove.
37935         (libc_feresetround): Remove.
37936
37937         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37938         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37939
37940         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37941         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37942         (libc_feupdateenv_testl): New.
37943         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37944         (libc_feupdateenv_testf): New.
37945         (libc_feupdateenv): Use libc_feupdateenv_test.
37946         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37947         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37948
37949         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37950         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37951         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37952         (libc_feresetround_noex): New.
37953         (libc_feresetround_noexf): New.
37954         (libc_feresetround_noexl): New.
37955         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37956         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37957         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37958         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37959         SET_RESTORE_ROUND.
37960         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37961         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37962         (__cos): Likewise.
37963         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37964         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37965         SET_RESTORE_ROUND_NOEX.
37966         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37967         SET_RESTORE_ROUND_NOEXF.
37968         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37969         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37970         (libc_feholdsetroundf): New.
37971         (libc_feresetround, libc_feresetroundf): New.
37972
37973         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37974         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37975         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37976
37977         * sysdeps/generic/math_private.h: Include <fenv.h>.
37978         (default_libc_feholdexcept): New.
37979         (default_libc_feholdexcept_setround): New.
37980         (default_libc_fesetenv, default_libc_feupdateenv): New.
37981         (libc_feholdexcept): Only define if undefined.
37982         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37983         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37984         (libc_feholdexcept_setroundl): Likewise.
37985         (libc_feholdexcept_setround_53bit): Likewise.
37986         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37987         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37988         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37989         (libc_feupdateenv_53bit): Likewise.
37990         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37991         (libc_feholdexcept): Convert from macro to inline function.
37992         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37993         (libc_fesetenv, libc_feupdateenv): Likewise.
37994
37995         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37996         not previously defined.
37997         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37998         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37999         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38000         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38001         * sysdeps/ieee754/flt-32/math_private.h: New file.
38002         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38003         math_private.h below SET_FLOAT_WORD.
38004         (__isnan, __isinf_ns, __finite): Remove.
38005         (__isnanf, __isinf_nsf, __finitef): Remove.
38006
38007 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38008
38009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38010
38011 2012-03-17  David S. Miller  <davem@davemloft.net>
38012
38013         [BZ #6471]
38014         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38015         for 2.16.
38016
38017 2012-03-16  David S. Miller  <davem@davemloft.net>
38018
38019         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38020         warnings.
38021
38022         [BZ #6471]
38023         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38024         properly.
38025         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38026         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38027         sysdep_routines when subdir is sysvipc.
38028         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38029         __getshmlba helper.
38030
38031         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38032
38033 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38034
38035         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38036         [__LP64__].
38037
38038 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38039
38040         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38041         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38042         (__lround): Renamed to ...
38043         (__llround): This.  Replace long int with long long int.
38044         Define lround functions as aliases of llround functions.
38045         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38046
38047 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38048
38049         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38050         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38051         adresses to uintptr_t.  Replace "long int" and "unsigned long
38052         int" with "greg_t" on va_arg.
38053
38054 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38055
38056         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38057         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38058
38059         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38060         Move e_machine check before EI_CLASS check.  Handle x32
38061         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38062         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38063         SKIP_EM_IA_64 and include
38064         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38065
38066         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38067         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38068         (add_system_dir): New macro.
38069
38070         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38071         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38072
38073 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38074
38075         [BZ #2551]
38076         [BZ #2552]
38077         [BZ #2553]
38078         [BZ #2554]
38079         [BZ #2562]
38080         [BZ #2563]
38081         [BZ #2565]
38082         [BZ #2566]
38083         [BZ #2576]
38084         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38085         (y0): Likewise.
38086         * math/w_j0f.c (j0f): Likewise.
38087         (y0f): Likewise.
38088         * math/w_j0l.c (__j0l): Likewise.
38089         (__y0l): Likewise.
38090         * math/w_j1.c (j1): Likewise.
38091         (y1): Likewise.
38092         * math/w_j1f.c (j1f): Likewise.
38093         (y1f): Likewise.
38094         * math/w_j1l.c (__j1l): Likewise.
38095         (__y1l): Likewise.
38096         * math/w_jn.c (jn): Likewise.
38097         (yn): Likewise.
38098         * math/w_jnf.c (jnf): Likewise.
38099         (ynf): Likewise.
38100         * math/w_jnl.c (__jnl): Likewise.
38101         (__ynl): Likewise.
38102         * math/libm-test.inc (j0_test): Add more tests.
38103         (j1_test): Likewise.
38104         (jn_test): Likewise.  Add trailing semicolon to existing test.
38105         (y0_test): Likewise.
38106         (y1_test): Likewise.
38107         * sysdeps/i386/fpu/libm-test-ulps: Update.
38108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38109
38110         [BZ #13851]
38111         [BZ #13854]
38112         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38113         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38114         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38115         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38116         (__tanl): Set errno for infinite argument.
38117         * sysdeps/i386/fpu/mptan.c: Remove.
38118         * sysdeps/i386/fpu/s_tan.S: Likewise.
38119         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38120         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38121         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38122         * math/libm-test.inc (tan_test): Add more tests and enable more
38123         tests for double and long double.
38124         * sysdeps/i386/fpu/libm-test-ulps: Update.
38125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38126
38127 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38128
38129         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38130         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38131
38132 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38133
38134         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38135         * configure.in: Use it for both main tree and add-ons.
38136         * configure: Regenerated.
38137
38138 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38139
38140         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38141
38142 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38143
38144         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38145         in comment.
38146
38147         [BZ #13851]
38148         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38149         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38150         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38151         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38152         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38153         infinite argument.
38154         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38155         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38156         != 0 for prec == 2.
38157         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38158         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38159         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38160         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38161         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38162         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38163         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38164         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38165         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38166         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38167         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38168         * math/libm-test.inc (cos_test): Add more tests and enable more
38169         tests for long double.
38170         (sin_test): Likewise.
38171         (sincos_test): Likewise.
38172         * sysdeps/i386/fpu/libm-test-ulps: Update.
38173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38174
38175 2012-03-16  David S. Miller  <davem@davemloft.net>
38176
38177         * sysdeps/sparc/fpu/math_private.h: New file.
38178
38179 2012-03-15  David S. Miller  <davem@davemloft.net>
38180
38181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38182         file.
38183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38185         file.
38186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38187         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38188         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38191         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38192         sysdep routines.
38193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38194
38195         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38196         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38197
38198         * sysdeps/sparc/sparc-ifunc.h: New file.
38199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38200         sparc-ifunc.h
38201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38203         Likewise.
38204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38205         Likewise.
38206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38210         Likewise.
38211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38216         Likewise.
38217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38218         Likewise.
38219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38223         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38225         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38226         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38227         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38228         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38233         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38234         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38235         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38236         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38237         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38238         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38239         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38240         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38241         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38242         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38243
38244 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38245
38246         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38247         scaling.
38248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38249
38250 2012-03-15  Andreas Jaeger  <aj@suse.de>
38251
38252         [BZ #13852]
38253         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38254         ieee754/flt-32 implementation for sin, cos and sincos.
38255         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38256         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38257         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38258         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38259         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38260         ieee754/flt-32 implementation for tan.
38261
38262         * math/libm-test.inc (cos_test): Enable some large input tests for
38263         float as well
38264         (sin_test): Likewise.
38265         (sincos_test): Likewise.
38266         (tan_test): Add tests for large input.
38267
38268         * sysdeps/i386/fpu/libm-test-ulps: Update.
38269
38270 2012-03-15  Andreas Jaeger  <aj@suse.de>
38271
38272         [BZ #13658]
38273         * math/libm-test.inc (cos_test): Add more test cases.
38274         (sin_test): Likewise.
38275         (sincos_test): Likewise.
38276
38277 2012-03-15  Andreas Jaeger  <aj@suse.de>
38278
38279         [BZ #13837]
38280         * math/libm-test.inc (cos_test): Add a test case for large input
38281         value.
38282         (sin_test): Likewise.
38283         (sincos_test): Likewise.
38284
38285 2012-03-15  Andreas Jaeger  <aj@suse.de>
38286             Joseph Myers  <joseph@codesourcery.com>
38287
38288         [BZ #13658]
38289         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38290         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38291         * sysdeps/i386/fpu/branred.c: Likewise.
38292         * sysdeps/i386/fpu/dosincos.c: Likewise.
38293         * sysdeps/i386/fpu/mpa.c: Likewise.
38294         * sysdeps/i386/fpu/s_cos.S: Likewise.
38295         * sysdeps/i386/fpu/s_sin.S: Likewise.
38296         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38297         * sysdeps/i386/fpu/sincos32.c: Likewise.
38298
38299         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38300         Define.
38301         (libc_feupdateenv_53bit): Define.
38302         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38303         Define.
38304         (libc_feupdateenv_53bit): Define.
38305
38306         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38307         53 bit (without extend i386 double precision).
38308
38309         * math/libm-test.inc (sincos_test): Add tests for large input.
38310         (sin): Likewise.
38311         (cos): Likewise.
38312
38313         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38314
38315 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38316
38317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38318
38319 2012-03-15  David S. Miller  <davem@davemloft.net>
38320
38321         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38322         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38323         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38324         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38329         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38330         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38331         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38337         file.
38338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38340         file.
38341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38343         file.
38344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38346         file.
38347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38348         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38349         fmin/fmax sysdep routines.
38350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38351
38352 2012-03-14  David S. Miller  <davem@davemloft.net>
38353
38354         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38355         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38356         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38357         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38358         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38359         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38360         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38361         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38362         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38363         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38364         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38365         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38366         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38367         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38368         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38369         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38370         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38371         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38372         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38373         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38374         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38375         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38376         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38377         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38378         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38379         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38380         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38381         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38382         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38383         routines.
38384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38385         file.
38386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38388         file.
38389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38391         file.
38392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38394         file.
38395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38397         file.
38398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38400         file.
38401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38402         file.
38403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38404         file.
38405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38406         file.
38407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38408         New file.
38409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38410         file.
38411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38412         file.
38413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38415         file.
38416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38418         file.
38419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38421         file.
38422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38424         VIS3 routines.
38425
38426         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38427         New file.
38428
38429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38430
38431         * sysdeps/sparc/configure.in: New file.
38432         * sysdeps/sparc/configure: Generate.
38433         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38434         * configure: Regenerate.
38435         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38436         * config.make.in (have-as-vis3): New.
38437         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38438         available use -Av9d instead of -Av9a.
38439         * sysdeps/sparc/sparc64/Makefile: Likewise.
38440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38442         New file.
38443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38444         file.
38445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38446         New file.
38447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38448         file.
38449         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38450         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38451         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38452         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38453         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38454
38455         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38456         fzeros/fnegs to load 0x80000000 into a float register instead of
38457         using the stack.
38458         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38459
38460 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38461
38462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38463         bits/syscall.h.
38464         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38465         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38466         ($(inst_includedir)/bits/syscall.h): Remove rule.
38467         ($(objpfx)bits/syscall.d): Include instead of
38468         $(objpfx)syscall-list.d.
38469         (generated): Change syscall-list.h and syscall-list.d to
38470         bits/syscall.h and bits/syscall.d.
38471
38472 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38473
38474         [BZ #13846]
38475         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38476
38477 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38478
38479         [BZ #13841]
38480         * math/s_csqrt.c: Include <float.h>.
38481         (__csqrt): Scale large or subnormal inputs.
38482         * math/s_csqrtf.c: Likewise.
38483         * math/s_csqrtl.c: Likewise.
38484         * math/libm-test.inc (csqrt_test): Add more tests.
38485         * sysdeps/i386/fpu/libm-test-ulps: Update.
38486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38487
38488         [BZ #13840]
38489         * math/libm-test.inc (hypot_test): Add more tests.
38490
38491 2012-03-13  David S. Miller  <davem@davemloft.net>
38492
38493         [BZ #13840]
38494         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38495         double-precision for the calculation instead of scaling.
38496
38497 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38498
38499         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38500         manipulate bits before adding and subtracting TWO52[sx].
38501         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38502         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38503         Likewise.
38504         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38505
38506 2012-03-13  David S. Miller  <davem@davemloft.net>
38507
38508         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38509         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38510         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38511         rtld-global-offsets.h
38512         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38513
38514         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38515         large parameters.
38516
38517         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38518
38519         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38520         'err' in the ifdef scope in which it is actually used.
38521
38522         * nss/nss_db/db-init.c: Include string.h
38523
38524 2012-03-12  David S. Miller  <davem@davemloft.net>
38525
38526         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38527         masking out of the most significant byte of random value used.
38528         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38529         Fix coding style in previous change.
38530
38531         * sysdeps/unix/sysv/linux/kernel-features.h
38532         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38533         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38534         expression.
38535         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38536         later.
38537
38538 2012-03-11  David S. Miller  <davem@davemloft.net>
38539
38540         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38541         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38542         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38543         for 'resultvar' otherwise things get truncated on 64-bit.
38544
38545         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38546         Fix masking out of the most significant byte of random value used.
38547
38548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38549
38550 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38551
38552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38553
38554 2012-03-09  David S. Miller  <davem@davemloft.net>
38555
38556         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38557         variables with appropriate CPP guards.
38558         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38559         from the frame pointer, not the stack pointer.  Correct layout
38560         comments.  Fix test on resulting framesize and the management of
38561         the outregs buffer for pltexit.  Preserve floating point return
38562         values across _dl_call_pltexit call.
38563         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38564         framesize and the management of the outregs buffer for pltexit.
38565         Preserve floating point return values across _dl_call_pltexit
38566         call.
38567         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38568         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38569         (la_sparc64_gnu_pltexit): New functions.
38570         (print_exit): Fix format string for return register value.
38571
38572 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38573
38574         * sunrpc/Makefile (others): Add rpcgen.
38575         ($(objpfx)rpcgen): Remove special build rule and dependency on
38576         libc.
38577         * sunrpc/rpcgen.c: New file.
38578
38579 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38580
38581         [BZ #13673]
38582         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38583         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38584         * sysdeps/i386/crti.S: Likewise.
38585         * sysdeps/i386/crtn.S: Likewise.
38586         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38587         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38588         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38589         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38590         * sysdeps/sh/crti.S: Likewise.
38591         * sysdeps/sh/crtn.S: Likewise.
38592         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38593
38594         [BZ #13673]
38595         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38596         with URL.
38597         * locale/programs/locfile-kw.gperf: Likewise.
38598         * locale/programs/charmap-kw.h: Regenerated.
38599         * locale/programs/locfile-kw.h: Likewise.
38600
38601         [BZ #13673]
38602         * intl/plural.y: Replace FSF snail mail address with URL.
38603         * intl/plural.c: Regenerated.
38604
38605 2012-03-09  Richard Henderson  <rth@twiddle.net>
38606
38607         * include/math_private.h: Remove file.
38608         * math/math_private.h: Move file ...
38609         * sysdeps/generic/math_private.h: ... here.
38610
38611         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38612         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38613         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38614
38615         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38616         and <math_private.h>.
38617         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38618         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38619         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38620         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38621         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38622         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38623         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38624         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38625         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38626         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38627         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38628         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38629         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38630         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38631         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38632         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38633         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38634         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38635         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38636         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38637         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38638         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38639         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38640         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38641         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38642         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38643         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38644         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38645         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38646         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38647         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38648         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38649         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38650         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38651         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38652         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38653         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38654         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38655         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38656         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38657         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38658         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38659         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38660         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38661         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38662         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38663         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38664         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38665         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38666         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38667         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38668         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38669         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38670         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38671         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38672         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38673         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38674         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38675         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38676         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38677         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38678         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38679         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38680         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38681         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38682         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38683         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38684         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38685         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38686         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38687         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38688         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38689         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38690         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38691         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38692         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38693         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38694         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38695         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38696         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38697         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38698         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38699         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38700         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38701         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38702         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38703         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38704         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38705         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38706         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38707         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38708         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38709         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38710         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38711         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38712         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38713         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38714         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38715         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38716         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38717         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38718         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38719         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38720         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38721         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38722         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38723         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38724         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38725         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38726         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38727         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38728         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38729         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38730         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38731         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38732         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38733         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38734         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38735         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38736         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38737         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38738         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38739         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38740         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38741         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38742         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38743         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38744         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38745         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38746         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38747         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38748         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38749         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38750         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38751         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38752         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38753         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38754         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38755         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38756         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38757         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38758         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38759         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38760         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38761         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38762         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38763         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38764         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38765         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38766         * sysdeps/ieee754/k_standard.c: Likewise.
38767         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38768         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38769         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38770         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38771         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38772         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38773         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38774         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38775         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38776         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38777         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38778         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38779         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38780         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38781         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38782         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38783         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38784         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38785         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38786         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38787         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38788         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38789         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38790         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38791         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38792         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38793         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38794         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38795         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38796         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38797         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38798         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38799         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38800         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38801         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38802         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38803         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38804         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38805         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38806         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38807         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38808         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38809         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38810         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38811         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38812         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38813         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38814         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38815         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38816         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38817         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38818         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38819         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38820         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38821         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38822         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38823         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38824         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38825         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38826         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38827         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38828         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38829         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38830         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38831         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38832         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38833         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38834         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38835         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38836         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38837         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38838         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38839         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38840         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38841         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38842         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38843         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38844         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38845         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38846         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38847         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38848         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38849         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38850         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38851         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38852         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38853         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38854         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38855         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38856         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38857         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38858         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38859         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38860         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38861         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38862         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38863         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38864         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38865         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38866         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38867         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38868         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38869         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38870         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38871         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38872         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38873         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38874         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38875         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38876         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38877         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38878         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38879         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38880         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38881         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38882         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38883         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38884         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38885         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38886         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38887         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38888         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38889         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38890         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38891         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38892         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38893         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38894         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38895         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38896         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38897         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38898         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38899         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38900         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38901         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38902         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38903         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38904         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38905         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38906         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38907         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38908         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38909         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38910         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38911         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38912         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38913         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38914         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38915         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38916         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38917         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38918         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38919         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38920         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38921         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38922         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38923         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38924         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38925         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38926         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38927         * sysdeps/ieee754/s_lib_version.c: Likewise.
38928         * sysdeps/ieee754/s_matherr.c: Likewise.
38929         * sysdeps/ieee754/s_signgam.c: Likewise.
38930         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38931         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38932         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38933         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38934         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38935         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38936         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38937         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38938         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38939         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38940         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38941         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38942         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38943         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38944         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38945         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38946         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38947         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38948         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38949         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38950         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38951
38952 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38953
38954         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38955         * sunrpc/rpc_main.c: Likewise.
38956         * sunrpc/rpc_svcout.c: Likewise.
38957
38958 2012-03-09  David S. Miller  <davem@davemloft.net>
38959
38960         * include/math_private.h: New file.
38961
38962 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38963
38964         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38965         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38966         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38967         from <bits/socket_type.h>.
38968         (enum __socket_type): Don't define here.
38969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38970         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38971         bits/socket_type.h.
38972
38973         [BZ #13566]
38974         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38975         checking __USE_GNU.
38976
38977         * Makerules ($(inst_includedir)/%.h): New rule.
38978         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38979         (install-others): Remove variable setting.
38980         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38981
38982 2012-03-08  Richard Henderson  <rth@twiddle.net>
38983
38984         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38985         from macro to inline function; merge with the
38986         !__LIBC_INTERNAL_MATH_INLINES version.
38987         (__ieee754_sqrtf): Likewise.
38988
38989         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38990         to inline function.
38991         (__rintf, __floor, __floorf): Likewise.
38992
38993         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38994         macro to inline function.
38995         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38996
38997         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38998         not <math/math_private.h>.
38999
39000 2012-03-08  David S. Miller  <davem@davemloft.net>
39001
39002         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39003         copyright year.
39004         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39005
39006 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39007
39008         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39009         normalization.
39010         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39011         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39012
39013 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39014
39015         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39016         be defined individually, they must be defined as a block.  Define
39017         S for printing a string instead of hidint the different by using a
39018         macro for adding the 'l'.
39019         * stdio-common/tst-fphex-wide.c: Adjust.
39020
39021 2012-03-07  Marek Polacek  <polacek@redhat.com>
39022
39023         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39024
39025 2012-03-08  Marek Polacek  <polacek@redhat.com>
39026
39027         [BZ #13806]
39028         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39029         * stdio-common/tst-fphex.c: Define a few macros to make the
39030         test reusable.  Use them.
39031         * stdio-common/tst-fphex-wide.c: New file.
39032
39033 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39034
39035         [BZ #6911]
39036         * manual/macros.texi (gnusystems): New macro.
39037         (nongnusystems): Likewise.
39038         (gnulinuxhurdsystems): Likewise.
39039         (gnuhurdsystems): Likewise..
39040         (gnulinuxsystems): Likewise.
39041         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39042         variants of the GNU system, not "GNU system".
39043         * manual/conf.texi: Likewise.
39044         * manual/errno.texi: Likewise.  Update example of errno macro
39045         expansion.
39046         * manual/filesys.texi: Likewise.
39047         (getumask): Document as specific to GNU/Hurd.
39048         * manual/install.texi: Likewise.  Reword some references to
39049         GNU/Linux.
39050         * manual/intro.texi: Likewise.
39051         * manual/io.texi: Likewise.
39052         (File Name Portability): Detail which constraints are inapplicable
39053         to all GNU systems and which are only inapplicable to GNU/Hurd.
39054         * manual/job.texi: Likewise.
39055         * manual/llio.texi: Likewise.
39056         (O_NOCTTY): Document as present on GNU/Linux.
39057         * manual/maint.texi: Likewise.
39058         * manual/memory.texi: Likewise.
39059         * manual/pattern.texi: Likewise.
39060         * manual/pipe.texi: Likewise.
39061         * manual/process.texi: Likewise.
39062         * manual/resource.texi: Likewise.
39063         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39064         child on GNU/Hurd.
39065         * manual/setjmp.texi: Likewise.
39066         * manual/signal.texi: Likewise.
39067         * manual/startup.texi: Likewise.
39068         * manual/stdio.texi: Likewise.
39069         * manual/terminal.texi: Likewise.
39070         (ONLCR): Document as POSIX.
39071         (OXTABS): Document availability on GNU/Linux as XTABS.
39072         (ONOEOT): Document availability separately from other bits.
39073         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39074         * manual/time.texi: Likewise.
39075         * manual/users.texi: Likewise.
39076         * INSTALL: Regenerated.
39077         * sysdeps/gnu/errlist.c: Regenerated.
39078
39079         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39080         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39081         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39082         puts.
39083         * configure: Regenerated.
39084
39085 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39086
39087         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39088         default includes instead of AC_HEADER_CHECK.
39089         * sysdeps/i386/configure: Regenerated.
39090
39091         [BZ #10716]
39092         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39093         * math/s_cacoshf.c (__cacoshf): Likewise.
39094         * math/s_cacoshl.c (__cacoshl): Likewise.
39095         * math/s_casinh.c (__casinh): Set signs of result from argument.
39096         * math/s_casinhf.c (__casinhf): Likewise.
39097         * math/s_casinhl.c (__casinhl): Likewise.
39098         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39099         (casinh_test): Add more tests.
39100         * sysdeps/i386/fpu/libm-test-ulps: Update.
39101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39102
39103 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39104
39105         * po/zh_TW.po: Update from translation team.
39106
39107         * login/Makefile (distribute): Remove variable.
39108         * catgets/Makefile: Likewise.
39109         * mach/Makefile: Likewise.
39110         * malloc/Makefile: Likewise.
39111         * misc/Makefile: Likewise.
39112         * iconv/Makefile: Likewise.
39113         * nscd/Makefile: Likewise.
39114         * hurd/Makefile: Likewise.
39115         * manual/Makefile: Likewise.
39116         * locale/Makefile: Likewise.
39117         * intl/Makefile: Likewise.
39118         * conform/Makefile: Likewise.
39119         * nss/Makefile: Likewise.
39120         * time/Makefile: Likewise.
39121         * soft-fp/Makefile: Likewise.
39122         * dirent/Makefile: Likewise.
39123         * gmon/Makefile: Likewise.
39124         * po/Makefile: Likewise.
39125         * rt/Makefile: Likewise.
39126         * socket/Makefile: Likewise.
39127         * math/Makefile: Likewise.
39128         * signal/Makefile: Likewise.
39129         * debug/Makefile: Likewise.
39130         * elf/Makefile: Likewise.
39131         * timezone/Makefile: Likewise.
39132         * stdlib/Makefile: Likewise.
39133         * iconvdata/Makefile: Likewise.
39134         * sunrpc/Makefile: Likewise.
39135         * io/Makefile: Likewise.
39136         * argp/Makefile: Likewise.
39137         * inet/Makefile: Likewise.
39138         * hesiod/Makefile: Likewise.
39139         * grp/Makefile: Likewise.
39140         * csu/Makefile: Likewise.
39141         * wctype/Makefile: Likewise.
39142         * crypt/Makefile: Likewise.
39143         * libio/Makefile: Likewise.
39144         * string/Makefile: Likewise.
39145         * nis/Makefile: Likewise.
39146         * resolv/Makefile: Likewise.
39147         * stdio-common/Makefile: Likewise.
39148         * wcsmbs/Makefile: Likewise.
39149         * dlfcn/Makefile: Likewise.
39150         * posix/Makefile: Likewise.
39151
39152         [BZ #6959]
39153         * timezone/Makefile: Don't install timezone files, just the programs
39154         and scripts.
39155
39156 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39157
39158         * nss/databases.def: Add missing gshadow entry.
39159
39160         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39161
39162 2012-03-06  Marek Polacek  <polacek@redhat.com>
39163
39164         [BZ #13726]
39165         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39166         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39167         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39168         * stdio-common/tst-long-dbl-fphex.c: New file.
39169
39170 2012-03-06  David S. Miller  <davem@davemloft.net>
39171
39172         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39173         (set_obp_int): New function.
39174         (get_obp_int): New function.
39175         (__get_clockfreq_via_dev_openprom): Likewise.
39176         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39177         Avoid unused variable warnings on 'val' and use builtin_expect.
39178         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39179         __builtin_expect.
39180         (INLINE_CLONE_SYSCALL): Likewise.
39181
39182 2012-03-05  David S. Miller  <davem@davemloft.net>
39183
39184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39185
39186 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39187
39188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39189
39190         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39191         only for |x| >= 40.
39192         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39193
39194 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39195
39196         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39197         Replace gettimeofday with __vdso_gettimeofday.
39198
39199         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39200         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39201         __vdso_clock_gettime and __vdso_getcpu.
39202
39203         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39204         time with __vdso_time.
39205
39206 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39207
39208         * manual/lang.texi (size_t): Note types to which size_t may be
39209         equivalent with the GNU C Library, but do not describe when
39210         differences between them are significant.
39211
39212 2012-03-05  Andreas Jaeger  <aj@suse.de>
39213
39214         * sysdeps/i386/fpu/libm-test-ulps: Update.
39215
39216 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39217
39218         [BZ #3976]
39219         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39220         (__ieee754_pow): Save and restore rounding mode and use
39221         round-to-nearest for main computations.
39222         * math/libm-test.inc (pow_test_tonearest): New function.
39223         (pow_test_towardzero): Likewise.
39224         (pow_test_downward): Likewise.
39225         (pow_test_upward): Likewise.
39226         (main): Call the new functions.
39227         * sysdeps/i386/fpu/libm-test-ulps: Update.
39228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39229
39230         [BZ #3976]
39231         * math/libm-test.inc (cosh_test_tonearest): New function.
39232         (cosh_test_towardzero): Likewise.
39233         (cosh_test_downward): Likewise.
39234         (cosh_test_upward): Likewise.
39235         (sinh_test_tonearest): Likewise.
39236         (sinh_test_towardzero): Likewise.
39237         (sinh_test_downward): Likewise.
39238         (sinh_test_upward): Likewise.
39239         (main): Call the new functions.
39240         * sysdeps/i386/fpu/libm-test-ulps: Update.
39241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39242
39243 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39244
39245         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39246         default stack guard is set in last bytes.
39247         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39248
39249 2012-03-05  Kees Cook  <keescook@chromium.org>
39250
39251         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39252
39253         [BZ #13656]
39254         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39255         possibly allocate from heap instead of stack.
39256         * stdio-common/bug-vfprintf-nargs.c: New file.
39257         * stdio-common/Makefile (tests): Add nargs overflow test.
39258
39259 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39260
39261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39262
39263 2012-03-03  Marek Polacek  <polacek@redhat.com>
39264
39265         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39266         * math/math_private.h: Likewise.
39267         * stdlib/tst-strtod.c: Likewise.
39268         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39269         * sysdeps/x86_64/bits/atomic.h: Likewise.
39270
39271 2012-03-02  David S. Miller  <davem@davemloft.net>
39272
39273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39277         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39278         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39279         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39280         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39281
39282 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39283
39284         [BZ #13792]
39285         * manual/examples/README: New file, says the example source files
39286         can be used under GPL>=2.
39287         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39288         line containing just "*/".
39289         * manual/examples/add.c: Add copyright header (GPL>=2).
39290         * manual/examples/argp-ex1.c: Likewise.
39291         * manual/examples/argp-ex2.c: Likewise.
39292         * manual/examples/argp-ex3.c: Likewise.
39293         * manual/examples/argp-ex4.c: Likewise.
39294         * manual/examples/atexit.c: Likewise.
39295         * manual/examples/db.c: Likewise.
39296         * manual/examples/dir.c: Likewise.
39297         * manual/examples/dir2.c: Likewise.
39298         * manual/examples/execinfo.c: Likewise.
39299         * manual/examples/filecli.c: Likewise.
39300         * manual/examples/filesrv.c: Likewise.
39301         * manual/examples/fmtmsgexpl.c: Likewise.
39302         * manual/examples/genpass.c: Likewise.
39303         * manual/examples/inetcli.c: Likewise.
39304         * manual/examples/inetsrv.c: Likewise.
39305         * manual/examples/isockad.c: Likewise.
39306         * manual/examples/longopt.c: Likewise.
39307         * manual/examples/memopen.c: Likewise.
39308         * manual/examples/memstrm.c: Likewise.
39309         * manual/examples/mkfsock.c: Likewise.
39310         * manual/examples/mkisock.c: Likewise.
39311         * manual/examples/mygetpass.c: Likewise.
39312         * manual/examples/pipe.c: Likewise.
39313         * manual/examples/popen.c: Likewise.
39314         * manual/examples/rprintf.c: Likewise.
39315         * manual/examples/search.c: Likewise.
39316         * manual/examples/select.c: Likewise.
39317         * manual/examples/setjmp.c: Likewise.
39318         * manual/examples/sigh1.c: Likewise.
39319         * manual/examples/sigusr.c: Likewise.
39320         * manual/examples/stpcpy.c: Likewise.
39321         * manual/examples/strdupa.c: Likewise.
39322         * manual/examples/strftim.c: Likewise.
39323         * manual/examples/strncat.c: Likewise.
39324         * manual/examples/subopt.c: Likewise.
39325         * manual/examples/swapcontext.c: Likewise.
39326         * manual/examples/termios.c: Likewise.
39327         * manual/examples/testopt.c: Likewise.
39328         * manual/examples/testpass.c: Likewise.
39329         * manual/examples/timeval_subtract.c: Likewise.
39330
39331         [BZ #13792]
39332         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39333         function to ...
39334         * manual/timeval_subtract.c.texi: ... here, new file.
39335
39336 2012-03-02  David S. Miller  <davem@davemloft.net>
39337
39338         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39339
39340 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39341
39342         [BZ #3976]
39343         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39344         (__sin): Save and restore rounding mode and use round-to-nearest
39345         for all computations.
39346         (__cos): Save and restore rounding mode and use round-to-nearest
39347         for all computations.
39348         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39349         <fenv.h>.
39350         (tan): Save and restore rounding mode and use round-to-nearest for
39351         all computations.
39352         * math/libm-test.inc (cos_test_tonearest): New function.
39353         (cos_test_towardzero): Likewise.
39354         (cos_test_downward): Likewise.
39355         (cos_test_upward): Likewise.
39356         (sin_test_tonearest): Likewise.
39357         (sin_test_towardzero): Likewise.
39358         (sin_test_downward): Likewise.
39359         (sin_test_upward): Likewise.
39360         (tan_test_tonearest): Likewise.
39361         (tan_test_towardzero): Likewise.
39362         (tan_test_downward): Likewise.
39363         (tan_test_upward): Likewise.
39364         (main): Call the new functions.
39365         * sysdeps/i386/fpu/libm-test-ulps: Update.
39366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39367
39368         [BZ #10135]
39369         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39370         small n, then large n, before computing and testing k+n.
39371         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39372         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39373         Likewise.
39374         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39375         Likewise.
39376         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39377         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39378         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39379         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39380         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39381         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39382         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39383         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39384         * math/libm-test.inc (scalbn_test): Add more tests.
39385         (scalbln_test): Likewise.
39386
39387         * manual/filesys.texi (mode_t): Describe constraints on size and
39388         signedness, not exact equivalence to a particular type.
39389         (ino_t): Likewise.
39390         (ino64_t): Likewise.
39391         (dev_t): Likewise.
39392         (nlink_t): Likewise.
39393         (blkcnt_t): Likewise.
39394         (blkcnt64_t): Likewise.
39395         * manual/llio.texi (off_t): Likewise.
39396
39397         [BZ #3976]
39398         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39399         (__ieee754_exp): Save and restore rounding mode and use
39400         round-to-nearest for all computations.
39401         * math/libm-test.inc (exp_test_tonearest): New function.
39402         (exp_test_towardzero): Likewise.
39403         (exp_test_downward): Likewise.
39404         (exp_test_upward): Likewise.
39405         (main): Call the new functions.
39406         * sysdeps/i386/fpu/libm-test-ulps: Update.
39407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39408
39409 2012-03-01  Chris Demetriou  <cgd@google.com>
39410
39411         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39412         have predictable order.
39413
39414 2012-03-01  David S. Miller  <davem@davemloft.net>
39415
39416         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39417
39418         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39419         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39420         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39421         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39422
39423         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39424         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39425         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39427         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39428         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39429         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39430         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39431         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39432
39433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39434
39435         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39436         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39437         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39438
39439         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39440         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39441         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39442         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39443         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39444         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39445         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39446         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39447         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39448         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39449         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39450         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39451         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39452         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39453         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39454         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39455         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39456         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39457         * sysdeps/sparc/elf/configure: Regenerated.
39458
39459 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39460
39461         * configure.in (AS, LD): Require binutils 2.20 or later.
39462         * configure: Regenerated.
39463         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39464         as required minimum version.
39465         * INSTALL: Regenerated.
39466
39467         [BZ #2541]
39468         [BZ #4108]
39469         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39470         before squaring exponent.
39471         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39472         bottom long double and 27 bits of top long double before squaring
39473         exponent.
39474         * math/libm-test.inc (erfc_test): Add more tests.
39475         * sysdeps/i386/fpu/libm-test-ulps: Update.
39476         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39478
39479 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39480
39481         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39482         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39483         containing bit-fields.
39484         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39485         * soft-fp/single.h (_FP_UNION_S): Likewise.
39486         * soft-fp/double.h (_FP_UNION_D): Likewise.
39487
39488 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39489
39490         [BZ #13786]
39491         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39492         not include ../strcmp.S.
39493         [USE_AS_STRNCASECMP_L]: Likewise.
39494         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39495         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39496         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39497         (__strncasecmp_l_ia32): Define as alias to
39498         __strncasecmp_l_nonascii.
39499
39500         [BZ #5794]
39501         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39502         * sysdeps/i386/fpu/libm-test-ulps: Update.
39503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39504
39505         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39507
39508 2012-02-29  Jeff Law  <law@redhat.com>
39509
39510         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39511         out of bounds read.
39512
39513 2012-02-29  Marek Polacek  <polacek@redhat.com>
39514
39515         [BZ #13706]
39516         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39517         * elf/Makefile: Add rules to run tst-unused-dep.out.
39518
39519 2012-02-28  David S. Miller  <davem@davemloft.net>
39520
39521         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39522         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39523         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39524         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39525         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39526         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39527
39528 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39529
39530         * math/libm-test.inc (llround_test): Move one test from
39531         lround_test.  Use TEST_f_L in moved test.
39532         (lround_test): Move misplaced test to llround_test.  Add testcase
39533         from bug 2561.
39534
39535 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39536
39537         * sysdeps/x86_64/fpu/e_expf.S: New file.
39538         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39539
39540 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39541
39542         [BZ #13637]
39543         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39544         of remain_len that may cause incomplete multi-byte character and
39545         false match.
39546         * posix/bug-regex33.c: New file.
39547         * posix/Makefile (tests): Add bug-regex33.
39548
39549 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39550
39551         * manual/macros.texi: New file.
39552         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39553         * manual/libc.texinfo: Include macros.texi.
39554         * manual/creatute.texi: Likewise.
39555         * manual/install.texi: Likewise.
39556         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39557         @glibcadj{} in references to the GNU C Library.
39558         * manual/charset.texi: Likewise.
39559         * manual/conf.texi: Likewise.
39560         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39561         when not using those macros.
39562         * manual/creature.texi: Likewise.
39563         * manual/crypt.texi: Likewise.
39564         * manual/errno.texi: Likewise.
39565         * manual/filesys.texi: Likewise.
39566         * manual/header.texi: Likewise.
39567         * manual/install.texi: Likewise.
39568         * manual/intro.texi: Likewise.
39569         * manual/io.texi: Likewise.
39570         * manual/job.texi: Likewise.
39571         * manual/lang.texi: Likewise.
39572         * manual/libc.texiinfo: Likewise.
39573         * manual/llio.texi: Likewise.
39574         * manual/locale.texi: Likewise.
39575         * manual/maint.texi: Likewise.
39576         * manual/math.texi: Likewise.
39577         * manual/memory.texi: Likewise.
39578         * manual/message.texi: Likewise.
39579         * manual/nss.texi: Likewise.
39580         * manual/pattern.texi: Likewise.
39581         * manual/process.texi: Likewise.
39582         * manual/resource.texi: Likewise.
39583         * manual/search.texi: Likewise.
39584         * manual/setjmp.texi: Likewise.
39585         * manual/signal.texi: Likewise.
39586         * manual/socket.texi: Likewise.
39587         * manual/startup.texi: Likewise.
39588         * manual/stdio.texi: Likewise.
39589         * manual/string.texi: Likewise.
39590         * manual/sysinfo.texi: Likewise.
39591         * manual/syslog.texi: Likewise.
39592         * manual/terminal.texi: Likewise.
39593         * manual/time.texi: Likewise.
39594         * manual/users.texi: Likewise.
39595         * INSTALL: Regenerated.
39596         * NOTES: Regenerated.
39597         * sysdeps/gnu/errlist.c: Regenerated.
39598
39599 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39600
39601         * include/dirent.h: Include <dirstream.h> before
39602         <dirent/dirent.h>.
39603
39604 2012-02-28  David S. Miller  <davem@davemloft.net>
39605
39606         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39607         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39608         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39609         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39610
39611 2012-02-27  David S. Miller  <davem@davemloft.net>
39612
39613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39615         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39616         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39617
39618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39619         frame pointer instead of stack pointer relative arg slot.
39620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39621         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39622         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39623
39624 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39625
39626         [BZ #3992]
39627         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39628
39629 2012-02-27  David S. Miller  <davem@davemloft.net>
39630
39631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39635         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39636         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39637         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39638         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39639
39640 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39641
39642         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39643         later.  Allow versions 5-9.
39644         * configure: Regenerated.
39645         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39646         required minimum version and 4.6 as recommended version.  Do not
39647         mention bugs in GCC 2.7 and 2.8.
39648         * INSTALL: Regenerated.
39649
39650 2012-02-27  David S. Miller  <davem@davemloft.net>
39651
39652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39656         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39657         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39658         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39659         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39660
39661         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39662         manipulate bits before adding and subtracting TWO112[sx].
39663         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39664
39665 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39666
39667         [BZ #13775]
39668         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39669         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39670         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39671         being in POSIX, because they are in 1003.1-2008.
39672
39673         * rt/tst-aio.c: Include <fcntl.h>.
39674         * rt/tst-aio7.c: Likewise.
39675         * rt/tst-aio64.c: Likewise.
39676
39677         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39678
39679 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39680
39681         * manual/install.texi (--with-headers): Describe headers as
39682         interface headers, not private headers.
39683         (Specific advice for GNU/Linux systems): Describe use of headers
39684         from "make headers_install", not private headers from older
39685         kernels.
39686         * INSTALL: Regenerated.
39687         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39688         Change to 2.6.19.
39689         * sysdeps/unix/sysv/linux/configure: Regenerated.
39690
39691         * manual/llio.texi (fclean): Remove documentation.
39692
39693         * manual/Makefile (libc-texi-generated): New variable.  Include
39694         version.texi.
39695         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39696         $(libc-texi-generated), not duplicated list of files.
39697         (version.texi, stamp-version): New rules.
39698         (realclean): Remove $(libc-texi-generated), not individual files
39699         from that list.  Do not remove dir-add.texinfo.
39700         * manual/libc.texinfo: Comment out uses of edition numbers and
39701         references to printed manual.  Remove last-updated dates.
39702         (EDITION): Comment out.
39703         (ISBN): Likewise.
39704         (VERSION, UPDATED): Remove.
39705         (version.texi): Include.
39706
39707 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39708
39709         * sysdeps/posix/spawni.c: Include <signal.h>.
39710         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39711         * sysdeps/pthread/aio_fsync.c: Likewise.
39712
39713 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39714
39715         * conform/Makefile (tests): Run only when not cross-compiling and
39716         when fast-check is not defined.
39717
39718         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39719         * conform/data/limits.h-data: Fixes for POSIX2008.
39720         * conform/run-conformtest.sh: Run all tests.
39721         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39722         headers.
39723         * include/bits/dlfcn.h: Likewise.
39724         * include/langinfo.h: Likewise.
39725         * include/monetary.h: Likewise.
39726         * include/sys/poll.h: Likewise.
39727
39728         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39729         for __USE_GNU.
39730         * posix/spawn.h: Define __need_sigset_t.
39731         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39732         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39733         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39734         to get sigevent_t only.
39735         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39736         only for __USE_GNU.
39737         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39738         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39739         process_vm_writev only for __USE_GNU.
39740         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39741
39742         * conform/Makefile: For now ignore errors from run-conformtest.
39743         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39744         POSIX to avoid namespace pollution.  Don't prepend headers.
39745         * conform/data/aio.h-data: Fixes for POSIX testing.
39746         * conform/data/fcntl.h-data: Likewise.
39747         * conform/data/glob.h-data: Likewise.
39748         * conform/data/grp.h-data: Likewise.
39749         * conform/data/pthread.h-data: Likewise.
39750         * conform/data/pwd.h-data: Likewise.
39751         * conform/data/signal.h-data: Likewise.
39752         * conform/data/spawn.h-data: Likewise.
39753         * conform/data/stdio.h-data: Likewise.
39754         * conform/data/stdlib.h-data: Likewise.
39755         * conform/data/stropts.h-data: Likewise.
39756         * conform/data/sys/mman.h-data: Likewise.
39757         * conform/data/sys/stat.h-data: Likewise.
39758         * conform/data/sys/types.h-data: Likewise.
39759         * conform/data/sys/wait.h-data: Likewise.
39760         * conform/data/time.h-data: Likewise.
39761         * conform/data/unistd.h-data: Likewise.
39762         * conform/data/utime.h-data: Likewise.
39763
39764         * io/sys/stat.h: fchmod was always in POSIX.
39765         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39766         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39767         * rt/aio.h: Define __need_timespec before including <time.h>.
39768         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39769         struct.  Add forward declaration of pthread_attr_t and use it in
39770         sigevent.
39771         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39772         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39773         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39774         always remove CLK_TCK definition.
39775
39776 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39777
39778         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39779
39780 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39781
39782         * conform/run-conformtest.sh: New file.
39783         * conform/Makefile: Run run-conformtest for tests.
39784         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39785         support.
39786
39787         * conform/data/uchar.h-data: New file.
39788         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39789         * conform/data/arpa/inet.h-data: Likewise.
39790         * conform/data/assert.h-data: Likewise.
39791         * conform/data/complex.h-data: Likewise.
39792         * conform/data/cpio.h-data: Likewise.
39793         * conform/data/ctype.h-data: Likewise.
39794         * conform/data/dirent.h-data: Likewise.
39795         * conform/data/dlfcn.h-data: Likewise.
39796         * conform/data/errno.h-data: Likewise.
39797         * conform/data/fcntl.h-data: Likewise.
39798         * conform/data/float.h-data: Likewise.
39799         * conform/data/fmtmsg.h-data: Likewise.
39800         * conform/data/fnmatch.h-data: Likewise.
39801         * conform/data/ftw.h-data: Likewise.
39802         * conform/data/glob.h-data: Likewise.
39803         * conform/data/grp.h-data: Likewise.
39804         * conform/data/iconv.h-data: Likewise.
39805         * conform/data/inttypes.h-data: Likewise.
39806         * conform/data/langinfo.h-data: Likewise.
39807         * conform/data/libgen.h-data: Likewise.
39808         * conform/data/limits.h-data: Likewise.
39809         * conform/data/locale.h-data: Likewise.
39810         * conform/data/math.h-data: Likewise.
39811         * conform/data/monetary.h-data: Likewise.
39812         * conform/data/mqueue.h-data: Likewise.
39813         * conform/data/ndbm.h-data: Likewise.
39814         * conform/data/net/if.h-data: Likewise.
39815         * conform/data/netdb.h-data: Likewise.
39816         * conform/data/netinet/in.h-data: Likewise.
39817         * conform/data/nl_types.h-data: Likewise.
39818         * conform/data/poll.h-data: Likewise.
39819         * conform/data/pthread.h-data: Likewise.
39820         * conform/data/pwd.h-data: Likewise.
39821         * conform/data/regex.h-data: Likewise.
39822         * conform/data/sched.h-data: Likewise.
39823         * conform/data/search.h-data: Likewise.
39824         * conform/data/semaphore.h-data: Likewise.
39825         * conform/data/setjmp.h-data: Likewise.
39826         * conform/data/signal.h-data: Likewise.
39827         * conform/data/spawn.h-data: Likewise.
39828         * conform/data/stdarg.h-data: Likewise.
39829         * conform/data/stdio.h-data: Likewise.
39830         * conform/data/stdlib.h-data: Likewise.
39831         * conform/data/string.h-data: Likewise.
39832         * conform/data/strings.h-data: Likewise.
39833         * conform/data/stropts.h-data: Likewise.
39834         * conform/data/sys/ipc.h-data: Likewise.
39835         * conform/data/sys/mman.h-data: Likewise.
39836         * conform/data/sys/msg.h-data: Likewise.
39837         * conform/data/sys/resource.h-data: Likewise.
39838         * conform/data/sys/select.h-data: Likewise.
39839         * conform/data/sys/sem.h-data: Likewise.
39840         * conform/data/sys/shm.h-data: Likewise.
39841         * conform/data/sys/socket.h-data: Likewise.
39842         * conform/data/sys/stat.h-data: Likewise.
39843         * conform/data/sys/statvfs.h-data: Likewise.
39844         * conform/data/sys/time.h-data: Likewise.
39845         * conform/data/sys/timeb.h-data: Likewise.
39846         * conform/data/sys/times.h-data: Likewise.
39847         * conform/data/sys/types.h-data: Likewise.
39848         * conform/data/sys/uio.h-data: Likewise.
39849         * conform/data/sys/un.h-data: Likewise.
39850         * conform/data/sys/utsname.h-data: Likewise.
39851         * conform/data/sys/wait.h-data: Likewise.
39852         * conform/data/syslog.h-data: Likewise.
39853         * conform/data/tar.h-data: Likewise.
39854         * conform/data/termios.h-data: Likewise.
39855         * conform/data/utime.h-data: Likewise.
39856         * conform/data/utmpx.h-data: Likewise.
39857         * conform/data/varargs.h-data: Likewise.
39858         * conform/data/wchar.h-data: Likewise.
39859         * conform/data/wctype.h-data: Likewise.
39860         * conform/data/wordexp.h-data: Likewise.
39861
39862         * include/stropts.h: New file.
39863         * include/uchar.h: New file.
39864         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39865         * include/assert.h: Likewise.
39866         * include/ctype.h: Likewise.
39867         * include/dirent.h: Likewise.
39868         * include/dlfcn.h: Likewise.
39869         * include/fcntl.h: Likewise.
39870         * include/fnmatch.h: Likewise.
39871         * include/glob.h: Likewise.
39872         * include/grp.h: Likewise.
39873         * include/libio.h: Likewise.
39874         * include/locale.h: Likewise.
39875         * include/math.h: Likewise.
39876         * include/net/if.h: Likewise.
39877         * include/netdb.h: Likewise.
39878         * include/netinet/in.h: Likewise.
39879         * include/pthread.h: Likewise.
39880         * include/pwd.h: Likewise.
39881         * include/regex.h: Likewise.
39882         * include/sched.h: Likewise.
39883         * include/search.h: Likewise.
39884         * include/setjmp.h: Likewise.
39885         * include/signal.h: Likewise.
39886         * include/stdio.h: Likewise.
39887         * include/stdlib.h: Likewise.
39888         * include/string.h: Likewise.
39889         * include/sys/cdefs.h: Likewise.
39890         * include/sys/mman.h: Likewise.
39891         * include/sys/msg.h: Likewise.
39892         * include/sys/resource.h: Likewise.
39893         * include/sys/select.h: Likewise.
39894         * include/sys/socket.h: Likewise.
39895         * include/sys/stat.h: Likewise.
39896         * include/sys/statvfs.h: Likewise.
39897         * include/sys/time.h: Likewise.
39898         * include/sys/times.h: Likewise.
39899         * include/sys/uio.h: Likewise.
39900         * include/sys/utsname.h: Likewise.
39901         * include/sys/wait.h: Likewise.
39902         * include/termios.h: Likewise.
39903         * include/time.h: Likewise.
39904         * include/ulimit.h: Likewise.
39905         * include/unistd.h: Likewise.
39906         * include/utime.h: Likewise.
39907         * include/wchar.h: Likewise.
39908         * include/wctype.h: Likewise.
39909         * include/wordexp.h: Likewise.
39910
39911         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39912
39913         * time/time.h: TIME_UTC must be a macro.
39914         Make timespec_get available for ISO C11 only as well.
39915
39916 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39917
39918         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39919         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39920
39921 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39922
39923         * configure.in: Use -o not -a in test for unsupported multi-arch.
39924
39925 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39926
39927         * manual/texinfo.tex: Update to version 2012-01-19.16.
39928
39929 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39930
39931         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39932
39933 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39934
39935         [BZ #13738]
39936         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39937         * manual/fdl-1.3.texi: New file.
39938         * manual/fdl-1.1.texi: File removed.
39939
39940         [BZ #13738]
39941         * manual/libc.texinfo (FDL_VERSION): New @set.
39942         Use it for mention of FDL in cover text.
39943         (Documentation License): Use it in @include file name.
39944
39945 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39946             Roland McGrath  <roland@hack.frob.com>
39947
39948         [BZ #5461]
39949         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39950         (not LONG_LONG_MAX and LONG_LONG_MIN.
39951         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39952         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39953         name.
39954         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39955
39956 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39957
39958         [BZ #2547]
39959         [BZ #11365]
39960         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39961         manipulate bits before adding and subtracting TWO23[sx].
39962         * math/libm-test.inc (nearbyint_test): Add more tests.
39963
39964 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39965
39966         [BZ #2548]
39967         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39968         bits before adding and subtracting TWO23[sx].
39969         * math/libm-test.inc (rint_test): Add more tests.
39970         (rint_test_tonearest): Likewise.
39971         (rint_test_towardzero): Likewise.
39972         (rint_test_downward): Likewise.
39973         (rint_test_upward: Likewise.
39974
39975 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39976
39977         [BZ #10110]
39978         * include/stdc-predef.h: New file.  Extracted from features.h.
39979         * include/features.h: Include stdc-predef.h.
39980         * Makefile (headers): Add stdc-predef.h.
39981         * CONFORMANCE (Compiler limitations): Update.
39982
39983 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39984
39985         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39986
39987 2012-02-21  David S. Miller  <davem@davemloft.net>
39988
39989         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39990         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39991
39992 2012-02-20  David S. Miller  <davem@davemloft.net>
39993
39994         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39995         using a normal save/restore sequence, rather than allocating a
39996         dummy stack frame just to store a frame pointer and restore.
39997         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39998
39999 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40000
40001         * manual/install.texi: Fix stray word in line-wrapped comment.
40002
40003 2012-02-20  David S. Miller  <davem@davemloft.net>
40004
40005         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40006         both binutils and gcc support GOTDATA.
40007
40008         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40009         "rd %pc" in the PIC register setup sequences.
40010
40011         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40012         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40013         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40014         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40015         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40016         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40017         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40018         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40019         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40020         (SYSCALL_ERROR_HANDLER): Likewise.
40021         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40022         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40023         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40024         (SYSCALL_ERROR_HANDLER): Likewise.
40025
40026         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40027         (HAVE_GCC_GOTDATA): New.
40028         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40029         relocation support in both binutils and gcc.
40030         * sysdeps/sparc/elf/configure: Regenerate.
40031
40032         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40033         * sysdeps/sparc/sparc32/elf/configure: Delete.
40034         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40035         * sysdeps/sparc/sparc64/elf/configure: Delete.
40036         * sysdeps/sparc/elf/configure.in: New file.
40037         * sysdeps/sparc/elf/configure: Generate.
40038
40039         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40040         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40041         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40042         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40043         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40044
40045 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40046
40047         * manual/install.texi: Do not mention specific glibc version
40048         numbers.
40049         * manual/libc.texinfo (VERSION, UPDATED): Update.
40050         (@copying): Use @copyright{} and range of years.
40051
40052 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40053
40054         [BZ #13695]
40055         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40056         [crti.S not in sysdirs] (generated): Do not append.
40057         [crti.S not in sysdirs] (omit-deps): Likewise.
40058         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40059         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40060         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40061         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40062         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40063         Likewise.
40064         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40065         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40066         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40067         * csu/defs.awk: Remove file.
40068         * sysdeps/generic/initfini.c: Likewise.
40069         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40070         variable.
40071         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40072         Likewise.
40073
40074 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40075
40076         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40077         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40078         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40079         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40080         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40081         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40082         <bits/epoll.h>.
40083         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40084         (__EPOLL_PACKED): Define to empty if not defined by
40085         <bits/epoll.h>.
40086         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40087         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40088         bits/epoll.h.
40089
40090 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40091
40092         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40093         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40094         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40095         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40096         <bits/timerfd.h>.
40097         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40098         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40099         bits/timerfd.h.
40100
40101 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40102
40103         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40104         in C locale.
40105         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40106         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40107         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40109
40110 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40111
40112         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40113         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40114
40115 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40116
40117         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40118         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40119         defined.
40120         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40121         Likewise.
40122         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40123         entry for 2.16.
40124
40125 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40126
40127         * math/w_acos.c: Use non-signaling floating-point comparisons.
40128         * math/w_acosf.c: Likewise.
40129         * math/w_acosh.c: Likewise.
40130         * math/w_acoshf.c: Likewise.
40131         * math/w_acoshl.c: Likewise.
40132         * math/w_acosl.c: Likewise.
40133         * math/w_asin.c: Likewise.
40134         * math/w_asinf.c: Likewise.
40135         * math/w_asinl.c: Likewise.
40136         * math/w_atanh.c: Likewise.
40137         * math/w_atanhf.c: Likewise.
40138         * math/w_atanhl.c: Likewise.
40139         * math/w_exp2.c: Likewise.
40140         * math/w_exp2f.c: Likewise.
40141         * math/w_exp2l.c: Likewise.
40142         * math/w_j0.c: Likewise.
40143         * math/w_j0f.c: Likewise.
40144         * math/w_j0l.c: Likewise.
40145         * math/w_j1.c: Likewise.
40146         * math/w_j1f.c: Likewise.
40147         * math/w_j1l.c: Likewise.
40148         * math/w_jn.c: Likewise.
40149         * math/w_jnf.c: Likewise.
40150         * math/w_log.c: Likewise.
40151         * math/w_log10.c: Likewise.
40152         * math/w_log10f.c: Likewise.
40153         * math/w_log10l.c: Likewise.
40154         * math/w_log2.c: Likewise.
40155         * math/w_log2f.c: Likewise.
40156         * math/w_log2l.c: Likewise.
40157         * math/w_logf.c: Likewise.
40158         * math/w_logl.c: Likewise.
40159         * math/w_sqrt.c: Likewise.
40160         * math/w_sqrtf.c: Likewise.
40161         * math/w_sqrtl.c: Likewise.
40162         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40163         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40164         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40165         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40166         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40167
40168 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40169
40170         [BZ #9739]
40171         * manual/string.texi (strnlen): Use correct parameter name in
40172         equivalent expression.
40173
40174 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40175
40176         [BZ #11174]
40177         * manual/users.texi (seteuid): Consistently use neweuid for
40178         argument name.
40179
40180 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40181
40182         [BZ #13704]
40183         * manual/nss.texi (Services in the NSS configuration): Correct
40184         list of services in example configuration file.
40185
40186 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40187
40188         [BZ #11322]
40189         * manual/arith.texi: Remove statements about negative zero
40190         behaving identically to zero.
40191
40192 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40193
40194         [BZ #5993]
40195         * manual/install.texi: Do not document upgrading from libc5.
40196
40197 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40198
40199         [BZ #4596]
40200         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40201
40202 2012-02-18  David S. Miller  <davem@davemloft.net>
40203
40204         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40205         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40206         %o7 across the call.
40207         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40208         instead.
40209         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40210         SETUP_PIC_REG_LEAF.
40211         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40212         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40213         * sysdeps/sparc/crtn.S: Likewise.
40214
40215 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40216
40217         * aout/Makefile: Remove.
40218
40219 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40220
40221         [BZ #13058]
40222         * manual/examples/argp-ex1.c (main): Format definition in GNU
40223         style.
40224         * manual/examples/argp-ex2.c (main): Likewise.
40225         * manual/examples/argp-ex3.c (main): Likewise.
40226         * manual/examples/argp-ex4.c (main): Likewise.
40227         * manual/examples/longopt.c (main): Use new-style prototype
40228         definition.
40229         * manual/examples/strncat.c (main): Specify return type and use
40230         (void) for arguments.
40231         * manual/examples/subopt.c (main): Use char **argv argument.
40232
40233 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40234
40235         [BZ #5077]
40236         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40237         rounding modes.
40238
40239 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40240
40241         [BZ #6907]
40242         * manual/string.texi (strchr): Change when strchrnul is
40243         recommended.
40244
40245 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40246
40247         [BZ #174]
40248         * manual/locale.texi (setlocale): Document LOCPATH.
40249
40250 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40251
40252         [BZ #10210]
40253         * manual/process.texi (execle): Move @dots{} before last argument.
40254
40255 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40256
40257         [BZ #12047]
40258         * manual/charset.texi (Generic Charset Conversion): Fix typo
40259         (LC_TYPE -> LC_CTYPE).
40260
40261 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40262
40263         [BZ #5805]
40264         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40265         (scalbnf): Likewise.
40266         (scalbnl): Likewise.
40267         (scalbln): Likewise.
40268         (scalblnf): Likewise.
40269         (scalblnl): Likewise.
40270         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40271         (vwarnx): Likewise.
40272         (verr): Likewise.
40273         (verrx): Likewise.
40274         * manual/filesys.texi (telldir): Use braces around return type.
40275         * manual/llio.texi (mmap): Add space after comma.
40276         (mmap64): Likewise.
40277         * manual/math.texi (jn): Use @var{} on parameter names.
40278         (jnf): Likewise.
40279         (jnl): Likewise.
40280         (yn): Likewise.
40281         (ynf): Likewise.
40282         (ynl): Likewise.
40283         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40284         line.
40285         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40286         "...".
40287         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40288         (sched_get_priority_max): Likewise.
40289         * manual/signal.texi (sigvec): Add space after comma.
40290         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40291         names.
40292         (if_indextoname): Likewise.
40293         (if_freenameindex): Likewise.
40294         (sendto): Use ',' instead of '.' in prototype.
40295         * manual/startup.texi (syscall): Use @dots{} instead of literal
40296         "...".
40297         * manual/stdio.texi (__fpending): Separate initial words of
40298         paragraph from @deftypefun line.
40299         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40300         "...".
40301         (vsyslog): Use @var{} on parameter names.
40302         * manual/terminal.texi (stty): Use @var{} on parameter names.
40303         * manual/users.texi (getutmp): Use @var{} on parameter names.
40304         (getutmpx): Likewise.
40305
40306 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40307
40308         [BZ #6884]
40309         * manual/stdio.texi (fopen): Fix typos in description of
40310         ",ccs=STRING".
40311
40312 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40313
40314         [BZ #4026]
40315         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40316         get clock_id definition.
40317
40318 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40319
40320         [BZ #4822]
40321         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40322         (madvise): Cast every argument to void on its own.
40323
40324 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40325
40326         [BZ #9902]
40327         * manual/startup.texi (Exit Status): Fix typo.
40328
40329 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40330
40331         [BZ #10140]
40332         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40333         * manual/examples/argp-ex2.c: Likewise.
40334         * manual/examples/argp-ex3.c: Likewise.
40335
40336 2012-02-16  Richard Henderson  <rth@redhat.com>
40337
40338         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40339         * sysdeps/s390/s390-32/initfini.c: Remove.
40340         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40341         * sysdeps/s390/s390-64/initfini.c: Remove.
40342
40343 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40344
40345         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40346         compiler output for sysdeps/generic/initfini.c.
40347         * sysdeps/sh/elf/initfini.c: Remove file.
40348
40349 2012-02-16  David S. Miller  <davem@davemloft.net>
40350
40351         [BZ #11494]
40352         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40353
40354         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40355         * sysdeps/sparc/crti.S: New file.
40356         * sysdeps/sparc/crtn.S: New file.
40357         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40358         * sysdeps/sparc/sparc64/Makefile: Likewise.
40359
40360 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40361
40362         [BZ #3335]
40363         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40364
40365 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40366
40367         [BZ #4822]
40368         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40369
40370         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40371         (write, read, close): Likewise.
40372         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40373
40374 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40375
40376         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40377         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40378         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40379         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40380         <bits/signalfd.h>.
40381         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40382         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40383         bits/signalfd.h.
40384
40385 2012-02-14  Marek Polacek  <polacek@redhat.com>
40386
40387         * sysdeps/x86_64/crti.S: New file.
40388         * sysdeps/x86_64/crtn.S: New file.
40389         * sysdeps/x86_64/elf/initfini.c: Remove file.
40390
40391 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40392
40393         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40394         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40395         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40396         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40397         <bits/inotify.h>.
40398         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40399         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40400         bits/inotify.h.
40401
40402 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40403
40404         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40405         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40406         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40407         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40408         <bits/eventfd.h>.
40409         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40410         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40411         bits/eventfd.h.
40412
40413 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40414
40415         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40416         __feraiseexcept instead of feraiseexcept.
40417
40418         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40419         nanosleep invocations.
40420         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40421         strings, and add error checking for a nanosleep invocations.
40422
40423 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40424
40425         Replace FSF snail mail address with URLs, as per GNU coding standards.
40426         Most of the snail mail addresses were wrong anyway, and omitting
40427         them makes the source code easier to maintain.  Almost all of the
40428         changes are to license notices and to locale LC_IDENTIFICATION
40429         addresses, except for this one:
40430         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40431         not its snail mail address.
40432
40433 2012-02-09  Richard Henderson  <rth@twiddle.net>
40434
40435         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40436         of kernel-features.h.
40437
40438         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40439
40440 2012-02-08  Marek Polacek  <polacek@redhat.com>
40441
40442         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40443         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40444         * sysdeps/gnu/_G_config.h: Likewise.
40445         * sysdeps/generic/_G_config.h: Likewise.
40446
40447 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40448
40449         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40450         tests.
40451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40452
40453         * sysdeps/powerpc/powerpc32/crti.S: New file.
40454         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40455         * sysdeps/powerpc/powerpc64/crti.S: New file.
40456         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40457
40458         * Makeconfig (have-initfini): Don't set.
40459         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40460         * configure.in (nopic_initfini): Don't substitute.
40461         * config.h.in (HAVE_INITFINI): Don't #undef.
40462         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40463         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40464
40465 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40466
40467         Support crti.S and crtn.S provided directly by architectures.
40468         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40469         [crti.S in sysdirs] (omit-deps): Likewise.
40470         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40471         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40472         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40473         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40474         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40475         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40476         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40477         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40478         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40479         compiler output for sysdeps/generic/initfini.c.
40480         * sysdeps/i386/elf/Makefile: Remove file.
40481         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40482
40483 2012-02-07  Marek Polacek  <polacek@redhat.com>
40484
40485         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40486         * sysdeps/gnu/_G_config.h: Likewise.
40487         * sysdeps/mach/hurd/_G_config.h: Likewise.
40488
40489 2012-02-07  Marek Polacek  <polacek@redhat.com>
40490
40491         * math/Makefile (tests): Add tst-CMPLX2.
40492         * math/tst-CMPLX2.c: New file.
40493
40494 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40495
40496         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40497
40498         * math/libm-test.inc (jn_test): Add missing L suffix.
40499
40500 2012-02-06  Marek Polacek  <polacek@redhat.com>
40501
40502         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40503         * sysdeps/i386/fpu/e_powf.S: Likewise.
40504         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40505         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40506         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40507         * sysdeps/i386/fpu/e_pow.S: Likewise.
40508         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40509         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40510         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40511         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40512         * sysdeps/i386/fpu/e_log2.S: Likewise.
40513         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40514         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40515         * sysdeps/i386/fpu/e_powl.S: Likewise.
40516         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40517         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40518         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40519         * sysdeps/i386/fpu/e_logl.S: Likewise.
40520         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40521         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40522         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40523         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40524         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40525         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40526         * sysdeps/i386/fpu/e_log.S: Likewise.
40527         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40528         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40529         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40530         * sysdeps/i386/fpu/e_logf.S: Likewise.
40531         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40532         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40533         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40534         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40535         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40536         * sysdeps/i386/fpu/e_log10.S: Likewise.
40537         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40538         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40539         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40540         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40541         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40542         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40543         * sysdeps/i386/asm-syntax.h: Likewise.
40544         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40545         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40546         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40547         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40548         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40549         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40550         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40551         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40552         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40553         * sysdeps/powerpc/sysdep.h: Likewise.
40554         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40555         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40556
40557 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40558
40559         [BZ #411]
40560         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40561
40562 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40563
40564         * sysdeps/i386/sysdep.h: Include <features.h>.
40565         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40566         version.
40567
40568 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40569
40570         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40571         Define.
40572         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40573         LOAD_PIC_REG_STR.
40574
40575 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40576
40577         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40578         (SETUP_PIC_REG): Use GET_PC_THUNK.
40579         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40580         macro.
40581
40582 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40583
40584         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40585         for non-PIC compilation.
40586         (SETUP_PIC_REG): Add .p2align directive.
40587         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40588         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40589         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40590         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40591         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40592         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40593         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40594         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40595         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40596         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40597         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40598         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40599         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40600         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40601         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40602         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40603         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40604         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40605         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40606         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40607         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40608         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40609         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40610         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40611         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40612         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40613         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40614         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40615         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40616         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40617         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40618         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40619         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40620         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40621         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40622         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40623         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40624         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40625         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40626         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40627         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40628
40629 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40630
40631         * math/tst-CMPLX.c: Include <stdio.h>.
40632
40633 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40634
40635         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40636         float.
40637         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40638         * sysdeps/sparc/bits/mathdef.h: Likewise.
40639
40640 2012-01-31  Marek Polacek  <polacek@redhat.com>
40641
40642         * libio/libio.h: Don't define _PARAMS.
40643         * locale/programs/config.h: Don't define PARAMS.
40644         * stdlib/strtol_l.c: Likewise.
40645         (__strtol_l): Remove PARAMS from the prototype.
40646
40647 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40648
40649         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40650         names.  Just use the correct names.  Remove unnecessary wrapper
40651         functions.
40652         * malloc/arena.c: Likewise.
40653         * malloc/hooks.c: Likewise.
40654
40655         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40656         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40657         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40658
40659 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40660
40661         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40662         into tail calls.
40663         (update_get_addr): New function.
40664         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40665         GET_ADDR_MODULE parameter.
40666
40667 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40668
40669         * crypt/cert.c: Remove __STDC__ conditionals.
40670         * crypt/crypt-entry.c: Likewise.
40671         * crypt/crypt_util.c: Likewise.
40672         * libio/filedoalloc.c: Likewise.
40673         * libio/fileops.c: Likewise.
40674         * libio/genops.c: Likewise.
40675         * libio/iofclose.c: Likewise.
40676         * libio/iofdopen.c: Likewise.
40677         * libio/iofopen.c: Likewise.
40678         * libio/iofopen64.c: Likewise.
40679         * libio/iogetdelim.c: Likewise.
40680         * libio/iopopen.c: Likewise.
40681         * libio/obprintf.c: Likewise.
40682         * libio/oldfileops.c: Likewise.
40683         * libio/oldiofclose.c: Likewise.
40684         * libio/oldiofdopen.c: Likewise.
40685         * libio/oldiofopen.c: Likewise.
40686         * libio/oldiopopen.c: Likewise.
40687         * libio/wfiledoalloc.c: Likewise.
40688         * libio/wgenops.c: Likewise.
40689         * locale/programs/xmalloc.c: Likewise.
40690         * misc/syslog.c: Likewise.
40691         * stdio-common/xbug.c: Likewise.
40692         * string/memchr.c: Likewise.
40693         * string/memcmp.c: Likewise.
40694         * string/memrchr.c: Likewise.
40695         * string/rawmemchr.c: Likewise.
40696         * sysdeps/posix/getcwd.c: Likewise.
40697         * time/strftime_l.c: Likewise.
40698
40699 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40700
40701         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40702         * config.make.in (config-cflags-sse2avx): Define.
40703         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40704         Fix typo.
40705
40706 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40707
40708         * scripts/config.guess: Update from upstream config git repository.
40709         * scripts/config.sub: Likewise.
40710
40711 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40712
40713         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40714         (EM_NUM): Update.
40715         (R_TILEPRO_*, R_TILEGX_*): New macros.
40716
40717         * scripts/firstversions.awk: Fix bug in version range handling.
40718
40719         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40720
40721         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40722
40723         * include/sys/epoll.h: New file.
40724         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40725         libc_hidden_def.
40726
40727 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40728
40729         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40730         Avoid unnecessary __WORDSIZE == 64 test.
40731         (fmaxf): Use VEX format if possible.
40732         (fmax): Likewise.
40733         (fminf): Likewise.
40734         (fmin): Likewise.
40735
40736         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40737         * math/math_private.h: Remove libc_fegetround* and
40738         libc_fesetround*.
40739         * sysdeps/i386/configure.in: Check for -msse2avx.
40740         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40741         also if SSE2AVX is defined.
40742         Remove libc_fegetround* and libc_fesetround*.
40743         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40744         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40745         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40746         of HAS_YMM_USABLE.
40747         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40748         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40749         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40750         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40751         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40752
40753         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40754
40755 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40756
40757         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40758         size is not set.
40759         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40760
40761 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40762
40763         [BZ #13618]
40764         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40765         relocation.
40766         * Makeconfig (libm): Define.
40767         * elf/Makefile: Add rules to build and run tst-relsort1.
40768         * elf/tst-relsort1.c: New file.
40769         * elf/tst-relsort1mod1.c: New file.
40770         * elf/tst-relsort1mod2.c: New file.
40771
40772 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40773
40774         * math/s_ldexp.c: Remove __STDC__ conditionals.
40775         * math/s_ldexpf.c: Likewise.
40776         * math/s_ldexpl.c: Likewise.
40777         * math/s_nextafter.c: Likewise.
40778         * math/s_nexttowardf.c: Likewise.
40779         * math/s_significand.c: Likewise.
40780         * math/s_significandf.c: Likewise.
40781         * math/s_significandl.c: Likewise.
40782         * math/w_jnl.c: Likewise.
40783         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40784         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40785         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40786         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40787         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40788         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40789         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40790         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40791         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40792         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40793         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40794         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40795         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40796         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40797         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40798         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40799         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40800         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40801         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40802         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40803         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40804         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40805         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40806         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40807         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40808         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40809         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40810         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40811         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40812         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40813         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40814         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40815         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40816         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40817         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40818         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40819         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40820         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40821         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40822         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40823         * sysdeps/ieee754/k_standard.c: Likewise.
40824         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40825         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40826         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40827         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40828         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40829         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40830         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40831         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40832         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40833         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40834         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40835         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40836         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40837         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40838         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40839         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40840         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40841         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40842         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40843         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40844         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40845         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40846         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40847         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40848         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40849         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40850         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40851         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40852         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40853         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40854         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40855         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40856         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40857         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40858         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40859         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40860         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40861         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40862         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40863         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40864         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40865         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40866         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40867         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40868         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40869         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40870         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40871         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40872         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40873         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40874         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40875         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40876         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40877         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40878         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40879         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40880         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40881         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40882         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40883         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40884         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40885         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40886         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40887         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40888         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40889         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40890         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40891         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40892         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40893         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40894         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40895         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40896         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40897         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40898         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40899         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40900         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40901         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40902         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40903         * sysdeps/ieee754/s_matherr.c: Likewise.
40904         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40905         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40906         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40907         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40908
40909 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40910
40911         * crypt/md5.h: Remove __STDC__ conditionals.
40912         * libio/libioP.h: Likewise.
40913         * locale/programs/config.h: Likewise.
40914         * sysdeps/generic/sysdep.h: Likewise.
40915         * sysdeps/i386/asm-syntax.h: Likewise.
40916         * sysdeps/s390/asm-syntax.h: Likewise.
40917         * sysdeps/unix/sysdep.h: Likewise.
40918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40920
40921 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40922
40923         * libio/libio.h: Remove __STDC__ conditionals.
40924         * malloc/obstack.h: Likewise.
40925         * math/complex.h: Likewise.
40926         * math/math.h: Likewise.
40927         * sysdeps/generic/_G_config.h: Likewise.
40928         * sysdeps/gnu/_G_config.h: Likewise.
40929         * sysdeps/mach/hurd/_G_config.h: Likewise.
40930         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40931         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40932         * sysdeps/sparc/bits/mathdef.h: Likewise.
40933
40934 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40935
40936         [BZ #13583]
40937         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40938         Clean up HAS_* macros.
40939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40940         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40941         possible.
40942         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40943         HAS_AVX.
40944         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40945         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40946         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40947         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40948         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40949
40950 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40951
40952         * elf/tst-unique3.cc (gets): Remove declaration.
40953         * elf/tst-unique3lib.cc (gets): Likewise.
40954         * elf/tst-unique3lib2.cc (gets): Likewise.
40955         * elf/tst-unique4.cc (gets): Likewise.
40956
40957 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40958
40959         * include/stdio.h: Add C++ protection.  Add gets declarations and
40960         definitions.
40961         * debug/tst-chk1.c: Don't declare gets here.
40962         * stdio-common/tst-gets.c: Likewise.
40963
40964 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40965
40966         * posix/glob: Remove directory.
40967
40968 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40969
40970         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40971
40972 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40973
40974         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40975         of the non-standard EPFNOSUPPORT.
40976
40977 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40978
40979         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40980         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40981         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40982
40983 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40984
40985         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40986
40987 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40988
40989         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40990         transient errors.
40991         * nscd/grpcache.c (cache_addgr): Likewise.
40992         * nscd/hstcache.c (cache_addhst): Likewise.
40993         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40994         * nscd/pwdcache.c (cache_addpw): Likewise.
40995         * nscd/servicescache.c (cache_addserv): Likewise.
40996
40997 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40998
40999         * malloc/malloc.c: Various cleanups.
41000         * malloc/hooks.c: Likewise.
41001
41002         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41003         * stdlib/bug-fmtmsg1.c: New file.
41004
41005         * stdlib/fmtmsg.c (init): Add missing unlock.
41006         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41007
41008 2012-01-12  Marek Polacek  <polacek@redhat.com>
41009
41010         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41011         and _GNU_SOURCE.
41012
41013 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41014
41015         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41016         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41017         macro to ensure uniqueness of label name.
41018         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41019         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41020
41021 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41022
41023         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41024
41025         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41026         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41027         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41028         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41029
41030 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41031
41032         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41033
41034         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41035         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41036         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41037
41038         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41039
41040         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41041         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41042         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41043         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41044
41045         * math/bits/math-finite.h: Add ldexp support.
41046
41047 2012-01-10  Marek Polacek  <polacek@redhat.com>
41048
41049         * locale/programs/localedef.h (show_archive_content): Add noreturn
41050         attribute.
41051
41052 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41053
41054         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41055
41056 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41057
41058         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41059
41060         * io/Makefile (headers): Add bits/poll2.h.
41061
41062 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41063
41064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41065         typo #include statement.
41066
41067 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41068
41069         * include/sys/cdefs.h: Define __attribute_alloc_size.
41070         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41071         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41072         * elf/pldd.c: Likewise.
41073         * iconv/iconv_charmap.c: Likewise.
41074         * iconv/iconvconfig.c: Likewise.
41075         * iconv/strtab.c: Likewise.
41076         * locale/programs/locale.c: Likewise.
41077         * locale/programs/localedef.h: Likewise.
41078         * locale/programs/simple-hash.c: Likewise.
41079         * nscd/nscd.h: Likewise.
41080         * nss/makedb.c: Likewise.
41081         * sysdeps/generic/ldconfig.h: Likewise.
41082         * locale/programs/localedef.c: Remove xmalloc prototype.
41083         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41084
41085 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41086
41087         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41088         appropriate.
41089
41090 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41091
41092         * math/Makefile (tests): Add tst-CMPLX.
41093         * math/tst-CMPLX.c: New file.
41094
41095         * math/complex.h (CMPLXL): Fix typo.
41096
41097         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41098         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41099         GLIBC_2.16.
41100         * debug/tst-chk1.c: Add poll and ppoll tests.
41101         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41102         * include/sys/poll.h: Add hidden proto for ppoll.
41103         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41104         * sysdeps/mach/hurd/ppoll.c: Likewise.
41105         * io/ppoll.c: Likewise.
41106         * debug/poll_chk.c: New file.
41107         * debug/ppoll_chk.c: New file.
41108         * include/bits/poll2.h: New file.
41109         * io/bits/poll2.h: New file.
41110
41111         [BZ #1350]
41112         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41113
41114         * configure.in: static is always set to yes.  Remove.
41115         * config.make.in: Don't set build-static.
41116         * Makeconfig: Remove use of build-static.
41117         * dlfcn/Makefile: Likewise.
41118         * elf/Makefile: Likewise.
41119         * math/Makefile: Likewise.
41120         * misc/Makefile: Likewise.
41121         * nptl/Makefile: Likewise.
41122         * sysdeps/mach/hurd/Makefile: Likewise.
41123
41124         * configure.in: PWD_P is not used anymore.
41125         * config.make.in: Remove PWD_P entry.
41126
41127         * configure.in: Remove last remnants of RANLIB.
41128         No need to check for signed size_t anymore.
41129         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41130         and IA-64.
41131         Remove __builtin_expect test because we require at least gcc 3.4.
41132         * aclocal.m4: Likewise.
41133
41134         * wcsmbs/mbrtoc16.c: Implement using towc function.
41135         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41136         * wcsmbs/wcsmbsload.c: Likewise.
41137         * iconv/gconv_simple.c: Likewise.
41138         * iconv/gconv_int.h: Likewise.
41139         * iconv/gconv_builtin.h: Likewise.
41140         * iconv/iconv_prog.c: Remove CHAR16 handling.
41141
41142         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41143
41144         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41145
41146         * configure.in: Remove --with-elf and --enable-bounded options.
41147         Dont set base_machine for ia64.  More non-ELF conditions removed.
41148         Remove testing and setting of leading underscore information.
41149         * config.make.in (build-bounded): Set to no.
41150         * config.h.in: Remove NO_UNDERSCORES entry.
41151         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41152         them.
41153         * csu/start.c: Remove !NO_UNDERSCORE code.
41154         * locale/localeinfo.h: Likewise.
41155         * sysdeps/generic/machine-gmon.h: Likewise.
41156         * sysdeps/generic/sysdep.h: Likewise.
41157         * sysdeps/i386/sysdep.h: Likewise.
41158         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41159         * sysdeps/mach/sysdep.h: Likewise.
41160         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41161         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41162         * sysdeps/sh/sysdep.h: Likewise.
41163         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41164         * sysdeps/unix/i386/sysdep.S: Likewise.
41165         * sysdeps/unix/sparc/start.c: Likewise.
41166         * sysdeps/unix/sparc/sysdep.S: Likewise.
41167         * sysdeps/unix/sparc/sysdep.h: Likewise.
41168         * sysdeps/unix/start.c: Likewise.
41169         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41170         * sysdeps/x86_64/sysdep.h: Likewise.
41171
41172 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41173
41174         [BZ #13553]
41175         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41176         for non-gcc.
41177         * argp/argp-fmtstream.h: Use const instead __const.
41178         * argp/argp.h: Likewise.
41179         * assert/assert.h: Likewise.
41180         * bits/fenv.h: Likewise.
41181         * bits/sched.h: Likewise.
41182         * bits/sigset.h: Likewise.
41183         * bits/sigthread.h: Likewise.
41184         * catgets/nl_types.h: Likewise.
41185         * conform/data/pthread.h-data: Likewise.
41186         * crypt/crypt-private.h: Likewise.
41187         * crypt/crypt.h: Likewise.
41188         * crypt/crypt_util.c: Likewise.
41189         * ctype/ctype.h: Likewise.
41190         * debug/execinfo.h: Likewise.
41191         * debug/mbsnrtowcs_chk.c: Likewise.
41192         * debug/mbsrtowcs_chk.c: Likewise.
41193         * debug/wcsnrtombs_chk.c: Likewise.
41194         * debug/wcsrtombs_chk.c: Likewise.
41195         * debug/wcstombs_chk.c: Likewise.
41196         * dirent/dirent.h: Likewise.
41197         * dlfcn/dlfcn.h: Likewise.
41198         * elf/neededtest4.c: Likewise.
41199         * grp/grp.h: Likewise.
41200         * gshadow/gshadow.h: Likewise.
41201         * iconv/gconv.h: Likewise.
41202         * iconv/gconv_int.h: Likewise.
41203         * iconv/gconv_simple.c: Likewise.
41204         * iconv/iconv.h: Likewise.
41205         * iconv/loop.c: Likewise.
41206         * iconv/skeleton.c: Likewise.
41207         * include/aio.h: Likewise.
41208         * include/aliases.h: Likewise.
41209         * include/argz.h: Likewise.
41210         * include/arpa/inet.h: Likewise.
41211         * include/assert.h: Likewise.
41212         * include/dirent.h: Likewise.
41213         * include/dlfcn.h: Likewise.
41214         * include/execinfo.h: Likewise.
41215         * include/fcntl.h: Likewise.
41216         * include/fenv.h: Likewise.
41217         * include/glob.h: Likewise.
41218         * include/grp.h: Likewise.
41219         * include/libintl.h: Likewise.
41220         * include/mntent.h: Likewise.
41221         * include/netdb.h: Likewise.
41222         * include/pwd.h: Likewise.
41223         * include/rpc/netdb.h: Likewise.
41224         * include/sched.h: Likewise.
41225         * include/search.h: Likewise.
41226         * include/shadow.h: Likewise.
41227         * include/signal.h: Likewise.
41228         * include/stdio.h: Likewise.
41229         * include/stdlib.h: Likewise.
41230         * include/string.h: Likewise.
41231         * include/sys/socket.h: Likewise.
41232         * include/sys/stat.h: Likewise.
41233         * include/sys/statfs.h: Likewise.
41234         * include/sys/statvfs.h: Likewise.
41235         * include/sys/syslog.h: Likewise.
41236         * include/sys/time.h: Likewise.
41237         * include/sys/uio.h: Likewise.
41238         * include/time.h: Likewise.
41239         * include/unistd.h: Likewise.
41240         * include/utmp.h: Likewise.
41241         * include/wchar.h: Likewise.
41242         * include/wctype.h: Likewise.
41243         * inet/aliases.h: Likewise.
41244         * inet/arpa/inet.h: Likewise.
41245         * inet/netinet/ether.h: Likewise.
41246         * inet/netinet/in.h: Likewise.
41247         * intl/libintl.h: Likewise.
41248         * io/bits/fcntl2.h: Likewise.
41249         * io/fcntl.h: Likewise.
41250         * io/ftw.h: Likewise.
41251         * io/sys/poll.h: Likewise.
41252         * io/sys/stat.h: Likewise.
41253         * io/sys/statfs.h: Likewise.
41254         * io/sys/statvfs.h: Likewise.
41255         * io/utime.h: Likewise.
41256         * libio/bits/stdio.h: Likewise.
41257         * libio/bits/stdio2.h: Likewise.
41258         * libio/libio.h: Likewise.
41259         * libio/libioP.h: Likewise.
41260         * libio/stdio.h: Likewise.
41261         * locale/lc-ctype.c: Likewise.
41262         * locale/locale.h: Likewise.
41263         * login/utmp.h: Likewise.
41264         * malloc/arena.c: Likewise.
41265         * malloc/malloc.c: Likewise.
41266         * malloc/malloc.h: Likewise.
41267         * malloc/mcheck.c: Likewise.
41268         * malloc/mtrace.c: Likewise.
41269         * math/bits/mathcalls.h: Likewise.
41270         * math/fenv.h: Likewise.
41271         * math/math_private.h: Likewise.
41272         * misc/bits/error.h: Likewise.
41273         * misc/bits/syslog.h: Likewise.
41274         * misc/err.h: Likewise.
41275         * misc/error.h: Likewise.
41276         * misc/fstab.h: Likewise.
41277         * misc/mntent.h: Likewise.
41278         * misc/regexp.h: Likewise.
41279         * misc/search.h: Likewise.
41280         * misc/sgtty.h: Likewise.
41281         * misc/sys/mman.h: Likewise.
41282         * misc/sys/syslog.h: Likewise.
41283         * misc/sys/uio.h: Likewise.
41284         * misc/sys/xattr.h: Likewise.
41285         * misc/ttyent.h: Likewise.
41286         * nis/rpcsvc/ypclnt.h: Likewise.
41287         * nss/nss.h: Likewise.
41288         * posix/bits/unistd.h: Likewise.
41289         * posix/fnmatch.h: Likewise.
41290         * posix/glob.h: Likewise.
41291         * posix/sched.h: Likewise.
41292         * posix/spawn.h: Likewise.
41293         * posix/sys/wait.h: Likewise.
41294         * posix/unistd.h: Likewise.
41295         * posix/wordexp.h: Likewise.
41296         * pwd/pwd.h: Likewise.
41297         * resolv/netdb.h: Likewise.
41298         * resource/sys/resource.h: Likewise.
41299         * rt/aio.h: Likewise.
41300         * rt/bits/mqueue2.h: Likewise.
41301         * rt/mqueue.h: Likewise.
41302         * shadow/shadow.h: Likewise.
41303         * signal/signal.h: Likewise.
41304         * socket/send.c: Likewise.
41305         * socket/sendto.c: Likewise.
41306         * socket/sys/socket.h: Likewise.
41307         * stdio-common/printf.h: Likewise.
41308         * stdlib/bits/stdlib.h: Likewise.
41309         * stdlib/fmtmsg.h: Likewise.
41310         * stdlib/monetary.h: Likewise.
41311         * stdlib/stdlib.h: Likewise.
41312         * stdlib/ucontext.h: Likewise.
41313         * streams/stropts.h: Likewise.
41314         * string/argz.h: Likewise.
41315         * string/bits/string2.h: Likewise.
41316         * string/string.h: Likewise.
41317         * string/strings.h: Likewise.
41318         * sunrpc/rpc/auth.h: Likewise.
41319         * sunrpc/rpc/auth_des.h: Likewise.
41320         * sunrpc/rpc/clnt.h: Likewise.
41321         * sunrpc/rpc/netdb.h: Likewise.
41322         * sunrpc/rpc/pmap_clnt.h: Likewise.
41323         * sunrpc/rpc/xdr.h: Likewise.
41324         * sysdeps/generic/inttypes.h: Likewise.
41325         * sysdeps/generic/net/if.h: Likewise.
41326         * sysdeps/generic/sys/swap.h: Likewise.
41327         * sysdeps/gnu/net/if.h: Likewise.
41328         * sysdeps/gnu/utmpx.h: Likewise.
41329         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41330         * sysdeps/i386/i486/bits/string.h: Likewise.
41331         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41332         * sysdeps/s390/bits/string.h: Likewise.
41333         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41334         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41335         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41336         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41337         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41338         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41339         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41340         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41341         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41342         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41343         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41344         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41345         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41346         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41347         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41348         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41349         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41350         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41351         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41352         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41353         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41354         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41355         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41356         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41357         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41358         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41359         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41360         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41361         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41362         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41363         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41364         * sysvipc/sys/ipc.h: Likewise.
41365         * sysvipc/sys/msg.h: Likewise.
41366         * sysvipc/sys/sem.h: Likewise.
41367         * sysvipc/sys/shm.h: Likewise.
41368         * termios/termios.h: Likewise.
41369         * time/sys/time.h: Likewise.
41370         * time/time.h: Likewise.
41371         * wcsmbs/bits/wchar2.h: Likewise.
41372         * wcsmbs/uchar.h: Likewise.
41373         * wcsmbs/wchar.h: Likewise.
41374         * wctype/wctype.h: Likewise.
41375
41376         [BZ #13551]
41377         * Makeconfig: Remove all but ELF support including AIX support.
41378         * Makerules: Likewise.
41379         * config.h.in: Likewise.
41380         * config.make.in: Likewise.
41381         * configure: Likewise.
41382         * configure.in: Likewise.
41383         * csu/Makefile: Likewise.
41384         * csu/version.c: Likewise.
41385         * debug/Makefile: Likewise.
41386         * dlfcn/Makefile: Likewise.
41387         * elf/Makefile: Likewise.
41388         * extra-lib.mk: Likewise.
41389         * iconv/Makefile: Likewise.
41390         * include/libc-symbols.h: Likewise.
41391         * include/shlib-compat.h: Likewise.
41392         * resolv/Makefile: Likewise.
41393         * resolv/res_libc.c: Likewise.
41394         * rt/Makefile: Likewise.
41395         * sysdeps/i386/asm-syntax.h: Likewise.
41396         * sysdeps/i386/sysdep.h: Likewise.
41397         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41398         * sysdeps/mach/sysdep.h: Likewise.
41399         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41400         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41401         * sysdeps/s390/asm-syntax.h: Likewise.
41402         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41403         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41404         * sysdeps/sh/sysdep.h: Likewise.
41405         * sysdeps/unix/sparc/sysdep.h: Likewise.
41406         * sysdeps/wordsize-32/divdi3.c: Likewise.
41407         * sysdeps/x86_64/sysdep.h: Likewise.
41408
41409         * argp/Versions: Remove _argp_unlock_xxx.
41410
41411         [BZ #13559]
41412         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41413         * abilist/libBrokenLocale.abilist: Likewise.
41414         * abilist/libanl.abilist: Likewise.
41415         * abilist/libc.abilist: Likewise.
41416         * abilist/libcrypt.abilist: Likewise.
41417         * abilist/libdl.abilist: Likewise.
41418         * abilist/libm.abilist: Likewise.
41419         * abilist/libnsl.abilist: Likewise.
41420         * abilist/libpthread.abilist: Likewise.
41421         * abilist/libresolv.abilist: Likewise.
41422         * abilist/librt.abilist: Likewise.
41423         * abilist/libthread_db.abilist: Likewise.
41424         * abilist/libutil.abilist: Likewise.
41425         * abilist/libnss_db.abilist: New file.
41426
41427         * scripts/abilist.awk: Add support for indirect functions.
41428
41429         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41430
41431         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41432
41433         * shlib-versions: Remove entries for ports architectures.
41434
41435         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41436         files in ports.
41437         * elf/stackguard-macros.h: Remove support for IA-64.
41438         * elf/tst-auditmod1.c: Likewise.
41439         * sysdeps/generic/ldsodefs.h: Likewise.
41440
41441         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41442         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41443         configure files.
41444
41445         [BZ #13552]
41446         * configure.in: Remove --enable-omitfp support.
41447         * FAQ.in: Adjust.
41448         * config.make.in: Likewise.
41449         * Makeconfig: Likewise.
41450         * manual/install.texi: Likewise.
41451
41452         In case anyone cares, the IA-64 architecture could move to ports.
41453         * sysdeps/ia64/*: Removed.
41454         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41455         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41456
41457         [BZ #13555]
41458         * configure.in: Remove entries for unsupported architectures.
41459
41460         [BZ #13533]
41461         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41462         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41463         routines.
41464         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41465         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41466         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41467         fall back to using wcrtomb.
41468         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41469         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41470         renaming.
41471         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41472         * wcsmbs/tst-c16c32-1.c: New file.
41473
41474         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41475         local variable.
41476
41477         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41478
41479         * elf/tst-unique3.cc: Add explicit declaration of gets.
41480         * elf/tst-unique3lib.cc: Likewise.
41481         * elf/tst-unique3lib2.cc: Likewise.
41482         * elf/tst-unique4.cc: Likewise.
41483
41484         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41485
41486 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41487
41488         [BZ #13566]
41489         * assert/assert.h (static_assert): Don't define for C++.
41490         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41491         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41492
41493 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41494
41495         * iconv/loop.c (single loop): Fix assertion in storing of
41496         remaining bytes.
41497
41498         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41499
41500 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41501
41502         * posix/getconf.c: Update copyright year.
41503         * nss/getent.c: Likewise.
41504         * nss/makedb.c: Likewise.
41505         * iconv/iconvconfig.c: Likewise.
41506         * iconv/iconv_prog.c: Likewise.
41507         * elf/ldconfig.c: Likewise.
41508         * elf/pldd.c: Likewise.
41509         * elf/sotruss.ksh: Likewise.
41510         * catgets/gencat.c: Likewise.
41511         * csu/version.c: Likewise.
41512         * elf/ldd.bash.in: Likewise.
41513         * elf/sprof.c (print_version): Likewise.
41514         * locale/programs/locale.c: Likewise.
41515         * locale/programs/localedef.c: Likewise.
41516         * login/programs/pt_chown.c: Likewise.
41517         * nscd/nscd.c (print_version): Likewise.
41518         * debug/xtrace.sh: Likewise.
41519         * malloc/memusage.sh: Likewise.
41520         * malloc/mtrace.pl: Likewise.
41521         * debug/catchsegv.sh: Likewise.
41522
41523 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41524
41525         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41526         pure attribute.
41527
41528 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41529
41530         [BZ #13533]
41531         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41532         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41533         transformations.
41534         * iconv/gconv_int.h: Likewise.
41535         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41536         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41537         from libc for GLIBC_2.16.
41538         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41539         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41540         * wcsmbs/uchar.h: Really define mbstate_t.
41541         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41542         * wcsmbs/c16rtomb.c: New file.
41543         * wcsmbs/mbrtoc16.c: New file.
41544         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41545         for C/POSIX locale.
41546         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41547         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41548
41549         * wcsmbs/wchar.h: Add missing __restrict.
41550
41551 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41552
41553         [BZ #13532]
41554         * time/Makefile (routines): Add timespec_get.
41555         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41556         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41557         timespec for ISO C11.
41558         * time/timespec_get.c: New file.
41559         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41560         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41561
41562         [BZ #13531]
41563         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41564         * stdlib/stdlib.h: Declare aligned_alloc.
41565         * Versions.def: Add GLIBC_2.16 for libc.
41566         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41567
41568         [BZ 13527]
41569         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41570         ISO C11.
41571
41572         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41573         code.
41574
41575         [BZ #13528]
41576         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41577
41578         [BZ #13529]
41579         * assert/assert.h (static_assert): Define.
41580
41581         * version.h: Update for 2.16 development version.
41582
41583         [BZ #13526]
41584         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41585         _ISOC11_SOURCE.
41586
41587         * version.h (RELEASE): Bump for 2.15 release.
41588         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41589
41590         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41591         Patch by Marek Polacek <mpolacek@redhat.com>.
41592
41593         * bits/byteswap.h: Protect long long constants with __extension__.
41594         * sysdeps/i386/bits/byteswap.h: Likewise.
41595         * sysdeps/ia64/bits/byteswap.h: Likewise.
41596         * sysdeps/s390/bits/byteswap.h: Likewise.
41597         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41598
41599 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41600
41601         [BZ #13540]
41602         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41603         destination buffer.
41604         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41605
41606 2011-12-23  Marek Polacek  <polacek@redhat.com>
41607
41608         * elf/dl-addr.c (determine_info): Add inline keyword.
41609         * elf/tst-auditmod4b.c (check_avx): Likewise.
41610         * elf/tst-auditmod6b.c (check_avx): Likewise.
41611         * elf/tst-auditmod6c.c (check_avx): Likewise.
41612         * elf/tst-auditmod7b.c (check_avx): Likewise.
41613
41614 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41615
41616         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41617         !__SSE_MATH__.
41618
41619 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41620
41621         [BZ #13540]
41622         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41623         processing for last bytes.
41624
41625 2011-08-06  Bruno Haible  <bruno@clisp.org>
41626
41627         [BZ #13061]
41628         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41629         U+0385, not to U+1FEE.
41630
41631         [BZ #13062]
41632         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41633         entry for U+00A5 U+0301.
41634
41635 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41636
41637         [BZ #13166]
41638         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41639         buffer for the output is too small.
41640
41641         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41642         optimization.
41643
41644         [BZ #13185]
41645         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41646         SSE flags if possible.
41647
41648 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41649
41650         [BZ #13540]
41651         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41652         processing for last bytes.
41653
41654 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41655
41656         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41657         (syscall-list-default-options, syscall-list-default-condition)
41658         (syscall-list-includes): Define.
41659         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41660         list of ABIs and options and #if conditions for each ABI.  Do not
41661         handle common syscalls between ABIs specially.
41662         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41663         Remove.
41664         (syscall-list-variants, syscall-list-32bit-options)
41665         (syscall-list-32bit-condition, syscall-list-64bit-options)
41666         (syscall-list-64bit-condition): Define.
41667         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41668         (syscall-list-variants, syscall-list-32bit-options)
41669         (syscall-list-32bit-condition, syscall-list-64bit-options)
41670         (syscall-list-64bit-condition): Define.
41671         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41672         Remove.
41673         (syscall-list-variants, syscall-list-32bit-options)
41674         (syscall-list-32bit-condition, syscall-list-64bit-options)
41675         (syscall-list-64bit-condition): Define.
41676         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41677         Remove.
41678         (syscall-list-variants, syscall-list-32bit-options)
41679         (syscall-list-32bit-condition, syscall-list-64bit-options)
41680         (syscall-list-64bit-condition): Define.
41681
41682 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41683
41684         * locale/iso-639.def: Add brx entry.
41685
41686         [BZ #13328]
41687         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41688         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41689
41690         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41691         __feraiseexcept_renamed.
41692
41693 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41694
41695         [BZ #13538]
41696         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41697         EPOLLET with unsigned values.
41698         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41699         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41700
41701         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41702         to large cancellation.
41703         * math/s_cacoshf.c: Likewise.
41704         * math/s_cacoshl.c: Likewise.
41705
41706 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41707
41708         [BZ #13305]
41709         [BZ #12786]
41710         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41711         * math/s_cacoshf.c: Likewise.
41712         * math/s_cacoshl.c: Likewise.
41713
41714 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41715
41716         [BZ #13439]
41717         * iconv/gconv.h: Define __GCONV_SWAP.
41718         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41719         * iconvdata/utf-16.c: Likewise.
41720         * iconvdata/utf-32.c: Likewise.
41721
41722 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41723
41724         [BZ #13524]
41725         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41726         numerator after shifting it by one limb.
41727
41728 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41729
41730         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41731         under [__USE_EXTERN_INLINES].
41732
41733 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41734
41735         [BZ #13446]
41736         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41737
41738 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41739
41740         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41741         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41742         optimized code.
41743         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41744         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41745         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41746         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41747         for strncasecmp/strncasecmp_l compilation.
41748         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41749         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41750
41751 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41752
41753         [BZ #13484]
41754         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41755         of __asm__.
41756
41757 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41758
41759         [BZ #13506]
41760         * time/tzfile.c (__tzfile_read): Check values from file header.
41761
41762 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41763
41764         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41765         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41766         * powerpc/powerpc32/dl-start.S: Likewise.
41767         * powerpc/powerpc32/elf/start.S: Likewise.
41768         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41769         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41770         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41771         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41772         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41773         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41774         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41775         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41776         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41777         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41778         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41779         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41780         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41781         * powerpc/powerpc32/memset.S: Likewise.
41782         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41783         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41784         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41785         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41786         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41787         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41788         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41789         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41790         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41791         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41792         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41793         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41794         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41795
41796 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41797
41798         * math/libm-test.inc: Added more nearbyint tests.
41799         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41800         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41801         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41802         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41803
41804 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41805
41806         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41807         FD_CLOEXEC.
41808
41809 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41810
41811         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41812         Add wcscpy-ssse3 wcscpy-c.
41813         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41814         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41815         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41816         * sysdeps/x86_64/wcschr.S: New file.
41817         * sysdeps/x86_64/wcsrchr.S: New file.
41818         * string/test-strcmp.c: Remove checking of wcscmp function for
41819         wrong alignments.
41820         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41821         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41822         wcsrchr-sse2 wcsrchr-c.
41823         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41824         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41825         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41826         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41827         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41828         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41829         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41830         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41831         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41832         * wcsmbc/wcschr.c (WCSCHR): New macro.
41833
41834 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41835
41836         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41837         * wcsmbs/test-wcsrchr.c: New file.
41838         * string/test-strrchr.c: Add wcsrchr support.
41839         (WIDE): New macro.
41840         * wcsmbs/test-wcscpy.c: New file.
41841         * string/test-strcpy.c: Add wcscpy support.
41842         (WIDE): New macro.
41843
41844 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41845
41846         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41847         the inner loop.
41848
41849 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41850
41851         [BZ #13472]
41852         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41853
41854 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41855
41856         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41857         Minor optimizations.
41858
41859         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41860         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41861         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41862
41863 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41864
41865         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41866         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41867         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41868         for gcc to avoid warnings.
41869         * inet/Makefile (tests): Add tst-checks.
41870         * inet/tst-checks.c: New file.
41871
41872         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41873         warning.
41874
41875         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41876         __wmemcmp_sse2.
41877
41878         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41879         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41880
41881         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41882
41883 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41884
41885         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41886         problem.
41887
41888         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41889
41890 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41891
41892         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41893         conditional on GCC version.
41894         (__arch_compare_and_exchange_val_8_acq)
41895         (__arch_compare_and_exchange_val_16_acq)
41896         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41897         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41898         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41899
41900 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41901
41902         * sysdeps/sh/backtrace.c: New file.
41903
41904 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41905
41906         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41907         parenthesis.
41908
41909 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41910
41911         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41912         falling back to utime.
41913
41914 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41915
41916         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41917         expectations for float.
41918
41919 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41920
41921         * locale/weight.h (findidx): Add parameter len.
41922         * locale/weightwc.h (findidx): Likewise.
41923         * posix/fnmatch_loop.c (FCT): Adjust caller.
41924         * posix/regcomp.c (build_equiv_class): Likewise.
41925         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41926         * posix/regexec.c (check_node_accept_bytes): Likewise.
41927         * string/strcoll_l.c (STRCOLL): Likewise.
41928         * string/strxfrm_l.c (STRXFRM): Likewise.
41929
41930 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41931
41932         * Makefile.in: Remove CVSOPT handling.
41933         * configure.in: Remove use of AC_REVISION.
41934         * iconvdata/Makefile (distribute): No need to filter out CVS.
41935         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41936         handling.
41937
41938 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41939
41940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41941         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41942         [USE_AS_STRNCASECMP_L]: Likewise.
41943         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41944         NO_TLS_DIRECT_SEG_REFS.
41945         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41946         Fix argument offsets for non-PIC.
41947         [USE_AS_STRNCASECMP_L]: Likewise.
41948         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41949         NO_TLS_DIRECT_SEG_REFS.
41950
41951 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41952
41953         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41954         O_CLOEXEC.
41955         * locale/loadlocale.c (_nl_load_locale): Likewise.
41956
41957 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41958
41959         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41960         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41961         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41962         (SYSCALL_GETTIME): Set errno on error.
41963
41964         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41965         count references to noai6ai_cached.
41966
41967 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41968
41969         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41970
41971         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41972         FD_CLOEXEC for /proc/self/maps.
41973
41974         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41975         FD_CLOEXEC for /proc/meminfo.
41976
41977         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41978         gai.conf.
41979
41980         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41981         FD_CLOEXEC for given file.
41982
41983         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41984
41985         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41986         FD_CLOEXEC for /etc/hosts.
41987         (_gethtent): Likewise.
41988
41989         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41990
41991         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41992         cancellation and set FD_CLOEXEC for /etc/netgroup.
41993
41994         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41995         reading /etc/publickey.
41996
41997         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41998         allow cancellation when reading /etc/group.
41999
42000         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42001         cancellation.
42002         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42003
42004         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42005         when using data file.
42006
42007         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42008
42009         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42010         (write_nis_obj): Use "c" and "e" in fopen.
42011
42012         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42013
42014         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42015
42016         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42017
42018         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42019
42020         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42021         locale.alias.
42022
42023         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42024
42025         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42026
42027         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42028
42029         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42030         file parsing and set FD_CLOEXEC.
42031
42032 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42033
42034         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42035
42036 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42037
42038         * malloc/arena.c (arena_get2): Don't call reused_arena when
42039         _int_new_arena failed.
42040
42041 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42042
42043         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42044         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42045         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42046         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42047         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42048         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42049         to compile strcasecmp and strncasecmp.
42050         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42051         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42052
42053         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42054
42055 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42056
42057         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42058         locale-defines.sym to gen-as-const-headers.
42059         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42060         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42061         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42062         to compile strcasecmp and strncasecmp.
42063         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42064         strcasecmp_l and strncasecmp_l.
42065         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42066         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42067         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42068         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42069         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42070         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42071         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42072         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42073         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42074         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42075         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42076
42077 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42078
42079         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42080         result of SYSDEP_GETTIME_CPU to retval.
42081         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42082         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42083
42084         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42085         variable.
42086
42087         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42088         mantissa words.
42089         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42090
42091         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42092         from unused variable.
42093
42094         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42095         DWARF definitions.
42096         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42097         for assembling.
42098
42099         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42100         over namespaces.
42101
42102         * sunrpc/rpc_prot.c (rejected): Fix case value.
42103
42104         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42105         unsigned long long int to avoid warnings in shift.
42106
42107         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42108         of use of trans.
42109         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42110         variable tmp.
42111
42112         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42113         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42114         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42115
42116         * nis/nis_table.c (nis_list): Use variable of correct type for
42117         result of __follow_path call.
42118
42119 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42120
42121         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42122         of math functions ceil, trunc, floor, round, and sqrt, when
42123         avaliable on the platform.
42124         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42125         name clash.
42126         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42127         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42128         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42129
42130 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42131
42132         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42133         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42134
42135 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42136
42137         * include/unistd.h: Fix __readlink return type.
42138         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42139
42140 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42141
42142         * stdlib/ucontext.h: Undo last change for makecontext.
42143
42144 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42145
42146         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42147
42148         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42149         * setjmp/setjmp.h: Mark functions as non-leaf.
42150         * setjmp/bits/setjmp2.h: Likewise.
42151         * stdlib/ucontext.h: Likewise.
42152
42153 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42154
42155         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42156         (reused_arena): Don't check arena limit.
42157         (arena_get2): Atomically check arena limit.
42158
42159 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42160
42161         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42162         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42163
42164         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42165         instructions.
42166
42167 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42168
42169         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42170         handler when locking.
42171
42172         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42173         Fix size of allocated buffer.
42174
42175 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42176
42177         [BZ #10103]
42178         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42179         declarations for long double functions.
42180         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42181
42182         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42183
42184 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42185
42186         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42187         installed.
42188
42189         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42190         is disabled.
42191
42192 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42193
42194         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42195
42196 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42197
42198         * include/alloca.h (stackinfo_alloca_round): Define.
42199         (extend_alloca): Use it.
42200         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42201         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42202         here.
42203
42204         * scripts/check-local-headers.sh: Ignore libaudit.h.
42205
42206         * nscd/Makefile (extra-objs): Make recursively expanded.
42207
42208 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42209
42210         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42211         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42212
42213         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42214         * posix/tst-rfc3484-2.c: Likewise.
42215         * posix/tst-rfc3484-3.c: Likewise.
42216
42217         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42218         process_vm_writev.
42219         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42220         process_vm_writev.
42221         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42222         process_vm_writev from libc using GLIBC_2.15 version.
42223
42224         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42225
42226 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42227
42228         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42229         stack usage.
42230
42231 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42232
42233         [BZ #13367]
42234         * nss/getent.c (initgroups_keys): Show error message in case no group
42235         names are given.
42236
42237         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42238         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42239         __bump_nl_timestamp.
42240         * nscd/connections (nscd_init): When host database is served open
42241         netlink socket and request notification about configuration changes.
42242         (main_loop_poll): Track netlink file descriptor and bump timestamp
42243         in case data becomes available.
42244         (main_loop_epoll): Likewise.
42245         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42246         (database_pers_head): Add extra_data fileds.
42247         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42248         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42249         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42250         Adjust caller.
42251         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42252         in6ai data, call __free_in6ai.
42253         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42254         Add -DHAVE_NETLINK.
42255         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42256         interface information.  Reuse previous data if netlink timestamp
42257         is not changed.
42258         (__bump_nl_timestamp): New function.
42259         (__free_in6ai): New function.
42260
42261 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42262
42263         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42264         close_not_cancel_no_status here.
42265         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42266
42267 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42268
42269         [BZ #13276]
42270         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42271         return value.
42272
42273         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42274         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42275         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42276
42277 2011-07-03  Andreas Jaeger  <aj@suse.de>
42278
42279         [BZ #10709]
42280         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42281         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42282         * math/libm-test.inc (sin_test): Add test case.
42283
42284 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42285
42286         [BZ #13337]
42287         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42288         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42289
42290         * elf/chroot_canon.c (chroot_canon): Cleanups.
42291
42292         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42293
42294         [BZ #13335]
42295         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42296         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42297
42298         * string/test-strchr.c: Make usable for strchrnul testing.
42299         * string/test-strchrnul.c: New file.
42300         * string/Makefile (strop-tests): Add strchrnul.
42301
42302         * po/it.po: Update from translation team.
42303         * po/es.po: Likewise.
42304
42305 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42306
42307         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42308         the three constants needed as parameters.  Drop the others.
42309         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42310         __m128i_strloadu_tolower.
42311         Create and initialize variable zero and use it in all the places
42312         where _mm_setzero_si128 was used.
42313
42314         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42315         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42316         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42317         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42318         anymore.
42319         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42320         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42321         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42322         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42323         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42324         __mpranred, __mptan.
42325         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42326         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42327         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42328         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42329         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42330         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42331         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42332         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42333         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42334
42335 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42336
42337         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42338         redefine if SHARED.
42339         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42340
42341         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42342         wide char related routines to wcsmbs subdir.
42343
42344 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42345
42346         [BZ #13344]
42347         * misc/sys/cdefs.h (__THROWNL): Define.
42348         * posix/unistd.h: Use __THREADNL instead of __THREAD
42349         for memory synchronization functions.
42350
42351 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42352
42353         [BZ #13349]
42354         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42355         doesn't exist.
42356         * manual/stdio.texi (Obstack Streams): Node removed.
42357
42358 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42359
42360         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42361         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42362         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42363
42364         * math/math_private.h (math_force_eval): Allow non-addressable
42365         arguments.
42366         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42367
42368 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42369
42370         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42371         file is not needed.
42372
42373         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42374         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42375         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42376         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42377         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42378         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42379         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42380         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42381         Add AVX variants.
42382         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42383         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42384         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42385         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42386         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42387         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42388         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42389         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42390         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42391         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42392         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42393         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42394         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42395         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42396         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42397         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42398         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42399         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42400         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42401
42402         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42403         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42404
42405         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42406         place.  Use VEX encoding when compiling for AVX.
42407
42408 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42409
42410         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42411         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42412
42413         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42414
42415 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42416
42417         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42418         useless if() expression.
42419         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42420         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42421         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42422         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42423         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42424         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42425         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42426         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42427         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42428         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42429         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42430         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42431         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42432         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42433         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42434         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42435         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42436         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42437         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42438
42439         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42440
42441 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42442
42443         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42444         condition.
42445         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42446
42447 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42448
42449         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42450         .text section.  Avoid duplicate constants.
42451         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42452         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42453         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42454         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42455         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42456         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42457         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42458         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42459         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42460         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42461         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42462         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42463         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42464         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42465         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42466         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42467         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42468         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42469         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42470         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42471         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42472         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42473         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42474         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42475         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42476         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42477         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42478         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42479         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42480         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42481         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42482         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42483         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42484         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42485         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42486         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42487         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42488         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42489         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42490         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42491         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42492         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42493         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42494         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42495         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42496
42497 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42498
42499         * sysdeps/x86_64/dla.h: Move to ...
42500         * sysdeps/x86_64/fpu/dla.h: ...here.
42501         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42502         situations.  Use __builtin_fma only for gcc 4.6 and up.
42503
42504         * config.make.in: Add have-mfma4 entry.
42505         * configure.in: Substitute libc_cv_cc_fma4.
42506         * math/Makefile (dbl-only-routines): Add sincostab.
42507         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42508         Use __sincostab not sincos.
42509         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42510         name is a macro.
42511         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42512         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42513         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42514         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42515         using __copysign.
42516         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42517         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42518         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42519         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42520         and __inv.
42521         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42522         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42523         __copysign.
42524         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42525         define aliases when function name is a macro.
42526         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42527         sysdeps/ieee754/dbl-64/sincos.tbl.
42528         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42529         fma4-enabled routines.
42530         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42531         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42532         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42533         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42534         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42535         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42536         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42537         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42538         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42539         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42540         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42541         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42542         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42543         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42544         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42545         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42546         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42547         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42548         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42549         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42550         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42551         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42552         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42553         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42554         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42555         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42556         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42557         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42558         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42559         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42560
42561         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42562         rename.
42563         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42564         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42565         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42566         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42567         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42568         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42569         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42570         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42571
42572 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42573
42574         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42575
42576 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42577
42578         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42579
42580         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42581         prediction.
42582         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42583
42584         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42585         Remove unused variable magic_bits.
42586         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42587
42588         * string/strnlen.c: Define and use STRNLEN macro.
42589         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42590         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42591         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42592         * wcsmbs/wcslen.c: Define and use WCSLEN.
42593         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42594         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42595         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42596         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42597         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42598         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42599         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42600
42601 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42602
42603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42604         strnlen-sse2-no-bsf.
42605         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42606         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42607         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42608         Add strnlen support.
42609         (USE_AS_STRNLEN): New macro.
42610         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42611         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42612         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42613         * sysdeps/x86_64/wcslen.S: New file.
42614
42615 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42616
42617         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42618         XMM-moves are used for copying on small sizes.
42619
42620 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42621
42622         * wcsmbs/Makefile (strop-tests): Add wcschr.
42623         * wcsmbs/test-wcschr.c: New file.
42624         * string/test-strchr.c: Update.
42625         Add wcschr support.
42626         (WIDE): New macro.
42627
42628 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42629
42630         * wcsmbs/Makefile (strop-tests): Add wcslen.
42631         * wcsmbs/test-wcslen.c: New file.
42632         * string/test-strlen.c: Update.
42633         Add wcslen support.
42634         (WIDE): New macro.
42635
42636 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42637
42638         * po/it.po: Update from translation team.
42639
42640 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42641
42642         * sysdeps/x86_64/wcscmp.S: Update.
42643         Fix wrong comparison semantics.
42644         wcscmp shall use signed comparison not unsigned.
42645         Don't use substraction to avoid overflow bug.
42646         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42647         * wcsmbc/wcscmp.c: Likewise.
42648         * string/test-strcmp.c: Likewise.
42649         Add new tests to check cases with negative values.
42650
42651 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42652
42653         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42654         * sysdeps/x86_64/dla.h: ...here.  New file.
42655         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42656         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42657         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42658         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42659         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42660         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42661         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42662         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42663         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42664
42665 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42666
42667         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42668         __ynl_finite aliases.
42669
42670 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42671
42672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42673
42674         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42675         define DLA_FMA.
42676         [DLA_FMA] (EMULV): Use DLA_FMA.
42677         [DLA_FMA] (MUL12): Use EMULV.
42678         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42679         that are not needed.
42680         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42681         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42682         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42683         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42684         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42685         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42686         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42687
42688 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42689
42690         * math/s_nan.c: Undef __nan.
42691         * math/s_nanf.c: Undef __nanf.
42692         * math/s_nanl.c: Undef __nanl.
42693         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42694         "math_private.h".
42695
42696 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42697
42698         * math/s_catan.c: Add branch predictions.
42699         * math/s_catanf.c: Likewise.
42700         * math/s_catanh.c: Likewise.
42701         * math/s_catanhf.c: Likewise.
42702         * math/s_catanhl.c: Likewise.
42703         * math/s_catanl.c: Likewise.
42704         * math/s_cexp.c: Likewise.
42705         * math/s_cexpf.c: Likewise.
42706         * math/s_cexpl.c: Likewise.
42707         * math/s_clog.c: Likewise.
42708         * math/s_clog10.c: Likewise.
42709         * math/s_clog10f.c: Likewise.
42710         * math/s_clog10l.c: Likewise.
42711         * math/s_clogf.c: Likewise.
42712         * math/s_clogl.c: Likewise.
42713         * math/s_csqrt.c: Likewise.
42714         * math/s_csqrtf.c: Likewise.
42715         * math/s_csqrtl.c: Likewise.
42716         * math/s_ctanf.c: Likewise.
42717         * math/s_ctanh.c: Likewise.
42718         * math/s_ctanhf.c: Likewise.
42719         * math/s_ctanhl.c: Likewise.
42720         * math/s_ctanl.c: Likewise.
42721
42722         * math/math_private.h: Define __nan, __nanf, __nanl.
42723         * math/s_cacosh.c: Include <math_private.h>.
42724         * math/s_cacoshl.c: Likewise.
42725         * math/s_casinh.c: Likewise.
42726         * math/s_casinhf.c: Likewise.
42727         * math/s_casinhl.c: Likewise.
42728         * math/s_ccos.c: Rely entire on ccosh.
42729         * math/s_ccosf.c: Rely entire on ccoshf.
42730         * math/s_ccosl.c: Rely entirely on ccoshl.
42731         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42732         Remove tests for FE_INVALID.
42733         * math/s_ccoshf.c: Likewise.
42734         * math/s_ccoshl.c: Likewise.
42735         * math/s_csin.c: Likewise.
42736         * math/s_csinf.c: Likewise.
42737         * math/s_csinh.c Likewise.
42738         * math/s_csinhf.c: Likewise.
42739         * math/s_csinhl.c: Likewise.
42740         * math/s_csinl.c: Likewise.
42741         * math/s_ctan.c: Likewise.
42742         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42743         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42744         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42745
42746 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42747
42748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42749         compilation problems.
42750
42751         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42752         __builtin_expect.
42753
42754 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42755
42756         * sysdeps/i386/configure.in: Test for -mfma4 option.
42757         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42758         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42759         COMMON_CPUID_INDEX_80000001.
42760         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42761         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42762         use it if FMA3 is not supported.
42763         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42764
42765         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42766         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42767
42768 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42769
42770         [BZ #12892]
42771         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42772         it would create a cycle with a link time dependency.
42773
42774 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42775
42776         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42777         instruction.
42778         * string/Makefile (strop-tests): Add rawmemchr.
42779         * string/test-rawmemchr.c: New file.
42780
42781         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42782         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42783         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42784         when compiling str{,n}casecmp and when AVX is available.  Hook up
42785         new optimized code in initializers.
42786
42787 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42788
42789         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42790         __feraiseexcept instead of feraiseexcept.
42791
42792 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42793
42794         * math/math_private.h: Define defaults for libc_fetestexcept and
42795         libc_feupdateenv.
42796         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42797         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42798         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42799         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42800         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42801         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42802         libc_fetestexcept and libc_feupdateenv.
42803
42804         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42805         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42806         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42807         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42808         libc_feholdexcept_setround.
42809
42810         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42811         Add s_nearbyint-c and s_nearbyintf-c.
42812         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42813         nearbyintf inlines.
42814         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42815         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42816         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42817         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42818
42819         * math/math_private.h: Define defaults for libc_fegetround,
42820         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42821         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42822         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42823         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42824         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42825         standard functions.
42826         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42827         Remove comments and hacks for old compiler versions.
42828         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42829         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42830         libc_feholdexceptl.
42831
42832 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42833
42834         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42835         (__feraiseexcept_renamed): Add __NTH.
42836         (feraiseexcept): Add __NTH.  Rename local variables to fix
42837         namespace violations.
42838
42839 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42840
42841         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42842
42843         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42844
42845         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42846         recently added interfaces.
42847         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42848
42849         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42850         about macro parameter expansion.
42851
42852         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42853         __NO_MATH_INLINES is defined.  Cleanups.
42854
42855         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42856         and __floorf is target has SSE4.1.
42857         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42858         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42859         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42860         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42861
42862         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42863         name.
42864         (floorf): Likewise.
42865
42866         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42867
42868 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42869
42870         * misc/sys/cdefs.h: Fix last change.
42871
42872         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42873         database lookup.
42874
42875 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42876
42877         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42878
42879         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42880         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42881         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42882         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42883         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42884         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42885         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42886         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42887         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42888         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42889         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42890         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42891         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42892         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42893         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42894         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42895         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42896         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42897         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42898         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42899         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42900         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42901
42902         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42903         ceil, ceilf, floor, floorf.
42904
42905         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42906         Perform IRELATIVE relocations last.
42907
42908         * elf/do-rel.h: Add another parameter nrelative, replacing the
42909         local variable with the same name.  Change name of the function
42910         to end in Rel or Rela (uppercase).
42911         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42912         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42913         elf_dynamic_do_##reloc function.
42914
42915 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42916
42917         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42918         is sufficient, at least on modern CPUs.
42919
42920         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42921
42922         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42923         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42924
42925         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42926         __expl_finite.
42927         * math/bits/math-finite.h: Add entries for exp.
42928         * math/e_expl.c: Add __*_finite alias.
42929         * sysdeps/i386/fpu/e_exp.S: Likewise.
42930         * sysdeps/i386/fpu/e_expf.S: Likewise.
42931         * sysdeps/i386/fpu/e_expl.c: Likewise.
42932         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42933         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42934         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42935         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42936         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42937         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42938         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42939
42940         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42941         is sufficient, at least on modern CPUs.
42942
42943         * ctype/ctype-info.c (__ctype_init): Define.
42944         * include/ctype.h (__ctype_init): Declare.
42945         (__ctype_b_loc): The variable is always initialized.
42946         (__ctype_toupper_loc): Likewise.
42947         (__ctype_tolower_loc): Likewise.
42948         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42949         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42950
42951 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42952
42953         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42954
42955         * configure.in: Also look in $cxxmachine/include for C++ system
42956         headers.
42957
42958 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42959
42960         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42961         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42962         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42963         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42964         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42965         (USE_AS_WMEMCMP): New macro.
42966         Fixing indents.
42967         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42968         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42969         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42970         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42971         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42972         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42973         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42974         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42975         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42976         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42977         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42978         (USE_AS_WMEMCMP): New macro.
42979         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42980         * sysdeps/string/test-memcmp.c: Update.
42981         Fix simple_wmemcmp.
42982         Add new tests.
42983         * wcsmbs/wmemcmp.c: Update.
42984         (WMEMCMP): New macro.
42985         Fix overflow bug.
42986
42987 2011-10-12  Andreas Jaeger  <aj@suse.de>
42988
42989         [BZ #13268]
42990         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42991
42992 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42993
42994         * libio/iofwide.c (do_length): Avoid warning.
42995
42996         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42997
42998 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42999
43000         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43001
43002         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43003         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43004         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43005         * sysdeps/i386/i686/fpu/e_log.S: New file.
43006         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43007         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43008
43009         * ctype/ctype.h: Add support for inlined isXXX functions when
43010         compiling C++ code.
43011
43012 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43013
43014         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43015
43016         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43017
43018 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43019
43020         [BZ #13291]
43021         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43022
43023 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43024
43025         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43026         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43027         feraiseexcept.
43028
43029         * sysdeps/x86_64/memrchr.S: Check for zero size.
43030
43031         * string/stratcliff.c: Add memrchr tests.
43032
43033 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43034
43035         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43036         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43037         rawmemchr-sse2 rawmemchr-sse2-bsf.
43038         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43039         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43040         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43041         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43042         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43043         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43044         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43045         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43046         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43047         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43048         * string/memrchr.c (MEMRCHR): New macro.
43049
43050 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43051
43052         Add integration with gcc's -ffinite-math-only and optimize wrapper
43053         functions in libm.
43054         * Versions.def: Define GLIBC_2.15 version for libm.
43055         * math/Makefile (headers): Add bits/math-finite.h.
43056         * math/bits/math-finite.h: New file.
43057         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43058         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43059         * math/e_acoshl.c: Add __*_finite alias.
43060         * math/e_acosl.c: Likewise.
43061         * math/e_asinl.c: Likewise.
43062         * math/e_atan2l.c: Likewise.
43063         * math/e_atanhl.c: Likewise.
43064         * math/e_coshl.c: Likewise.
43065         * math/e_exp10.c: Likewise.
43066         * math/e_exp10f.c: Likewise.
43067         * math/e_exp10l.c: Likewise.
43068         * math/e_exp2l.c: Likewise.
43069         * math/e_fmodl.c: Likewise.
43070         * math/e_gammal_r.c: Likewise.
43071         * math/e_hypotl.c: Likewise.
43072         * math/e_j0l.c: Likewise.
43073         * math/e_j1l.c: Likewise.
43074         * math/e_jnl.c: Likewise.
43075         * math/e_lgammal_r.c: Likewise.
43076         * math/e_log10l.c: Likewise.
43077         * math/e_log2l.c: Likewise.
43078         * math/e_logl.c: Likewise.
43079         * math/e_powl.c: Likewise.
43080         * math/e_sinhl.c: Likewise.
43081         * math/e_sqrtl.c: Likewise.
43082         * math/e_scalb.c: Completely rewritten and optimized.
43083         * math/e_scalbf.c: Likewise.
43084         * math/e_scalbl.c: Likewise.
43085         * math/w_acos.c: Likewise.
43086         * math/w_acosf.c: Likewise.
43087         * math/w_acosl.c: Likewise.
43088         * math/w_acosh.c: Likewise.
43089         * math/w_acoshf.c: Likewise.
43090         * math/w_acoshl.c: Likewise.
43091         * math/w_asin.c: Likewise.
43092         * math/w_asinf.c: Likewise.
43093         * math/w_asinl.c: Likewise.
43094         * math/w_atan2.c: Likewise.
43095         * math/w_atan2f.c: Likewise.
43096         * math/w_atan2l.c: Likewise.
43097         * math/w_atanh.c: Likewise.
43098         * math/w_atanhf.c: Likewise.
43099         * math/w_atanhl.c: Likewise.
43100         * math/w_exp10.c: Likewise.
43101         * math/w_exp10f.c: Likewise.
43102         * math/w_exp10l.c: Likewise.
43103         * math/w_fmod.c: Likewise.
43104         * math/w_fmodf.c: Likewise.
43105         * math/w_fmodl.c: Likewise.
43106         * math/w_j0.c: Likewise.
43107         * math/w_j0f.c: Likewise.
43108         * math/w_j0l.c: Likewise.
43109         * math/w_j1.c: Likewise.
43110         * math/w_j1f.c: Likewise.
43111         * math/w_j1l.c: Likewise.
43112         * math/w_jn.c: Likewise.
43113         * math/w_jnf.c: Likewise.
43114         * math/w_log.c: Likewise.
43115         * math/w_logf.c: Likewise.
43116         * math/w_logl.c: Likewise.
43117         * math/w_log10.c: Likewise.
43118         * math/w_log10f.c: Likewise.
43119         * math/w_log10l.c: Likewise.
43120         * math/w_log2.c: Likewise.
43121         * math/w_log2f.c: Likewise.
43122         * math/w_log2l.c: Likewise.
43123         * math/w_pow.c: Likewise.
43124         * math/w_powf.c: Likewise.
43125         * math/w_powl.c: Likewise.
43126         * math/w_remainder.c: Likewise.
43127         * math/w_remainderf.c: Likewise.
43128         * math/w_remainderl.c: Likewise.
43129         * math/w_scalb.c: Likewise.
43130         * math/w_scalbf.c: Likewise.
43131         * math/w_scalbl.c: Likewise.
43132         * math/w_sqrt.c: Likewise.
43133         * math/w_sqrtf.c: Likewise.
43134         * math/w_sqrtl.c: Likewise.
43135         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43136         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43137         used.
43138         * math/math_private.h: Declare __kernel_standard_f.
43139         * math/w_cosh.c: Remove cruft and optimize a bit.
43140         * math/w_coshf.c: Likewise.
43141         * math/w_coshl.c: Likewise.
43142         * math/w_exp2.c: Likewise.
43143         * math/w_exp2f.c: Likewise.
43144         * math/w_exp2l.c: Likewise.
43145         * math/w_hypot.c: Likewise.
43146         * math/w_hypotf.c: Likewise.
43147         * math/w_hypotl.c: Likewise.
43148         * math/w_lgamma.c: Likewise.
43149         * math/w_lgamma_r.c: Likewise.
43150         * math/w_lgammaf.c: Likewise.
43151         * math/w_lgammaf_r.c: Likewise.
43152         * math/w_lgammal.c: Likewise.
43153         * math/w_lgammal_r.c: Likewise.
43154         * math/w_sinh.c: Likewise.
43155         * math/w_sinhf.c: Likewise.
43156         * math/w_sinhl.c: Likewise.
43157         * math/w_tgamma.c: Likewise.
43158         * math/w_tgammaf.c: Likewise.
43159         * math/w_tgammal.c: Likewise.
43160         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43161         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43162         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43163         Minor optimizations.  Pretty printing.  Remove cruft.
43164         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43165         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43166         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43167         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43168         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43169         * sysdeps/i386/fpu/e_asin.S: Likewise.
43170         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43171         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43172         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43173         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43174         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43175         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43176         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43177         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43178         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43179         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43180         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43181         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43182         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43183         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43184         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43185         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43186         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43187         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43188         * sysdeps/i386/fpu/e_log.S: Likewise.
43189         * sysdeps/i386/fpu/e_log10.S: Likewise.
43190         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43191         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43192         * sysdeps/i386/fpu/e_log2.S: Likewise.
43193         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43194         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43195         * sysdeps/i386/fpu/e_logf.S: Likewise.
43196         * sysdeps/i386/fpu/e_logl.S: Likewise.
43197         * sysdeps/i386/fpu/e_pow.S: Likewise.
43198         * sysdeps/i386/fpu/e_powf.S: Likewise.
43199         * sysdeps/i386/fpu/e_powl.S: Likewise.
43200         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43201         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43202         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43203         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43204         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43205         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43206         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43207         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43208         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43209         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43210         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43211         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43212         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43213         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43214         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43215         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43216         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43217         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43218         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43219         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43220         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43221         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43222         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43223         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43224         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43225         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43226         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43227         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43228         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43229         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43230         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43231         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43232         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43233         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43234         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43235         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43236         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43237         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43238         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43239         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43240         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43241         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43242         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43243         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43244         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43245         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43246         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43247         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43248         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43249         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43250         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43251         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43252         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43253         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43254         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43255         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43256         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43257         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43258         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43259         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43260         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43261         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43262         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43263         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43264         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43265         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43266         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43267         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43268         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43269         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43270         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43271         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43272         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43273         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43274         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43275         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43276         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43277         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43278         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43279         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43280         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43281         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43282         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43283         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43284         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43285         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43286         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43287         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43288         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43289         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43290         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43291         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43292         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43293         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43294         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43295         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43296         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43297         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43298         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43299         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43300         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43301         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43302         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43303         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43304         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43305         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43306         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43307         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43308         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43309         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43310         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43311         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43312         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43313         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43314         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43315         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43316         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43317         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43318         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43319         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43320         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43321         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43322         (__isnanf): Likewise.
43323         (__isinf_ns): Likewise.
43324         (__isinf_nsf): Likewise.
43325         (__finite): Likewise.
43326         (__finitef): Likewise.
43327         (__ieee754_sqrt): Define as macro.
43328         (__ieee754_sqrtf): Define as macro.
43329         (__ieee754_sqrtl): Define as macro.
43330         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43331         inlined copy.
43332         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43333         __FINITE_MATH_ONLY__ consistent.
43334         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43335
43336 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43337
43338         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43339         of rawmemchr.
43340
43341         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43342
43343 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43344
43345         * po/ja.po: Update from translation team.
43346
43347 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43348
43349         * locale/programs/locarchive.c (prepare_address_space): New function.
43350         (create_archive, enlarge_archive, open_archive): Use it.
43351
43352         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43353         inside [SHARED], where it is used.
43354
43355         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43356
43357         * nss/getent.c (netgroup_keys): Remove unused variable.
43358         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43359
43360 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43361
43362         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43363         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43364         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43365         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43366         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43367         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43368         * math/Makefile (libm-calls): Add s_isinf_ns.
43369         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43370         * math/multc3.c: Likewise.
43371         * math/s_casin.c: Likewise.
43372         * math/s_casinf.c: Likewise.
43373         * math/s_casinl.c: Likewise.
43374         * math/s_ccos.c: Likewise.
43375         * math/s_ccosf.c: Likewise.
43376         * math/s_ccosl.c: Likewise.
43377         * math/s_ctan.c: Likewise.
43378         * math/s_ctanf.c: Likewise.
43379         * math/s_ctanh.c: Likewise.
43380         * math/s_ctanhf.c: Likewise.
43381         * math/s_ctanhl.c: Likewise.
43382         * math/s_ctanl.c: Likewise.
43383         * math/w_fmod.c: Likewise.
43384         * math/w_fmodf.c: Likewise.
43385         * math/w_fmodl.c: Likewise.
43386         * math/w_remainder.c: Likewise.
43387         * math/w_remainderf.c: Likewise.
43388         * math/w_remainderl.c: Likewise.
43389         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43390         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43391         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43392         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43393         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43394         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43395         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43396         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43397
43398         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43399         of the number.
43400         * stdio-common/printf_fphex.c: Likewise.
43401         * stdio-common/printf_size.c: Likewise.
43402
43403         * math/e_exp10.c: Include math_private.h using <...> not "...".
43404         * math/e_exp10f.c: Likewise.
43405         * math/e_exp10l.c: Likewise.
43406         * math/e_exp2l.c: Likewise.
43407         * math/e_j0l.c: Likewise.
43408         * math/e_j1l.c: Likewise.
43409         * math/e_jnl.c: Likewise.
43410         * math/e_lgammal_r.c: Likewise.
43411         * math/e_rem_pio2l.c: Likewise.
43412         * math/e_scalb.c: Likewise.
43413         * math/e_scalbf.c: Likewise.
43414         * math/e_scalbl.c: Likewise.
43415         * math/k_cosl.c: Likewise.
43416         * math/k_sinl.c: Likewise.
43417         * math/k_tanl.c: Likewise.
43418         * math/s_cacoshf.c: Likewise.
43419         * math/s_catan.c: Likewise.
43420         * math/s_catanf.c: Likewise.
43421         * math/s_catanh.c: Likewise.
43422         * math/s_catanhf.c: Likewise.
43423         * math/s_catanhl.c: Likewise.
43424         * math/s_catanl.c: Likewise.
43425         * math/s_ccosh.c: Likewise.
43426         * math/s_ccoshf.c: Likewise.
43427         * math/s_ccoshl.c: Likewise.
43428         * math/s_cexp.c: Likewise.
43429         * math/s_cexpf.c: Likewise.
43430         * math/s_cexpl.c: Likewise.
43431         * math/s_clog.c: Likewise.
43432         * math/s_clog10.c: Likewise.
43433         * math/s_clog10f.c: Likewise.
43434         * math/s_clog10l.c: Likewise.
43435         * math/s_clogf.c: Likewise.
43436         * math/s_clogl.c: Likewise.
43437         * math/s_csin.c: Likewise.
43438         * math/s_csinf.c: Likewise.
43439         * math/s_csinh.c: Likewise.
43440         * math/s_csinhf.c: Likewise.
43441         * math/s_csinhl.c: Likewise.
43442         * math/s_csinl.c: Likewise.
43443         * math/s_csqrt.c: Likewise.
43444         * math/s_csqrtf.c: Likewise.
43445         * math/s_csqrtl.c: Likewise.
43446         * math/s_ctan.c: Likewise.
43447         * math/s_ctanf.c: Likewise.
43448         * math/s_ctanh.c: Likewise.
43449         * math/s_ctanhf.c: Likewise.
43450         * math/s_ctanhl.c: Likewise.
43451         * math/s_ctanl.c: Likewise.
43452         * math/s_ldexp.c: Likewise.
43453         * math/s_ldexpf.c: Likewise.
43454         * math/s_ldexpl.c: Likewise.
43455         * math/s_significand.c: Likewise.
43456         * math/s_significandf.c: Likewise.
43457         * math/s_significandl.c: Likewise.
43458         * math/w_acos.c: Likewise.
43459         * math/w_acosf.c: Likewise.
43460         * math/w_acosh.c: Likewise.
43461         * math/w_acoshf.c: Likewise.
43462         * math/w_acoshl.c: Likewise.
43463         * math/w_acosl.c: Likewise.
43464         * math/w_asin.c: Likewise.
43465         * math/w_asinf.c: Likewise.
43466         * math/w_asinl.c: Likewise.
43467         * math/w_atan2.c: Likewise.
43468         * math/w_atan2f.c: Likewise.
43469         * math/w_atan2l.c: Likewise.
43470         * math/w_atanh.c: Likewise.
43471         * math/w_atanhf.c: Likewise.
43472         * math/w_atanhl.c: Likewise.
43473         * math/w_cosh.c: Likewise.
43474         * math/w_coshf.c: Likewise.
43475         * math/w_coshl.c: Likewise.
43476         * math/w_dremf.c: Likewise.
43477         * math/w_exp10.c: Likewise.
43478         * math/w_exp10f.c: Likewise.
43479         * math/w_exp10l.c: Likewise.
43480         * math/w_exp2.c: Likewise.
43481         * math/w_exp2f.c: Likewise.
43482         * math/w_fmod.c: Likewise.
43483         * math/w_fmodf.c: Likewise.
43484         * math/w_fmodl.c: Likewise.
43485         * math/w_hypot.c: Likewise.
43486         * math/w_hypotf.c: Likewise.
43487         * math/w_hypotl.c: Likewise.
43488         * math/w_j0.c: Likewise.
43489         * math/w_j0f.c: Likewise.
43490         * math/w_j0l.c: Likewise.
43491         * math/w_j1.c: Likewise.
43492         * math/w_j1f.c: Likewise.
43493         * math/w_j1l.c: Likewise.
43494         * math/w_jn.c: Likewise.
43495         * math/w_jnf.c: Likewise.
43496         * math/w_jnl.c: Likewise.
43497         * math/w_lgamma.c: Likewise.
43498         * math/w_lgamma_r.c: Likewise.
43499         * math/w_lgammaf.c: Likewise.
43500         * math/w_lgammaf_r.c: Likewise.
43501         * math/w_lgammal.c: Likewise.
43502         * math/w_lgammal_r.c: Likewise.
43503         * math/w_log.c: Likewise.
43504         * math/w_log10.c: Likewise.
43505         * math/w_log10f.c: Likewise.
43506         * math/w_log10l.c: Likewise.
43507         * math/w_log2.c: Likewise.
43508         * math/w_log2f.c: Likewise.
43509         * math/w_log2l.c: Likewise.
43510         * math/w_logf.c: Likewise.
43511         * math/w_logl.c: Likewise.
43512         * math/w_pow.c: Likewise.
43513         * math/w_powf.c: Likewise.
43514         * math/w_powl.c: Likewise.
43515         * math/w_remainder.c: Likewise.
43516         * math/w_remainderf.c: Likewise.
43517         * math/w_remainderl.c: Likewise.
43518         * math/w_scalb.c: Likewise.
43519         * math/w_scalbf.c: Likewise.
43520         * math/w_scalbl.c: Likewise.
43521         * math/w_sinh.c: Likewise.
43522         * math/w_sinhf.c: Likewise.
43523         * math/w_sinhl.c: Likewise.
43524         * math/w_sqrt.c: Likewise.
43525         * math/w_sqrtf.c: Likewise.
43526         * math/w_sqrtl.c: Likewise.
43527         * math/w_tgamma.c: Likewise.
43528         * math/w_tgammaf.c: Likewise.
43529         * math/w_tgammal.c: Likewise.
43530
43531         * po/ja.po: Update from translation team.
43532
43533 2011-09-29  Andreas Jaeger  <aj@suse.de>
43534
43535         [BZ #13179]
43536         * sunrpc/netname.c (netname2host): Fix logic.
43537
43538         [BZ #6779]
43539         [BZ #6783]
43540         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43541         correctly.
43542         * math/w_remainder.c (__remainder): Likewise.
43543         * math/w_remainderf.c (__remainderf): Likewise.
43544         * math/libm-test.inc (remainder_test): Add test cases.
43545
43546 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43547
43548         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43549         sdiv_qrnnd.
43550
43551 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43552
43553         * string/test-memcmp.c: Avoid unncessary #defines.
43554         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43555
43556 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43557
43558         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43559         Use new sse2 version for core i3 - i7 as it's faster
43560         than sse42 version.
43561         (bit_Prefer_PMINUB_for_stringop): New.
43562         * sysdeps/x86_64/rawmemchr.S: Update.
43563         Replace with faster SSE2 version.
43564         * sysdeps/x86_64/memrchr.S: New file.
43565         * sysdeps/x86_64/memchr.S: Update.
43566         Replace with faster SSE2 version.
43567
43568 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43569
43570         * elf/dl-load.c (lose): Add cast to avoid warning.
43571
43572 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43573
43574         * po/ca.po: Update from translation team.
43575
43576         * inet/getnetgrent_r.c: Hook up nscd.
43577         * nscd/Makefile (routines): Add nscd_netgroup.
43578         (nscd-modules): Add netgroupcache.
43579         (CFLAGS-netgroupcache.c): Define.
43580         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43581         (cache_search): Add const to second parameter.
43582         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43583         INNETGR.
43584         (dbs): Add netgrdb entry.
43585         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43586         (verify_persistent_db): Handle netgrdb.
43587         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43588         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43589         GETFDNETGR.
43590         (netgroup_response_header): Define.
43591         (innetgroup_response_header): Define.
43592         (datahead): Add netgroup_response_header and innetgroup_response_header
43593         elements.
43594         * nscd/nscd.conf: Add entries for netgroup cache.
43595         * nscd/nscd.h (dbtype): Add netgrdb.
43596         (_PATH_NSCD_NETGROUP_DB): Define.
43597         (netgroup_iov_disabled): Declare.
43598         (xmalloc, xcalloc, xrealloc): Move declarations here.
43599         (cache_search): Adjust prototype.
43600         Add netgroup-related prototypes.
43601         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43602         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43603         (__nscd_innetgr): Declare.
43604         * nscd/selinux.c (perms): Use access_vector_t as element type and
43605         add netgroup-related initializers.
43606         * nscd/netgroupcache.c: New file.
43607         * nscd/nscd_netgroup.c: New file.
43608         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43609         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43610         For four parameters use innetgr.
43611         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43612         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43613         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43614         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43615
43616         * nscd/connections.c (register_traced_file): Don't register file
43617         for disabled databases.
43618
43619 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43620
43621         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43622
43623         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43624         from tree and freeing node.
43625
43626 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43627
43628         * nss/nsswitch.c (__nss_database_lookup): Handle
43629         nss_parse_service_list out of memory case.
43630
43631 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43632
43633         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43634         out of memory case.
43635
43636 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43637
43638         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43639         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43640         pass it down.
43641         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43642         elf_machine_rela, elf_machine_lazy_rel.
43643         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43644         (ELF_DYNAMIC_DO_REL): Likewise.
43645         (ELF_DYNAMIC_DO_RELA): Likewise.
43646         (ELF_DYNAMIC_RELOCATE): Likewise.
43647         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43648         to ELF_DYNAMIC_DO_REL.
43649         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43650         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43651         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43652         elf_machine_rela.
43653         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43654         skip_ifunc, don't call ifunc function if non-zero.
43655         (elf_machine_rela): Likewise.
43656         (elf_machine_lazy_rel): Likewise.
43657         (elf_machine_lazy_rela): Likewise.
43658         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43659         (elf_machine_lazy_rel): Likewise.
43660         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43661         Likewise.
43662         (elf_machine_lazy_rel): Likewise.
43663         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43664         Likewise.
43665         (elf_machine_lazy_rel): Likewise.
43666         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43667         (elf_machine_lazy_rel): Likewise.
43668         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43669         (elf_machine_lazy_rel): Likewise.
43670         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43671         (elf_machine_lazy_rel): Likewise.
43672         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43673         (elf_machine_lazy_rel): Likewise.
43674         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43675         (elf_machine_lazy_rel): Likewise.
43676         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43677         (elf_machine_lazy_rel): Likewise.
43678
43679 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43680
43681         * nss/nss_files/files-init.c (_nss_files_init): Use static
43682         initialization for all the *_traced_file variables.
43683
43684 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43685
43686         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43687
43688 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43689
43690         [BZ #13226]
43691         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43692
43693 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43694
43695         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43696         Reread the line before reparsing it.
43697
43698 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43699
43700         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43701
43702 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43703             Maxim Kuvyrkov  <maxim@codesourcery.com>
43704             Joseph Myers  <joseph@codesourcery.com>
43705
43706         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43707         if needed for __stack_chk_guard.
43708
43709 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43710
43711         * sysdeps/posix/spawni.c (script_execute): Always define it.
43712         It will be optimized away if unused.
43713         (maybe_script_execute): New function.
43714         (__spawni): Call it.
43715
43716         * Makerules: Don't include tls.make.
43717         (config-tls): Always set to thread.
43718         * tls.make.c: File removed.
43719
43720 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43721
43722         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43723         * config.make.in (CPPFLAGS-config): New substituted variable.
43724
43725 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43726
43727         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43728
43729         [BZ #13192]
43730         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43731         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43732
43733 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43734
43735         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43736         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43737         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43738         (CALL_FAIL): Likewise.
43739         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43740         (CALL_FAIL): Macro removed.
43741         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43742
43743 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43744
43745         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43746         for __FINITE_MATH_ONLY__ == 1.
43747
43748 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43749
43750         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43751         __ieee754_sqrt instead of sqrt.
43752         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43753         __ieee754_sqrtf instead of sqrtf.
43754         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43755         __floorf instead of floorf.
43756         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43757         __floorf, __truncf instead of floorf, truncf.
43758
43759 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43760
43761         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43762
43763         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43764         __extern_always_inline.
43765         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43766         32-bit.
43767
43768 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43769
43770         * elf/rtld.c (dl_main): Also relocate in dependency order when
43771         doing symbol dependency testing.
43772
43773 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43774
43775         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43776         Always define `refsym'.
43777
43778 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43779
43780         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43781         (__FD_ELT): Renamed from __FDELT.
43782         * misc/bits/select2.h (__FD_ELT): Likewise.
43783         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43784         __FD_MASK instead of __FDELT, __FDMASK.
43785         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43786         Likewise.
43787         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43788         Likewise.
43789
43790         * elf/Makefile (gen-ldd): Fix pattern.
43791
43792         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43793         (init_tls): Likewise.
43794
43795 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43796
43797         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43798
43799 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43800
43801         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43802         `struct cmsghdr *' instead of `void *'.
43803         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43804         Likewise.
43805
43806 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43807
43808         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43809         if non-absolute.
43810         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43811         ldd_rewrite_script.
43812
43813 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43814
43815         * configure.in: Remove --with-tls option.
43816         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43817         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43818         out in case it is missing.
43819         * sysdeps/ia64/elf/configure.in: Likewise.
43820         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43821         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43822         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43823         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43824         * sysdeps/sh/elf/configure.in: Likewise.
43825         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43826         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43827         * sysdeps/x86_64/elf/configure.in: Likewise.
43828         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43829         * sysdeps/mach/hurd/tls.h: Likewise.
43830
43831         [BZ #13067]
43832         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43833
43834         [BZ #13090]
43835         * configure.in: Fix use of AC_INIT.
43836
43837         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43838
43839 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43840
43841         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43842         __set_errno.
43843         * malloc/hooks.c: Likewise.
43844
43845         [BZ #11929]
43846         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43847         variables statically.
43848         (narenas): Initialize.
43849         (list_lock): Initialize.
43850         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43851         initializtion of main_arena and list_lock.  Small cleanups.
43852         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43853         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43854         Add initializers to main_arena and mp_.
43855         (malloc_state): Remove pagesize member.  Change all users to use
43856         GLRO(dl_pagesize).
43857
43858         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43859         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43860         is always initialized.
43861
43862         * malloc/malloc.c: Removed unused configurations and dead code.
43863         * malloc/arena.c: Likewise.
43864         * malloc/hooks.c: Likewise.
43865         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43866
43867         * include/tls.h: Removed.  USE___THREAD must always be defined.
43868         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43869         * elf/dl-libc.c: Likewise.
43870         * elf/dl-tsd.c: Likewise.
43871         * include/errno.h: Likewise.
43872         * include/netdb.h: Likewise.
43873         * include/resolv.h: Likewise.
43874         * inet/herrno-loc.c: Likewise.
43875         * inet/herrno.c: Likewise.
43876         * malloc/arena.c: Likewise.
43877         * malloc/hooks.c: Likewise.
43878         * malloc/malloc.c: Likewise.
43879         * resolv/res-state.c: Likewise.
43880         * resolv/res_libc.c: Likewise.
43881         * sysdeps/i386/dl-machine.h: Likewise.
43882         * sysdeps/ia64/dl-machine.h: Likewise.
43883         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43884         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43885         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43886         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43887         * sysdeps/sh/dl-machine.h: Likewise.
43888         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43889         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43890         * sysdeps/unix/i386/sysdep.S: Likewise.
43891         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43892         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43893         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43894         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43895         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43896         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43897         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43899         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43900         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43901         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43902         * sysdeps/x86_64/dl-machine.h: Likewise.
43903         * tls.make.c: Likewise.
43904
43905         * configure.in: Remove --with-__thread option.  Make tests for
43906         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43907         tls_model attribute fail if no support is available.  Remove
43908         USE_IN_LIBIO.
43909         * Makeconfig: Adjust for dropped configure option.  All features are
43910         now mandatory.
43911         * Makerules: Likewise.
43912         * Versions.def: Likewise.
43913         * argp/argp-fmtstream.c: Likewise.
43914         * argp/argp-fmtstream.h: Likewise.
43915         * argp/argp-help.c: Likewise.
43916         * assert/assert.c: Likewise.
43917         * config.h.in: Likewise.
43918         * config.make.in: Likewise.
43919         * configure: Likewise.
43920         * configure.in: Likewise.
43921         * csu/Versions: Likewise.
43922         * csu/init.c: Likewise.
43923         * elf/tst-audit2.c: Likewise.
43924         * elf/tst-tls10.c: Likewise.
43925         * elf/tst-tls10.h: Likewise.
43926         * elf/tst-tls11.c: Likewise.
43927         * elf/tst-tls12.c: Likewise.
43928         * elf/tst-tls14.c: Likewise.
43929         * elf/tst-tlsmod11.c: Likewise.
43930         * elf/tst-tlsmod12.c: Likewise.
43931         * elf/tst-tlsmod13.c: Likewise.
43932         * elf/tst-tlsmod13a.c: Likewise.
43933         * elf/tst-tlsmod14a.c: Likewise.
43934         * elf/tst-tlsmod15b.c: Likewise.
43935         * elf/tst-tlsmod16a.c: Likewise.
43936         * elf/tst-tlsmod16b.c: Likewise.
43937         * elf/tst-tlsmod7.c: Likewise.
43938         * elf/tst-tlsmod8.c: Likewise.
43939         * elf/tst-tlsmod9.c: Likewise.
43940         * gmon/gmon.c: Likewise.
43941         * grp/fgetgrent_r.c: Likewise.
43942         * grp/putgrent.c: Likewise.
43943         * hurd/fopenport.c: Likewise.
43944         * include/libc-symbols.h: Likewise.
43945         * include/tls.h: Likewise.
43946         * intl/gettextP.h: Likewise.
43947         * intl/loadinfo.h: Likewise.
43948         * locale/global-locale.c: Likewise.
43949         * locale/localeinfo.h: Likewise.
43950         * mach/devstream.c: Likewise.
43951         * malloc/arena.c: Likewise.
43952         * malloc/set-freeres.c: Likewise.
43953         * misc/err.c: Likewise.
43954         * misc/getttyent.c: Likewise.
43955         * misc/mntent_r.c: Likewise.
43956         * posix/getopt.c: Likewise.
43957         * posix/wordexp.c: Likewise.
43958         * pwd/fgetpwent_r.c: Likewise.
43959         * resolv/Versions: Likewise.
43960         * resolv/res_hconf.c: Likewise.
43961         * shadow/fgetspent_r.c: Likewise.
43962         * shadow/putspent.c: Likewise.
43963         * stdio-common/printf_fphex.c: Likewise.
43964         * stdio-common/tmpfile.c: Likewise.
43965         * stdlib/abort.c: Likewise.
43966         * stdlib/fmtmsg.c: Likewise.
43967         * sunrpc/auth_unix.c: Likewise.
43968         * sunrpc/clnt_perr.c: Likewise.
43969         * sunrpc/clnt_tcp.c: Likewise.
43970         * sunrpc/clnt_udp.c: Likewise.
43971         * sunrpc/clnt_unix.c: Likewise.
43972         * sunrpc/openchild.c: Likewise.
43973         * sunrpc/svc_simple.c: Likewise.
43974         * sunrpc/svc_tcp.c: Likewise.
43975         * sunrpc/svc_udp.c: Likewise.
43976         * sunrpc/svc_unix.c: Likewise.
43977         * sunrpc/xdr.c: Likewise.
43978         * sunrpc/xdr_array.c: Likewise.
43979         * sunrpc/xdr_rec.c: Likewise.
43980         * sunrpc/xdr_ref.c: Likewise.
43981         * sunrpc/xdr_stdio.c: Likewise.
43982
43983 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43984
43985         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43986
43987 2011-07-03  Andreas Jaeger  <aj@suse.de>
43988
43989         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43990         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43991         regenerate with gen-libm-tests.pl.
43992
43993 2010-05-12  Petr Baudis  <pasky@suse.cz>
43994
43995         [BZ #11589]
43996         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43997         around j0() zero points by switching to j1().
43998         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43999         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44000         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44001         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44002
44003 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44004
44005         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44006         instead of 0.
44007         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44008         instead of 0.
44009         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44010         Patch in part by Pavel Roskin <proski@gnu.org>.
44011
44012         [BZ #13138]
44013         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44014         realloc.
44015         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44016         Free memory block if necessary.
44017
44018         [BZ #12847]
44019         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44020         be NULL.  Don't lock in this case.
44021
44022 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44023
44024         * elf/elf.h (ELFOSABI_GNU): New macro.
44025         (ELFOSABI_LINUX): Define to that.
44026
44027 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44028
44029         * string/strncat.c (strncat): Undef the symbol in case it has been
44030         defined in bits/string.h.
44031
44032 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44033
44034         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44035
44036         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44037         link map.
44038
44039 2011-08-17  Andreas Jaeger  <aj@suse.de>
44040
44041         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44042
44043 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44044             Ian Lance Taylor  <iant@google.com>
44045
44046         * math/libm-test.inc (lround_test): New testcase.
44047         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44048
44049 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44050
44051         * Makefile: Remove support for automatic cvs check-ins.
44052         * Makerules: Likewise.
44053         * config.make.in: Likewise.
44054         * configure.in: Likewise.
44055         * intl/Makefile: Likewise.
44056         * locale/Makefile: Likewise.
44057         * po/Makefile: Likewise.
44058         * posix/Makefile: Likewise.
44059         * sysdeps/gnu/Makefile: Likewise.
44060         * sysdeps/mach/hurd/Makefile: Likewise.
44061         * sysdeps/sparc/sparc32/Makefile: Likewise.
44062
44063         [BZ #13118]
44064         * posix/Makefile (bug-regex32-ENV): Define.
44065         Patch by John Stanley <jpsinthemix@verizon.net>.
44066
44067         * misc/Makefile (headers): Add bits/select2.h.
44068         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44069         * misc/bits/select2.h: New file.
44070         * include/bits/select2.h: New file.
44071         * debug/Makefile (routines): Add fdelt_chk.
44072         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44073         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44074         FD_ISSET.
44075         * debug/fdelt_chk.c: New file.
44076
44077         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44078         * wcsmbs/test-wmemcmp.c: Likewise.
44079         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44080         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44081
44082 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44083
44084         * string/Makefile (strop-tests): Add memcmp.
44085         * string/test-wmemcmp.c: New file.
44086         * string/test-memcmp.c: Add wmemcmp support.
44087
44088 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44089
44090         [BZ #13153]
44091         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44092         2011-07-19 change.
44093
44094         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44095         garbage value in a __mach_port_mod_refs call in the cases of the
44096         task-self and thread-self ports.
44097
44098 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44099
44100         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44101
44102 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44103
44104         * elf/dl-load.c (lose): Check for non-null L.
44105
44106 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44107
44108         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44109
44110         * elf/dl-libc.c (dlerror_run): Pass back error code from
44111         dl_catch_error.
44112
44113         [BZ #13123]
44114         * elf/dl-load.c (lose): Free l_origin if it is valid.
44115
44116         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44117         names.
44118         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44119         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44120         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44121         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44122         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44123         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44124
44125 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44126
44127         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44128         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44129         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44130         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44131         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44132         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44133         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44134         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44135         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44136         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44137
44138 2011-08-15  Alan Modra  <amodra@gmail.com>
44139
44140         [BZ #13092]
44141         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44142         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44143         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44144         ppc_mcount to static-only-routines.
44145         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44146         __mcount_internal.
44147         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44148         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44149
44150 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44151
44152         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44153         for finite and infinity parameters.
44154
44155 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44156
44157         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44158         and add nop instructions for throughput optimization.
44159         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44160
44161 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44162
44163         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44164         aligned copy for power7 with vector-scalar instructions.
44165         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44166
44167 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44168
44169         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44170         AVX check.
44171
44172 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44173
44174         [BZ #13144]
44175         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44176         last change.
44177
44178 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44179
44180         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44181         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44182         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44183         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44184         clock_gettime.
44185
44186 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44187
44188         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44189         Forgot to demangle the pointer.
44190
44191         * sysdeps/i386/sysdep.h: Define atom_text_section.
44192         * sysdeps/x86_64/sysdep.h: Likewise.
44193         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44194         section with atom_text_section.
44195         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44196         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44197         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44198         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44199         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44200
44201         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44202         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44203         already be defined.  Change to take two parameters and don't assign
44204         result to variable.  Adjust all users.
44205         Define INTERNAL_GETTIME if not already defined.
44206         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44207         call.
44208         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44209         HAVE_CLOCK_GETTIME_VSYSCALL.
44210         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44211
44212         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44213         gettimeofday vsyscall, just use time.
44214
44215 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44216
44217         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44218         <errno.h>.
44219
44220 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44221
44222         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44223         syscall on x86-64.
44224         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44225         syscall.
44226         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44227         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44228         syscall if possible.
44229
44230 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44231
44232         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44233         e_ident.  Don't pass to find_mapsXX.
44234         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44235
44236 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44237
44238         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44239         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44240         * sysdeps/x86_64/multiarch/strchr.S: Update.
44241         Check bit_slow_BSF bit.
44242         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44243         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44244         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44245
44246 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44247
44248         [BZ #13134]
44249         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44250         before glibc 2.15.
44251         (tryshell): Define.
44252         (__spawni): Change last parameter to be flag.  Test
44253         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44254         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44255         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44256         * posix/spawni.c: Likewise.
44257         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44258         * posix/spawnp.c: Likewise.  Change normal version to use
44259         SPAWN_XFLAGS_USE_PATH.
44260         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44261         SPAWN_XFLAGS_TRY_SHELL.
44262
44263         [BZ #13150]
44264         * posix/glob.h: Remove gcc 1.x support.
44265
44266         [BZ #13068]
44267         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44268
44269 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44270
44271         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44272         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44273         strrchr-sse2-bsf
44274         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44275         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44276         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44277         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44278         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44279         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44280
44281 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44282
44283         * sysdeps/x86_64/wcscmp.S: New file.
44284
44285         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44286         wcscmp-c wcscmp-sse2
44287         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44288         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44289         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44290         * wcsmbs/wcscmp.c: Allow renaming.
44291
44292 2011-09-05  David S. Miller  <davem@davemloft.net>
44293
44294         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44295         stack slot, rather than the struct return pointer slot.
44296         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44297         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44299         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44300
44301 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44302
44303         * po/ja.po: Update from translation team.
44304
44305         [BZ #13144]
44306         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44307         kernel in 64-bit binaries.
44308
44309 2011-09-01  David S. Miller  <davem@davemloft.net>
44310
44311         * elf/elf.h (HWCAP_SPARC_*): Move to..
44312         * sysdeps/sparc/sysdep.h: this new file and add new values.
44313         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44314         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44315         _DL_HWCAP_COUNT to 24.
44316         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44317         entries.
44318         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44319         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44320         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44321         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44322         instead of magic constants.
44323         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44324
44325 2011-08-31  David S. Miller  <davem@davemloft.net>
44326
44327         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44328         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44329         Reimplement to do errno handling inline.
44330         (SYSCALL_ERROR_HANDLER): New macro.
44331         (__SYSCALL_STRING): Do not do errno handling in asm.
44332         (__CLONE_SYSCALL_STRING): Delete.
44333         (__INTERNAL_SYSCALL_STRING): Delete.
44334         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44335         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44336         (PSEUDO): Reimplement to do errno handling inline.
44337         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44338         (SYSCALL_ERROR_HANDLER): New macro.
44339         (__SYSCALL_STRING): Do not do errno handling in asm.
44340         (__CLONE_SYSCALL_STRING): Delete.
44341         (__INTERNAL_SYSCALL_STRING): Delete.
44342         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44343         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44344         i386.
44345         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44346         (inline_syscall*): Add 'err' argument.
44347         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44348         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44349         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44350         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44351
44352         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44353         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44354
44355 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44356
44357         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44358
44359 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44360
44361         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44362         directive.
44363
44364 2011-08-24  David S. Miller  <davem@davemloft.net>
44365
44366         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44367
44368 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44369
44370         * elf/Makefile: Add rules to build and run unload8 test.
44371         * elf/unload8.c: New file.
44372         * elf/unload8mod1.c: New file.
44373         * elf/unload8mod1x.c: New file.
44374         * elf/unload8mod2.c: New file.
44375         * elf/unload8mod3.c: New file.
44376
44377         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44378         it wasn't used.
44379
44380 2011-08-23  David S. Miller  <davem@davemloft.net>
44381
44382         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44383         subtract stack bias.
44384         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44385         %sp not %fp in calculations.
44386         (_JMPBUF_UNWINDS_ADJ): Likewise.
44387
44388         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44389         (aio_suspend): Call it to force an exception region around the
44390         AIO_MISC_WAIT() invocation.
44391
44392 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44393
44394         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44395         backslash.
44396
44397 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44398
44399         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44400         protection macro.
44401         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44402         and <dl-machine.h>.
44403         (Elf64_FuncDesc): Remove.
44404
44405 2011-08-22  David S. Miller  <davem@davemloft.net>
44406
44407         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44408         sigaltstack check, add missing cfi directives.
44409         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44410         missing cfi directives, and sigaltstack handling.
44411
44412 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44413
44414         [BZ #11724]
44415         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44416         object is seen twice.
44417         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44418
44419         * elf/Makefile (distribute): Add tst-initorder2.c.
44420         (tests): Add tst-initorder2.
44421         (modules-names): Add tst-initorder2a tst-initorder2b
44422         tst-initorder2c tst-initorder2d.  Add rules to build them.
44423         ($(objpfx)tst-initorder2.out): New rule.
44424         * elf/tst-initorder2.c: New file.
44425         * elf/tst-initorder2.exp: New file.
44426
44427 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44428
44429         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44430
44431         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44432         dependencies back to end of function.
44433
44434         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44435         $(elfobjdir)/ld.so.
44436
44437 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44438
44439         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44440         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44441         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44442         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44443         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44444         of __vdso_gettimeofday.
44445         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44446         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44447         attribute_hidden.
44448         (_libc_vdso_platform_setup): Remove initialization of
44449         __vdso_gettimeofday and __vdso_time.
44450
44451 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44452
44453         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44454         and fgetc_unlocked.
44455         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44456         getc_unlocked.
44457
44458         * elf/dl-open.c (add_to_global): Report additions to the global scope
44459         for LD_DEBUG=scopes.
44460         (dl_open_worker): Also print scope of newly loaded dependencies.
44461         (_dl_show_scope): Indicate if there is no scope.
44462
44463         [BZ #13114]
44464         * stdio-common/Makefile (tests): Add bug24.
44465         * stdio-common/bug24.c: New file.
44466
44467 2011-08-19  Andreas Jaeger  <aj@suse.de>
44468
44469         [BZ #13114]
44470         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44471         non-existant file when using close-on-exec mode.
44472
44473 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44474
44475         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44476         the very first instruction.
44477
44478         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44479         the CFI state in the end.
44480         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44481         inclusion of dl-trampoline.h.
44482         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44483
44484 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44485
44486         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44487         expectations for long double.
44488
44489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44490         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44491
44492 2011-08-14  David S. Miller  <davem@davemloft.net>
44493
44494         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44495         artificual limit depends upon the system page size.
44496
44497 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44498
44499         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44500         * resolv/Makefile: Define CFLAGS-libresolv.
44501
44502 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44503
44504         * nss/makedb.c (compute_tables): Make variables used in nested
44505         function static.
44506
44507 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44508
44509         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44510         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44511         if buffer was too small.
44512
44513         * elf/pldd.c (main): Attach to all threads in the process.
44514         Rewrite /proc handling to use *at functions.
44515
44516 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44517
44518         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44519         specifies first scope to show.
44520         (dl_open_worker): Update callers.  Move printing scope of new
44521         object to before the relocation.
44522         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44523         * sysdeps/generic/ldsodefs.h: Update declaration.
44524
44525         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44526         string for the scope number.
44527
44528 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44529
44530         * nscd/servicescache.c (cache_addserv): Make sure written is always
44531         initialized.
44532
44533 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44534
44535         * sysdeps/i386/i486/bits/atomic.h
44536         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44537         statement expression, so as to suppress "set but not used" warning.
44538         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44539
44540         * string/strncat.c (STRNCAT): Use prototype definition.
44541
44542         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44543         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44544         -Iprograms here.
44545         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44546         (localedef-modules): Add localedef.
44547         (locale-modules): Add locale.
44548
44549         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44550         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44551         to avoid a warning.
44552
44553 2011-08-14  David S. Miller  <davem@davemloft.net>
44554
44555         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44556         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44557
44558 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44559
44560         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44561         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44562         * elf/rtld.c (dl_main): Set l_name of vDSO.
44563         Call _dl_show_scope when DL_DEBUG_SCOPES.
44564         (process_dl_debug): Recognize scopes flag and also set it for all.
44565         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44566         Declare _dl_show_scope.
44567
44568         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44569         (do_dlopen): Pass caller_dlopen to dl_open.
44570         (__libc_dlopen_mode): Initialize caller_dlopen.
44571
44572         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44573         of libc.  Make tolower call locale-independent.  Optimize a bit by
44574         using isdigit instead of isalnum.
44575         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44576
44577 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44578
44579         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44580         was a dependency or dynamically loaded.
44581
44582 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44583
44584         * intl/l10nflist.c: Allow architecture-specific pop function.
44585         * sysdeps/x86_64/l10nflist.c: New file.
44586
44587         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44588         classification.
44589
44590 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44591
44592         * include/dirent.h: Add libc_hidden_proto for scandirat and
44593         scandirat64.  Don't declare __scandirat64.
44594         * dirent/scandirat.c: Add libc_hidden_def.
44595         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44596         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44597
44598 2011-08-10  David S. Miller  <davem@davemloft.net>
44599
44600         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44601         enum.
44602         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44603         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44604         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44605
44606 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44607
44608         * Versions.def [libc]: Add GLIBC_2.15.
44609         * dirent/Makefile (routines): Add scandirat and scandirat64.
44610         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44611         GLIBC_2.15.
44612         * dirent/dirent.h: Declare scandirat and scandirat64.
44613         * dirent/scandirat.c: New file.
44614         * dirent/scandirat64.c: New file.
44615         * sysdeps/wordsize-64/scandirat.c: New file.
44616         * sysdeps/wordsize-64/scandirat64.c: New file.
44617         * dirent/opendir.c: Define opendirat.
44618         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44619         using scandirat.
44620         * dirent/scandir64.c: Adjust for scandir.c change.
44621         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44622         __scandirat64, and __scandir_cancel_handler.
44623         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44624         additional parameter and use openat instead of open (outside of ld.so).
44625         Add new __opendir as wrapper around __opendirat.
44626         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44627         here without requiring old scandirat implementation.
44628
44629 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44630
44631         * dirent/scandir.c (cancel_handler): Renamed to
44632         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44633         defined.  Adjust users.
44634         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44635         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44636
44637 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44638
44639         * string/test-string.h (IMPL): Use __STRING to expand name and then
44640         stringify it.
44641
44642         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44643         of cleanups.
44644
44645 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44646
44647         * string/Makefile: Update.
44648         (strop-tests): Append strncat.
44649         * string/test-wcscmp.c: New file.
44650         New comprehensive test for wcscmp.
44651         * string/test-strcmp.c: Update.
44652         (WIDE): New define.
44653
44654 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44655
44656         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44657         line.
44658
44659 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44660
44661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44662         encoding to ACE if AI_IDN.
44663
44664 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44665
44666         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44667         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44668
44669 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44670
44671         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44672         Fix overflow bug in strncat.
44673         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44674
44675         * string/test-strncat.c: Update.
44676         Add new tests for checking overflow bugs.
44677
44678 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44679
44680         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44681         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44682         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44683         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44684         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44685         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44686         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44687         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44688         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44689
44690         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44691         (USE_AS_STRCAT): Define.
44692         Add strcat and strncat support.
44693         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44694
44695 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44696
44697         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44698         __n bigger than INT_MAX+1.
44699         (__strncmp_g): Likewise.
44700
44701 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44702
44703         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44704         * libio/stido.h: Likewise.
44705
44706         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44707         (AF_NFC): Define.
44708         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44709         (AF_NFC): Define.
44710
44711         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44712         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44713         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44714         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44715         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44716
44717         [BZ #13021]
44718         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44719         installed.
44720
44721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44722         typo.
44723         (_dl_x86_64_save_sse): Likewise.
44724
44725 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44726
44727         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44728         OSXSAVE.
44729         (_dl_x86_64_save_sse): Likewise.
44730
44731         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44732
44733         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44734
44735 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44736
44737         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44738         change.
44739         (_dl_x86_64_save_sse): Use correct AVX check.
44740
44741 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44742
44743         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44744         bug in strncpy/strncat.
44745         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44746
44747 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44748
44749         * string/tester.c (test_strcat): Add tests for different alignments
44750         of source and destination.
44751         (test_strncat): Likewise.
44752
44753 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44754
44755         [BZ #12852]
44756         * posix/glob.c (glob): Check passed in values before using them in
44757         expressions to avoid some overflows.
44758         (glob_in_dir): Likewise.
44759
44760         [BZ #13007]
44761         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44762         check for AVX enablement so that we don't crash with old kernels and
44763         new hardware.
44764         * elf/tst-audit4.c: Add same checks here.
44765         * elf/tst-audit6.c: Likewise.
44766
44767         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44768
44769 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44770
44771         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44772
44773 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44774
44775         * po/cs.po: Update from translation team.
44776         * po/bg.po: Likewise.
44777
44778 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44779
44780         * misc/sys/cdefs.h: Add support for const attribute.
44781         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44782         to gnu_dev_{major,minor,makedev} functions.
44783
44784 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44785
44786         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44787
44788 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44789
44790         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44791         strlen results.
44792
44793 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44794
44795         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44796         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44797         register in order to avoid conflicts with the soft frame pointer
44798         being held in r11 when necessary.
44799         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44800         (INTERNAL_VSYSCALL_NCS): Likewise.
44801
44802 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44803
44804         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44805         * elf/dl-fini.c (_dl_fini): Adjust caller.
44806         * elf/dl-close.c (_dl_close_worker): Likewise.
44807         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44808
44809 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44810
44811         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44812         "aux_cache->nlibs < 0".
44813
44814         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44815         in the reload-count case.
44816
44817 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44818
44819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44820         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44821         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44822         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44823         * sysdeps/x86_64/multiarch/strcat.S: New file.
44824         * sysdeps/x86_64/multiarch/strncat.S: New file.
44825         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44826         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44827         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44828         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44829         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44830         (USE_AS_STRCAT): Define.
44831         Add strcat and strncat support.
44832         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44833         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44834         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44835         * string/strncat.c: Update.
44836         (USE_AS_STRNCAT): Define.
44837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44838         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44839         and i7.
44840         * sysdeps/x86_64/multiarch/init-arch.h
44841         (bit_Prefer_PMINUB_for_stringop): New.
44842         (index_Prefer_PMINUB_for_stringop): Likewise.
44843         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44844         bit_Prefer_PMINUB_for_stringop.
44845
44846 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44847
44848         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44849         buffer64.
44850         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44851         of casting of buffer.
44852         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44853         buffer32 and buffer64.
44854         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44855         writes instead of casting of buffer.
44856         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44857         buffer32.
44858         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44859         casting of buffer.
44860
44861 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44862
44863         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44864
44865 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44866
44867         * nscd/nscd.c (termination_handler): Don't do anything for a database
44868         if it has not yet been initialized.
44869
44870 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44871
44872         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44873
44874 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44875
44876         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44877
44878 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44879
44880         * po/nl.po: Update from translation team.
44881         * po/sv.po: Likewise.
44882
44883 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44884
44885         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44886         now disallowed by GCC.
44887
44888         * configure.in (use-default-link): Default to yes if a test -shared
44889         link meets our qualifications.
44890         * configure: Regenerated.
44891
44892         * config.make.in (output-format): New variable.
44893         * configure.in: Check for ld --print-output-format support.
44894         * configure: Regenerated.
44895         * Makerules ($(common-objpfx)format.lds)
44896         [$(output-format) != unknown]: Just use $(output-format),
44897         instead of the linker-script munging.
44898
44899 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44900
44901         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44902         of $(common-objpfx)shlib.lds.
44903         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44904
44905         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44906         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44907
44908         * configure.in (-z relro check): Adjust test code to add a large
44909         writable data section after it.
44910         * configure: Regenerated.
44911
44912 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44913
44914         * configure.in (-z relro check): Fix test code to make the variable
44915         truly const.
44916         * configure: Regenerated.
44917
44918 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44919
44920         * nscd/nscd.h (struct traced_file): Define.
44921         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44922         elements.  Add traced_files.
44923         (inotify_fd): Declare.
44924         (register_traced_file): Declare.
44925         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44926         (inotify_fd): Export.
44927         (resolv_conf_descr): Remove.
44928         (nscd_init): Move inotify descriptor creation to main.
44929         Don't register files for notification here.
44930         (register_traced_file): New function.
44931         (invalidate_cache): Don't use reset_res to determine whether to call
44932         res_init, go through the list of registered files.
44933         (main_loop_poll): The inotify descriptors are now stored in the
44934         structures for the traced files.
44935         (main_loop_epoll): Likewise
44936         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44937         to __nss_disable_nscd.
44938         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44939         for a database anymore.  Check the records for all the registered
44940         files instead.
44941         * nss/Makefile (libnss_files-routines): Add files-init.
44942         (libnss_db-routines): Add db-init.
44943         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44944         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44945         * nss/nss_db/db-init.c: New file.
44946         * nss/nss_files/files-init.c: New file.
44947         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44948         __nss_lookup_function.
44949         (__nss_lookup_function): Call nss_load_library.
44950         (nss_load_all_libraries): New function.
44951         (__nss_disable_nscd): Take parameter with callback function for files
44952         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44953         used for the cached services.
44954         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44955         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44956         options for features to all the files in nscd.
44957
44958         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44959
44960 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44961
44962         * csu/elf-init.c (__libc_csu_init): Comment typo.
44963
44964 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44965
44966         * po/pl.po: Update from translation team.
44967         * po/ja.po: Likewise.
44968         * po/ru.po: Likewise.
44969         * po/ko.po: Likewise.
44970         * po/fr.po: Likewise.
44971
44972 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44973
44974         * configure.in (.ctors/.dtors header and trailer check):
44975         Use an empirical test on a built program.
44976         * configure: Regenerated.
44977
44978         * configure.in (-z relro check): Use an empirical test on a built DSO.
44979         Detect, but do not require, on ia64.
44980         * configure: Regenerated.
44981
44982         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44983         Update tests that use readelf to use $READELF instead.
44984         * configure: Regenerated.
44985
44986 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44987
44988         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44989         if the result is not used.
44990
44991 2011-07-05  Andreas Jaeger  <aj@suse.de>
44992
44993         [BZ#9696]
44994         * stdlib/tst-strtod.c: Add testcase.
44995
44996 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44997
44998         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44999         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45000         The latter has a higher limit.  Take additional parameter to pass to
45001         the new function.
45002         (__pathconf): Pass file to __statfs_link_max.
45003         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45004         __statfs_link_max.
45005         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45006         __statfs_link_max.
45007
45008         [BZ #12868]
45009         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45010         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45011         Handle Lustre.
45012         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45013         (__statfs_filesize_max): Likewise.
45014         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45015
45016 2011-07-05  Andreas Jaeger  <aj@suse.de>
45017
45018         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45019
45020 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45021
45022         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45023         `status' variable.
45024         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45025         Likewise.
45026
45027 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45028
45029         * Makefile (strop-tests): Add strncat.
45030         * string/test-strncat.c: New file.
45031
45032 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45033
45034         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45035
45036 2011-06-21  Andreas Jaeger  <aj@suse.de>
45037
45038         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45039         Copy rule from iconvdata/Makefile.
45040
45041 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45042
45043         [BZ #12922]
45044         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45045         but no long options are defined, just return 'W'.
45046
45047 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45048
45049         [BZ #9696]
45050         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45051
45052 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45053
45054         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45055         netgroups to read.
45056         (innetgr): Likewise.
45057
45058 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45059
45060         * config.make.in (install_root): Default to $(DESTDIR).
45061
45062 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45063
45064         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45065
45066 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45067
45068         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45069
45070         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45071         containing directory rather than embedding absolute directory names.
45072
45073         * scripts/check-local-headers.sh: Rewritten using awk.
45074         Match by word, not by line.  Print error messages for matches.
45075         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45076
45077         * Makerules [shlib-lds-flags empty]:
45078         ($(common-objpfx)libc_pic.opts): New target.
45079         ($(common-objpfx)libc_pic.os.clean): New target.
45080         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45081
45082         * config.make.in (OBJCOPY): New variable.
45083         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45084         * configure: Regenerated.
45085
45086         * config.make.in (use-default-link): New variable.
45087         * configure.in (use_default_link): Grok --with-default-link to set it.
45088         * configure: Regenerated.
45089         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45090         (shlib-lds, shlib-lds-flags): Define to empty.
45091
45092         * Makerules (shlib-lds): New variable.
45093         (shlib-lds-flags): New variable.
45094         (build-shlib, build-moduile, build-module-asneeded): Use it.
45095         ($(common-objpfx)libc.so): Use $(shlib-lds).
45096         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45097         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45098
45099         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45100         DT_FLAGS/DT_FLAGS_1 with zero flags.
45101
45102         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45103         linker script munging.
45104
45105 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45106
45107         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45108         as 128-bit value.
45109         * crypt/sha512.c (sha512_process_block): Perform total addition using
45110         128-bit if possible.
45111         (__sha512_finish_ctx): Likewise.
45112         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45113         as 64-bit value.
45114         * crypt/sha256.c (SWAP64): Define.
45115         (sha256_process_block): Perform total addition using 64-bit if
45116         possible.
45117         (__sha256_finish_ctx): Likewise.
45118
45119 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45120
45121         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45122         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45123         * nscd/hstcache.c (cache_addhst): Likewise.
45124         * nscd/grpcache.c (cache_addgr): Likewise.
45125         * nscd/aicache.c (addhstaiX): Likewise
45126         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45127
45128 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45129
45130         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45131         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45132         * nscd/hstcache.c (cache_addhst): Likewise.
45133         * nscd/grpcache.c (cache_addgr): Likewise.
45134         * nscd/aicache.c (addhstaiX): Likewise
45135
45136 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45137
45138         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45139         domain only when needed.
45140
45141 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45142
45143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45144         is always restored.
45145
45146 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45147
45148         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45149         are re-adding the entry.
45150         * nscd/servicescache.c (cache_addserv): Likewise.
45151
45152 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45153
45154         * sysdeps/generic/dl-irel.h: fix protection against multiple
45155         inclusions.
45156         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45157
45158 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45159
45160         [BZ #12935]
45161         * malloc/memusage.sh: Fix quoting in message.
45162         * debug/xtrace.sh: Likewise.
45163
45164         * configure.in: Remove support for --experimental-malloc option, make
45165         it the default.
45166         * config.make.in: Likewise.
45167         * malloc/Makefile: Likewise.
45168
45169 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45170
45171         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45172         two-byte characters.
45173
45174 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45175
45176         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45177         AC_CACHE_CHECK invocation.
45178         * configure: Regenerated.
45179
45180         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45181
45182 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45183
45184         [BZ #12350]
45185         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45186         bit from old_res_options.
45187
45188         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45189
45190         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45191         value type for setfct.
45192
45193 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45194
45195         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45196         __gettimeofday instead of gettimeofday.
45197
45198 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45199
45200         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45201
45202 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45203
45204         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45205
45206         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45207         info.
45208
45209 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45210
45211         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45212         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45213         strcpy-sse2-unaligned strncpy-sse2-unaligned
45214         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45215         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45216         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45217         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45218         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45219         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45220         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45221         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45222         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45223         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45224         (STRCPY): Support SSE2 and SSSE3 versions.
45225
45226 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45227
45228         [BZ #12874]
45229         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45230         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45231         kernels which artificially limit size of requests.
45232
45233 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45234
45235         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45236         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45237         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45238         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45239         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45240         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45241         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45242         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45243         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45244         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45245         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45246         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45247         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45248         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45249         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45251         Enable unaligned load optimization for Intel Core i3, i5 and i7
45252         processors.
45253         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45254         Define.
45255         (index_Fast_Unaligned_Load): Define.
45256         (HAS_FAST_UNALIGNED_LOAD): Define.
45257
45258 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45259
45260         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45261
45262 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45263
45264         [BZ #12907]
45265         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45266         until it is clear that the information is realy needed.
45267         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45268
45269 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45270
45271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45272
45273 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45274
45275         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45276         /sys/devices/system/cpu/online if it is usable.
45277
45278         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45279         reading the information from the /proc filesystem to once a second.
45280
45281 2011-06-21  Andreas Jaeger  <aj@suse.de>
45282
45283         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45284         NULL after inclusion of kernel headers.
45285
45286 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45287
45288         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45289         calls to internal_setent.
45290
45291         [BZ #12885]
45292         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45293         addresses using gethostbyname4_r ignore IPv4 addresses.
45294
45295         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45296         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45297
45298         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45299
45300 2011-06-20  David S. Miller  <davem@davemloft.net>
45301
45302         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45303         inclusions.
45304         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45305
45306         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45307         (elf_irel): Use it.
45308         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45309         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45310         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45311         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45312         * sysdeps/x86_64/dl-irel.h: Likewise.
45313
45314         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45315         * elf/dl-sym.c: Likewise.
45316
45317 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45318
45319         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45320         need to dereference resplen2.
45321
45322 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45323
45324         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45325
45326 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45327
45328         * Makeconfig: Define vardbdir and inst_vardbdir.
45329         * nss/Makefile: Add rules to install db-Makefile.
45330
45331         * nss/nss_db/db-XXX.c: Cleanup.
45332
45333         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45334         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45335         GLIBC_PRIVATE.
45336         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45337         * nss/makedb.c: Implement -g option to specify that value strings
45338         are generated and should not be added to table iterated over for
45339         get*ent calls.
45340         * nss/nss_db/db-initgroups.c: New file.
45341
45342         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45343         interface.
45344
45345         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45346         (internal_getgrouplist): Adjust to name change.
45347         Update use_initgroups_entry if this is not the first call.
45348         * nss/databases.def: Add initgroups entry.
45349
45350         * nss/makedb.c (compute_tables): Check result of multiple hash table
45351         sizes to minimize maximum chain length.
45352
45353 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45354
45355         * Versions.def: Add entry for libnss_db.
45356         * shlib-versions: Likewise.
45357         * nss/Makefile: Add rules to build libnss_db.
45358         * nss/Versions: Add libnss_db information.  Organize libnss_files
45359         entries better.
45360         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45361         makedb progra.  Some minor improvements to generate smaller files.
45362         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45363         here from...
45364         * nss/makedb.c: ...here.
45365         Improve database format to be smaller and require less memory at
45366         runtime.
45367         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45368         db anymore.
45369         * nss/nss_db/db-netgrp.c: Likewise.
45370         * nss/nss_db/db-open.c: Likewise.
45371         * nss/nss_files/flies-XXX.x: Adjust comments.
45372         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45373         * nss/nss_files/files-grp.c: Likewise.
45374         * nss/nss_files/files-hosts.c: Likewise.
45375         * nss/nss_files/files-network.c: Likewise.
45376         * nss/nss_files/files-proto.c: Likewise.
45377         * nss/nss_files/files-pwd.c: Likewise.
45378         * nss/nss_files/files-rpc.c: Likewise.
45379         * nss/nss_files/files-service.c: Likewise.
45380         * nss/nss_files/files-sgrp.c: Likewise.
45381         * nss/nss_files/files-spwd.c: Likewise.
45382         * nss/nss_db/db-alias.c: Removed.
45383         * nss/nss_db/dummy-db.h: Removed.
45384
45385 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45386
45387         * nss/makedb.c: Rewritten to not use database library.
45388         * nss/Makefile: Update to build new makedb program.
45389
45390 2011-06-14  Andreas Jaeger  <aj@suse.de>
45391
45392         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45393         memset declaration.
45394
45395 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45396
45397         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45398         tmpbuf.
45399
45400 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45401
45402         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45403         * elf/Makefile ($(objpfx)ld.so): Likewise.
45404
45405         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45406         Don't list ld.so twice in dependencies.
45407
45408         * posix/bug-regex31.c: Include <stdlib.h>.
45409
45410         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45411
45412         * nis/nss_compat/compat-spwd.c
45413         (getspent_next_nss_netgr): Remove unused variable.
45414         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45415
45416         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45417         nonmembers" output to use the right array.
45418
45419         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45420
45421         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45422
45423         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45424         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45425         * catgets/gencat.c (read_input_file): Likewise.
45426         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45427
45428         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45429         variable definition inside #if's controlling its use.
45430
45431         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45432
45433         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45434
45435         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45436
45437         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45438         unreachable code.
45439
45440         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45441
45442         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45443         * configure: Regenerated.
45444
45445         * Makerules: Revert last change.
45446         * elf/Makefile: Likewise.
45447
45448 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45449
45450         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45451         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45452         (reloc-link): Likewise.
45453
45454 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45455
45456         * elf/Makefile: Add rules to build pldd.
45457         * elf/pldd.c: New file.
45458         * elf/pldd-xx.c: New file.
45459
45460 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45461
45462         * version.h: Update for 2.15 development version.
45463
45464 2011-06-07  David S. Miller  <davem@davemloft.net>
45465
45466         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45467         ifuncs.
45468         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45469         elf_machine_lazy_rel): Likewise.
45470         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45471         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45472         elf_machine_lazy_rel): Likewise.
45473         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45474         dl_hwcap via passed in argument.
45475         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45476         Likewise.
45477
45478 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45479
45480         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45481
45482 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45483
45484         [BZ #12849]
45485         * manual/fdl-1.1.texi: New file, verbatim from:
45486         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45487         * manual/lgpl-2.1.texi: New file, verbatim from:
45488         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45489         * manual/Makefile (licenses): New variable, list those new file names.
45490         (texis): Use it.
45491         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45492
45493         * manual/fdl.texi: File removed.
45494         * manual/lesser.texi: File removed.
45495         * manual/libc.texinfo (Copying, Documentation License):
45496         Use new @include file names, put @appendix directive before @include.
45497
45498 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45499
45500         [BZ #12841]
45501         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45502         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45503         (mq_open): Add __NTH.
45504
45505 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45506
45507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45508         Assume Intel Core i3/i5/i7 processor if AVX is available.
45509
45510 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45511
45512         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45513         typo.
45514
45515 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45516
45517         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45518         memory.  Use alloca_account.  Fix memory leak when retrying.
45519
45520 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45521
45522         * version.h (RELEASE): Bump for 2.14 release.
45523         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45524
45525         * config.make.in (RANLIB): Remove entry.
45526
45527 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45528
45529         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45530         (libc.pot): Work around missing support for .ksh extension in xgettext.
45531
45532         [BZ #12684]
45533         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45534         if both request failed.
45535         (send_dg): In case of server errors clear resplen or *resplen2.
45536
45537         [BZ #12454]
45538         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45539         when there are multiple maps.
45540         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45541         (_dl_fini): Remove test here.
45542
45543         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45544
45545 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45546
45547         [BZ #12350]
45548         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45549         bit from old_res_options.
45550         (gaih_inet): Likewise.
45551
45552         [BZ #11099]
45553         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45554         as signed.
45555
45556         * resolv/res_init.c (res_setoptions): Make the code more compact.
45557
45558         [BZ #11558]
45559         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45560         set RES_USEVC.
45561
45562         [BZ #11634]
45563         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45564
45565         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45566
45567         [BZ #11781]
45568         * malloc/malloc.h: Declare malloc hook variables as volatile.
45569
45570         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45571         in last patch.
45572
45573         [BZ #11799]
45574         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45575         raise in the comment.
45576         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45577         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45578         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45579
45580 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45581
45582         [BZ #12811]
45583         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45584         grow the buffers more if it already has to be sufficient.
45585         (build_wcs_upper_buffer): Likewise.
45586         * posix/regexec.c (check_matching): Likewise.
45587         (clean_state_log_if_needed): Likewise.
45588         (extend_buffers): Don't enlarge buffers beyond size of the input
45589         buffer.
45590         Patches mostly by Emil Wojak <emil@wojak.eu>.
45591         * posix/bug-regex32.c: New file.
45592         * posix/Makefile (tests): Add bug-regex32.
45593
45594         * locale/findlocale.c (_nl_find_locale): Return right away if
45595         _nl_explode_name failed.
45596         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45597
45598         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45599
45600         * debug/xtrace.sh: Unify messages.
45601         * malloc/memusage.sh: Likewise.
45602
45603         [BZ #12813]
45604         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45605         time symbol from vDSO.  Substitute with vsyscall if not available.
45606         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45607         __vdso_time.
45608
45609         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45610         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45611         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45612         Add sendmmsg and internal_sendmmsg.
45613         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45614         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45615         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45616
45617         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45618         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45619         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45620
45621 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45622
45623         [BZ #12813]
45624         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45625         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45626         available.
45627         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45628         __vdso_getcpu.
45629
45630         [BZ #12814]
45631         * iconvdata/Makefile (tests): Add bug-iconv9.
45632         * iconvdata/bug-iconv9.c: New file.
45633
45634 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45635
45636         [BZ #12814]
45637         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45638
45639 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45640
45641         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45642         (struct user_regs_struct): Change intcs field back to cs.
45643
45644 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45645
45646         * po/ja.po: Update from translation team.
45647
45648 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45649
45650         [BZ #12795]
45651         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45652         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45653
45654 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45655
45656         * stdlib/longlong.h: Update from GCC.
45657
45658 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45659
45660         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45661         parameter name.
45662         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45663         Add parameter name.
45664         (__sysconf): Pass it down.
45665
45666 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45667
45668         [BZ #12671]
45669         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45670         some situations.
45671         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45672         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45673         add in in __libc_use_alloca calls.  Adjust callers.
45674         (glob): Use malloc in some situations.
45675
45676         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45677         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45678         pltexit.
45679
45680 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45681
45682         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45683         and CLOCK_BOOTTIME_ALARM.
45684
45685         [BZ #12782]
45686         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45687         is returned.
45688
45689         * string/_strerror.c (__strerror_r): Print negative errors as signed
45690         numbers.
45691
45692         [BZ #12777]
45693         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45694         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45695         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45696
45697         * configure.in: Fix typo in redirection and correct removal of test
45698         files in two cases.
45699
45700         [BZ #12788]
45701         * locale/setlocale.c (new_composite_name): Fix test to check for
45702         identical name of all categories.
45703
45704         [BZ #12792]
45705         * libio/filedoalloc.c (local_isatty): New function.
45706         (_IO_file_doallocate): Use local_isatty.
45707         * stdio-common/perror.c (perror): In case a new stream is used
45708         forward the stream error.
45709         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45710         error flag.
45711
45712 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45713
45714         [BZ #11869]
45715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45716         alloca.
45717         * include/alloca.h (extend_alloca_account): Define.
45718
45719         [BZ #11857]
45720         * posix/regex.h: Fix comments with documentation of user-accessible
45721         fields after compilation and describe correct free'ing of pattern
45722         after re_compile_pattern.
45723         Patch by Reuben Thomas <rrt@sc3d.org>.
45724
45725 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45726
45727         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45728         and -mno-altivec to prevent the compiler from using Altivec and/or
45729         VSX instructions when the corresponding registers are not available.
45730
45731 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45732
45733         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45734
45735 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45736
45737         * libio/freopen.c (freopen): Use __dup2, not dup2.
45738         * libio/freopen64.c (freopen64): Likewise.
45739
45740 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45741
45742         [BZ #12775]
45743         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45744         * math/Makefile (tests): Add test-powl.
45745         (CFLAGS-test-powl.c): Define.
45746         * math/test-powl.c: New file.
45747
45748 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45749
45750         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45751
45752 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45753
45754         [BZ #11837]
45755         * iconvdata/gb18030.c: Update to GB18020-2005.
45756
45757 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45758
45759         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45760         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45761         Patch by Aharon Robbins <arnold@skeeve.com>.
45762
45763         [BZ #11892]
45764         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45765         on the stack.
45766
45767         [BZ #11895]
45768         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45769         through underflows.
45770
45771         [BZ #12766]
45772         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45773         point to strings before performing equality test for error_one_per_line
45774         mode.
45775
45776         [BZ #11697]
45777         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45778
45779         [BZ #11820]
45780         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45781         (struct user_fpregs_struct): Avoid __uint*_t types.
45782
45783         [BZ #6420]
45784         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45785         symbol info.  Use it instead of calling _dl_addr locally.
45786         (lock_and_info): New function.
45787         (tr_freehook): Call lock_and_info and pass symbol info as additional
45788         parameter to tr_where.
45789         (tr_mallochook): Likewise.
45790         (tr_reallochook): Likewise.
45791         (tr_memalignhook): Likewise.
45792
45793         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45794         used and couldn't be at all thread-safe.
45795
45796 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45797
45798         * libio/freopen.c (freopen): Don't close old file descriptor
45799         before the new one is opened.  Instead dup the new file descriptor
45800         to the old one after the new stream is created.
45801         * libio/freopen64.c (freopen64): Likewise.
45802         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45803         * libio/fileops.c (_IO_new_file_close_it): Handle new
45804         _IO_FLAGS2_NOCLOSE flag.
45805         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45806         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45807         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45808         _IO_FLAGS2_NOCLOSE flag.
45809         * include/unistd.h: Add hidden_proto for dup3.
45810         Define __have_dup3.
45811         * io/dup3.c: Define hidden symbol.
45812         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45813
45814         [BZ #7101]
45815         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45816         when an incomplete long option is used.
45817         * posix/tst-getopt_long1.c: New file.
45818         * posix/Makefile (tests): Add tst-getopt_long1.
45819
45820         [BZ #10138]
45821         * scripts/config.guess: Update from autoconf-2.68.
45822         * scripts/config.sub: Likewise.
45823
45824         [BZ #10157]
45825         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45826         tests into ...
45827         (has_cpuclock): ...this.  New function.
45828         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45829         macro here based on has_cpuclock code.
45830
45831         [BZ #10149]
45832         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45833         First byte (not low byte) is now always NUL.
45834         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45835
45836         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45837         Use non-cancelable interfaces.
45838
45839         [BZ #9809]
45840         * locale/iso-639.def: Add entry for Sorani.
45841
45842         [BZ #11901]
45843         * include/stdlib.h: Move include protection to the right place.
45844         Define abort_msg_s.  Declare __abort_msg with it.
45845         * stdlib/abort.c (__abort_msg): Adjust type.
45846         * assert/assert.c (__assert_fail_base): New function.  Majority
45847         of code from __assert_fail.  Allocate memory for __abort_msg with
45848         mmap.
45849         (__assert_fail): Now call __assert_fail_base.
45850         * assert/assert-perr.c: Remove bulk of implementation.  Use
45851         __assert_fail_base.
45852         * include/assert.hL Declare __assert_fail_base.
45853         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45854         mmap.
45855         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45856
45857 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45858
45859         [BZ #11952]
45860         [BZ #12453]
45861         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45862         until all modules are registered in the DTV.
45863         * elf/Makefile: Add rules to build and run tst-tls19.
45864         * elf/tst-tls19.c: New file.
45865         * elf/tst-tls19mod1.c: New file.
45866         * elf/tst-tls19mod2.c: New file.
45867         * elf/tst-tls19mod3.c: New file.
45868         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45869
45870         [BZ #12083]
45871         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45872         correctly.
45873
45874         [BZ #12601]
45875         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45876         two-byte sequence errors.
45877         * iconvdata/Makefile (tests): Add bug-iconv8.
45878         * iconvdata/bug-iconv8.c: New file.
45879
45880         [BZ #12626]
45881         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45882         buf2 definition.
45883
45884         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45885
45886         [BZ #12432]
45887         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45888         (dummy_getcfa): New function.
45889         (init): Get _Unwind_GetCFA address, use dummy if not found.
45890         (backtrace_helper): In recursion check, also check whether CFA changes.
45891         (__backtrace): Completely initialize arg.
45892
45893         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45894         storing incomplete byte sequence in state object.  Avoid testing for
45895         guaranteed too small input if we know there is enough data available.
45896
45897 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45898
45899         * Makeconfig (+link-pie): Indent.
45900         * Rules (binaries-pie): Define if $(have-fpie) and
45901         $(build-shared).
45902         (binaries-shared): Also filter out $(binaries-pie).
45903         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45904         * nscd/Makefile (others-pie): Add nscd.
45905         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45906         ($(objpfx)nscd): Remove command override.
45907         * login/Makefile (others-pie): Add pt_chown.
45908         ($(objpfx)pt_chown): Remove command override.
45909         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45910         remove command overrides.
45911
45912 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45913
45914         * libio/tst_putwc.c: Fix error messages.
45915
45916         [BZ #12724]
45917         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45918         currently writing and seek to current position when not.
45919         * libio/Makefile (tests): Add bug-fclose1.
45920         * libio/bug-fclose1.c: New file.
45921
45922 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45923
45924         [BZ #12511]
45925         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45926         don't set DF_1_NODELETE here.
45927         (do_lookup_x): When entering new entry test for copy relocation
45928         and if necessary set DF_1_NODELETE flag.
45929         * elf/tst-unique4.cc: New file.
45930         * elf/tst-unique4.h: New file.
45931         * elf/tst-unique4lib.cc: New file.
45932         * elf/Makefile: Add rules to build and run tst-unique4.
45933         Patch by Piotr Bury <pbury@goahead.com>.
45934
45935 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45936
45937         [BZ #12052]
45938         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45939
45940         [BZ #12625]
45941         * misc/mntent_r.c (addmntent): Flush the stream after the output
45942
45943         [BZ #12393]
45944         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45945         (is_trusted_path_normalize): Skip initial colon.  Append slash
45946         to empty buffer.  Duplicate is_trusted_path code but allow
45947         constructed patch to be prefix.
45948         (is_dst): Allow $ORIGIN followed by /.
45949         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45950         Correct testing of result of is_trusted_path_normalize
45951         (decompose_rpath): Fix warning.
45952
45953 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45954
45955         [BZ #11257]
45956         * grp/initgroups.c (internal_getgrouplist): When we found the service
45957         list through the initgroups entry in nsswitch.conf do not always
45958         continue on a successful lookup.  Don't always use the
45959         __nss_group_database value if it is set.
45960         * nss/nsswitch.conf (initgroups): Change action for successful db
45961         lookup to continue for compatibility.
45962
45963 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45964
45965         [BZ #11532]
45966         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45967         and CP774 modules.
45968         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45969         and CP774 modules.
45970         * iconvdata/tst-tables.sh: Likewise.
45971         * iconvdata/cp770.c: New file.
45972         * iconvdata/cp771.c: New file.
45973         * iconvdata/cp772.c: New file.
45974         * iconvdata/cp773.c: New file.
45975         * iconvdata/cp774.c: New file.
45976         * iconvdata/testdata/CP770: New file.
45977         * iconvdata/testdata/CP770..UTF8: New file.
45978         * iconvdata/testdata/CP771: New file.
45979         * iconvdata/testdata/CP771..UTF8: New file.
45980         * iconvdata/testdata/CP772: New file.
45981         * iconvdata/testdata/CP772..UTF8: New file.
45982         * iconvdata/testdata/CP773: New file.
45983         * iconvdata/testdata/CP773..UTF8: New file.
45984         * iconvdata/testdata/CP774: New file.
45985         * iconvdata/testdata/CP774..UTF8: New file.
45986
45987         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45988         END CHARMAP line.
45989         * iconvdata/gen-8bit-gap.sh: Likewise.
45990         * iconvdata/gen-8bit.sh: Likewise.
45991
45992         * locale/iso-639.def: Add ary entry.
45993
45994         [BZ #11258]
45995         * locale/C-translit.h.in: Add U20A1 transliteration.
45996
45997         [BZ #12178]
45998         * locale/iso-639.def: Add wae entry.
45999         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46000
46001         [BZ #12545]
46002         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46003         for n.
46004
46005         [BZ #12711]
46006         * locale/C-translit.h.in: Add entry for U20B9.
46007         Patch by pravin.d.s@gmail.com.
46008
46009 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46010
46011         [BZ #12713]
46012         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46013         ENAMETOOLONG use generic getcwd.
46014         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46015         in rtld.  Use *stat64.
46016         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46017         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46018         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46019         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46020         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46021         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46022         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46023         __fstatat64 macros.
46024         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46025         * dirent/rewinddir.c: Add libc_hidden_def.
46026         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46027         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46028
46029         * include/dirent.h (__alloc_dir): Add flags parameter.
46030         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46031         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46032         __alloc_dir.
46033         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46034         from fdopendir if O_CLOEXEC is already set.
46035
46036 2011-03-15  Alan Modra  <amodra@gmail.com>
46037
46038         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46039         l_tls_firstbyte_offset non-zero.  Save padding offset in
46040         l_tls_firstbyte_offset for later use.
46041         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46042         freeing static tls block.
46043
46044 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46045
46046         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46047         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46048         being defined by the kernel headers.
46049
46050 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46051
46052         [BZ #12734]
46053         * resolv/resolv.h: Define RES_NOTLDQUERY.
46054         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46055         no-tld-query and set RES_NOTLDQUERY.
46056         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46057         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46058         modern BIND to search name as TLD unless forbidden.
46059
46060 2011-05-07  Petr Baudis  <pasky@suse.cz>
46061             Ulrich Drepper  <drepper@gmail.com>
46062
46063         [BZ #12393]
46064         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46065         (is_trusted_path): ...to here.
46066         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46067         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46068         using is_trusted_path_normalize() in setuid scripts.
46069
46070 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46071
46072         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46073         __BEGIN/__END_DECLS.
46074
46075 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46076
46077         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46078         NSS_STATUS_NOTFOUND if no record was found.
46079
46080 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46081
46082         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46083         (headers-not-in-tirpc): Remove rpc/netdb.h
46084         * resolv/netdb.h: Revert last change.
46085
46086 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46087
46088         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46089         circular dependency between libgcc.a and libc.a.
46090
46091 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46092
46093         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46094         * nis/Makefile: Don't install rpcsvc/*.
46095         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46096         instead of <rpc/types.h>.
46097         (MAXHOSTNAMELEN): Define.
46098
46099 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46100
46101         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46102
46103 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46104
46105         [BZ #12714]
46106         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46107         gethostbyname4_r when IPv6 results are possible.
46108
46109 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46110
46111         [BZ #12723]
46112         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46113         _PC_PIPE_BUF handling.
46114
46115 2011-04-30  Bruno Haible  <bruno@clisp.org>
46116
46117         [BZ #12717]
46118         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46119         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46120         to 'int'.
46121         * inet/getnameinfo.c (getnameinfo): Likewise.
46122
46123 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46124
46125         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46126         to groups setting in database lookup.
46127         * nss/nsswitch.conf: Add initgroups entry.
46128
46129 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46130
46131         [BZ #12685]
46132         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46133         mode string.
46134         Patch by Eric Blake <eblake@redhat.com>.
46135
46136 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46137
46138         * sunrpc/Makefile (need-export-routines): Add svc_run.
46139         (routines): Remove svc_run.
46140         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46141         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46142         * sunrpc/svc_run.c (svc_run): Likewise.
46143         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46144
46145 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46146
46147         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46148         problem in reallocation in last patch.
46149
46150 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46151
46152         * sunrpc/Makefile: Move inclusion of Rules.
46153
46154 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46155
46156         * nss/nss_files/files-initgroups.c: New file.
46157         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46158         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46159         _nss_files_initgroups_dyn.
46160
46161 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46162
46163         * elf/elf.h (R_ARM_IRELATIVE): Define.
46164
46165 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46166
46167         * po/ru.po: Update from translation team.
46168
46169 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46170
46171         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46172         dependencies.
46173
46174 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46175
46176         [BZ #12653]
46177         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46178         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46179         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46180         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46181         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46182
46183 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46184
46185         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46186         differing bytes.
46187         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46188         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46189         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46190
46191 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46192
46193         [BZ #12420]
46194         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46195         storing it.
46196         * stdlib/bug-getcontext.c: New file.
46197         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46198
46199 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46200
46201         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46202         instructions into .machine "z9-109".
46203         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46204         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46205
46206 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46207
46208         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46209         between environment variables and auxiliary vector.
46210
46211 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46212
46213         * Makefile: Add rules to build linkobj/libc.so.
46214         * include/libc-symbols.h: Define libc_hidden_nolink.
46215         * include/rpc/auth.h: Mark functions which are to be hidden.
46216         * include/rpc/auth_des.h: Likewise.
46217         * include/rpc/auth_unix.h: Likewise.
46218         * include/rpc/clnt.h: Likewise.
46219         * include/rpc/des_crypt.h: Likewise.
46220         * include/rpc/key_prot.h: Likewise.
46221         * include/rpc/pmap_clnt.h: Likewise.
46222         * include/rpc/pmap_prot.h: Likewise.
46223         * include/rpc/pmap_rmt.h: Likewise.
46224         * include/rpc/rpc_msg.h: Likewise.
46225         * include/rpc/svc.h: Likewise.
46226         * include/rpc/svc_auth.h: Likewise.
46227         * include/rpc/xdr.h: Likewise.
46228         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46229         * nss/Makefile: Likewise.
46230         * sunrpc/Makefile: Don't install headers.  Build library with normal
46231         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46232         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46233         for the compat linking library.  Remove use of INTDEF/INTUSE.
46234         * sunrpc/auth_none.c: Likewise.
46235         * sunrpc/auth_unix.c: Likewise.
46236         * sunrpc/authdes_prot.c: Likewise.
46237         * sunrpc/authuxprot.c: Likewise.
46238         * sunrpc/clnt_gen.c: Likewise.
46239         * sunrpc/clnt_perr.c: Likewise.
46240         * sunrpc/clnt_raw.c: Likewise.
46241         * sunrpc/clnt_simp.c: Likewise.
46242         * sunrpc/clnt_tcp.c: Likewise.
46243         * sunrpc/clnt_udp.c: Likewise.
46244         * sunrpc/clnt_unix.c: Likewise.
46245         * sunrpc/des_crypt.c: Likewise.
46246         * sunrpc/des_soft.c: Likewise.
46247         * sunrpc/get_myaddr.c: Likewise.
46248         * sunrpc/key_call.c: Likewise.
46249         * sunrpc/key_prot.c: Likewise.
46250         * sunrpc/netname.c: Likewise.
46251         * sunrpc/pm_getmaps.c: Likewise.
46252         * sunrpc/pm_getport.c: Likewise.
46253         * sunrpc/pmap_clnt.c: Likewise.
46254         * sunrpc/pmap_prot.c: Likewise.
46255         * sunrpc/pmap_prot2.c: Likewise.
46256         * sunrpc/pmap_rmt.c: Likewise.
46257         * sunrpc/publickey.c: Likewise.
46258         * sunrpc/rpc_cmsg.c: Likewise.
46259         * sunrpc/rpc_common.c: Likewise.
46260         * sunrpc/rpc_dtable.c: Likewise.
46261         * sunrpc/rpc_prot.c: Likewise.
46262         * sunrpc/rpc_thread.c: Likewise.
46263         * sunrpc/rtime.c: Likewise.
46264         * sunrpc/svc.c: Likewise.
46265         * sunrpc/svc_auth.c: Likewise.
46266         * sunrpc/svc_authux.c: Likewise.
46267         * sunrpc/svc_raw.c: Likewise.
46268         * sunrpc/svc_run.c: Likewise.
46269         * sunrpc/svc_simple.c: Likewise.
46270         * sunrpc/svc_tcp.c: Likewise.
46271         * sunrpc/svc_udp.c: Likewise.
46272         * sunrpc/svc_unix.c: Likewise.
46273         * sunrpc/svcauth_des.c: Likewise.
46274         * sunrpc/xcrypt.c: Likewise.
46275         * sunrpc/xdr.c: Likewise.
46276         * sunrpc/xdr_array.c: Likewise.
46277         * sunrpc/xdr_float.c: Likewise.
46278         * sunrpc/xdr_intXX_t.c: Likewise.
46279         * sunrpc/xdr_mem.c: Likewise.
46280         * sunrpc/xdr_rec.c: Likewise.
46281         * sunrpc/xdr_ref.c: Likewise.
46282         * sunrpc/xdr_sizeof.c: Likewise.
46283         * sunrpc/xdr_stdio.c: Likewise.
46284
46285 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46286
46287         [BZ #12650]
46288         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46289         * sysdeps/ia64/dl-tls.h: Likewise.
46290         * sysdeps/powerpc/dl-tls.h: Likewise.
46291         * sysdeps/s390/dl-tls.h: Likewise.
46292         * sysdeps/sh/dl-tls.h: Likewise.
46293         * sysdeps/sparc/dl-tls.h: Likewise.
46294         * sysdeps/x86_64/dl-tls.h: Likewise.
46295         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46296
46297 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46298
46299         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46300         rpath element also skip the following colon.
46301         (expand_dynamic_string_token): Add is_path parameter and pass
46302         down to DL_DST_REQUIRED and _dl_dst_substitute.
46303         (decompose_rpath): Call expand_dynamic_string_token with
46304         non-zero is_path.  Ignore empty rpaths.
46305         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46306         with zero is_path.
46307
46308 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46309
46310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46311         Make cancelable.
46312
46313 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46314
46315         [BZ #12655]
46316         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46317         Patch by Filipe David Manana <fdmanana@apache.org>.
46318
46319 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46320
46321         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46322         Maintain aligned stack.
46323         (CHECK_RSP): Remove unused macro.
46324
46325 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46326
46327         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46328         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46329
46330 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46331
46332         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46333
46334         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46335
46336 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46337
46338         [BZ #12518]
46339         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46340         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46341         * sysdeps/x86_64/memmove.c: New file.
46342         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46343         (memcpy): Renamed to ...
46344         (__new_memcpy): This.
46345         (memcpy): Provide GLIBC_2_14 memcpy.
46346         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46347         (memcpy): Provide GLIBC_2_2_5 memcpy.
46348
46349 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46350
46351         [BZ #12631]
46352         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46353
46354 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46355
46356         * misc/syncfs.c: New file.
46357         * misc/Makefile (routines): Add syncfs.
46358         * posix/unistd.h: Declare syncfs.
46359         * sysdeps/unix/syscalls.list: Add syncfs.
46360
46361 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46362
46363         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46364         open_by_handle_at.
46365         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46366         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46367         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46368         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46369         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46370         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46371         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46372
46373 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46374
46375         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46376         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46377         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46379         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46380         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46381         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46382
46383         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46384         sync_file_range.c with -fexceptions.
46385         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46386         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46387         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46388         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46389         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46390         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46391         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46392         sync_file_range as cancellation point
46393         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46394         now a wrapper around __call_sync_file_range with cancellation handling.
46395         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46396         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46397         function name to __call_sync_file_range.
46398         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46399         Add call_sync_file_range.
46400
46401 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46402
46403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46404         bits/timex.h.
46405
46406 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46407
46408         * iconv/iconv.h: Fix typo in comment.
46409         * io/fcntl.h: Likewise.
46410         * libio/stdio.h: Likewise.
46411         * posix/spawn.h: Likewise.
46412         * posix/unistd.h: Likewise.
46413         * stdlib/stdlib.h: Likewise.
46414         * time/time.h: Likewise.
46415         * wcsmbs/wchar.h: Likewise.
46416
46417         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46418         open_by_handle): Add.
46419         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46420         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46421         Augment a few comments.
46422         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46423         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46424         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46425         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46426         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46427         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46428         open_by_handle.
46429
46430         * io/fcntl.h (AT_EMPTY_PATH): Define.
46431
46432 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46433
46434         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46435         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46436         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46437         to...
46438         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46439         * Versions.def: Add GLIBC_2.14.
46440         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46441         Export.
46442
46443 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46444
46445         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46446         round counter.
46447         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46448
46449 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46450
46451         [BZ #12597]
46452         * string/test-strncmp.c (do_page_test): New function.
46453         (check2): Likewise.
46454         (test_main): Call check2.
46455         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46456
46457 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46458
46459         [BZ #12587]
46460         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46461         Handle cache information in CPU leaf 4.
46462         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46463
46464 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46465
46466         [BZ #12583]
46467         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46468         character representation.
46469         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46470
46471 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46472
46473         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46474         END(__isnan) to END(__isnanf) to match function entry point/label
46475         EALIGN(__isnanf,...).
46476
46477 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46478
46479         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46480
46481 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46482
46483         [BZ #12510]
46484         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46485         copy from the symbol referenced in the relocation to initialize the
46486         used variable.
46487         Patch by Piotr Bury <pbury@goahead.com>.
46488         * elf/Makefile: Add rules to build and tst-unique3.
46489         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46490         * elf/tst-unique3.cc: New file.
46491         * elf/tst-unique3.h: New file.
46492         * elf/tst-unique3lib.cc: New file.
46493         * elf/tst-unique3lib2.cc: New file.
46494
46495         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46496
46497 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46498
46499         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46500         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46501         to _start.
46502
46503 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46504
46505         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46506         to-be-loaded object along a path to loader is ld.so.
46507
46508 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46509             Ulrich Drepper  <drepper@gmail.com>
46510
46511         * sysdeps/x86_64/memset.S: After aligning destination, code
46512         branches to different locations depending on the value of
46513         misalignment, when multiarch is enabled. Fix this.
46514
46515 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46516
46517         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46518         Set _x86_64_preferred_memory_instruction for AMD processsors.
46519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46520         Set bit_Prefer_SSE_for_memop for AMD processors.
46521
46522 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46523
46524         * libio/fmemopen.c (fmemopen): Optimize a bit.
46525
46526 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46527
46528         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46529
46530 2011-03-03  Roland McGrath  <roland@redhat.com>
46531
46532         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46533
46534 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46535
46536         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46537         __bzero_ultra1 instead of __memset_ultra1.
46538
46539 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46540             Ulrich Drepper  <drepper@gmail.com>
46541
46542         [BZ #12509]
46543         * include/link.h (struct link_map): Add l_orig_initfini.
46544         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46545         returning unsuccessfully.
46546         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46547         close of a file loaded at startup, restore the original l_initfini
46548         list.
46549         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46550         list, store the pointer.
46551         * elf/Makefile ($(objpfx)noload-mem): New rule.
46552         (noload-ENV): Define.
46553         (tests): Add $(objpfx)noload-mem.
46554         * elf/noload.c: Include <memcheck.h>.
46555         (main): Call mtrace.  Close all opened handles.
46556
46557 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46558
46559         [BZ #12454]
46560         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46561         dependencies are missing.
46562
46563 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46564
46565         Fix __if_freereq crash: Unlike the generic version which uses free,
46566         Hurd needs munmap.
46567         * sysdeps/mach/hurd/ifreq.h: New file.
46568
46569 2011-01-27  Petr Baudis  <pasky@suse.cz>
46570             Ulrich Drepper  <drepper@gmail.com>
46571
46572         [BZ 12445]#
46573         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46574         to extend_alloca().
46575         * stdio-common/bug23.c: New file.
46576         * stdio-common/Makefile (tests): Add bug23.
46577
46578 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46579             Ulrich Drepper  <drepper@gmail.com>
46580
46581         [BZ #12489]
46582         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46583         before performing relro protection.  At old place add assertion
46584         to make sure nothing changed.
46585
46586 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46587             Glauber de Oliveira Costa  <glommer@gmail.com>
46588
46589         * elf/elf.h: Add new ARM TLS relocs.
46590
46591 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46592
46593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46594         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46595         cast from r3.
46596         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46597         'tests' variable.
46598         * sysdeps/wordsize-64/tst-writev.c: New file.
46599
46600 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46601
46602         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46603         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46604         insns in _dl_start to prevent a TOC reference before relocs are
46605         resolved.
46606
46607 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46608
46609         [BZ #12469]
46610         * Makeconfig: Remove RANLIB definition.
46611         * Makerules: Don't use RANLIB.
46612         * aclocal.m4: Remove ranlib test.
46613         * configure.in: No need to check for ranlib.
46614         * elf/rtld-Rules: Don't use RANLIB.
46615
46616 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46617
46618         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46619         protection macro.
46620         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46621         inclusion protection macro.
46622
46623         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46624         SIGRTMIN and SIGRTMAX and print information in that case only when
46625         SIGRTMIN is defined.
46626
46627 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46628
46629         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46630         arginfo fn returning -1.
46631
46632         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46633         and thousands string is zero terminated.
46634
46635 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46636
46637         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46638         sysdeps/unix/sysv/linux/bits/socket.h.
46639
46640 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46641
46642         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46643         (__CPU_COUNT): Remove old macros.
46644         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46645         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46646         (__CPU_ALLOC, __CPU_FREE): Add macros.
46647         (__sched_cpualloc, __sched_cpufree): Add declarations.
46648
46649 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46650
46651         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46652         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46653         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46654         (readdhstai): Return value of addhstaiX call.
46655         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46656         (addgrbyX): Return value returned by cache_addgr.
46657         (readdgrbyname): Return value returned by addgrbyX.
46658         (readdgrbygid): Likewise.
46659         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46660         (addpwbyX): Return value returned by cache_addpw.
46661         (readdpwbyname): Return value returned by addhstbyX.
46662         (readdpwbyuid): Likewise.
46663         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46664         (addservbyX): Return value returned by cache_addserv.
46665         (readdservbyname): Return value returned by addservbyX:
46666         (readdservbyport): Likewise.
46667         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46668         (addhstbyX): Return value returned by cache_addhst.
46669         (readdhstbyname): Return value returned by addhstbyX.
46670         (readdhstbyaddr): Likewise.
46671         (readdhstbynamev6): Likewise.
46672         (readdhstbyaddrv6): Likewise.
46673         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46674         (readdinitgroups): Return value returned by addinitgroupsX.
46675         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46676         (prune_cache): Keep track of timeout value of re-added entries.
46677         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46678         * nscd/nscd.h: Adjust prototypes of readd* functions.
46679
46680 2011-02-04  Roland McGrath  <roland@redhat.com>
46681
46682         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46683         (nis_stats): Likewise.
46684         * nis/nis_modify.c (nis_modify): Likewise.
46685         * nis/nis_remove.c (nis_remove): Likewise.
46686         * nis/nis_add.c (nis_add): Likewise.
46687
46688         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46689
46690         * posix/fnmatch_loop.c: Add some consts.
46691
46692         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46693
46694 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46695
46696         [BZ #12460]
46697         * config.make.in (config-cflags-novzeroupper): Define.
46698         * configure.in: Substitute libc_cv_cc_novzeroupper.
46699         * elf/Makefile (AVX-CFLAGS): Define.
46700         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46701         (CFLAGS-tst-auditmod4a.c): Likewise.
46702         (CFLAGS-tst-auditmod4b.c): Likewise.
46703         (CFLAGS-tst-auditmod6b.c): Likewise.
46704         (CFLAGS-tst-auditmod6c.c): Likewise.
46705         (CFLAGS-tst-auditmod7b.c): Likewise.
46706         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46707
46708 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46709
46710         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46711         function to the callback.
46712         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46713
46714 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46715
46716         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46717         of errno.
46718
46719 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46720
46721         [BZ #11724]
46722         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46723         of constructors.
46724         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46725         of destructors.
46726         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46727
46728         [BZ #11724]
46729         * elf/Makefile: Add rules to build and run new test.
46730         * elf/tst-initorder.c: New file.
46731         * elf/tst-initorder.exp: New file.
46732         * elf/tst-initordera1.c: New file.
46733         * elf/tst-initordera2.c: New file.
46734         * elf/tst-initordera3.c: New file.
46735         * elf/tst-initordera4.c: New file.
46736         * elf/tst-initorderb1.c: New file.
46737         * elf/tst-initorderb2.c: New file.
46738         * elf/tst-order-a1.c: New file.
46739         * elf/tst-order-a2.c: New file.
46740         * elf/tst-order-a3.c: New file.
46741         * elf/tst-order-a4.c: New file.
46742         * elf/tst-order-b1.c: New file.
46743         * elf/tst-order-b2.c: New file.
46744         * elf/tst-order-main.c: New file.
46745         New test case by George Gensure <werkt0@gmail.com>.
46746
46747 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46748
46749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46750         decoding ACE if AI_CANONIDN.
46751
46752 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46753
46754         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46755
46756 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46757
46758         * version.h (RELEASE): Bump for 2.13 release.
46759         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46760
46761         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46762
46763         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46764         MADV_NOHUGEPAGE.
46765         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46766         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46767         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46768         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46769         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46770         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46771
46772         * posix/getconf.c: Update copyright year.
46773         * catgets/gencat.c: Likewise.
46774         * csu/version.c: Likewise.
46775         * debug/catchsegv.sh: Likewise.
46776         * debug/xtrace.sh: Likewise.
46777         * elf/ldconfig.c: Likewise.
46778         * elf/ldd.bash.in: Likewise.
46779         * elf/sprof.c (print_version): Likewise.
46780         * iconv/iconv_prog.c: Likewise.
46781         * iconv/iconvconfig.c: Likewise.
46782         * locale/programs/locale.c: Likewise.
46783         * locale/programs/localedef.c: Likewise.
46784         * malloc/memusage.sh: Likewise.
46785         * malloc/mtrace.pl: Likewise.
46786         * nscd/nscd.c (print_version): Likewise.
46787         * nss/getent.c: Likewise.
46788
46789         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46790         PF_CAIF, and PF_ALG.
46791         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46792
46793 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46794
46795         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46796         (modules-names): Use them.
46797         (ifunc-test-modules, ifunc-pie-tests): Define.
46798         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46799         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46800         (test-extras): Likewise.
46801         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46802         $(compile-command.c).
46803         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46804         (all-built-dso): Define.
46805         (check-textrel.out, check-execstack.out): Depend on it.
46806
46807         * configure.in: Don't override --enable-multi-arch.
46808
46809 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46810
46811         [BZ #6812]
46812         * nscd/hstcache.c (tryagain): Define.
46813         (cache_addhst): Return tryagain not notfound for temporary errors.
46814         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46815         failed.
46816
46817 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46818
46819         [BZ #10563]
46820         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46821         to make the syscall.
46822         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46823
46824         [BZ #12378]
46825         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46826         and fall back to matching as normal character if the string ends before
46827         the matching ']' is found.  This is what POSIX requires.
46828         * posix/testfnm.c: Adjust test result.
46829         * posix/globtest.sh: Adjust test result.  Add new test.
46830         * posix/tst-fnmatch.input: Likewise.
46831         * posix/tst-fnmatch2.c: Add new test.
46832
46833 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46834
46835         * elf/Makefile (check-execstack): Revert last change.  Depend on
46836         check-execstack.h.
46837         (check-execstack.h): New target.
46838         (generated): Add check-execstack.h.
46839         * elf/check-execstack.c: Include "check-execstack.h".
46840         (main): Revert last change.
46841         (handle_file): Return zero if GNU_STACK is absent and
46842         DEFAULT_STACK_PERMS doesn't include PF_X.
46843
46844 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46845
46846         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46847         in child fails because the descriptor is already closed.
46848         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46849         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46850         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46851
46852         [BZ #12397]
46853         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46854         syscall.
46855
46856         [BZ #10484]
46857         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46858         temporary buffer used to handle multi lookups locally.
46859         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46860
46861 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46862
46863         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46864         loader is ld.so.
46865
46866 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46867
46868         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46869         alignment for SSE2.
46870
46871 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46872
46873         [BZ #12394]
46874         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46875         characters.  When rounding increased number of integer digits recompute
46876         number of groups.
46877         * stdio-common/tst-grouping.c: New file.
46878         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46879
46880 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46881
46882         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46883         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46884
46885         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46886         void.
46887         * bits/select.h: Likewise.
46888
46889 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46890
46891         * po/ja.po: Update from translation team.
46892
46893 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46894
46895         [BZ #11155]
46896         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46897         implementation just like for lxstat, fxstatat, et al.
46898
46899 2010-12-27  Jim Meyering  <meyering@redhat.com>
46900
46901         [BZ #12348]
46902         * posix/regexec.c (build_trtable): Return failure indication upon
46903         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46904
46905 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46906
46907         [BZ #12201]
46908         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46909         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46910         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46911         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46912
46913         [BZ #12207]
46914         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46915
46916         [BZ #12204]
46917         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46918         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46919
46920 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46921
46922         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46923         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46924         script has SORT_BY_INIT_PRIORITY.
46925         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46926         NO_CTORS_DTORS_SECTIONS is defined.
46927         * elf/soinit.c: Likewise.
46928         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46929         NO_CTORS_DTORS_SECTIONS is defined.
46930         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46931         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46932         * sysdeps/sh/init-first.c: Likewise.
46933         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46934
46935 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46936
46937         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46938         always use the slow path.
46939
46940 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46941
46942         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46943         similar rule which adds the sysdep directories to the header search in
46944         order to pick up the correct platform stackinfo.h.
46945         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46946         perform test if it is, otherwise return successfully without testing.
46947         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46948         DEFAULT_STACK_PERMS define in stackinfo.h.
46949         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46950         defined in stackinfo.h.
46951         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46952         DEFAULT_STACK_PERMS defined in stackinfo.h.
46953         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46954         * sysdeps/ia64/stackinfo.h: Likewise.
46955         * sysdeps/s390/stackinfo.h: Likewise.
46956         * sysdeps/sh/stackinfo.h: Likewise.
46957         * sysdeps/sparc/stackinfo.h: Likewise.
46958         * sysdeps/x86_64/stackinfo.h: Likewise.
46959         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46960         PF_X for powerpc64.  Retain PF_X for powerpc32.
46961
46962 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46963
46964         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46965         accurately.
46966         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46967         GETDENTS_64BIT_ALIGNED.
46968
46969 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46970
46971         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46972
46973 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46974
46975         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46976         _GNU_SOURCE.
46977
46978         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46979         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46980         Remove __restrict.
46981         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46982         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46983
46984 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46985
46986         [BZ #11655]
46987         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46988         are initialized.
46989
46990 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46991
46992         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46993
46994 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46995
46996         * po/it.po: Update from translation team.
46997
46998 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46999
47000         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47001         unused codes.
47002
47003 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47004
47005         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47006
47007 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47008
47009         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47010         specially.
47011         (gaih_getanswer_slice): Likewise.
47012
47013 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47014
47015         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47016
47017 2010-05-31  Petr Baudis  <pasky@suse.cz>
47018
47019         [BZ #11149]
47020         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47021         silently even in the chroot mode.
47022
47023 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47024
47025         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47026         last patch a bit.  Pretty printing
47027
47028 2010-05-31  Petr Baudis <pasky@suse.cz>
47029
47030         [BZ #10085]
47031         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47032         initialization of skip_initgroups_dyn.
47033
47034 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47035
47036         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47037         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47038
47039 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47040
47041         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47042
47043 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47044
47045         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47046         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47047         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47048         ($(objpfx)tst-fnmatch-mem): New rule.
47049         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47050         * posix/tst-fnmatch.c (main): Call mtrace.
47051
47052 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47053
47054         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47055         Support Intel processor model 6 and model 0x2c.
47056
47057 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47058
47059         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47060           signed comparison.
47061
47062 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47063
47064         [BZ #12205]
47065         * string/test-strncasecmp.c (check_result): New function.
47066         (do_one_test): Use it.
47067         (check1): New function.
47068         (test_main): Use it.
47069         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47070         Support strcasecmp and strncasecmp.
47071
47072 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47073
47074         [BZ #12194]
47075         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47076         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47077
47078 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47079
47080         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47081         IFUNC support.
47082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47083         memset-x86-64.
47084         * sysdeps/x86_64/multiarch/bzero.S: New file.
47085         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47086         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47087         * sysdeps/x86_64/multiarch/memset.S: New file.
47088         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47089         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47090         Set bit_Prefer_SSE_for_memop for Intel processors.
47091         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47092         Define.
47093         (index_Prefer_SSE_for_memop): Define.
47094         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47095
47096 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47097
47098         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47099         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47100
47101 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47102
47103         [BZ #12191]
47104         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47105         (__x86_64_raw_data_cache_size_half): Likewise.
47106         (__x86_64_raw_shared_cache_size): Likewise.
47107         (__x86_64_raw_shared_cache_size_half): Likewise.
47108
47109         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47110         (__x86_64_raw_data_cache_size_half): Likewise.
47111         (__x86_64_raw_shared_cache_size): Likewise.
47112         (__x86_64_raw_shared_cache_size_half): Likewise.
47113         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47114         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47115         and __x86_64_raw_shared_cache_size_half.  Round
47116         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47117         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47118         to multiple of 256 bytes.
47119
47120 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47121
47122         [BZ #12167]
47123         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47124         of inacessible symlinks.  Verify result of symlink before returning it.
47125         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47126         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47127
47128 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47129
47130         * math/math.h (isinf): Fix typo in comment.
47131
47132 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47133
47134         * po/da.po: Update from translation team.
47135
47136 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47137
47138         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47139         is added to the list.
47140
47141 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47142             Ulrich Drepper  <drepper@gmail.com>
47143
47144         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47145         the global list here.  Move code to...
47146         (_dl_add_to_namespace_list): ...here.  New function.
47147         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47148         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47149         * elf/dl-load.c (lose): Don't remove the element from the list.
47150         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47151         (_dl_map_object): Likewise.
47152
47153 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47154
47155         [BZ #12159]
47156         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47157         into all bytes of SSE register.
47158         Patch by Richard Li <richardpku@gmail.com>.
47159
47160 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47161
47162         [BZ #12140]
47163         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47164         perturbing.
47165
47166 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47167
47168         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47169         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47170         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47171         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47173         submachine.
47174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47175
47176 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47177
47178         * include/dlfcn.h (__RTLD_SECURE): Define.
47179         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47180         mode & __RTLD_SECURE instead.
47181         (open_path): Rename preloaded parameter to secure.
47182         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47183         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47184         * elf/dl-deps.c (openaux): Likewise.
47185         * elf/rtld.c (struct map_args): Remove is_preloaded.
47186         (map_doit): Don't use it.
47187         (dl_main): Likewise.
47188         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47189         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47190
47191 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47192
47193         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47194         (sysd-rules-targets): Remove duplicates.
47195         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47196         rtld-%.$o dependency.
47197
47198 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47199
47200         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47201         _dl_map_object do it.
47202
47203 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47204
47205         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47206         fast fma builtins, define the macros in the C99 standard.
47207         (FP_FAST_FMAF): Likewise.
47208         (FP_FAST_FMAL): Likewise.
47209         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47210
47211         * bits/mathdef.h: Update copyright year.
47212         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47213
47214 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47215
47216         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47217         builtins, define the macros in the C99 standard.
47218         (FP_FAST_FMAF): Likewise.
47219         (FP_FAST_FMAL): Likewise.
47220         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47221         multiply/add.
47222         (FP_FAST_FMAF): Likewise.
47223
47224 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47225
47226         [BZ #3268]
47227         * math/libm-test.inc (fma_test): Some new testcases.
47228         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47229         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47230         y and infinite z.  Do multiplication by C already in long double.
47231         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47232         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47233         y and infinite z.  Do bitwise or of inexact bit into u.d.
47234         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47235         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47236         * sysdeps/i386/fpu/s_fma.S: Removed.
47237         * sysdeps/i386/fpu/s_fmal.S: Removed.
47238
47239 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47240
47241         [BZ #3268]
47242         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47243         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47244         computation is not scheduled after fetestexcept.  Fix value
47245         of minimum denormal long double.
47246
47247 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47248
47249         [BZ #3268]
47250         * math/libm-test.inc (fma_test): Add some more tests.
47251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47252         correctly.
47253
47254 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47255
47256         * scripts/data/localplt-s390-linux-gnu.data: New file.
47257         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47258
47259 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47260
47261         [BZ #3268]
47262         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47263         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47264         instead of dbl-64.
47265         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47266         inlines.
47267         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47269         if one of x and y is very large and the other is subnormal.
47270         * sysdeps/s390/fpu/s_fmaf.c: New file.
47271         * sysdeps/s390/fpu/s_fma.c: New file.
47272         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47273         * sysdeps/powerpc/fpu/s_fma.S: New file.
47274         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47275         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47276         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47277
47278 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47279
47280         [BZ #3268]
47281         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47282         fma tests.
47283         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47284         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47285         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47286         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47287         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47288         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47289         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47290
47291 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47292
47293         [BZ #12078]
47294         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47295         * posix/bug-regex31.input: Add test case.
47296
47297 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47298
47299         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47300         * posix/bug-regex31.input: New file.
47301
47302         [BZ #12078]
47303         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47304         (parse_sub_exp): Fix last change, use postorder.
47305
47306         * posix/bug-regex31.c: New file.
47307         * posix/Makefile: Add rules to build and run bug-regex31.
47308
47309         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47310
47311         [BZ #12078]
47312         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47313
47314         [BZ #12108]
47315         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47316         to have entries in sys_siglist.
47317
47318         [BZ #12093]
47319         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47320         be NULL.
47321
47322 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47323
47324         [BZ #3268]
47325         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47326         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47327         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47328         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47329         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47330         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47331         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47332         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47333         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47334         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47335         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47336         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47337         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47338         * math/ftestexcept.c (fetestexcept): Likewise.
47339         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47340         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47341         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47342         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47343         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47344         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47345         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47346
47347 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47348
47349         [BZ #12107]
47350         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47351         newline.
47352
47353 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47354
47355         * string/bug-strstr1.c: New file.
47356         * string/Makefile: Add rules to build and run bug-strstr1.
47357
47358 2010-10-05  Eric Blake  <eblake@redhat.com>
47359
47360         [BZ #12092]
47361         * string/str-two-way.h (two_way_long_needle): Always clear memory
47362         when skipping input due to the shift table.
47363
47364 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47365
47366         [BZ #12005]
47367         * malloc/mcheck.c: Handle large requests.
47368
47369         [BZ #12077]
47370         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47371         for strncmp and strncasecmp.
47372         * string/stratcliff.c: Add tests for strcmp and strncmp.
47373         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47374
47375 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47376
47377         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47378         __set_fpscr.
47379
47380 2010-09-30  Andreas Jaeger  <aj@suse.de>
47381
47382         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47383         (CGROUP_SUPER_MAGIC): Define.
47384         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47385         Handle btrfs and cgroup file systems.
47386         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47387         Likewise.
47388
47389 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47390
47391         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47392         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47393
47394 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47395
47396         [BZ #12067]
47397         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47398         trying to locate the ELF header.
47399
47400 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47401
47402         [BZ #11611]
47403         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47404         Mask out sign-bit copies when constructing f_fsid.
47405
47406 2010-09-24  Petr Baudis <pasky@suse.cz>
47407
47408         * debug/stack_chk_fail_local.c: Add missing licence exception.
47409         * debug/warning-nop.c: Likewise.
47410
47411 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47412
47413         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47414         implementing getdents64 using getdents syscall, set d_type if
47415         __ASSUME_GETDENTS32_D_TYPE.
47416
47417 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47418
47419         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47420         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47421
47422 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47423
47424         [BZ #12037]
47425         * posix/unistd.h: Undo change of feature selection for ftruncate from
47426         2010-01-11.
47427
47428 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47429
47430         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47431         detection.
47432
47433 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47434
47435         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47436         fanotify_mark.
47437         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47438
47439 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47440
47441         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47442         variables after CHECK_SP call.
47443         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47444
47445 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47446             Ulrich Drepper  <drepper@redhat.com>
47447
47448         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47449         re-relocationg ld.so.
47450         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47451         _dl_init_paths call.
47452         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47453         here anymore.
47454
47455 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47456
47457         * resolv/res_init.c (__res_vinit): Count the default server we added.
47458
47459 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47460             Ulrich Drepper  <drepper@redhat.com>
47461
47462         [BZ #11968]
47463         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47464         (____longjmp_chk): Use %ebx for saving value across system call.
47465         Add unwind info.
47466
47467 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47468
47469         * manual/Makefile: Don't mix pattern rules with normal rules.
47470
47471 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47472
47473         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47474         operation.
47475         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47476         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47477         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47478         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47479         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47480         Likewise.
47481
47482 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47483
47484         [BZ #11979]
47485         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47486         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47487
47488 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47489
47490         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47491         * sysdeps/x86_64/addmul_1.S: Likewise.
47492         * sysdeps/x86_64/lshift.S: Likewise.
47493         * sysdeps/x86_64/mul_1.S: Likewise.
47494         * sysdeps/x86_64/rshift.S: Likewise.
47495         * sysdeps/x86_64/sub_n.S: Likewise.
47496         * sysdeps/x86_64/submul_1.S: Likewise.
47497
47498 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47499
47500         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47501         Define __sched_param instead of SCHED_* and sched_param when
47502         <bits/sched.h> is included with __need_schedparam defined.
47503         * bits/sched.h [__need_schedparam]
47504         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47505         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47506         (__defined_schedparam): Define to 1.
47507         (__sched_param): New structure, identical to sched_param.
47508         (__need_schedparam): Undefine.
47509
47510 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47511
47512         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47513         (epoll_create1): Declare.
47514
47515         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47516
47517 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47518
47519         [BZ #7066]
47520         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47521         shifting retval into place.
47522
47523 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47524
47525         * nis/rpcsvc/nis.h: Update copyright notice.
47526         * nis/rpcsvc/nis.x: Likewise.
47527         * nis/rpcsvc/nis_callback.h: Likewise.
47528         * nis/rpcsvc/nis_callback.x: Likewise.
47529         * nis/rpcsvc/nis_object.x: Likewise.
47530         * nis/rpcsvc/nis_tags.h: Likewise.
47531         * nis/rpcsvc/yp.h: Likewise.
47532         * nis/rpcsvc/yp.x: Likewise.
47533         * nis/rpcsvc/ypupd.h: Likewise.
47534         * nis/yp_xdr.c: Likewise.
47535         * nis/ypupdate_xdr.c: Likewise.
47536
47537         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47538         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47539         (pmap_getport): Use __libc_rpc_getport.
47540         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47541         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47542         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47543
47544 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47545
47546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47547         fanotify_mark.
47548
47549 2010-08-27  Roland McGrath  <roland@redhat.com>
47550
47551         * sysdeps/i386/i686/multiarch/Makefile
47552         (CFLAGS-varshift.c): New variable.
47553
47554 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47555
47556         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47557         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47558
47559         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47560
47561         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47562
47563 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47564
47565         * sysdeps/x86_64/strlen.S: Unroll the loop.
47566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47567         strlen-sse2 strlen-sse2-bsf.
47568         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47569         __strlen_no_bsf if bit_Slow_BSF is set.
47570         (__strlen_sse42): Removed.
47571         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47572         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47573
47574 2010-08-25  Roland McGrath  <roland@redhat.com>
47575
47576         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47577         * sysdeps/x86_64/multiarch/varshift.c: New file.
47578         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47579         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47580         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47581         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47582
47583 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47584
47585         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47586         strlen-sse2 strlen-sse2-bsf.
47587         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47588         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47589         (__strlen_sse2): Removed.
47590         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47591         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47592         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47593         bit_Slow_BSF for Atom.
47594         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47595         (index_Slow_BSF): Define.
47596         (HAS_SLOW_BSF): Define.
47597
47598 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47599
47600         [BZ #10851]
47601         * resolv/res_init.c (__res_vinit): When no server address at all
47602         is given default to loopback.
47603
47604 2010-08-24  Roland McGrath  <roland@redhat.com>
47605
47606         * configure.in: Remove config-name.h generation.
47607         * configure: Regenerated.
47608         * config-name.in: File removed.
47609         * scripts/config-uname.sh: New file.
47610         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47611         ($(objdir)config-name.h): New target.
47612
47613         * sunrpc/rpc_parse.h: Avoid nested comment.
47614
47615 2010-08-24  Richard Henderson  <rth@redhat.com>
47616             Ulrich Drepper  <drepper@redhat.com>
47617             H.J. Lu  <hongjiu.lu@intel.com>
47618
47619         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47620         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47621         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47622         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47623         _mm_alignr_epi8 with _mm_loadu_si128.
47624         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47625         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47626         (__m128i_shift_right): Removed.
47627         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47628         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47629         * sysdeps/x86_64/multiarch/varshift.h: New file.
47630         * sysdeps/x86_64/multiarch/varshift.S: New file.
47631
47632 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47633
47634         * configure.in: Move assembler checks to before sysdep dir checking.
47635
47636 2010-08-20  Petr Baudis  <pasky@suse.cz>
47637
47638         * LICENSES: Sync the sunrpc license.
47639
47640 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47641
47642         * sunrpc/auth_des.c: Update copyright notice once again.
47643         * sunrpc/auth_none.c: Likewise.
47644         * sunrpc/auth_unix.c: Likewise.
47645         * sunrpc/authdes_prot.c: Likewise.
47646         * sunrpc/authuxprot.c: Likewise.
47647         * sunrpc/bindrsvprt.c: Likewise.
47648         * sunrpc/clnt_gen.c: Likewise.
47649         * sunrpc/clnt_perr.c: Likewise.
47650         * sunrpc/clnt_raw.c: Likewise.
47651         * sunrpc/clnt_simp.c: Likewise.
47652         * sunrpc/clnt_tcp.c: Likewise.
47653         * sunrpc/clnt_udp.c: Likewise.
47654         * sunrpc/clnt_unix.c: Likewise.
47655         * sunrpc/des_crypt.c: Likewise.
47656         * sunrpc/des_soft.c: Likewise.
47657         * sunrpc/get_myaddr.c: Likewise.
47658         * sunrpc/getrpcport.c: Likewise.
47659         * sunrpc/key_call.c: Likewise.
47660         * sunrpc/key_prot.c: Likewise.
47661         * sunrpc/openchild.c: Likewise.
47662         * sunrpc/pm_getmaps.c: Likewise.
47663         * sunrpc/pm_getport.c: Likewise.
47664         * sunrpc/pmap_clnt.c: Likewise.
47665         * sunrpc/pmap_prot.c: Likewise.
47666         * sunrpc/pmap_prot2.c: Likewise.
47667         * sunrpc/pmap_rmt.c: Likewise.
47668         * sunrpc/rpc/auth.h: Likewise.
47669         * sunrpc/rpc/auth_unix.h: Likewise.
47670         * sunrpc/rpc/clnt.h: Likewise.
47671         * sunrpc/rpc/des_crypt.h: Likewise.
47672         * sunrpc/rpc/key_prot.h: Likewise.
47673         * sunrpc/rpc/netdb.h: Likewise.
47674         * sunrpc/rpc/pmap_clnt.h: Likewise.
47675         * sunrpc/rpc/pmap_prot.h: Likewise.
47676         * sunrpc/rpc/pmap_rmt.h: Likewise.
47677         * sunrpc/rpc/rpc.h: Likewise.
47678         * sunrpc/rpc/rpc_des.h: Likewise.
47679         * sunrpc/rpc/rpc_msg.h: Likewise.
47680         * sunrpc/rpc/svc.h: Likewise.
47681         * sunrpc/rpc/svc_auth.h: Likewise.
47682         * sunrpc/rpc/types.h: Likewise.
47683         * sunrpc/rpc/xdr.h: Likewise.
47684         * sunrpc/rpc_clntout.c: Likewise.
47685         * sunrpc/rpc_cmsg.c: Likewise.
47686         * sunrpc/rpc_common.c: Likewise.
47687         * sunrpc/rpc_cout.c: Likewise.
47688         * sunrpc/rpc_dtable.c: Likewise.
47689         * sunrpc/rpc_hout.c: Likewise.
47690         * sunrpc/rpc_main.c: Likewise.
47691         * sunrpc/rpc_parse.c: Likewise.
47692         * sunrpc/rpc_parse.h: Likewise.
47693         * sunrpc/rpc_prot.c: Likewise.
47694         * sunrpc/rpc_sample.c: Likewise.
47695         * sunrpc/rpc_scan.c: Likewise.
47696         * sunrpc/rpc_scan.h: Likewise.
47697         * sunrpc/rpc_svcout.c: Likewise.
47698         * sunrpc/rpc_tblout.c: Likewise.
47699         * sunrpc/rpc_util.c: Likewise.
47700         * sunrpc/rpc_util.h: Likewise.
47701         * sunrpc/rpcinfo.c: Likewise.
47702         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47703         * sunrpc/rpcsvc/key_prot.x: Likewise.
47704         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47705         * sunrpc/rpcsvc/mount.x: Likewise.
47706         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47707         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47708         * sunrpc/rpcsvc/rex.x: Likewise.
47709         * sunrpc/rpcsvc/rstat.x: Likewise.
47710         * sunrpc/rpcsvc/rusers.x: Likewise.
47711         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47712         * sunrpc/rpcsvc/spray.x: Likewise.
47713         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47714         * sunrpc/rtime.c: Likewise.
47715         * sunrpc/svc.c: Likewise.
47716         * sunrpc/svc_auth.c: Likewise.
47717         * sunrpc/svc_authux.c: Likewise.
47718         * sunrpc/svc_raw.c: Likewise.
47719         * sunrpc/svc_run.c: Likewise.
47720         * sunrpc/svc_simple.c: Likewise.
47721         * sunrpc/svc_tcp.c: Likewise.
47722         * sunrpc/svc_udp.c: Likewise.
47723         * sunrpc/svc_unix.c: Likewise.
47724         * sunrpc/svcauth_des.c: Likewise.
47725         * sunrpc/xcrypt.c: Likewise.
47726         * sunrpc/xdr.c: Likewise.
47727         * sunrpc/xdr_array.c: Likewise.
47728         * sunrpc/xdr_float.c: Likewise.
47729         * sunrpc/xdr_mem.c: Likewise.
47730         * sunrpc/xdr_rec.c: Likewise.
47731         * sunrpc/xdr_ref.c: Likewise.
47732         * sunrpc/xdr_sizeof.c: Likewise.
47733         * sunrpc/xdr_stdio.c: Likewise.
47734
47735         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47736         handling.
47737
47738 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47739
47740         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47741
47742 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47743
47744         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47745         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47746         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47747         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47748         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47749         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47750         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47751         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47752         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47753         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47754         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47755         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47756         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47757         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47758
47759 2010-07-26  Anton Blanchard  <anton@samba.org>
47760
47761         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47762         * malloc/arena.c (heap_trim): Likewise.
47763
47764 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47765
47766         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47767         here.  Not...
47768         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47769         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47770
47771 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47772
47773         * sysdeps/i386/elf/Makefile: New file.
47774
47775 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47776
47777         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47778         from fanotify_init.
47779         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47780         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47781
47782 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47783
47784         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47785         of strncasecmp_l.
47786         * sysdeps/multiarch/strcmp.S: Likewise.
47787
47788 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47789
47790         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47791         strncase_l-nonascii.
47792         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47793         Add strncase_l-ssse3.
47794         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47795         * sysdeps/x86_64/strcmp.S: Likewise.
47796         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47797         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47798         * sysdeps/x86_64/strncase.S: New file.
47799         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47800         * sysdeps/x86_64/strncase_l.S: New file.
47801         * string/Makefile (strop-tests): Add strncasecmp.
47802         * string/test-strncasecmp.c: New file.
47803
47804         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47805         warning.
47806
47807         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47808         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47809
47810 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47811
47812         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47813
47814 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47815
47816         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47817         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47818         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47819
47820 2010-05-01  Alan Modra  <amodra@gmail.com>
47821
47822         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47823         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47824         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47825         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47826         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47827         tidying.  Don't tail-call __sigjmp_save for static lib.
47828         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47829         save location.
47830         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47831         (CALL_MCOUNT): Add eh info, and nop after bl.
47832         (TAIL_CALL_SYSCALL_ERROR): New macro.
47833         (PSEUDO_RET): Use it.
47834         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47835         Correct save location of integer regs and cr.
47836         (_dl_profile_resolve): Correct cr save location.  Delete nops
47837         after bl when SHARED.  Reduce cfi size a little by better
47838         placement of cfi directives.
47839         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47840         make a stack frame.  Instead use parm save area as a temp.
47841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47842         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47844         Don't make a stack frame for parent, use parm save area.
47845         Increase child stack frame to 112 bytes.  Don't save unused reg,
47846         and adjust reg usage.  Set up cfi on error recovery and
47847         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47849         (__makecontext): Add dummy nop after jump to exit.
47850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47851         Use correct parm save area and cr save, reduce stack frame.
47852         Correct cfi for possible PSEUDO_RET frame setup.
47853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47854         Branch to local label emitted by PSEUDO_RET rather than
47855         __syscall_error.
47856
47857 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47858
47859         [BZ #11904]
47860         * locale/programs/locale.c (print_assignment): New function.
47861         (show_locale_vars): Use it.
47862
47863 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47864
47865         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47866         field.
47867         (struct statfs64): Likewise.
47868         (_STATFS_F_FLAGS): Define.
47869         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47870         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47871         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47872         (ST_VALID): Define locally.
47873         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47874         __statvfs_getflags, use the provided value.
47875         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47876         __ASSUME_STATFS_F_FLAGS.
47877
47878         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47879
47880         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47881         Add sys/fanotify.h.
47882         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47883         fanotify_mask for GLIBC_2.13.
47884         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47885         fanotify_init and fanotify_mark.
47886         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47887         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47888
47889         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47890         Add prlimit.
47891         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47892         prlimit64 for GLIBC_2.13.
47893         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47894         prlimit64.
47895         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47896         syscall.
47897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47898         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47899         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47900         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47901         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47902         add prlimit alias.
47903         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47904
47905         [BZ #11903]
47906         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47907         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47908
47909         * nss/Makefile: Add rules to build and run tst-nss-test1.
47910         * shlib-versions: Add entry for libnss_test1.
47911         * nss/nss_test1.c: New file.
47912         * nss/tst-nss-test1.c: New file.
47913
47914         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47915         (__nss_configure_lookup): Set appropriate entry in
47916         __nss_configure_lookup to true.
47917         * nss/nsswitch.h: Define enum with indeces of databases in
47918         databases and __nss_database_custom arrays.  Declare
47919         __nss_database_custom.
47920         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47921         to avoid using nscd when custom rules are installed.
47922         * nss/getXXbyYY_r.c: Likewise.
47923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47924
47925         * nss/nss_files/files-parse.c: Whitespace fixes.
47926
47927 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47928
47929         [BZ #11883]
47930         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47931         * posix/fnmatch_loop.c: Likewise.
47932
47933 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47934
47935         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47936         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47937         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47938         * Versions.def [GLIBC_2.13]: Add.
47939
47940 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47941
47942         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47943         Also fail if tpwd after pwuid call is NULL.
47944
47945 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47946
47947         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47948         when converting to ms.
47949
47950 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47951
47952         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47953         EOPNOTSUPP errors with ENOTTY.
47954         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47955         EOPNOTSUPP errors with ENOTTY.
47956
47957 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47958
47959         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47960         Add strcasecmp_l-ssse3.
47961         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47962         strcasecmp.
47963         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47964         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47965         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47966
47967 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47968
47969         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47970
47971         * string/Makefile (strop-tests): Add strcasecmp.
47972         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47973         strcasecmp_l-nonascii.
47974         (gen-as-const-headers): Add locale-defines.sym.
47975         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47976         * sysdeps/x86_64/strcasecmp.S: New file.
47977         * sysdeps/x86_64/strcasecmp_l.S: New file.
47978         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47979         * sysdeps/x86_64/locale-defines.sym: New file.
47980         * string/test-strcasecmp.c: New file.
47981
47982         * string/test-strcasestr.c: Test both ends of the range of characters.
47983         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47984
47985 2010-07-29  Roland McGrath  <roland@redhat.com>
47986
47987         [BZ #11856]
47988         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47989
47990 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47991
47992         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47993         for ld.so.
47994
47995 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47996
47997         * manual/memory.texi (Malloc Tunable Parameters): Document
47998         M_PERTURB.
47999
48000 2010-07-26  Roland McGrath  <roland@redhat.com>
48001
48002         [BZ #11840]
48003         * configure.in (-fgnu89-inline check): Set and substitute
48004         gnu89_inline, not libc_cv_gnu89_inline.
48005         * configure: Regenerated.
48006         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48007
48008 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48009
48010         * string/test-strnlen.c: New file.
48011         * string/Makefile (strop-tests): Add strnlen.
48012         * string/tester.c (test_strnlen): Add a few more test cases.
48013         * string/tst-strlen.c: Better error reporting.
48014
48015         * sysdeps/x86_64/strnlen.S: New file.
48016
48017 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48018
48019         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48020         lower-latency instructions.
48021
48022 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48023
48024         * string/test-strcasestr.c: New file.
48025         * string/test-strstr.c: New file.
48026         * string/Makefile (strop-tests): Add strstr and strcasestr.
48027         * string/str-two-way.h: Don't undefine MAX.
48028         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48029
48030 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48031
48032         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48033         strcasestr-nonascii.
48034         (CFLAGS-strcasestr-nonascii.c): Define.
48035         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48036         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48037         Remove unused attribute.
48038
48039 2010-07-20  Roland McGrath  <roland@redhat.com>
48040
48041         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48042         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48043         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48044         like LD_HWCAP_MASK can disable hwcaps.
48045
48046 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48047
48048         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48049
48050 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48051
48052         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48053         call in strcasestr.
48054         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48055         __strcasestr_sse42_nonascii.
48056         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48057         strcasestr-nonascii.c.
48058         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48059
48060 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48061
48062         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48063         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48064         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48065         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48066
48067 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48068
48069         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48070         fcntl.
48071
48072 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48073
48074         [BZ #11577]
48075         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48076         dl_signal_cerror.
48077
48078 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48079
48080         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48081         _PC_PIPE_BUF using F_GETPIPE_SZ.
48082
48083 2010-07-05  Roland McGrath  <roland@redhat.com>
48084
48085         * manual/arith.texi (Rounding Functions): Fix rint description
48086         implicit in round description.
48087
48088 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48089
48090         * elf/Makefile: Fix linking for a few tests to make recent linker
48091         happy.
48092
48093 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48094
48095         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48096         $(common-objpfx)libc_nonshared.a.
48097
48098 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48099
48100         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48101         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48102         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48103         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48104         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48105         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48106         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48107         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48122         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48123         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48124         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48125         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48126         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48127         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48128         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48129         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48130         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48131         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48132         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48133         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48148
48149 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48150
48151         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48152         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48153         * string/memmove.c (memmove): Renamed to ...
48154         (MEMMOVE): ...this.  Default to memmove.
48155         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48156         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48157         (END_CHK): Define.
48158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48159         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48160         mempcpy-ssse3-back memmove-ssse3-back.
48161         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48162         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48163         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48164         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48165         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48166         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48167         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48168         * sysdeps/x86_64/multiarch/memmove.c: New file.
48169         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48170         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48171         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48172         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48173         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48174         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48175         Define.
48176         (index_Fast_Copy_Backward): Define.
48177         (HAS_ARCH_FEATURE): Define.
48178         (HAS_FAST_REP_STRING): Define.
48179         (HAS_FAST_COPY_BACKWARD): Define.
48180
48181 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48182
48183         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48184         Restore proper fallback handling.
48185
48186 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48187
48188         [BZ #11701]
48189         * posix/group_member.c (__group_member): Correct checking loop.
48190
48191         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48192         OOM in getpwuid_r correctly.  Return error number when the caller
48193         should return, otherwise -1.
48194         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48195         call returning > 0 value.
48196         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48197
48198 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48199
48200         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48201         libc_nonshared.a from targets in modules-names.
48202
48203 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48204
48205         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48206         requires it.
48207
48208 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48209
48210         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48211         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48212         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48213         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48214
48215 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48216
48217         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48218
48219 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48220
48221         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48222         and F_GETPIPE_SZ.
48223         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48224         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48225         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48226         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48227         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48228         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48229
48230 2010-06-14  Roland McGrath  <roland@redhat.com>
48231
48232         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48233
48234 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48235
48236         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48237         __REDIRECT followed by __THROW.
48238         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48239         * posix/getopt.h (getopt): Likewise.
48240
48241 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48242
48243         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48244         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48245         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48246         in AT_FLAGS.
48247         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48248         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48249
48250 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48251
48252         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48253
48254 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48255
48256         [BZ #11640]
48257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48258         Properly check family and model.
48259
48260 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48261
48262         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48263
48264 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48265
48266         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48267
48268 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48269
48270         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48271         symbol reference.
48272
48273 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48274
48275         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48276         symbol reference.
48277
48278 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48279
48280         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48281         and internal_recvmmsg.
48282         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48283         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48284         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48285         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48286
48287         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48288         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48289         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48290
48291 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48292
48293         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48294
48295 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48296
48297         POWER7 optimizations.
48298         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48299         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48300
48301 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48302
48303         * version.h: Update for 2.13 development version.
48304
48305 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48306
48307         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48308         exceptions.  Return 0.
48309
48310 2010-05-07  Roland McGrath  <roland@redhat.com>
48311
48312         * elf/ldconfig.c (main): Add a const.
48313
48314 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48315
48316         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48317         (args_options): Add no-idn option.
48318         (ahosts_keys_int): Add idn_flags to ai_flags.
48319         (parse_option): Handle 'i' option to clear idn_flags.
48320
48321         * malloc/malloc.c (_int_free): Possible race in the most recently
48322         added check.  Only act on the data if no current modification
48323         happened.
48324
48325 See ChangeLog.17 for earlier changes.